mod_xml_curl: Caveats and Pitfalls

So, you get excited by the endless possibilities offered by mod_xml_curl and you want to implement it yourself. Good!

But you want to take into account some things:

  • FreeSWITCH makes a lot of XML lookups. Really: a lot! A very big fast whopping lot!
  • You want your webserver to be very fast in returning the XML snippets, in failing, in timeouts, in all things: FreeSWITCH will wait for it
  • You want to set the timeout in each binding. In case of webserver not responding or slow, FreeSWITCH will wait for it
  • Particularly for directory, FreeSWITCH will not initiate a new phone registration until the previous has been completed or failed
  • You may want to allow for FreeSWITCH caching of XML snippets. Look in mod_xml_curl confluence documentation for it
  • You may want to use PHP caching, memcached or similar systems
  • You want to cure all aspect of web security, both for denial of service, for hackability of server side scripts, for exposition of your database, etc
  • You DO NOT want to have FreeSWITCH and database/webserver on the same hardware machine. It's a no-no. Also having FreeSWITCH in a vm and database/webserver in another vm on the same hardware is a no-no. If you expect significant traffic, don't.
..................Content has been hidden....................

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