• OptionalcallerNumber: stringNumber to use as the caller ID when dialing out to a destination. A valid phone number is required for dials out to PSTN numbers.
• OptionalclientState: stringTelnyx’s Call Control client_state. Can be used with Connections with Advanced -> Events enabled.
clientState string should be base64 encoded.
• OptionalkeepConnectionAliveOnSocketClose: booleanOptimistic flag to attempt keeping the call alive when the WebSocket connection closes.When enabled, the SDK will attempt to preserve the active call during brief network interruptions
by re-attaching to the existing peer connection instead of hanging up when an attach message is received.Important: This is an optimistic setting, not a deterministic guarantee.
Recovery fails if the peer connection’s signalingState transitions to closed (e.g., after device sleep),
or if ICE restart was attempted due to connection failure. Check call.signalingStateClosed to determine
if a call is recoverable.SeeIClientOptions.keepConnectionAliveOnSocketClose for detailed behavior documentation