InviteResponse

data class InviteResponse(val callId: UUID, val sdp: String, val callerIdName: String, val callerIdNumber: String, val sessid: String, val customHeaders: ArrayList<CustomHeaders> = arrayListOf()) : ReceivedResult

An invitation response containing the required information

Parameters

callId

a unique UUID that represents each ongoing call.

sdp

the Session Description Protocol that is received as a part of the answer to the call.

callerIdName

the name of the person who sent the invitation

callerIdNumber

the number of the person who sent the invitation

sessid

the Telnyx Session ID on the socket connection.

Constructors

Link copied to clipboard
constructor(callId: UUID, sdp: String, callerIdName: String, callerIdNumber: String, sessid: String, customHeaders: ArrayList<CustomHeaders> = arrayListOf())

Properties

Link copied to clipboard
@SerializedName(value = "callerIdName")
val callerIdName: String
Link copied to clipboard
@SerializedName(value = "callerIdNumber")
val callerIdNumber: String
Link copied to clipboard
@SerializedName(value = "callID")
val callId: UUID
Link copied to clipboard
@SerializedName(value = "custom_headers")
val customHeaders: ArrayList<CustomHeaders>
Link copied to clipboard
@SerializedName(value = "sdp")
val sdp: String
Link copied to clipboard
@SerializedName(value = "sessid")
val sessid: String