CredentialConfig

data class CredentialConfig(val sipUser: String, val sipPassword: String, val sipCallerIDName: String?, val sipCallerIDNumber: String?, val fcmToken: String?, val ringtone: Any?, val ringBackTone: Int?, val logLevel: LogLevel = LogLevel.NONE, val autoReconnect: Boolean = false) : TelnyxConfig

Represents a SIP user for login - Credential based

Constructors

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

Properties

Link copied to clipboard
val autoReconnect: Boolean = false

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

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 SIP password of the user logging in

Link copied to clipboard

The SIP username of the user logging in