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.
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:
- 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.
- 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
Jitsi does not currently support RLS so this will not work at all.
The only open-source SIP client I know of with RLS support is Blink (for Mac only at the moment).
Blink won't work with Kamailio at the moment either. This is because there is a huge problem with the SIP SIMPLE specifications in that they don't define enough for people to be able to create inter-operable implementations with just the information in the specifications. I plan to make Kamailio work with Blink presence in the future but I need a non-Mac (preferably Linux) implementation that supports this first (and then I need the time to actually do it).
Regards,
Peter
On 06/03/13 07:53, Dmytro Bogovych wrote:
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 mailto: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 <mailto:sr-users@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 list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users