make your API to response a plain test string, or parse anything use lua or javascript etc.

On Saturday, November 16, 2013 at 6:52 PM, Ashwin Jain wrote:

Hi,

I wanted to do a REST API call for determining the outgoing number for bridge application. My REST API call response is 

{
  • phone: "+1415800000"
}

How can I parse my response and get the phone number in my dialplan? I am right now using mod_curl.


--
Thanks and Regards,
Ashwin Jain
_________________________________________________________________________
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