From: Matthew Jordan Date: Thu, 6 Sep 2012 22:21:12 +0000 (+0000) Subject: Update QueueMemberStatus event documentation to include member status values X-Git-Tag: 13.0.0-beta1~2567 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5da59112b7de695a475ecffa332439f03e18c17c;p=thirdparty%2Fasterisk.git 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 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 2309d05a8e..06e5fc861f 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 +