From: Mathieu Parent Date: Tue, 26 Mar 2013 21:36:56 +0000 (+0100) Subject: Fix in-band ringback in mod_skinny X-Git-Tag: v1.3.17-final~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03137f98ab321942ff8889c9bb562e36a825878a;p=thirdparty%2Ffreeswitch.git Fix in-band ringback in mod_skinny Closes: FS-4241 (Thanks to Marek Wiewiorski for the patch) --- diff --git a/src/mod/endpoints/mod_skinny/skinny_server.c b/src/mod/endpoints/mod_skinny/skinny_server.c index 7558c88f91..db0ce5b971 100644 --- a/src/mod/endpoints/mod_skinny/skinny_server.c +++ b/src/mod/endpoints/mod_skinny/skinny_server.c @@ -525,6 +525,7 @@ int skinny_ring_lines_callback(void *pArg, int argc, char **argv, char **columnN if(listener) { switch_channel_t *channel = switch_core_session_get_channel(helper->tech_pvt->session); switch_channel_t *remchannel = switch_core_session_get_channel(helper->remote_session); + switch_channel_set_state(channel, CS_ROUTING); helper->lines_count++; switch_channel_set_variable(channel, "effective_callee_id_number", value); switch_channel_set_variable(channel, "effective_callee_id_name", caller_name);