[asterisk-dev] [Code Review] Add option to invoke the extensions.conf stdexten using the legacy macro method.

rmudgett reviewboard at asterisk.org
Fri Apr 6 19:22:20 CDT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1855/
-----------------------------------------------------------

Review request for Asterisk Developers.


Summary
-------

Add an option to asterisk.conf to generate stdexten dialplans using the new gosub method or legacy macro method.

users.conf:
 - A defined user with hasvoicemail=yes now finally uses a Gosub to stdexten
   as documented in extensions.conf.sample since v1.6.0 instead of a Macro as
   documented in v1.4.  Set the asterisk.conf stdexten=macro parameter to
   invoke the stdexten the old way.


This addresses bug ASTERISK-19457.
    https://issues.asterisk.org/jira/browse/ASTERISK-19457


Diffs
-----

  /trunk/UPGRADE.txt 361609 
  /trunk/configs/asterisk.conf.sample 361609 
  /trunk/include/asterisk/options.h 361609 
  /trunk/main/asterisk.c 361609 
  /trunk/pbx/pbx_config.c 361609 

Diff: https://reviewboard.asterisk.org/r/1855/diff


Testing
-------

Setting the stdexten parameter in asterisk.conf to macro, gosub, other worked as expected.
When set to macro, the users.conf extension was created to invoke a macro.
When set to gosub, the users.conf extension was created to invoke a gosub.
When set to something else, the option defaulted to gosub.
When the option is not present, the option defaulted to gosub.


Thanks,

rmudgett

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120407/af2599f9/attachment.htm>


More information about the asterisk-dev mailing list