restcomm-android-sdk
restcomm-android-sdk copied to clipboard
What's the way to retry initialization?
What should I do to retry initialization after e.g. REGISTER timeout? If I try to call RCDevice intiialize() I got info that it is already initialized. If I try to call release() on it, to start initialization from scratch, I got
java.lang.IllegalStateException: The state machine is already terminated. at org.squirrelframework.foundation.fsm.impl.AbstractStateMachine.internalFire(AbstractStateMachine.java:238)
What's your recommendation for the scenario when there's timeout after REGISTER and I want to retry?