Re: [asterisk-users] Parameterize asterisk config files

2012-10-03 Thread Ishfaq Malik
On Tue, 2012-10-02 at 19:34 -0400, Paul Belanger wrote: On 12-10-02 06:39 PM, Mitch Claborn wrote: Asterisk 1.8 on Ubuntu We store the configuration files in CVS. We have a development, QA and production environments. 90% of the config files are the same across all 3 environments, but

[asterisk-users] Parameterize asterisk config files

2012-10-02 Thread Mitch Claborn
Asterisk 1.8 on Ubuntu We store the configuration files in CVS. We have a development, QA and production environments. 90% of the config files are the same across all 3 environments, but there are some differences in sip.conf and extensions.conf (environment specific voip providers and/or

Re: [asterisk-users] Parameterize asterisk config files

2012-10-02 Thread Paul Belanger
On 12-10-02 06:39 PM, Mitch Claborn wrote: Asterisk 1.8 on Ubuntu We store the configuration files in CVS. We have a development, QA and production environments. 90% of the config files are the same across all 3 environments, but there are some differences in sip.conf and extensions.conf

Re: [asterisk-users] Parameterize asterisk config files

2012-10-02 Thread Steve Edwards
On Tue, 2 Oct 2012, Mitch Claborn wrote: I'd like to be able to use the same config files in CVS and have the differences resolved at run time, based on host name of the asterisk server. Another idea would be to write a simple perl or other program to pre-process the files and put some

Re: [asterisk-users] Parameterize asterisk config files

2012-10-02 Thread Andrew Latham
On Tue, Oct 2, 2012 at 8:04 PM, Steve Edwards asterisk@sedwards.com wrote: On Tue, 2 Oct 2012, Mitch Claborn wrote: I'd like to be able to use the same config files in CVS and have the differences resolved at run time, based on host name of the asterisk server. Another idea would be to