]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix in-band ringback in mod_skinny
authorMathieu Parent <math.parent@gmail.com>
Tue, 26 Mar 2013 21:36:56 +0000 (22:36 +0100)
committerMathieu Parent <math.parent@gmail.com>
Tue, 26 Mar 2013 21:36:56 +0000 (22:36 +0100)
Closes: FS-4241 (Thanks to Marek Wiewiorski for the patch)
src/mod/endpoints/mod_skinny/skinny_server.c

index 7558c88f91cf17543dc058c64270a9e2a66c5b51..db0ce5b9711dddaab620252c65abfc7572bfe558 100644 (file)
@@ -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);