[OpenSIPS-Users] standard opensips.cfg but include local config

Pauba, Kevin L KLPauba at west.com
Fri Oct 28 16:21:31 CEST 2011


I use m4 for our OpenSIPs configuration file -- it allows me to maintain one file for 18 different OpenSIPs servers.

Works great!

-----Original Message-----
From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Friday, October 28, 2011 6:56 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] standard opensips.cfg but include local config

Hi Gareth,

actually using m4 does not complicate thinks at all - we are using or 
more than 5 years and never run into difficulties or problem - even more 
it brings more power in doing text pre-processing  (not only "include" 
directive, but macros, defines, ifdef, loops ,etc ). Instead of keeping 
in SVN the .cfg file, keep the .m4 file(s) - and we added in the 
opensips init script the m4 triggering to generate the cfg file when 
starting opensips.

Regards,
Bogdan





More information about the Users mailing list