WebRTC Signaling Timeout in Custom Softphone Integration

How should I properly to handle WebSocket reconnection logic within a custom AppFoundry softphone built on the JavaScript SDK?

The signaling layer drops unexpectedly after 90 seconds of idle time, triggering a 1006 abnormal closure. This breaks the active media session before the reconnection handshake completes.

Our current retry mechanism fails to re-establish the peer connection without dropping the call. The SDK documentation lacks specific guidance on managing these transient network states.

Is there a recommended pattern for preserving session state during these brief disconnections?