AFAIK after 1) Jitsi should send subscribe message to xcap defined list. After this kamailio can send individual subscribe packets in backend. 

But as you described - Jitsi does not send this magic subscribe. Problem application is Jitsi - not kamailio.
I spend couple of weeks diving into xcap/rls stuff and had the same problem with the jitsi.

Finally i end up with own softphone code (based on resiprocate) - it works ok. I'd suggest you to try with bria or blink softphones - maybe they will perform better.

If anyone got rls working with jitsi - please share your experience...




On Tue, Mar 5, 2013 at 4:46 PM, Aleksandrs Semenenko <asemenenko@ftctele.com> wrote:

Hello,

I'm looking for assistance in RLS module setup for kamailio 3.3.2

The problem is that I need to handle resource-list updates on my kamalio server.
For testing purposes I use Jitsi client.

Expected:
1) When a new contact is added to Jitsi or an old one is removed, Jitsi sends updated resource-list XML to caps.
- This works fine, I can see PUT request in Wireshark and I can see following log from kamailio.cfg:

        xlog("===== xhttp put: refreshing resource-list for $var(uri)\n");
                                       rls_update_subs("$var(uri)", "presence");

which hopefully means that rls_update_subs function has been called.

2) After this function was called, I expect SUBSCRIBE messages in backend, not in Jitsi, but I still see Jitsi sending SUBSCRIBE for each contact.

What am I doing wrong? Any help would be useful!


Regards,
Alex.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users