[asterisk-commits] mjordan: trunk r372538 - in /trunk: ./ apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 6 17:21:14 CDT 2012


Author: mjordan
Date: Thu Sep  6 17:21:12 2012
New Revision: 372538

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=372538
Log:
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

Modified:
    trunk/   (props changed)
    trunk/apps/app_queue.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_queue.c?view=diff&rev=372538&r1=372537&r2=372538
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu Sep  6 17:21:12 2012
@@ -1612,7 +1612,18 @@
 				<para>The time this member last took call, expressed in seconds since 00:00, Jan 1, 1970 UTC.</para>
 			</parameter>
 			<parameter name="Status">
-				<para>The status of the queue member.  This will be a device state value.</para>
+				<para>The numeric device state status of the queue member.</para>
+				<enumlist>
+					<enum name="0"><para>AST_DEVICE_UNKNOWN</para></enum>
+					<enum name="1"><para>AST_DEVICE_NOT_INUSE</para></enum>
+					<enum name="2"><para>AST_DEVICE_INUSE</para></enum>
+					<enum name="3"><para>AST_DEVICE_BUSY</para></enum>
+					<enum name="4"><para>AST_DEVICE_INVALID</para></enum>
+					<enum name="5"><para>AST_DEVICE_UNAVAILABLE</para></enum>
+					<enum name="6"><para>AST_DEVICE_RINGING</para></enum>
+					<enum name="7"><para>AST_DEVICE_RINGINUSE</para></enum>
+					<enum name="8"><para>AST_DEVICE_ONHOLD</para></enum>
+				</enumlist>
 			</parameter>
 			<parameter name="Paused">
 				<enumlist>




More information about the asterisk-commits mailing list