Testing php/mysql setup for mod_xml_curl

From the FreeSWITCH console command line now "load mod_xml_curl" (or "reload" it).

Each time FreeSWITCH will need to check User Directory (to authorize a phone registration in SIP or Verto, to authorize an outbound call from a registered phone, to find out details to serve an incoming call for a SIP or Verto user, and so on), mod_xml_curl will enter in action.

First mod_xml_curl will try and fail to connect to a nonexisting webserver on port 8888, and log an error.

Then will connect to port 80, ask for the XML snippet, and if that user is not in database, will silently (no error logged) fall back to the filesystem.

In this case we call from the user 1011, that is not in the database (we have userid 1000...1003 in the database).

First mod_xml_curl will try and fail to connect to port 888, and log an error. Then it will connect to port 80, get the "not found" document, and fall back to filesystem, where the user 1011 is found, and the call is authorized.

Phew!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.76.89