I am a student at ULP, living in Strasbourg and I like rice. My
preferred color is red, sometimes it's blue or yellow, or green also.
My father name's ...
Okay okay let's make short, it will be more easy, given my level
in english : I'am a guy interessed by SIP communicator and as I have made a small related work, (http://wsympho.free.fr/fac/ter/), I have some feedbacks.
I hope it's the good mailing list.
I have seen a few bugs in the contactlist :
It's seems like Sip contacts in sc are handled like IM contacts in the contactlist GUI, so, it's impossible to make a call using a sip contact in the contact list. Even if we have an address in our contact list, we need to type this address to issue a call. Except if we are using a compatible USB phone of course
here is the current implementation of protocolContactSelected in
* Implements the ContactListListener.protocolContactSelected method.
public void protocolContactSelected(ContactListEvent evt)
It's asummed that the only reason for wich a contact will be selected
is to send a message to that contact. Why ? Maybe we want to call him.
In fact this behaviour later lead to nullPointerExceptions because when
a user try to send IM to a sip contact, the protocol provider of this contact
do not have an OperationSetBasicInstantMessaging. We then have to answer the following question :
What action must be taken when a contact is selected ?
Open a chatwindow, issue a call or just select the contact ...
Other softwares just selects the contact and let the user choose an action either by showing a small popup or by extending an area under the selected contact, with a set of actions specific to the contact (metacontact).
It's look like a good solution but it's not the quickest way to fix the current problem. We can start by adding a "call this contact" JMenuItem under "send a message" in ContactRightButtonMenu and when a sip contact is selected, issue a call rather than opening a chat window, or just select the contact and let the user call by using the call button.
Another thing : when I use icons located in the bottom of the mainFrame to
switch from online to offline with a sip user, my contacts desappear. and when
I switch back to online, they dont return. The only way to have my contacts again is to exit and relaunch sc. And I see we can rename a sip contact to have a friendly username in the contact list rather than his address, but the Contact.getDisplayName() method always return the address of the sip contact.
Third : to make a sip call, there is a "call via" option wich gives the
possibility to select the account from which the call will be made.
It can be a usefull option, but I think it will "logic" to have a "default"
account to use with each contact.
This account could simply be the one to which the contact belong. Here is how I have done in the scphone plugin :
The purpose is that when we add a contact, we have to choose an account
to attach that contact to.
So there is a kind of affinity betwen contact and accounts. I will prefer to use my account located at voip.example.com to call user located to the same server. And sometimes, with some servers, it will be impossible to do otherwise due to servers "incompatibility" or accounts limitations for example.
Fourth and last (for today
It's not possible to add a contact when there isn't any group created. hence,
in the second window of the add contact wizard we can't go forward if the select group menu is empty and we have nullpointer exception at
Here is the line : newContact.setGroup(((GroupWrapper)group).getMetaGroup());
Reason of the Exception : the value of group is null, because we do not have any group in the select menu.
How to reproduce : Try to add a contact when you do not have any group created
Proposition : show a warning window to the user when he try to add a contact and
he don't have any group in his contact list or have a default group.
Sorry I haven't produced any patch, I will try to be more productive in the