List Info

Thread: handling operation failed exception in createOutgoingCall




handling operation failed exception in createOutgoingCall
user name
2007-07-02 08:36:48
Hi Yana,

When an OperationFailedException is thrown in 
OperationSetBasicTelephony.createOutgoingCall(),
it is possible that the gui don't close and remove the call
panel 
because it is waiting that the state of the
callparticiapant that we are trying to join switch to

CallParticipantState.FAILED

But, in some case, this change will never occur because an
OperationFailedException
can be triggered in a stage where we do not already have a
CallParticipant and
therefore, it is impossible to raise the event that cause
this change.**

++


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


Shutting down the Jabber protocol provider
user name
2007-07-12 08:46:00
Hello World,

It looks like the shutting down for the
ProtocolProviderJabberImpl has
been forgotten in ProtocolProviderFactoryJabberImpl.stop()

This little patch try to fix that.

I also replace a loop on the registeredAccounts by the
equivalent function
in java.util.Hastable

regards

PS : I think the line 287 in ProtocolProviderFactorySipImpl
    Enumeration idEnum = registeredAccounts.keys();
is useless, isn't it?


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net
  
Re: handling operation failed exception in createOutgoingCall
user name
2007-07-13 06:54:46
Hi Sympho,

nice catch! Thanks!

it should be fixed now. Please have a try and let me know if
it works as 
expected now.

I have also updated the Contributors page on
sip-communicator.org with 
your effort.

Yana

Sympho wrote:
> Hi Yana,
> 
> When an OperationFailedException is thrown in 
> OperationSetBasicTelephony.createOutgoingCall(),
> it is possible that the gui don't close and remove the
call panel 
> because it is waiting that the state of the
> callparticiapant that we are trying to join switch to
> 
> CallParticipantState.FAILED
> 
> But, in some case, this change will never occur because
an 
> OperationFailedException
> can be triggered in a stage where we do not already
have a 
> CallParticipant and
> therefore, it is impossible to raise the event that
cause this change.**
> 
> ++
> 
> 
> 

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


Re: Re: CallManager.java : trying to call a contact wich do not support telephony
user name
2007-07-13 07:36:23
Hi Yana,


Yana Stamcheva a écrit :
> Hi Sympho,
>
> nice catch! Thanks!
>
> it should be fixed now. Please have a try and let me
know if it works 
> as expected now.
It seems to work fine 

I have attached a very little patch to fix a small error
when we try to 
call a contact which do not
support telephony. The problem :

We have at line 237 in CallManager.java
                            if (contact != null)
                               
telephonyContacts.add(contact);
                            else
                            {
and in the else clause the "contact" variable,
which is null, is used to 
retrieve the
the contact's display name. The solution is to use the
Metacontact insteed.

++
>
> I have also updated the Contributors page on
sip-communicator.org with 
> your effort.
>
> Yana
>
> Sympho wrote:
>> Hi Yana,
>>
>> When an OperationFailedException is thrown in 
>> OperationSetBasicTelephony.createOutgoingCall(),
>> it is possible that the gui don't close and remove
the call panel 
>> because it is waiting that the state of the
>> callparticiapant that we are trying to join switch
to
>>
>> CallParticipantState.FAILED
>>
>> But, in some case, this change will never occur
because an 
>> OperationFailedException
>> can be triggered in a stage where we do not already
have a 
>> CallParticipant and
>> therefore, it is impossible to raise the event that
cause this change.**
>>
>> ++
>>
>>
>>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
> For additional commands, e-mail: dev-helpsip-communicator.dev.java.net
>


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net
  
Re: Re: CallManager.java : trying to call a contact wich do not support telephony
user name
2007-07-13 08:14:34
Hi Sympho,

ha, nice catch I've
committed your fix.

Thanks,
Yana

Sympho wrote:
> Hi Yana,
> 
> 
> Yana Stamcheva a écrit :
>> Hi Sympho,
>>
>> nice catch! Thanks!
>>
>> it should be fixed now. Please have a try and let
me know if it works 
>> as expected now.
> It seems to work fine 
> 
> I have attached a very little patch to fix a small
error when we try to 
> call a contact which do not
> support telephony. The problem :
> 
> We have at line 237 in CallManager.java
>                            if (contact != null)
>                               
telephonyContacts.add(contact);
>                            else
>                            {
> and in the else clause the "contact"
variable, which is null, is used to 
> retrieve the
> the contact's display name. The solution is to use the
Metacontact insteed.
> 
> ++
>>
>> I have also updated the Contributors page on
sip-communicator.org with 
>> your effort.
>>
>> Yana
>>
>> Sympho wrote:
>>> Hi Yana,
>>>
>>> When an OperationFailedException is thrown in 
>>>
OperationSetBasicTelephony.createOutgoingCall(),
>>> it is possible that the gui don't close and
remove the call panel 
>>> because it is waiting that the state of the
>>> callparticiapant that we are trying to join
switch to
>>>
>>> CallParticipantState.FAILED
>>>
>>> But, in some case, this change will never occur
because an 
>>> OperationFailedException
>>> can be triggered in a stage where we do not
already have a 
>>> CallParticipant and
>>> therefore, it is impossible to raise the event
that cause this change.**
>>>
>>> ++
>>>
>>>
>>>
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
>> For additional commands, e-mail: dev-helpsip-communicator.dev.java.net
>>
> 
> 
>
------------------------------------------------------------
------------
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
> For additional commands, e-mail: dev-helpsip-communicator.dev.java.net

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


[1-5]

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