Merged revisions 195162 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
  r195162 | eliel | 2009-05-18 10:45:23 -0400 (Mon, 18 May 2009) | 9 lines
  
  Warn about the use of the application WaitExten() within a Macro().
  
  Update applications documentation to warn the user about the use of the
  WaitExten() application within a Macro(). Recommend the use of Read()
  instead.
  
  (closes issue #14444)
  Reported by: ewieling
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@195164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Eliel C. Sardanons 16 years ago
parent 3078814e20
commit 742582a784

@ -248,6 +248,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
with this option. Also, pbx services are not run on the peer (called) channel, with this option. Also, pbx services are not run on the peer (called) channel,
so you will not be able to set timeouts via the TIMEOUT() function in this macro.</para> so you will not be able to set timeouts via the TIMEOUT() function in this macro.</para>
</note> </note>
<warning><para>Be aware of the limitations that macros have, specifically with regards to use of
the <literal>WaitExten</literal> application. For more information, see the documentation for
Macro()</para></warning>
</option> </option>
<option name="n"> <option name="n">
<para>This option is a modifier for the call screening/privacy mode. (See the <para>This option is a modifier for the call screening/privacy mode. (See the

@ -68,6 +68,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
applications in deeply nested macros could cause asterisk to crash earlier than this limit. applications in deeply nested macros could cause asterisk to crash earlier than this limit.
It is advised that if you need to deeply nest macro calls, that you use the Gosub application It is advised that if you need to deeply nest macro calls, that you use the Gosub application
(now allows arguments like a Macro) with explict Return() calls instead.</para></warning> (now allows arguments like a Macro) with explict Return() calls instead.</para></warning>
<warning><para>Use of the application <literal>WaitExten</literal> within a macro will not function
as expected. Please use the <literal>Read</literal> application in order to read DTMF from a channel
currently executing a macro.</para></warning>
</description> </description>
<see-also> <see-also>
<ref type="application">MacroExit</ref> <ref type="application">MacroExit</ref>
@ -97,6 +100,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
<replaceable>expr</replaceable> is true (otherwise <replaceable>macroiffalse</replaceable> <replaceable>expr</replaceable> is true (otherwise <replaceable>macroiffalse</replaceable>
if provided)</para> if provided)</para>
<para>Arguments and return values as in application Macro()</para> <para>Arguments and return values as in application Macro()</para>
<xi:include xpointer="xpointer(/docs/application[@name='Macro']/description/warning[2])" />
</description> </description>
<see-also> <see-also>
<ref type="application">GotoIf</ref> <ref type="application">GotoIf</ref>
@ -120,6 +124,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
Only one call at a time may run the macro. (we'll wait if another call is busy Only one call at a time may run the macro. (we'll wait if another call is busy
executing in the Macro)</para> executing in the Macro)</para>
<para>Arguments and return values as in application Macro()</para> <para>Arguments and return values as in application Macro()</para>
<xi:include xpointer="xpointer(/docs/application[@name='Macro']/description/warning[2])" />
</description> </description>
<see-also> <see-also>
<ref type="application">Macro</ref> <ref type="application">Macro</ref>

@ -679,6 +679,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
<description> <description>
<para>This application waits for the user to enter a new extension for a specified number <para>This application waits for the user to enter a new extension for a specified number
of <replaceable>seconds</replaceable>.</para> of <replaceable>seconds</replaceable>.</para>
<xi:include xpointer="xpointer(/docs/application[@name='Macro']/description/warning[2])" />
</description> </description>
<see-also> <see-also>
<ref type="application">Background</ref> <ref type="application">Background</ref>

Loading…
Cancel
Save