]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix incorrect documentation of the MailboxStatus manager command.
authorMark Michelson <mmichelson@digium.com>
Mon, 27 Aug 2012 21:24:30 +0000 (21:24 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 27 Aug 2012 21:24:30 +0000 (21:24 +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.

(closes issue AST-975)
reported  by John Bigelow

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

main/manager.c

index cdb901d84dbb103dae860820f51b1a82b91e845c..13670eb03e14909e4f3cfec94e0ad2c7dbb42d1c 100644 (file)
@@ -541,7 +541,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">