mod_rayo: fix hangup after unjoining bridged calls
This commit is contained in:
parent
e0054af96f
commit
da5fd53417
|
@ -3152,8 +3152,10 @@ done:
|
|||
|
||||
if (ok) {
|
||||
switch_channel_set_variable(channel, "hangup_after_bridge", "false");
|
||||
switch_channel_set_variable(channel, "transfer_after_bridge", "false");
|
||||
switch_channel_set_variable(channel, "park_after_bridge", "true");
|
||||
switch_channel_set_variable(channel, "transfer_after_bridge", "");
|
||||
switch_channel_set_variable(channel, "park_after_bridge", "false");
|
||||
switch_channel_set_variable(channel, "exec_after_bridge_app", "park");
|
||||
switch_channel_set_variable(channel, "exec_after_bridge_arg", "");
|
||||
switch_channel_set_variable(channel, SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE, "-1"); /* required so that output mixing works */
|
||||
switch_core_event_hook_add_read_frame(session, rayo_call_on_read_frame);
|
||||
if (switch_channel_direction(channel) == SWITCH_CALL_DIRECTION_OUTBOUND) {
|
||||
|
|
Loading…
Reference in New Issue