"""If it receives a valid response from your web application, then it will load the configuration just like it would if you had put it into the FreeSWITCH Configuration File <https://wiki.freeswitch.org/wiki/Freeswitch.xml>. If it receives an invalid or 404 *not found* response, then it will attempt to look for the file on disk instead.""" """https://freeswitch.org/confluence/display/FREESWITCH/ mod_xml_curl#mod_xml_curl-Section:notfound""" https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_curl On 8 June 2017 at 11:07, Vladyslav Zakhozhai <v.zakhozhai@gmail.com> wrote:
Hi,
I am curious what HTTP status xml curl server must provide when no result is found for request with body
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="freeswitch/xml"> <section name="result"> <result status="not found" /> </section> </document>
I mean HTTP 200 or HTTP 404.
My problem is the following:
1. When freeswitch gets 404 for directory request it reports error:
[ERR] mod_xml_curl.c:315 Received HTTP error 404 trying to fetch
2. When freeswitch gets 200 with status "not found" on dialplan request failover to file xml config does not occure.
Thank you in advance.
-- С уважением, Владислав Захожай
_________________________________________________________________________ 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
-- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18