[Freeswitch-users] XML curl "not found" response

Vladyslav Zakhozhai v.zakhozhai at gmail.com
Thu Jun 8 09:07:26 UTC 2017


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.

-- 
С уважением,
Владислав Захожай
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170608/1f1d2f51/attachment-0001.html>


More information about the FreeSWITCH-users mailing list