fix unregister() sip account when the account was in error state

cusax-fix
Matthieu Casanova 16 years ago
parent 444a907d5e
commit 5dbce403e0

@ -319,7 +319,8 @@ public void unregister()
throws OperationFailedException
{
if(getRegistrationState().equals(RegistrationState.UNREGISTERED)
|| getRegistrationState().equals(RegistrationState.UNREGISTERING))
|| getRegistrationState().equals(RegistrationState.UNREGISTERING)
|| getRegistrationState().equals(RegistrationState.CONNECTION_FAILED))
{
return;
}

Loading…
Cancel
Save