[asterisk-dev] [Code Review] Dialplan variables: ASTETCDIR, ASTSPOOLDIR, etc from asterisk.conf

Paul Belanger reviewboard at asterisk.org
Thu Jan 13 10:16:45 CST 2011


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

Review request for Asterisk Developers.


Summary
-------

I was surprised to find you cannot access ${ASTETCDIR} from the dialplan, so I created this patch.  Function AST_CONFIG was another option, however it is possible for Asterisk to run with asterisk.conf setting these variables.


Diffs
-----

  trunk/CHANGES 301727 
  trunk/main/pbx.c 301727 

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


Testing
-------

Local development box.


Thanks,

Paul

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


More information about the asterisk-dev mailing list