[asterisk-users] Conditional "includes" in iax.conf

Andrew Latham lathama at gmail.com
Wed Jul 7 13:51:36 CDT 2010


You may be looking for a configuration management system.

http://trac.mcs.anl.gov/projects/bcfg2 or http://www.puppetlabs.com/

~
Andrew "lathama" Latham
lathama at gmail.com

* Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
* Learn more about Linux http://en.wikipedia.org/wiki/Linux
* Learn more about Tux http://en.wikipedia.org/wiki/Tux



On Wed, Jul 7, 2010 at 2:18 PM, Scott Stingel <scott at evtmedia.com> wrote:
> Hello-
>
> For maintenance purposes, if possible I'd like to use the same iax.conf
> file in several different asterisk systems.   However, on one of the
> systems only, I would like to include an IAX "register" command to
> another external system.
>
> Within iax.conf or other configuration files (other than
> extensions.conf), is there a way of determining what system I'm running
> on, and include a particular configuration item conditionally?   I guess
> what I'm asking is there a way to conditionally "include" lines in a
> configuration depending on the value of some linux environment variable?
>
> thanks
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list