Forums

« Back to Cisco Unified Presence SIP/SIMPLE Interface

SUBSCRIBE to a User's Contact/Roster List

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi,
I wonder if anyone could tell me how you SUBSCRIBE to a User's Buddy List, or to use what I think is the correct terminology the User's Roster. I have a SIP client that establishes a subscription where the user subscribes to themselves so they see their current state as set by another one of their clients (E.g. Gajim). When another client is used to change their state my SIP client sees the NOTIFY messages reflecting the new state. I'd like to be able to have my SIP client look up the User's Roster so it could be displayed and consequently take out the appropriate subscriptions so it can be notified when a "Buddy" changes state. I can't find any documentation describing how you subscribe to the Roster. I've followed RFC 4662 as mentioned by the Cisco Dev Docs but I don't get a NOTIFY containing the Roster, only NOTIFY messages containing presence state and availability. Is there a specific Request URI to use when subscribing to a User's Roster? Any specific configuration required on CUPS to ensure NOTIFY messages are sent containing Roster data? Anything else?
Thanks,
Alex

To answer my own question...
The user part of the Request URI of the SUBSCRIBE must be in form - <username>-contacts
E.g. alice-contacts@mycupsdomain.com
...and an Expires header of greater than 0.
You'll then get a NOTIFY with users the contact list.

Collateral


No files available