]> 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:29:29 +0000 (21:29 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 27 Aug 2012 21:29:29 +0000 (21:29 +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

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

main/manager.c

index ac2c9d881d7efc4989eaf20c647e01f593e52607..b6b79eee420dfbe39a2088e24b3764594e305bd0 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">