Fix in-band ringback in mod_skinny

Closes: FS-4241 (Thanks to Marek Wiewiorski for the patch)
This commit is contained in:
Mathieu Parent 2013-03-26 22:36:56 +01:00
parent e0b34881af
commit 03137f98ab
1 changed files with 1 additions and 0 deletions

View 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);