[Freeswitch-users] Provisioning fifo.conf via xml_curl

Vik Killa vipkilla at gmail.com
Mon Nov 24 15:56:59 MSK 2014


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"
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&section=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>
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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141124/cf00f990/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list