it the other way arround !
This commit is contained in:
parent
a2a09fb1d9
commit
debab81ce9
|
@ -1574,9 +1574,9 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa
|
||||||
|
|
||||||
/* TODO Temp fix so it continue the dialplan after hangup... Not sure of the reason why the order make a difference */
|
/* TODO Temp fix so it continue the dialplan after hangup... Not sure of the reason why the order make a difference */
|
||||||
if (!strcasecmp(h->agent_type, CC_AGENT_TYPE_UUID_STANDBY)) {
|
if (!strcasecmp(h->agent_type, CC_AGENT_TYPE_UUID_STANDBY)) {
|
||||||
switch_ivr_uuid_bridge(h->member_session_uuid, switch_core_session_get_uuid(agent_session));
|
|
||||||
} else {
|
|
||||||
switch_ivr_uuid_bridge(switch_core_session_get_uuid(agent_session), h->member_session_uuid);
|
switch_ivr_uuid_bridge(switch_core_session_get_uuid(agent_session), h->member_session_uuid);
|
||||||
|
} else {
|
||||||
|
switch_ivr_uuid_bridge(h->member_session_uuid, switch_core_session_get_uuid(agent_session));
|
||||||
}
|
}
|
||||||
|
|
||||||
switch_channel_set_variable(member_channel, "cc_agent_uuid", agent_uuid);
|
switch_channel_set_variable(member_channel, "cc_agent_uuid", agent_uuid);
|
||||||
|
|
Loading…
Reference in New Issue