]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make documentation for Dial() options 'F' and 'F()' more clear.
authorLeif Madsen <leif@leifmadsen.com>
Mon, 3 Oct 2011 19:54:52 +0000 (19:54 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Mon, 3 Oct 2011 19:54:52 +0000 (19:54 +0000)
(Closes issue ASTERISK-18646)
Reported by: Physis Heckman
Tested by: Richard Mudgett

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

apps/app_dial.c

index a9d1079a13508fc2ad48b3635f570d6f8607674a..bd1794916eea7f3dbd715dd6d314a7c7259585cf 100644 (file)
@@ -152,12 +152,21 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                                        <argument name="context" required="false" />
                                        <argument name="exten" required="false" />
                                        <argument name="priority" required="true" />
-                                       <para>When the caller hangs up, transfer the called party
-                                       to the specified destination and continue execution at that location.</para>
+                                       <para>When the caller hangs up, transfer the <emphasis>called</emphasis> party
+                                       to the specified destination and <emphasis>start</emphasis> execution at that location.</para>
+                                       <note>
+                                               <para>Any channel variables you want the called channel to inherit from the caller channel must be
+                                               prefixed with one or two underbars ('_').</para>
+                                       </note>
                                </option>
                                <option name="F">
-                                       <para>Proceed with dialplan execution at the next priority in the current extension if the
-                                       source channel hangs up.</para>
+                                       <para>When the caller hangs up, transfer the <emphasis>called</emphasis> party to the next priority of the current extension
+                                       and <emphasis>start</emphasis> execution at that location.</para>
+                                       <note>
+                                               <para>Any channel variables you want the called channel to inherit from the caller channel must be
+                                               prefixed with one or two underbars ('_').</para>
+                                               <para>Additionally, using this option from a Macro() or GoSub() might not make sense as there would be no return points</para>
+                                       </note>
                                </option>
                                <option name="g">
                                        <para>Proceed with dialplan execution at the next priority in the current extension if the