[asterisk-commits] mmichelson: branch 10 r371783 - in /branches/10: ./ main/manager.c

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


Author: mmichelson
Date: Mon Aug 27 16:29:29 2012
New Revision: 371783

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

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

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

Modified: branches/10/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/manager.c?view=diff&rev=371783&r1=371782&r2=371783
==============================================================================
--- branches/10/main/manager.c (original)
+++ branches/10/main/manager.c Mon Aug 27 16:29:29 2012
@@ -541,7 +541,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