Not only the cleverest, I think it's the best! I maintain the configuration for 12 SIP Proxies (using OpenSER) and I don't need 12 different configuration files. A number of macros transform one m4 file into one of 12 different configuration files with the stroke of a short command line.
I'd be happy to help provide some help to get you started ... -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Bogdan-Andrei Iancu Sent: Thursday, January 22, 2009 9:15 AM To: Matti Zemack Cc: [email protected] Subject: Re: [OpenSIPS-Users] Include Hi Matti, no, there is no other solution - using M4 is the cleverest solution ;) Regards, Bogdan Matti Zemack wrote: > > Hi again, > > First of all, Thanks for all help I received previously today. > Fantastic and very quick response. > > So here is my second newbie-question: Is there any way to include > files at startup? It would be nice to split a 2000+ lines config file > into easier to handle parts. > > (After this morning tip from IƱaki, I suppose I could use m4 for this > errand... Any other clever suggestions?) > > Best Regards, > > Matti Zemack > > Stockholm > > Sweden > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
