[Freeswitch-users] Provisioning fifo.conf via xml_curl
Michael Jerris
mike at jerris.com
Mon Nov 24 17:56:50 MSK 2014
Make sure you are loading mod_xml_curl before any modules that need to use it to pull config.
> On Nov 24, 2014, at 8:58 AM, Steven Ayre <steveayre at gmail.com> wrote:
>
> Also make sure you're wrapping the config you send back in the correct tags.
>
> On 24 November 2014 at 12:56, Vik Killa <vipkilla at gmail.com <mailto:vipkilla at gmail.com>> wrote:
> Make sure you have XML_CURL configured as follows;
>
> <configuration name="xml_curl.conf" description="XML CURL Gateway">
> <bindings>
> <binding name="default">
> <param name="gateway-url" value="http://localhost/index.php <http://localhost/index.php>" bindings="configuration" />
> </binding>
> </bindings>
> </configuration>
>
> FS will send something like this to your script:
>
> http://localhost/index.php?FreeSWITCH-Hostname=fs01&FreeSWITCH-Switchname=fs-01&hostname=fs-01§ion=configuration&key_name=name&key_value=fifo.conf <http://localhost/index.php?FreeSWITCH-Hostname=fs01&FreeSWITCH-Switchname=fs-01&hostname=fs-01§ion=configuration&key_name=name&key_value=fifo.conf>
>
> Write a script to parse the headers and generate the appropriate XML config.
>
> On Sat, Nov 22, 2014 at 10:38 AM, Dan Christian Bogos <danb.lists at gmail.com <mailto:danb.lists at gmail.com>> wrote:
> Hey Guys,
>
> Was wondering if someone could help me with a working fifo.conf
> provisioned over xml_curl.
>
> I am trying to provision it but for some reason my configuration is not
> picked up, moreover if I am deleting autoload_configs/fifo.conf the
> mod_fifo will not even be loaded (although I am pushing it via xml_curl).
>
> Thanks in advance for any kind of tip!
>
> DanB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141124/3f509b0a/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list