From e1df5e13de7e1a10e9afdb12e87c5a89ebf6aa94 Mon Sep 17 00:00:00 2001 From: Marc Olivier Chouinard Date: Fri, 13 Aug 2010 09:14:41 -0400 Subject: [PATCH] mod_dialplan_xml: Add in the INFO log the caller id number when processing a request (Currenly only show the caller name) --- src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */