diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-05 20:54:30 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-05 20:54:30 +0000 |
commit | 80e141d6ff27c22f20e9eb9639ff84d65c07a89e (patch) | |
tree | e153ed82937f1c994dd8145b3a43521624bf2c7b /pbx | |
parent | d5f935aea5f19c476fc69ab61cc14ec8c3ab5b70 (diff) |
Implement flags for AGI in the channel structure so taht "show channels" and
AMI commands can display that a channel is under control of an AGI.
Work inspired by work at customer site, but paid for by Edvina AB
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128240 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r-- | pbx/pbx_realtime.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pbx/pbx_realtime.c b/pbx/pbx_realtime.c index 536ed9d27..2b7a0dd7f 100644 --- a/pbx/pbx_realtime.c +++ b/pbx/pbx_realtime.c @@ -226,8 +226,9 @@ static int realtime_exec(struct ast_channel *chan, const char *context, const ch "Priority: %d\r\n" "Application: %s\r\n" "AppData: %s\r\n" - "Uniqueid: %s\r\n", - chan->name, chan->context, chan->exten, chan->priority, app, !ast_strlen_zero(appdata) ? appdata : "(NULL)", chan->uniqueid); + "Uniqueid: %s\r\n" + "AGIstate: %s\r\n", + chan->name, chan->context, chan->exten, chan->priority, app, !ast_strlen_zero(appdata) ? appdata : "(NULL)", chan->uniqueid, agi_state(chan)); res = pbx_exec(chan, a, appdata); } else |