TokenConfig

data class TokenConfig(val sipToken: String, val sipCallerIDName: String?, val sipCallerIDNumber: String?, val fcmToken: String?, val ringtone: Any?, val ringBackTone: Int?, val logLevel: LogLevel = LogLevel.NONE, val autoReconnect: Boolean = true) : TelnyxConfig

Represents a SIP user for login - Token based

Constructors

Link copied to clipboard
constructor(sipToken: String, sipCallerIDName: String?, sipCallerIDNumber: String?, fcmToken: String?, ringtone: Any?, ringBackTone: Int?, logLevel: LogLevel = LogLevel.NONE, autoReconnect: Boolean = true)

Properties

Link copied to clipboard

whether or not to reattempt (3 times) the login in the instance of a failure to connect and register to the gateway with a valid token

Link copied to clipboard

The user's Firebase Cloud Messaging device ID

Link copied to clipboard

The log level that the SDK should use - default value is none.

Link copied to clipboard

The integer raw value of the audio file to use as a ringback tone

Link copied to clipboard

The integer raw value or uri of the audio file to use as a ringtone. Supports only raw file or uri

Link copied to clipboard

The user's chosen Caller ID Name

Link copied to clipboard

The user's Caller ID Number

Link copied to clipboard

The JWT token for the SIP user.