[asterisk-commits] mmichelson: branch 11 r371784 - in /branches/11: ./ main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 27 16:31:40 CDT 2012


Author: mmichelson
Date: Mon Aug 27 16:31:37 2012
New Revision: 371784

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=371784
Log:
Fix incorrect documentation of the MailboxStatus manager command.

The "Waiting" field was misdocumented as reporting the number of
messages waiting. In reality, it simply indicated the presence or
absence of waiting messages.
........

Merged revisions 371782 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 371783 from http://svn.asterisk.org/svn/asterisk/branches/10

Modified:
    branches/11/   (props changed)
    branches/11/main/manager.c

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

Modified: branches/11/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/manager.c?view=diff&rev=371784&r1=371783&r2=371784
==============================================================================
--- branches/11/main/manager.c (original)
+++ branches/11/main/manager.c Mon Aug 27 16:31:37 2012
@@ -591,7 +591,8 @@
 			<para>Returns number of messages.</para>
 			<para>Message: Mailbox Status.</para>
 			<para>Mailbox: <replaceable>mailboxid</replaceable>.</para>
-			<para>Waiting: <replaceable>count</replaceable>.</para>
+			<para>Waiting: <literal>0</literal> if messages waiting, <literal>1</literal>
+			if no messages waiting.</para>
 		</description>
 	</manager>
 	<manager name="MailboxCount" language="en_US">




More information about the asterisk-commits mailing list