summaryrefslogtreecommitdiff
path: root/devicestate.c
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 /devicestate.c
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 'devicestate.c')
-rw-r--r--devicestate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/devicestate.c b/devicestate.c
index b0e5d5aec..40cd6c322 100644
--- a/devicestate.c
+++ b/devicestate.c
@@ -52,6 +52,8 @@ static const char *devstatestring[] = {
/* 4 AST_DEVICE_INVALID */ "Invalid", /*!< Invalid - not known to Asterisk */
/* 5 AST_DEVICE_UNAVAILABLE */ "Unavailable", /*!< Unavailable (not registred) */
/* 6 AST_DEVICE_RINGING */ "Ringing" /*!< Ring, ring, ring */
+ /* 7 AST_DEVICE_RINGINUSE */ "Ring+Inuse" /*!< Ring and in use */
+ /* 8 AST_DEVICE_ONHOLD */ "On Hold" /*!< On Hold */
};
/*! \brief A device state provider (not a channel) */