[sip-comm-dev] read the SIP-URI of the contacts


#1

hello everyone,

I'm trying to write a plugin for SC,
that can read the SIP - URI of the SIP-Clients in my contactlist.
However, I didn't find, how I can get the SIP-URI of the contact and how can I differ the SIP-Contacts from the other contacts (e.g ICQ)

best regards

Lubo

···

---------------------------------
Jetzt Mails schnell in einem Vorschaufenster �berfliegen. Dies und viel mehr bietet das neue Yahoo! Mail.


#2

Hello Lubo,

If by SIP-Clients you mean SIP contacts, you can retrieve the contact address using the method getAddress()
I don't know how you are retrieving the contacts but IMHO you should get a reference to the SIP providers registered then, using the Presence Operation Set of each providers you can retrieve a contact list which will contain only SIP contact. However as I never wrote plugin I maybe wrong...

Hope this helps
Ben

Lyubomir Lyubenov a �crit :

···

hello everyone,

I'm trying to write a plugin for SC,
that can read the SIP - URI of the SIP-Clients in my contactlist.
However, I didn't find, how I can get the SIP-URI of the contact and how can I differ the SIP-Contacts from the other contacts (e.g ICQ)

best regards

Lubo

------------------------------------------------------------------------
Jetzt Mails schnell in einem Vorschaufenster �berfliegen. Dies und viel mehr bietet das neue Yahoo! Mail <http://de.rd.yahoo.com/evt=40590/*http://de.docs.yahoo.com/ymail/landing.html>.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net