CallDTMFEvent

data class CallDTMFEvent(@Json(name = "call_cid") val callCid: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "digit") val digit: String, @Json(name = "duration_ms") val durationMs: Int, @Json(name = "seq_number") val seqNumber: Int, @Json(name = "timestamp") val timestamp: OffsetDateTime, @Json(name = "user") val user: UserResponse, @Json(name = "type") val type: String) : VideoEvent, WSCallEvent

This event is sent asynchronously when a single DTMF digit is received from a SIP participant. The event is broadcast after the digit press ends. Use seq_number for ordering within a session and timestamp for the actual detection time.

Constructors

Link copied to clipboard
constructor(@Json(name = "call_cid") callCid: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "digit") digit: String, @Json(name = "duration_ms") durationMs: Int, @Json(name = "seq_number") seqNumber: Int, @Json(name = "timestamp") timestamp: OffsetDateTime, @Json(name = "user") user: UserResponse, @Json(name = "type") type: String)

Properties

Link copied to clipboard
Link copied to clipboard
val createdAt: OffsetDateTime
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val timestamp: OffsetDateTime
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun getCallCID(): String
Link copied to clipboard
open override fun getEventType(): String