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: https://origsvn.digium.com/svn/asterisk/trunk@128240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2008-07-05 20:54:30 +00:00
parent 0fd94cb93d
commit 45e79490ba
7 changed files with 58 additions and 9 deletions

View File

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