diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/channel.h | 6 | ||||
-rw-r--r-- | include/asterisk/pbx.h | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 5923f7cc1..b2695ca60 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -582,6 +582,12 @@ enum { /*! This flag indicates that on a masquerade, an active stream should not * be carried over */ AST_FLAG_MASQ_NOSTREAM = (1 << 16), + /*! If the flag is controlled by AGI (not FastAGI) */ + AST_FLAG_AGI = (1 << 17), + /*! If the flag is controlled by FastAGI */ + AST_FLAG_FASTAGI = (1 << 18), + /*! If the flag is controlled by AsyncAGI */ + AST_FLAG_ASYNCAGI = (1 << 19), }; /*! \brief ast_bridge_config flags */ 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 |