restcomm-android-sdk icon indicating copy to clipboard operation
restcomm-android-sdk copied to clipboard

What's the way to retry initialization?

Open WolandPL opened this issue 7 years ago • 0 comments

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?

WolandPL avatar Jun 11 '18 19:06 WolandPL