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

@@ -235,6 +235,9 @@
</parameter>
<parameter name="macro">
<para>Will run a macro on the called party's channel (the queue member) once the parties are connected.</para>
<note>
<para>Macros are deprecated, GoSub should be used instead.</para>
</note>
</parameter>
<parameter name="gosub">
<para>Will run a gosub on the called party's channel (the queue member) once the parties are connected.</para>