aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/pbx_realtime.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-27 21:50:15 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-27 21:50:15 +0000
commitded49136db6bcb561b3163e9ce2f5ac7c04eba20 (patch)
tree0ade979708e97f8bf80863d56d1eb77cf9fb1479 /pbx/pbx_realtime.c
parentc90f58c8c9a5da66f419450a10c731a63ae5bf7a (diff)
Merged revisions 283951 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r283951 | russell | 2010-08-27 16:33:55 -0500 (Fri, 27 Aug 2010) | 2 lines Print exten@context:priority in verbose messages from pbx_realtime. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@283958 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/pbx_realtime.c')
-rw-r--r--pbx/pbx_realtime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbx/pbx_realtime.c b/pbx/pbx_realtime.c
index 833202af6..2697ea0d2 100644
--- a/pbx/pbx_realtime.c
+++ b/pbx/pbx_realtime.c
@@ -349,7 +349,8 @@ static int realtime_exec(struct ast_channel *chan, const char *context, const ch
appdata[0] = 0; /* just in case the substitute var func isn't called */
if(!ast_strlen_zero(tmp))
pbx_substitute_variables_helper(chan, tmp, appdata, sizeof(appdata) - 1);
- ast_verb(3, "Executing %s(\"%s\", \"%s\")\n",
+ ast_verb(3, "Executing [%s@%s:%d] %s(\"%s\", \"%s\")\n",
+ chan->exten, chan->context, chan->priority,
term_color(tmp1, app, COLOR_BRCYAN, 0, sizeof(tmp1)),
term_color(tmp2, chan->name, COLOR_BRMAGENTA, 0, sizeof(tmp2)),
term_color(tmp3, S_OR(appdata, ""), COLOR_BRMAGENTA, 0, sizeof(tmp3)));