diff --git a/src/mod/applications/mod_callcenter/mod_callcenter.c b/src/mod/applications/mod_callcenter/mod_callcenter.c index a2c6d7dc85..81fe465f5f 100644 --- a/src/mod/applications/mod_callcenter/mod_callcenter.c +++ b/src/mod/applications/mod_callcenter/mod_callcenter.c @@ -1724,7 +1724,7 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa break; /* Protection againts super fast loop due to unregistrer */ case SWITCH_CAUSE_USER_NOT_REGISTERED: - delay_next_agent_call = (5 > delay_next_agent_call? 5 : delay_next_agent_call); + delay_next_agent_call = 5; break; /* No answer: Destination does not answer for some other reason */ default: