[OpenSIPS-Users] Retrieving parameters from file

Johan De Clercq Johan at democon.be
Tue Feb 9 10:37:11 EST 2021


Interesting, speaking for myself, it is absolutely team that I add m4
support.


Op di 9 feb. 2021 om 11:35 schreef Liviu Chircu <liviu at opensips.org>:

> On 09.02.2021 05:53, Dinesh Krishnamurthy via Users wrote:
> > For example i would need to keep the IP Address/Port of the API
> > Gateway which i communicate via rest_get without hardcoding as they
> > would change based on the environment i am working with i.e.. staging,
> > dev or production
> >
> > Please advise the way to do this.
>
> Hi,
>
> Sounds to me like your opensips.cfg file needs templating. If you are
> using a 3.0 or newer OpenSIPS, this process is even further simplified,
> as OpenSIPS natively integrates with any preprocessor that's out there.
> See this guide [1] for more details.
>
> Regards,
>
> [1]: https://www.opensips.org/Documentation/Templating-Config-Files-3-2
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | www.opensips-solutions.com
>
>
> _______________________________________________
> 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/20210209/e7990c27/attachment.html>


More information about the Users mailing list