mod_dialplan_xml: Add in the INFO log the caller id number when processing a request (Currenly only show the caller name)

This commit is contained in:
Marc Olivier Chouinard 2010-08-13 09:14:41 -04:00
parent 8a5aeb8ea5
commit e1df5e13de
1 changed files with 2 additions and 2 deletions

View File

@ -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 */