summaryrefslogtreecommitdiff
path: root/include/asterisk/devicestate.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2006-07-08 02:24:07 +0000
committerMark Spencer <markster@digium.com>2006-07-08 02:24:07 +0000
commit4c90cf59b7964955fb457326fbd204ff64a5ad2f (patch)
treeec518bd7b27a9f005244e746dcaa79c215c85745 /include/asterisk/devicestate.h
parenta7d62fd60c64f1257fe8f1e9307fc7dd84f811ec (diff)
Support hold/unhold in Zap, update IAX2 parser to know about modern commands, forward hold/unhold in dial, add hold device state
and implement holding in the SLA. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/devicestate.h')
-rw-r--r--include/asterisk/devicestate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/devicestate.h b/include/asterisk/devicestate.h
index d93d6d996..97d24c16f 100644
--- a/include/asterisk/devicestate.h
+++ b/include/asterisk/devicestate.h
@@ -43,6 +43,8 @@ extern "C" {
#define AST_DEVICE_RINGING 6
/*! Device is ringing *and* in use */
#define AST_DEVICE_RINGINUSE 7
+/*! Device is on hold */
+#define AST_DEVICE_ONHOLD 8
/*! \brief Devicestate watcher call back */
typedef int (*ast_devstate_cb_type)(const char *dev, int state, void *data);