Fix incorrect documentation of the MailboxStatus manager command.
authorMark Michelson <mmichelson@digium.com>
Mon, 27 Aug 2012 21:33:02 +0000 (21:33 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 27 Aug 2012 21:33:02 +0000 (21:33 +0000)
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
........

Merged revisions 371784 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@371785 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/manager.c

index e1bf19f..ae01b45 100644 (file)
@@ -591,7 +591,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                        <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">