Fix in-band ringback in mod_skinny
Closes: FS-4241 (Thanks to Marek Wiewiorski for the patch)
This commit is contained in:
parent
e0b34881af
commit
03137f98ab
|
@ -525,6 +525,7 @@ int skinny_ring_lines_callback(void *pArg, int argc, char **argv, char **columnN
|
||||||
if(listener) {
|
if(listener) {
|
||||||
switch_channel_t *channel = switch_core_session_get_channel(helper->tech_pvt->session);
|
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_t *remchannel = switch_core_session_get_channel(helper->remote_session);
|
||||||
|
switch_channel_set_state(channel, CS_ROUTING);
|
||||||
helper->lines_count++;
|
helper->lines_count++;
|
||||||
switch_channel_set_variable(channel, "effective_callee_id_number", value);
|
switch_channel_set_variable(channel, "effective_callee_id_number", value);
|
||||||
switch_channel_set_variable(channel, "effective_callee_id_name", caller_name);
|
switch_channel_set_variable(channel, "effective_callee_id_name", caller_name);
|
||||||
|
|
Loading…
Reference in New Issue