[OpenSIPS-Users] Config include file

Brett Nemeroff brett at nemeroff.com
Thu Sep 30 19:44:19 CEST 2010


yeah.... that or some magic with sed.. :)

I thought the M4 recommendations on the Docs was a good idea actually.
-Brett


On Thu, Sep 30, 2010 at 12:40 PM, Daniel Goepp <dan at goepp.net> wrote:

> Ah yes, good ol' m4, I recall that from the old sendmail days.  Always
> found it to be kind of a cryptic pain, but for something this simple, seems
> that it will do the trick.
>
> Thanks.
>
> -dg
>
>
>
> On Thu, Sep 30, 2010 at 10:21 AM, Brett Nemeroff <brett at nemeroff.com>wrote:
>
>> Check out m4:
>> http://www.opensips.org/Resources/DocsTools
>>
>>
>> On Thu, Sep 30, 2010 at 12:19 PM, Daniel Goepp <dan at goepp.net> wrote:
>>
>>> We have many proxies that have an identical configuration other than
>>> their public IP address.  We set this IP address only for a few things:
>>>
>>> In the global parameters:
>>> advertised_address
>>>
>>> Then in our routes for:
>>> record_route_preset
>>> rtpproxy_offer
>>> rtpproxy_answer
>>>
>>> What I would like to do is create a file on each of these servers (or a
>>> DB) that contains that servers public IP, and then put something like an
>>> include into the script.  This would make managing our config a lot easier.
>>> So each system would have an identical config and could be updated very
>>> easily.  Does this make sense?  Any comments on how this might be done?
>>>
>>> Thanks
>>>
>>> -dg
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100930/0463f761/attachment.htm 


More information about the Users mailing list