Thats good enough for me, I&#39;ll go through everything and see if I can make it work. <div>Thanks for your help and time.</div><div><br><br><div class="gmail_quote">On Fri, Aug 10, 2012 at 3:00 PM, Peter Dunkley <span dir="ltr">&lt;<a href="mailto:peter.dunkley@crocodile-rcs.com" target="_blank">peter.dunkley@crocodile-rcs.com</a>&gt;</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 only documentation I know of is the stuff in the tutorial, the RFCs, and the Kamailio module documentation.<br>
<br>
Offline chat is a SIP feature, it has nothing to do with the XCAP server.  The XCAP server manages XML documents (presence authorisation rules, contact lists, avatars, etc) and is accessed using HTTP.  Instant messages are SIP MESSAGE requests and are handled by the SIP routing part of Kamailio.<br>

<br>
If you want to do offline message handling you need the msilo Kamailio module (which isn&#39;t part of the tutorial).<br>
<br>
Regards,<br>
<br>
Peter<div><div class="h5"><br>
<br>
On Fri, 2012-08-10 at 14:16 +0500, SamyGo wrote:<br>
<blockquote type="CITE">
    Yes, Ekiga isn&#39;t good with it either. Can you just point me to some documentation and help me on that. I am sure I can get the presence working, but do you know hwo can I manage an offline chat thing in this ! do I need a separate dedicated xcap server for this feature ?
</blockquote>
<blockquote type="CITE">
    <br>
    <br>
</blockquote>
<blockquote type="CITE">
    On Fri, Aug 10, 2012 at 1:53 PM, Peter Dunkley &lt;<a href="mailto:peter.dunkley@crocodile-rcs.com" target="_blank">peter.dunkley@crocodile-rcs.com</a>&gt; wrote:
</blockquote>
<blockquote type="CITE">
    <blockquote>
        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&#39;t support XCAP at all - so I don&#39;t think that&#39;s going to work at all.  I can&#39;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
    </blockquote>
</blockquote>
<blockquote type="CITE">
    <blockquote>
        <br>
        <br>
        On Fri, 2012-08-10 at 13:41 +0500, SamyGo wrote:<br>
        <blockquote type="CITE">
            Thanks ,<br>
            <br>
            <br>
            Yes this tutorial worked for me as well some 5/7 months ago with kamailio 3.1 but I&#39;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&#39;m trying with Ekiga - eyebeam or xlite didn&#39;t seem happy with the presence icons as well..But common thing was that I could send the Chat messages successfully.<br>

            <br>
            <br>
            I&#39;m continuously looking at the tcpdumps and I&#39;ll share those here in a while. <br>
            <br>
            <br>
            Thanks for replying and taking interest.<br>
            <br>
            <br>
            Regard,<br>
            Sammy<br>
            <br>
            <br>
            On Fri, Aug 10, 2012 at 1:32 PM, Peter Dunkley &lt;<a href="mailto:peter.dunkley@crocodile-rcs.com" target="_blank">peter.dunkley@crocodile-rcs.com</a>&gt; wrote:<br>
            <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=&gt;auid)==&quot;xcap-caps&quot;)
                {
                        $var(xbody) =
&quot;&lt;?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?&gt;
&lt;xcap-caps xmlns=&#39;urn:ietf:params:xml:ns:xcap-caps&#39;&gt;
  &lt;auids&gt;
    &lt;auid&gt;rls-services&lt;/auid&gt;
    &lt;auid&gt;pidf-manipulation&lt;/auid&gt;
    &lt;auid&gt;xcap-caps&lt;/auid&gt;
    &lt;auid&gt;resource-lists&lt;/auid&gt;
    &lt;auid&gt;pres-rules&lt;/auid&gt;
    &lt;auid&gt;org.openmobilealliance.pres-rules&lt;/auid&gt;
  &lt;/auids&gt;
  &lt;extensions&gt;
  &lt;/extensions&gt;
  &lt;namespaces&gt;
    &lt;namespace&gt;urn:ietf:params:xml:ns:rls-services&lt;/namespace&gt;
    &lt;namespace&gt;urn:ietf:params:xml:ns:pidf&lt;/namespace&gt;
    &lt;namespace&gt;urn:ietf:params:xml:ns:xcap-caps&lt;/namespace&gt;
    &lt;namespace&gt;urn:ietf:params:xml:ns:resource-lists&lt;/namespace&gt;
    &lt;namespace&gt;urn:ietf:params:xml:ns:pres-rules&lt;/namespace&gt;
  &lt;/namespaces&gt;
&lt;/xcap-caps&gt;&quot;;
                        xhttp_reply(&quot;200&quot;, &quot;ok&quot;, &quot;application/xcap-caps+xml&quot;,
                                        &quot;$var(xbody)&quot;);
                        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 <br>
                <br>
                <br>
                On Thu, 2012-08-09 at 15:30 +0500, SamyGo wrote:<br>
                <blockquote type="CITE">
                    Hi,<br>
                    <br>
                    I&#39;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><br>

                    <br>
                    <br>
                    I&#39;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&#39;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">&quot;<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&quot;</font><br>

                    <br>
                    <br>
                    Regards,<br>
                    Sammy 
<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>
</pre>
                </blockquote>
                <br>
                <table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<pre>-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</pre>
</td>
</tr>
</tbody></table>
                <br>
                _______________________________________________<br>
                SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
                <a href="mailto:sr-users@lists.sip-router.org" target="_blank">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>
            <br>
            <br>
<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>
</pre>
        </blockquote>
        <br>
        <table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<pre>-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</pre>
</td>
</tr>
</tbody></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" target="_blank">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>
</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" 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>
</pre>
</blockquote>
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<pre>-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</pre>
</td>
</tr>
</tbody></table>
</div></div></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>