mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 17:41:53 +00:00
FS-10012 [mod_callcenter] Enabling bypass media if agents leg have bypass_media_after_bridge=true #resolve
This commit is contained in:
parent
c03ec62e1b
commit
59da3cc493
@ -1862,7 +1862,7 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa
|
|||||||
/* This is used for the waiting caller to quit waiting for a agent */
|
/* This is used for the waiting caller to quit waiting for a agent */
|
||||||
switch_channel_set_variable(member_channel, "cc_agent_found", "true");
|
switch_channel_set_variable(member_channel, "cc_agent_found", "true");
|
||||||
switch_channel_set_variable(member_channel, "cc_agent_uuid", agent_uuid);
|
switch_channel_set_variable(member_channel, "cc_agent_uuid", agent_uuid);
|
||||||
if (switch_true(switch_channel_get_variable(member_channel, SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE))) {
|
if (switch_true(switch_channel_get_variable(member_channel, SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE)) || switch_true(switch_channel_get_variable(agent_channel, SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE))) {
|
||||||
switch_channel_set_flag(member_channel, CF_BYPASS_MEDIA_AFTER_BRIDGE);
|
switch_channel_set_flag(member_channel, CF_BYPASS_MEDIA_AFTER_BRIDGE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user