<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>As usual you are awesome! &nbsp;I&#8217;ll
start testing this and put it on my documentation to-do list.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>-MC<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Anthony Minessale<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, August 01, 2008 8:06
AM<br>
<b><span style='font-weight:bold'>To:</span></b>
freeswitch-users@lists.freeswitch.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Freeswitch-users] FS
webapi vs api question</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>/webapi/ adds an implicit
&quot;Content-type: text/html&quot;<br>
in the lastest revision i also added<br>
/txtapi/ which auto-adds a &quot;Content-type: text/plain&quot;<br>
/api/ by itself adds no Content-Type so the api command can set it's own.<br>
<br>
Some of the smarter commands like &quot;show&quot; and &quot;status&quot; can
tell they are being accessed over the web and act accordingly with /api
/txtapi/ and /webapi/<br>
<br>
<br>
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Fri, Aug 1, 2008 at 5:05 AM, Michael Collins &lt;<a
href="mailto:mcollins@fcnetwork.com" target="_blank">mcollins@fcnetwork.com</a>&gt;
wrote:<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&gt; I think you meant
this command:<br>
&gt; <a href="http://fs.ip:8080/webapi/sofia?status%20profile%20internal"
target="_blank">http://fs.ip:8080/webapi/sofia?status%20profile%20internal</a><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Sorry, and yes. :) &nbsp;The issue also is apparent when doing the
&quot;version&quot;<br>
api:<br>
<a href="http://fs.ip:8080/api/version" target="_blank">http://fs.ip:8080/api/version</a>
yields nothing<br>
<a href="http://fs.ip:8080/webapi/version" target="_blank">http://fs.ip:8080/webapi/version</a>
yields the correct information<br>
<br>
In any case I just want to make sure that this isn't a bug but rather<br>
normal behavior for a specific reason. &nbsp;I don't suspect that it is<br>
terribly important in the grand scheme but if we can get it documented<br>
that might save some n00b's a little trouble when they start using<br>
api/webapi.<br>
<br>
Thanks,<br>
<font color="#888888"><span style='color:#888888'>MC</span></font><o:p></o:p></span></font></p>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
&gt;<br>
&gt; Anyway, I've been digging into the XML-RPC internals and couldn't make<br>
&gt; much<br>
&gt; sense of it either - especially with mod voicemail.<br>
&gt;<br>
&gt; It would be great if we had a reference to all xml-rpc links.<br>
&gt;<br>
&gt; I'd be happy assisting wikifying it but I got to a dead-end there so<br>
if<br>
&gt; anyone can shed some light on this...<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>
&gt; [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of<br>
&gt; Michael<br>
&gt; S Collins<br>
&gt; Sent: Friday, August 01, 2008 2:17 PM<br>
&gt; To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
&gt; Subject: [Freeswitch-users] FS webapi vs api question<br>
&gt;<br>
&gt; Could someone please confirm this behavior and comment on whether it<br>
&gt; is expected or not?<br>
&gt;<br>
&gt; Using the api or webapi from mod_xml_rpc, one can fetch CLI commands.<br>
&gt; Some commands seem to work well using either method and others do not.<br>
&gt; Try these two commands and tell me what you see:<br>
&gt; <a href="http://fs.ip:8080/webapi/sofia?profile" target="_blank">http://fs.ip:8080/webapi/sofia?profile</a>
internal<br>
&gt; <a href="http://fs.ip:8080/api/sofia?profile" target="_blank">http://fs.ip:8080/api/sofia?profile</a>
internal<br>
&gt;<br>
&gt; Normally the webapi wraps the return data or adds a content type<br>
&gt; header to make it browser friendly. The api just dumps the data raw.<br>
&gt; However there are cases where api returns partial or no data. Another<br>
&gt; example is the command oz?list. It works fine with webapi but returns<br>
&gt; nothing with api.<br>
&gt;<br>
&gt; If you know the scoop on this could you please enlighten me?<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; -MC<br>
&gt;<br>
&gt; Sent from my iPhone<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;<br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; No virus found in this incoming message.<br>
&gt; Checked by AVG - <a href="http://www.avg.com" target="_blank">http://www.avg.com</a><br>
&gt; Version: 8.0.138 / Virus Database: 270.5.10/1584 - Release Date:<br>
&gt; 31/07/2008<br>
&gt; 12:00<br>
&gt;<br>
&gt; No virus found in this outgoing message.<br>
&gt; Checked by AVG - <a href="http://www.avg.com" target="_blank">http://www.avg.com</a><br>
&gt; Version: 8.0.138 / Virus Database: 270.5.10/1584 - Release Date:<br>
&gt; 31/07/2008<br>
&gt; 12:00<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;<br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><o:p></o:p></span></font></p>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com"
target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a>
#freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org"
target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400<o:p></o:p></span></font></p>

</div>

</div>

</div>

</body>

</html>