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: [email protected] 
[mailto:[email protected]] 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



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to