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 /include/asterisk/pbx.h | |
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 'include/asterisk/pbx.h')
-rw-r--r-- | include/asterisk/pbx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index b4bec238e..bfa9d3bc9 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -998,6 +998,9 @@ struct ast_exten *pbx_find_extension(struct ast_channel *chan, const char *context, const char *exten, int priority, const char *label, const char *callerid, enum ext_match_t action); +/*! \brief Function in pbx.c that propably should be somewhere else, but not in res_agi, since it's a loadable module */ +const char *agi_state(struct ast_channel *chan); + /* every time a write lock is obtained for contexts, a counter is incremented. You can check this via the |