[Freeswitch-users] REST API call from freeswitch

Ashwin Jain ashwinrkjain at gmail.com
Sat Nov 16 16:10:26 MSK 2013


Is their anyway I can tokenize string? I will change the return type to
plain text string as CSV.

I want to return multiple key value pairs and set in the dialplan so that
they can be inserted in CDR.


On Sat, Nov 16, 2013 at 5:58 PM, Seven Du <dujinfang at gmail.com> wrote:

> 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
> 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
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Thanks and Regards,
Ashwin Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131116/255eda0f/attachment.html 


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