]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add a debug log
authorMichael Jerris <mike@jerris.com>
Wed, 24 Jun 2015 21:43:30 +0000 (17:43 -0400)
committerMichael Jerris <mike@jerris.com>
Wed, 24 Jun 2015 21:43:38 +0000 (17:43 -0400)
src/switch_channel.c

index a944e2f6a1b8cfbe29670706b66cc52dc118b08a..47eadef2e65513ad52469aebc68f8428308d5679 100644 (file)
@@ -3810,6 +3810,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_perform_answer(switch_channel_t *
                        uint32_t msec = atoi(delay);
                        
                        if (msec) {
+                               switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(channel->session), SWITCH_LOG_DEBUG, "Answer delay for %u msec\n", msec);
                                switch_ivr_sleep(channel->session, msec, SWITCH_TRUE, NULL);
                        }
                }