Thanks ,<div><br></div><div>Yes this tutorial worked for me as well some 5/7 months ago with kamailio 3.1 but I'm on 3.3 now and tried the same configurations file. Jitsi on the other hand is the only phone I found which shows me this error. I'm trying with Ekiga - eyebeam or xlite didn't seem happy with the presence icons as well..But common thing was that I could send the Chat messages successfully.</div>
<div><br></div><div>I'm continuously looking at the tcpdumps and I'll share those here in a while. </div><div><br></div><div>Thanks for replying and taking interest.</div><div><br></div><div>Regard,</div><div>Sammy</div>
<div><br><br><div class="gmail_quote">On Fri, Aug 10, 2012 at 1:32 PM, Peter Dunkley <span dir="ltr"><<a href="mailto:peter.dunkley@crocodile-rcs.com" target="_blank">peter.dunkley@crocodile-rcs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
Hi,<br>
<br>
The xcap-caps document is hard-coded in kamailio.cfg and provides a list of the document types the XCAP server supports. This part of the configuration from the tutorial builds and returns the xcap-caps document:
<blockquote>
<pre>                if($xcapuri(u=>auid)=="xcap-caps")
                {
                        $var(xbody) =
"<?xml version='1.0' encoding='UTF-8'?>
<xcap-caps xmlns='urn:ietf:params:xml:ns:xcap-caps'>
<auids>
<auid>rls-services</auid>
<auid>pidf-manipulation</auid>
<auid>xcap-caps</auid>
<auid>resource-lists</auid>
<auid>pres-rules</auid>
<auid>org.openmobilealliance.pres-rules</auid>
</auids>
<extensions>
</extensions>
<namespaces>
<namespace>urn:ietf:params:xml:ns:rls-services</namespace>
<namespace>urn:ietf:params:xml:ns:pidf</namespace>
<namespace>urn:ietf:params:xml:ns:xcap-caps</namespace>
<namespace>urn:ietf:params:xml:ns:resource-lists</namespace>
<namespace>urn:ietf:params:xml:ns:pres-rules</namespace>
</namespaces>
</xcap-caps>";
                        xhttp_reply("200", "ok", "application/xcap-caps+xml",
                                        "$var(xbody)");
                        exit;
                }
</pre>
</blockquote>
This tutorial has always worked for me in the past (although it has been well over a year since I last used it), so it looks like either a problem with Jitsi (which is unlikely) or some misconfiguration on the Kamailio side.<br>
<br>
A tcpdump of the traffic between Jitsi and Kamailio would help with working out which side has the problem.<br>
<br>
Regards,<br>
<br>
Peter<div><div class="h5"><br>
<br>
On Thu, 2012-08-09 at 15:30 +0500, SamyGo wrote:<br>
<blockquote type="CITE">
Hi,
</blockquote>
<blockquote type="CITE">
<br>
</blockquote>
<blockquote type="CITE">
I've followed the tutorial on <a href="http://kab.asipto.com" target="_blank">kab.asipto.com</a> for presence using built-in xcap server. <a href="http://kb.asipto.com/kamailio:presence:k31-made-simple" target="_blank">http://kb.asipto.com/kamailio:presence:k31-made-simple</a>
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
I'm using Kamailio version 3.3.1 and did minor changes in modparams and rtpproxy function calls and the kamailio accepted the configurations file posted on the page and started.
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
But the problem is that I don't get the presence status of the contacts still. Please suggest what to look for and how to troubleshoot this.
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
I get this error on Jitsi - image attached.
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
ERROR: <font color="#ff0000">"<a href="http://ip.of.server/xcap-root/xcap-caps/global/index" target="_blank">http://ip.of.server/xcap-root/xcap-caps/global/index</a> resource can not be read"</font>
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
Regards,
</blockquote>
<blockquote type="CITE">
Sammy
</blockquote>
</div></div><blockquote type="CITE">
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<pre>--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</pre>
</td>
</tr>
</tbody></table>
</font></span></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>