]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_callcenter] FS-9347: Do not log as error when the member is gone just before...
authorItalo Rossi <italorossib@gmail.com>
Wed, 28 Dec 2016 00:19:57 +0000 (21:19 -0300)
committerItalo Rossi <italorossib@gmail.com>
Wed, 28 Dec 2016 00:19:57 +0000 (21:19 -0300)
src/mod/applications/mod_callcenter/mod_callcenter.c

index abcfa7372dc54f4c0cbf21cc3cdfcf851d60edf3..6eabeeba59ab46251d836a6583e64dae90b3245e 100644 (file)
@@ -1605,7 +1605,7 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa
 
        /* member is gone before we could process it */
        if (!member_session) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Member %s <%s> with uuid %s in queue %s is gone just before we assigned an agent\n", h->member_cid_name, h->member_cid_number, h->member_session_uuid, h->queue_name);
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Member %s <%s> with uuid %s in queue %s is gone just before we assigned an agent\n", h->member_cid_name, h->member_cid_number, h->member_session_uuid, h->queue_name);
 
 
                 sql = switch_mprintf("UPDATE members SET state = '%q', session_uuid = '', abandoned_epoch = '%" SWITCH_TIME_T_FMT "' WHERE system = 'single_box' AND uuid = '%q' AND state != '%q'",