My idea would be to have a local proxy in between:

A simple solution (e.g. based on Ruby) for this should be 1 page of code, dependend on the configuration options. But any other language would do that too.
On higher XML-Curl loads, concurrency will be an issue to take care about.


Best regards
Peter

On 06/08/13 13:36, Ivan C Myrvold wrote:
I am thinking about using parse.com to serve dynamic configuration XML files for FreeSWITCH. parse.com gives this as an example of how to use Cloud Code to run a function:

curl -X POST \
  -H "X-Parse-Application-Id: wCjhhG6tSASMGxvFwPESUCFCW3KykGeyCJqg8z1U" \
  -H "X-Parse-REST-API-Key: wL8WMeyLcKyfemomB94mLICLhhi8xw1G1DrEapAp" \
  -H "Content-Type: application/json" \
  -d '{}' \
  https://api.parse.com/1/functions/hello


Is it possible to populate xml_curl.conf.xml so that  freeswitch will use the same HTTP headers? 

Ivan


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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


-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
mailto:lists (att) telefaks.de
Internet: www.telefaks.de