List Info

Thread: contactList, MetaContacts




contactList, MetaContacts
user name
2008-04-11 08:40:10
Hi,

I have written a plugin, that loads all the contacts of our
company's
address books into the contactList of SC (as SIP contacts).

There are now many contacts (persons) that have more then
one number.

I have added them as MetaContacts to the list, each with
their different
numbers as contacts of this MetaContact. Those numbers are
all shown on
the UI (in the toolTip an on right-click).

Now, how can I choose which one I want to call? Is there an
option
anywhere? I think if I just press the "call"
button, the "default" one
is chosen (by MetaContact.getDefaultContact). But it is not
clear
(visible) to the user, which account this will be (until the
number is
dialled and it is shown in the call panel).

A second question: Is it right, that I cannot add two
contacts that have
the same contactID? For example, I have two persons working
at a
company. Both of them have an entry in my address book, both
with the
same number. Now I can add the first person, but not the
second one, as
the contactID (the phone number) already exists.
Is it somehow possible to have two contacts with the same
contactID?

Thanks,
Sebastian


-- 
/**
 * Sebastian Heib
 * Software Developer
 *
 * Synyx GmbH & Co. KG
 * Business in Components
 * Karlstr. 68
 * 76137 Karlsruhe
 *
 * phone +49(0)721 66 24 866
 * fax   +49(0)721 66 48 877
 * eMail heibsynyx.de
 * www   http://www.synyx.de
 * irc   irc.synyx.de
 *
 * Sitz der Gesellschaft: Karlsruhe
 * Registergericht: Mannheim
 * Handelsregisternummer: HRA 4793
 * USt-IdNr.: DE249264296
 *
 * Komplementärin: Elatech Verwaltungs GmbH
 * Sitz der Gesellschaft: Karlsruhe
 * Geschäftsführer: Markus Daniel
 * Registergericht: Mannheim
 * Handelsregisternummer: HRB 7250
 */

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net


Re: contactList, MetaContacts
user name
2008-04-15 01:31:48
Hi,

> Now, how can I choose which one I want to call? Is
there an option
> anywhere? 

I have written a patch for that purpose.

Now instead of the "call" menu item in the
contactRightButtonMenu, a
subMenu is shown (similar to the "removeContact"
submenu) , where the
user can choose which actual contact (of this metaContact)
should be called.

See the patch attached to this email 

Regards,
Sebastian


-- 
/**
 * Sebastian Heib
 * Software Developer
 *
 * Synyx GmbH & Co. KG
 * Business in Components
 * Karlstr. 68
 * 76137 Karlsruhe
 *
 * phone +49(0)721 66 24 866
 * fax   +49(0)721 66 48 877
 * eMail heibsynyx.de
 * www   http://www.synyx.de
 * irc   irc.synyx.de
 *
 * Sitz der Gesellschaft: Karlsruhe
 * Registergericht: Mannheim
 * Handelsregisternummer: HRA 4793
 * USt-IdNr.: DE249264296
 *
 * Komplementärin: Elatech Verwaltungs GmbH
 * Sitz der Gesellschaft: Karlsruhe
 * Geschäftsführer: Markus Daniel
 * Registergericht: Mannheim
 * Handelsregisternummer: HRB 7250
 */


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net
  
Re: contactList, MetaContacts
user name
2008-06-14 12:42:18
Hey Sebastien,

I guess I missed this one back when you first sent it.
Sounds quite
cool! What kind of address book are you using? Are you
interested in
contributing it?

Cheers
Emil

Sebastian Heib напиÑа:
> Hi,
> 
> I have written a plugin, that loads all the contacts of
our company's
> address books into the contactList of SC (as SIP
contacts).
> 
> There are now many contacts (persons) that have more
then one number.
> 
> I have added them as MetaContacts to the list, each
with their different
> numbers as contacts of this MetaContact. Those numbers
are all shown on
> the UI (in the toolTip an on right-click).
> 
> Now, how can I choose which one I want to call? Is
there an option
> anywhere? I think if I just press the "call"
button, the "default" one
> is chosen (by MetaContact.getDefaultContact). But it is
not clear
> (visible) to the user, which account this will be
(until the number is
> dialled and it is shown in the call panel).
> 
> A second question: Is it right, that I cannot add two
contacts that have
> the same contactID? For example, I have two persons
working at a
> company. Both of them have an entry in my address book,
both with the
> same number. Now I can add the first person, but not
the second one, as
> the contactID (the phone number) already exists.
> Is it somehow possible to have two contacts with the
same contactID?
> 
> Thanks,
> Sebastian
> 
> 


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )