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@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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users