[OpenSIPS-Users] standard opensips.cfg but include local config
vladpaiu at opensips.org
Wed Oct 26 15:36:35 CEST 2011
You could use m4 along side with your .cfg. Basically, your .cfg would
essentially be the same for all your servers, but it would contain some
macros that would expand differently for each one of your servers.
On 10/25/2011 01:31 PM, Gareth Blades wrote:
> We have a couple of opensips servers and are using SVN to maintain the
> configuration so we wish to have a single opensips.cfg file.
> This means that there is some local config for the specific server
> that we have to somehow pull in from another file.
> Any tips on the best way to do this?
> Can you set a variable by checking the machines hostname or ip address
> and then pass a variable to the modparam function?
> Users mailing list
> Users at lists.opensips.org
More information about the Users