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

2016-03-03 Thread Daniel Tryba
On Wed, Mar 02, 2016 at 07:24:59PM +, Tim Chubb wrote: > My original post did leave a fairly important potential benefit to > native HTTP loading of config though, that is you could dynamically > generate config in a webapp which the mooted 5.0 runtime routing > reloading could really take adva

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

2016-03-02 Thread Tristan Mahé
-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of > Alex Balashov > Sent: 02 March 2016 19:23 > To: sr-users@lists.sip-router.org > Subject: Re: [SR-Users] Kamailio 5.0 - HTTP loading of config files > > On 03/02/2016 02:20 PM, Tim Chubb wrote: > >> A

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

2016-03-02 Thread Tim Chubb
2016 19:23 To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 5.0 - HTTP loading of config files On 03/02/2016 02:20 PM, Tim Chubb wrote: > Another impetus for wanting to load config from HTTP is that you could > serve dynamic config from a web app, i.e. customer specific c

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

2016-03-02 Thread Tim Chubb
reloading could really take advantage of. -Original Message- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Tristan Mahé Sent: 02 March 2016 18:15 To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 5.0 - HTTP loading of config files Chef, Ansible

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

2016-03-02 Thread Alex Balashov
On 03/02/2016 02:20 PM, Tim Chubb wrote: Another impetus for wanting to load config from HTTP is that you could serve dynamic config from a web app, i.e. customer specific configs for dedicated proxies Yeah, that's true. I could see that being useful for those exotic cases where a large amoun

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

2016-03-02 Thread Tim Chubb
March 2016 17:38 To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Kamailio 5.0 - HTTP loading of config files On Wed, Mar 02, 2016 at 05:10:15PM +, Tim Chubb wrote: > As a suggestion for 5.0 being able to load config files from a URL, > with any includes being taken relative

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

2016-03-02 Thread Tristan Mahé
Chef, Ansible, Puppet, and others, their job is exactly that, ensuring that nodes are configured accordingly, also ensuring that any operation needed for that configuration change is applied ( reloading dispatcher in case of new config, restarting kamailio in case the whole config file changed, ...

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

2016-03-02 Thread Daniel-Constantin Mierla
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 shou

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

2016-03-02 Thread Jason Penton
We use svn to manage the cfgs. The prod instances regularly update svn. On 02 Mar 2016 7:39 PM, "Alex Balashov" wrote: > On 03/02/2016 12:38 PM, Daniel Tryba wrote: > > This problem has been solved by the many configuration management tools >> readily available. >> > > +1, from my vantage point.

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

2016-03-02 Thread Alex Balashov
On 03/02/2016 12:38 PM, Daniel Tryba wrote: This problem has been solved by the many configuration management tools readily available. +1, from my vantage point. -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-

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

2016-03-02 Thread Daniel Tryba
On Wed, Mar 02, 2016 at 05:10:15PM +, Tim Chubb 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

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

2016-03-02 Thread Tim Chubb
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.