[Freeswitch-users] Just curious, is there any standard for FS API command output?

Michael Collins msc at freeswitch.org
Thu Aug 1 01:07:17 MSD 2013


Not sure what the real issue is here. In all programming langs you have
functions that return various formats - you simply learn to use them. In FS
the APIs are easy to use. Many of them support different output formats
which gives you choices. You even have ESL which abstracts away a lot of
the boring and tedious work.

Are you facing a particularly difficult programming challenge? The gang
here loves to solve problems, so ask away.

-MC
On Jul 31, 2013 1:03 PM, "Rafal Gwizdala" <rafal.gwizdala at gmail.com> wrote:

> Guys, I'm communicating with FS through an inbound event socket and almost
> every command has some different standard for output data structure. Some
> responses are CSV, some (like 'sofia status profile internal reg') use a
>  'vertical name:value format , i've seen also different formats I don't
> remember now. What's worse, the event returned after executing a command
> (SOCKET_DATA api/response) doesn't indicate if the command succeeded or
> not. Some commands are nice enough to return +OK for success but not all of
> them.
> Am I missing something here? Are there more programmer-friendly methods of
> getting command results from FS?
> Thanks
> RG
>
> _________________________________________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130731/8e032c94/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list