[Freeswitch-users] FS webapi vs api question

UV uv at talknet.com.au
Thu Jul 31 22:47:29 PDT 2008


I think you meant this command:
http://fs.ip:8080/webapi/sofia?status%20profile%20internal

Anyway, I've been digging into the XML-RPC internals and couldn't make much
sense of it either - especially with mod voicemail.

It would be great if we had a reference to all xml-rpc links.

I'd be happy assisting wikifying it but I got to a dead-end there so if
anyone can shed some light on this...


-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael
S Collins
Sent: Friday, August 01, 2008 2:17 PM
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] FS webapi vs api question

Could someone please confirm this behavior and comment on whether it  
is expected or not?

Using the api or webapi from mod_xml_rpc, one can fetch CLI commands.  
Some commands seem to work well using either method and others do not.  
Try these two commands and tell me what you see:
http://fs.ip:8080/webapi/sofia?profile internal
http://fs.ip:8080/api/sofia?profile internal

Normally the webapi wraps the return data or adds a content type  
header to make it browser friendly. The api just dumps the data raw.  
However there are cases where api returns partial or no data. Another  
example is the command oz?list. It works fine with webapi but returns  
nothing with api.

If you know the scoop on this could you please enlighten me?

Thanks!

-MC

Sent from my iPhone

_______________________________________________
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
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.10/1584 - Release Date: 31/07/2008
12:00

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.10/1584 - Release Date: 31/07/2008
12:00




More information about the FreeSWITCH-users mailing list