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@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@gmail.com <mailto: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 <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... <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@gmail.com <mailto: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