From 5afdc24bf7ddad81bd69d603cb29be03053958b4 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 24 Jun 2015 17:43:30 -0400 Subject: [PATCH] add a debug log --- src/switch_channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_channel.c b/src/switch_channel.c index a944e2f6a1..47eadef2e6 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -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); } }