[Freeswitch-users] Just curious, is there any standard for FS API command output?
Rafal Gwizdala
rafal.gwizdala at gmail.com
Wed Jul 31 23:56:15 MSD 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130731/e99ffb69/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list