]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_callcenter: Fix error from previous commit
authorMarc Olivier Chouinard <mochouinard@moctel.com>
Mon, 28 Mar 2011 19:10:59 +0000 (15:10 -0400)
committerMarc Olivier Chouinard <mochouinard@moctel.com>
Mon, 28 Mar 2011 19:10:59 +0000 (15:10 -0400)
src/mod/applications/mod_callcenter/mod_callcenter.c

index 69055c132d9e2e25a2e6549e46b13d7b63d02a3e..4240a71aae1145a83bdf2e134148178a0e0982ec 100644 (file)
@@ -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);