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 ...