From 5da59112b7de695a475ecffa332439f03e18c17c Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Thu, 6 Sep 2012 22:21:12 +0000 Subject: Update QueueMemberStatus event documentation to include member status values The Status: header in a QueueMemberStatus event (and other QueueMember* events) is the numeric value of the device state corresponding to that Queue Member. As those values are not exactly obvious, listing them in the documentation is useful. Matt Riddell reported this indirectly through the wiki page. (closes issue ASTERISK-20243) Reported by: Matt Riddell ........ Merged revisions 372531 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@372538 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/app_queue.c b/apps/app_queue.c index 2309d05a8..06e5fc861 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1612,7 +1612,18 @@ static int update_status(struct call_queue *q, struct member *m, const int statu The time this member last took call, expressed in seconds since 00:00, Jan 1, 1970 UTC. - The status of the queue member. This will be a device state value. + The numeric device state status of the queue member. + + AST_DEVICE_UNKNOWN + AST_DEVICE_NOT_INUSE + AST_DEVICE_INUSE + AST_DEVICE_BUSY + AST_DEVICE_INVALID + AST_DEVICE_UNAVAILABLE + AST_DEVICE_RINGING + AST_DEVICE_RINGINUSE + AST_DEVICE_ONHOLD + -- cgit v1.2.3