From 03137f98ab321942ff8889c9bb562e36a825878a Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Tue, 26 Mar 2013 22:36:56 +0100 Subject: [PATCH] Fix in-band ringback in mod_skinny Closes: FS-4241 (Thanks to Marek Wiewiorski for the patch) --- src/mod/endpoints/mod_skinny/skinny_server.c | 1 + 1 file changed, 1 insertion(+) 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);