diff options
author | Corey Farrell <git@cfware.com> | 2017-10-16 11:53:07 -0400 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-10-18 09:54:58 -0500 |
commit | 955a891a84203fdab9dade2049bb8268d69a2949 (patch) | |
tree | e87263919db6fc073b513400f29a9216bd11848a /apps/app_dial.c | |
parent | 3a2b132411c88d2b2494c3085c79253256bda053 (diff) |
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
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 847a095f4..8c51f3f1a 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -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"> |