[Freeswitch-users] REST API call from freeswitch

Seven Du dujinfang at gmail.com
Sat Nov 16 15:28:48 MSK 2013


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 at freeswitch.org (mailto:consulting at freeswitch.org)
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at lists.freeswitch.org)
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131116/b6a9adc0/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list