summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/devicestate.h2
-rw-r--r--include/asterisk/pbx.h1
2 files changed, 3 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);
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index 08949a71d..8212d7cc0 100644
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -52,6 +52,7 @@ enum ast_extension_states {
AST_EXTENSION_BUSY = 1 << 1, /*!< All devices BUSY */
AST_EXTENSION_UNAVAILABLE = 1 << 2, /*!< All devices UNAVAILABLE/UNREGISTERED */
AST_EXTENSION_RINGING = 1 << 3, /*!< All devices RINGING */
+ AST_EXTENSION_ONHOLD = 1 << 4, /*!< All devices ONHOLD */
};