From: Marc Olivier Chouinard Date: Fri, 13 Aug 2010 13:14:41 +0000 (-0400) Subject: mod_dialplan_xml: Add in the INFO log the caller id number when processing a request... X-Git-Tag: v1.2-rc1~526^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1df5e13de7e1a10e9afdb12e87c5a89ebf6aa94;p=thirdparty%2Ffreeswitch.git mod_dialplan_xml: Add in the INFO log the caller id number when processing a request (Currenly only show the caller name) --- diff --git a/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c b/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c index 478b129f5a..4fc240dec2 100644 --- a/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c +++ b/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c @@ -328,8 +328,8 @@ SWITCH_STANDARD_DIALPLAN(dialplan_hunt) caller_profile->context = "default"; } - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "Processing %s->%s in context %s\n", - caller_profile->caller_id_name, caller_profile->destination_number, caller_profile->context); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "Processing %s <%s>->%s in context %s\n", + caller_profile->caller_id_name, caller_profile->caller_id_number, caller_profile->destination_number, caller_profile->context); /* get our handle to the "dialplan" section of the config */