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@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" 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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org