[SR-Users] Kamailio Presence with XCAP not working accordingly
SamyGo
govoiper at gmail.com
Mon Aug 13 15:33:59 CEST 2012
A new discovery.!! This configuration in the first email simply cool and
it works. But I think with kam-3.3 it doesn't !! I barely changed just one
module param option and it stops working but the same configuration file
works perfectly for 3.2 and 3.1 .
Though I will work with the 3.2 version but please someone test what needs
to be changed for newer version.
Thanks
BR
Sammy.
On Aug 10, 2012 3:41 PM, "SamyGo" <govoiper at gmail.com> wrote:
> Please see the SIP capture. As I was changing the online status from my
> jitis and eyebeam phone I could see the publish requests handled by
> kamailio but isn't it strange that I don'tfind any Notify generated and
> relayed to the watchers ?
>
>
> BR
> Sammy
>
>
> On Fri, Aug 10, 2012 at 3:04 PM, SamyGo <govoiper at gmail.com> wrote:
>
>> Thats good enough for me, I'll go through everything and see if I can
>> make it work.
>> Thanks for your help and time.
>>
>>
>> On Fri, Aug 10, 2012 at 3:00 PM, Peter Dunkley <
>> peter.dunkley at crocodile-rcs.com> wrote:
>>
>>> **
>>> Hi,
>>>
>>> The only documentation I know of is the stuff in the tutorial, the RFCs,
>>> and the Kamailio module documentation.
>>>
>>> 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.
>>>
>>> If you want to do offline message handling you need the msilo Kamailio
>>> module (which isn't part of the tutorial).
>>>
>>> Regards,
>>>
>>> Peter
>>>
>>>
>>> On Fri, 2012-08-10 at 14:16 +0500, SamyGo wrote:
>>>
>>> Yes, Ekiga isn'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 ?
>>>
>>>
>>>
>>> On Fri, Aug 10, 2012 at 1:53 PM, Peter Dunkley <
>>> peter.dunkley at crocodile-rcs.com> wrote:
>>>
>>> Hi,
>>>
>>> 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.
>>>
>>> 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.
>>>
>>> I am using presence and XCAP on Kamailio 3.3 (my own configuration, not
>>> the one from the tutorial) and it works fine.
>>>
>>> Regards,
>>>
>>> Peter
>>>
>>>
>>>
>>> On Fri, 2012-08-10 at 13:41 +0500, SamyGo wrote:
>>>
>>> Thanks ,
>>>
>>>
>>> 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.
>>>
>>>
>>> I'm continuously looking at the tcpdumps and I'll share those here in a
>>> while.
>>>
>>>
>>> Thanks for replying and taking interest.
>>>
>>>
>>> Regard,
>>> Sammy
>>>
>>>
>>> On Fri, Aug 10, 2012 at 1:32 PM, Peter Dunkley <
>>> peter.dunkley at crocodile-rcs.com> wrote:
>>>
>>> Hi,
>>>
>>> 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:
>>>
>>> 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;
>>> }
>>>
>>> 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.
>>>
>>> A tcpdump of the traffic between Jitsi and Kamailio would help with
>>> working out which side has the problem.
>>>
>>> Regards,
>>>
>>> Peter
>>>
>>>
>>> On Thu, 2012-08-09 at 15:30 +0500, SamyGo wrote:
>>>
>>> Hi,
>>>
>>> I've followed the tutorial on kab.asipto.com for presence using
>>> built-in xcap server.
>>> http://kb.asipto.com/kamailio:presence:k31-made-simple
>>>
>>>
>>> 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.
>>>
>>>
>>> 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.
>>>
>>>
>>> I get this error on Jitsi - image attached.
>>>
>>>
>>> ERROR: "http://ip.of.server/xcap-root/xcap-caps/global/index resource
>>> can not be read"
>>>
>>>
>>> Regards,
>>> Sammy
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>> --
>>> Peter Dunkley
>>> Technical Director
>>> Crocodile RCS Ltd
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>> --
>>> Peter Dunkley
>>> Technical Director
>>> Crocodile RCS Ltd
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>> --
>>> Peter Dunkley
>>> Technical Director
>>> Crocodile RCS Ltd
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120813/54074057/attachment.htm>
More information about the sr-users
mailing list