Print exten@context:priority in verbose messages from pbx_realtime.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2010-08-27 21:33:55 +00:00
parent 1aec6b69ba
commit f222d17fcf

View File

@@ -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 */ appdata[0] = 0; /* just in case the substitute var func isn't called */
if(!ast_strlen_zero(tmp)) if(!ast_strlen_zero(tmp))
pbx_substitute_variables_helper(chan, tmp, appdata, sizeof(appdata) - 1); 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(tmp1, app, COLOR_BRCYAN, 0, sizeof(tmp1)),
term_color(tmp2, chan->name, COLOR_BRMAGENTA, 0, sizeof(tmp2)), term_color(tmp2, chan->name, COLOR_BRMAGENTA, 0, sizeof(tmp2)),
term_color(tmp3, S_OR(appdata, ""), COLOR_BRMAGENTA, 0, sizeof(tmp3))); term_color(tmp3, S_OR(appdata, ""), COLOR_BRMAGENTA, 0, sizeof(tmp3)));