<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.4.3">
</HEAD>
<BODY>
Hi,<BR>
<BR>
XCAP uses HTTP (albeit still carried on port 5060 in this tutorial), messaging and so on uses SIP. These are different protocols and handled in kamailio.cfg differently.<BR>
<BR>
Last time I checked Xlite didn't support XCAP at all - so I don't think that's going to work at all. I can't see XCAP/XDMS listed as an Ekiga feature either.<BR>
<BR>
I am using presence and XCAP on Kamailio 3.3 (my own configuration, not the one from the tutorial) and it works fine.<BR>
<BR>
Regards,<BR>
<BR>
Peter<BR>
<BR>
On Fri, 2012-08-10 at 13:41 +0500, SamyGo wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Thanks ,
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
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.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
I'm continuously looking at the tcpdumps and I'll share those here in a while.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Thanks for replying and taking interest.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Regard,
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Sammy
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
On Fri, Aug 10, 2012 at 1:32 PM, Peter Dunkley <<A HREF="mailto:peter.dunkley@crocodile-rcs.com">peter.dunkley@crocodile-rcs.com</A>> wrote:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
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
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
On Thu, 2012-08-09 at 15:30 +0500, SamyGo wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Hi,<BR>
<BR>
I've followed the tutorial on <A HREF="http://kab.asipto.com">kab.asipto.com</A> for presence using built-in xcap server. <A HREF="http://kb.asipto.com/kamailio:presence:k31-made-simple">http://kb.asipto.com/kamailio:presence:k31-made-simple</A><BR>
<BR>
<BR>
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.<BR>
<BR>
<BR>
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.<BR>
<BR>
<BR>
I get this error on Jitsi - image attached.<BR>
<BR>
<BR>
ERROR: <FONT COLOR="#ff0000">"<A HREF="http://ip.of.server/xcap-root/xcap-caps/global/index">http://ip.of.server/xcap-root/xcap-caps/global/index</A> resource can not be read"</FONT><BR>
<BR>
<BR>
Regards,<BR>
Sammy
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<A HREF="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<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">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</A><BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<A HREF="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>