From: Marc Olivier Chouinard Date: Mon, 25 Apr 2011 19:06:32 +0000 (-0400) Subject: it the other way arround ! X-Git-Tag: v1.2-rc1~118^2~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=debab81ce938b86bbd5e7b34fef7658fc8f2b89e;p=thirdparty%2Ffreeswitch.git it the other way arround ! --- diff --git a/src/mod/applications/mod_callcenter/mod_callcenter.c b/src/mod/applications/mod_callcenter/mod_callcenter.c index 6007e96bdb..872e2bc0b0 100644 --- a/src/mod/applications/mod_callcenter/mod_callcenter.c +++ b/src/mod/applications/mod_callcenter/mod_callcenter.c @@ -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 */ 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); + } 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);