app_macro deprecation.

* Mark the module deprecated.
* Disable the module by default.
* Produce a warning the first time a macro is used.
* Note deprecation related options in app_dial and app_queue.

ASTERISK-27350

Change-Id: I560ea043bacdbc5534a17d97854273d52c2f1bdc
This commit is contained in:
Corey Farrell
2017-10-16 11:53:07 -04:00
parent 3a2b132411
commit 955a891a84
5 changed files with 28 additions and 2 deletions

View File

@@ -324,6 +324,10 @@
<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
<literal>Macro()</literal>.</para></warning>
<note>
<para>Macros are deprecated, GoSub should be used instead,
see the <literal>U</literal> option.</para>
</note>
</option>
<option name="n">
<argument name="delete">