[SR-Users] Kamailio 5.0 - HTTP loading of config files

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 2 19:08:04 CET 2016


Kamailio can read the configuration file from stdin, which obviously useful
for redirecting the output of some tool to it rather than typing the whole
configuration.

So you can do:

wget ... http://cfgserver.com/kamailio.cfg | kamailio -f - ...

The dots are for the specific parameters.

This should get you close to what you want. No support for #!include file,
though.

Further enhancements as you proposed can be considered based on interest.

Cheers,
Daniel
On 2 Mar 2016 18:10, "Tim Chubb" <tim.chubb at voicesimplified.com> wrote:

> As a suggestion for 5.0 being able to load config files from a URL, with
> any includes being taken relative to the URL would be a really handy
> feature.
>
> It would allow a central source for config files in a cluster and make it
> a much simpler process to push out changes to routing to all nodes.
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160302/cf6a3ab3/attachment.html>


More information about the sr-users mailing list