fix for un-emitted registeredFailed event

fix for this issue : https://github.com/versatica/JsSIP/issues/42