From: Marc Olivier Chouinard Date: Mon, 28 Mar 2011 19:10:59 +0000 (-0400) Subject: mod_callcenter: Fix error from previous commit X-Git-Tag: v1.2-rc1~120^2~5^2~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d04b9a85a5501de8957ec1a8c345dcf5dcf3d87a;p=thirdparty%2Ffreeswitch.git mod_callcenter: Fix error from previous commit --- diff --git a/src/mod/applications/mod_callcenter/mod_callcenter.c b/src/mod/applications/mod_callcenter/mod_callcenter.c index 69055c132d..4240a71aae 100644 --- a/src/mod/applications/mod_callcenter/mod_callcenter.c +++ b/src/mod/applications/mod_callcenter/mod_callcenter.c @@ -1461,7 +1461,7 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa /* Switch the agent session */ if (real_uuid) { switch_core_session_rwunlock(agent_session); - agent_session = switch_core_session_locate(agent_uuid); + agent_session = switch_core_session_locate(real_uuid); agent_uuid = switch_core_session_get_uuid(agent_session); agent_channel = switch_core_session_get_channel(agent_session);