Fixes stopping keepalive if unregistered.

ice4sip
Damian Minkov 12 years ago
parent 8075167a42
commit 50ae9c6844

@ -346,8 +346,7 @@ public void run()
}
catch (TransactionUnavailableException ex)
{
logger.error("Could not create a register transaction!\n"
+ "Check that the Registrar address is correct!",
logger.error("Could not create options transaction!\n",
ex);
return;
}
@ -434,6 +433,7 @@ private class RegistrationListener
public void registrationStateChanged(RegistrationStateChangeEvent evt)
{
if(evt.getNewState() == RegistrationState.UNREGISTERING ||
evt.getNewState() == RegistrationState.UNREGISTERED ||
evt.getNewState() == RegistrationState.AUTHENTICATION_FAILED ||
evt.getNewState() == RegistrationState.CONNECTION_FAILED)
{

Loading…
Cancel
Save