summaryrefslogtreecommitdiff
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2008-07-05 20:54:30 +0000
committerOlle Johansson <oej@edvina.net>2008-07-05 20:54:30 +0000
commit45e79490babaa8775aad1de72bad503aa2eb23f1 (patch)
treee153ed82937f1c994dd8145b3a43521624bf2c7b /include/asterisk/channel.h
parent0fd94cb93d333629f7636f3d63f7d8cd8b899559 (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: https://origsvn.digium.com/svn/asterisk/trunk@128240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r--include/asterisk/channel.h6
1 files changed, 6 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 */