sip.js.sessionmanageroptions.md

October 27, 2022 ยท View on GitHub

Home > sip.js > SessionManagerOptions

SessionManagerOptions interface

Options for SessionManager.

Signature:

export interface SessionManagerOptions 

Properties

PropertyModifiersTypeDescription
aorstringUser's SIP Address of Record (AOR).
autoStopbooleanIf true, the user agent calls the stop() method on the window event beforeunload.
delegateSessionManagerDelegateDelegate for SessionManager.
iceStopWaitingOnServerReflexivebooleanStop waiting for ICE gathering to complete once a server reflexive address is obtained.
managedSessionFactoryManagedSessionFactoryA factory for generating ManagedSession instances.
maxSimultaneousSessionsnumberMaximum number of simultaneous sessions to manage.
mediaSessionManagerMediaMedia options.
optionsPingIntervalnumberIf defined, SIP OPTIONS pings will be sent separated by this interval in seconds.
optionsPingRequestURIstringThe request URI to use for SIP OPTIONS pings.
reconnectionAttemptsnumberMaximum number of times to attempt to reconnection.
reconnectionDelaynumberSeconds to wait between reconnection attempts.
registererOptionsRegistererOptionsOptions for Registerer.
registererRegisterOptionsRegistererRegisterOptionsOptions for register requests (auto register only).
registerGuard(() => Promise<boolean>) | nullDoes nothing if undefined or resolves false. If resolves true, the next regitration attempt will be blocked.
registrationRetrybooleanIf true then registration attempts will be automatically retried when any registration attempts fail or is otherwise rejected.
registrationRetryIntervalnumberTime to wait before retrying to send a registration reqeust in seconds.
sendDTMFUsingSessionDescriptionHandlerbooleanSend DTMF using the session description handler (uses RFC 2833 DTMF).
userAgentOptionsUserAgentOptionsOptions for UserAgent.