Dear Users,
We use Kamailio as our SIP proxy and Presence server, leveraging XCAP and RLS functionality. After issuing SUBSCRIBE rls@<domain> I would like to get presence information for the contacts in the RLS list not only when they are online, but also if they are offline.
Is this possible? Currently we are getting NOTIFY only for those contacts that are online (presence open)
Thank you in advance,
Attila
Hello,
You can do this by putting pidf-manipulation documents into the XCAP server to provide "hard" presence state.
Take a look at the example in http://kamailio.org/docs/modules/stable/modules/xcap_server.html to see the special handling you have to do in XCAP for pidf-manipulation documents to get the presence information they contain PUBLISHed.
Note: the way this works is different between Kamailio 3.x and Kamailio 4.0. I recommend you use Kamailio 4.0 if you need "hard" presence state.
Regards,
Peter
Dear Users,
We use Kamailio as our SIP proxy and Presence server, leveraging XCAP and RLS functionality. After issuing SUBSCRIBE rls@<domain> I would like to get presence information for the contacts in the RLS list not only when they are online, but also if they are offline.
Is this possible? Currently we are getting NOTIFY only for those contacts that are online (presence open)
Thank you in advance,
Attila _______________________________________________ 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
Dear Peter,
Thank you for your quick response. we will look into of what you recommended!
Regards, Attila
-----Original Message----- From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Peter Dunkley Sent: Wednesday, April 24, 2013 10:15 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] RLS Module - Getting NOTIFY for offline users
Hello,
You can do this by putting pidf-manipulation documents into the XCAP server to provide "hard" presence state.
Take a look at the example in http://kamailio.org/docs/modules/stable/modules/xcap_server.html to see the special handling you have to do in XCAP for pidf-manipulation documents to get the presence information they contain PUBLISHed.
Note: the way this works is different between Kamailio 3.x and Kamailio 4.0. I recommend you use Kamailio 4.0 if you need "hard" presence state.
Regards,
Peter
Dear Users,
We use Kamailio as our SIP proxy and Presence server, leveraging XCAP and RLS functionality. After issuing SUBSCRIBE rls@<domain> I would like to get presence information for the contacts in the RLS list not only when they are online, but also if they are offline.
Is this possible? Currently we are getting NOTIFY only for those contacts that are online (presence open)
Thank you in advance,
Attila _______________________________________________ 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
-- Peter Dunkley Technical Director Crocodile RCS Ltd
_______________________________________________ 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