From ce4256971bae42a0a2ec8e4c86505660cd557521 Mon Sep 17 00:00:00 2001 From: Marc Olivier Chouinard Date: Sun, 29 Jan 2012 15:50:14 -0500 Subject: [PATCH] mod_callcenter: Small fix --- src/mod/applications/mod_callcenter/mod_callcenter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_callcenter/mod_callcenter.c b/src/mod/applications/mod_callcenter/mod_callcenter.c index 1c811a210c..bc40e210fb 100644 --- a/src/mod/applications/mod_callcenter/mod_callcenter.c +++ b/src/mod/applications/mod_callcenter/mod_callcenter.c @@ -1479,7 +1479,7 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa } } else { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(member_session), SWITCH_LOG_DEBUG, "Invalid agent type '%s' for agent '%s', aborting member offering", h->agent_type, h->agent_name); - status = SWITCH_CAUSE_USER_NOT_REGISTERED; + cause = SWITCH_CAUSE_USER_NOT_REGISTERED; } /* Originate/Bridge is not finished, processing the return value */