Interface: CredentialConfig
Defined in: models/config.ts:4
Configuration for credential-based authentication
Properties
type
type:
"credential"
Defined in: models/config.ts:5
sipUser
sipUser:
string
Defined in: models/config.ts:6
sipPassword
sipPassword:
string
Defined in: models/config.ts:7
debug?
optionaldebug:boolean
Defined in: models/config.ts:8
Enable WebSocket-based debug stats collection. When enabled, the SDK sends real-time WebRTC statistics to the Telnyx debug service over the WebSocket connection. Default: false
pushNotificationDeviceToken?
optionalpushNotificationDeviceToken:string
Defined in: models/config.ts:9
enableCallReports?
optionalenableCallReports:boolean
Defined in: models/config.ts:11
Enable automatic call quality reporting. When enabled, the SDK collects WebRTC stats and structured logs during calls and POSTs them to the /call_report endpoint when calls end. Default: true
callReportInterval?
optionalcallReportInterval:number
Defined in: models/config.ts:13
Stats collection interval in seconds. Default: 5
callReportLogLevel?
optionalcallReportLogLevel:string
Defined in: models/config.ts:15
Minimum log level to capture for call reports: 'debug' | 'info' | 'warn' | 'error'. Default: 'debug'
callReportMaxLogEntries?
optionalcallReportMaxLogEntries:number
Defined in: models/config.ts:17
Maximum number of log entries to buffer per call. Default: 1000