Clarify documentation for VoiceMailMain()'s a() option.
authorSean Bright <sean@malleable.com>
Wed, 30 Sep 2009 14:47:58 +0000 (14:47 +0000)
committerSean Bright <sean@malleable.com>
Wed, 30 Sep 2009 14:47:58 +0000 (14:47 +0000)
We require box numbers, not names as the documentation implies.
(issue #14740)
Reported by: pj
Patches:
      __20090729-app_voicemail-documentation.patch uploaded by lmadsen (license 10)
Tested by: seanbright, lmadsen

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

apps/app_voicemail.c

index 9ae91b2..972a485 100644 (file)
@@ -222,7 +222,19 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                                        <option name="a">
                                                <argument name="folder" required="true" />
                                                <para>Skip folder prompt and go directly to <replaceable>folder</replaceable> specified.
-                                               Defaults to <literal>INBOX</literal>.</para>
+                                               Defaults to <literal>0</literal> (INBOX).</para>
+                                               <enumlist>
+                                                       <enum name="0"><para>INBOX</para></enum>
+                                                       <enum name="1"><para>Old</para></enum>
+                                                       <enum name="2"><para>Work</para></enum>
+                                                       <enum name="3"><para>Family</para></enum>
+                                                       <enum name="4"><para>Friends</para></enum>
+                                                       <enum name="5"><para>Cust1</para></enum>
+                                                       <enum name="6"><para>Cust2</para></enum>
+                                                       <enum name="7"><para>Cust3</para></enum>
+                                                       <enum name="8"><para>Cust4</para></enum>
+                                                       <enum name="9"><para>Cust5</para></enum>
+                                               </enumlist>
                                        </option>
                                </optionlist>
                        </parameter>