I've discovered that CONNECTION_FAILED RegistrationState is not dispatched
(we lose network connectivity - the protocol goes offline but contacts keep there online status).
I've added handling of this event :
- firing Offline status for all contacts (make them not resolved and setting dialog to null)
- stopping the timer, so nothing to be done, cause this event means that we have no net or server is down
- clear waitedCallIds
Could you please look at it and say is everything ok ? Should anything else to be done ?