Check out m4:<div><a href="http://www.opensips.org/Resources/DocsTools">http://www.opensips.org/Resources/DocsTools</a></div><div><br><br><div class="gmail_quote">On Thu, Sep 30, 2010 at 12:19 PM, Daniel Goepp <span dir="ltr"><<a href="mailto:dan@goepp.net">dan@goepp.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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:<br>
<br>In the global parameters:<br>advertised_address<br><br>Then in our routes for:<br>
record_route_preset<br clear="all">rtpproxy_offer<br>rtpproxy_answer<br><br>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?<br>
<br>Thanks<br><font color="#888888"><br>-dg<br>
</font><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>