From: Michael Jerris Date: Wed, 24 Jun 2015 21:43:30 +0000 (-0400) Subject: add a debug log X-Git-Tag: v1.6.2~389 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5afdc24bf7ddad81bd69d603cb29be03053958b4;p=thirdparty%2Ffreeswitch.git add a debug log --- 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); } }