Hi Arsen,

In order to access presence information (of another user), the watcher/receiver needs to subscribe first. So what you need to do, is to deny subscription across different SIP domains. You can easily do this in script checking the RURI domain against FROM URI domain, for SUBSCRIBE requests.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 07/27/2019 03:57 PM, Arsen wrote:
Hi guys,

I have a scenario where SIP users are grouped logically within a single domain.

I am looking for a way how to share presence status only within those particular logical groups of users. So that users from group Customer_A can see presence status only from this group and can't see status of users from Customer_B group.

As I know in basic presence config anybody can see status of anybody and enabling presence rules requires XCAP integation, but I am confused how to restrict presence by groups.

maybe someone have ideas and can point me in right direction, please advise :)

Best regards,
Arsen Semionov



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to