[jitsi-dev] Pls Help- LDAP Contact data


#1

Hi,

I am trying to write a plugin that will present a popup menu upon right
click on a LDAP search result.

The plugin needs to read the telephone numbers that are found for the LDAP
contact.

I am having problems obtaining the list of telephone numbers for use in my
plugin.

I get the contact details of LDAP (External contacts) in the form of
SourceContacts only. My Plugin uses MetaContact or Contact class .

Is there any way to get or convert SourceContacts to MetaContact format?

Thanks & Regards,

*Vishnu A U* *.*


#2

Hi Vishnu,

Hi,
I am trying to write a plugin that will present a popup menu upon right click on a LDAP search result.

The plugin needs to read the telephone numbers that are found for the LDAP contact.

I am having problems obtaining the list of telephone numbers for use in my plugin.

I get the contact details of LDAP (External contacts) in the form of SourceContacts only. My Plugin uses MetaContact or Contact class .

Is there any way to get or convert SourceContacts to MetaContact format?

No, there currently isn't. However in the service/gui package you'll find an interface called UIContact that is meant for an abstraction of both MetaContact and SourceContact (and also any other type of contact), so you could have a look at the implementations of this interface and use something similar in your plugin.

Cheers,
Yana

ยทยทยท

On Oct 14, 2013, at 12:13 PM, ViShNu UnNi <ampady1987@gmail.com> wrote:

Thanks & Regards,

Vishnu A U .

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev