acceptCall

fun acceptCall(callId: UUID, destinationNumber: String, customHeaders: Map<String, String>? = null): Call

Accepts an incoming call invitation.

Return

The Call instance representing the accepted call

Parameters

callId

The unique identifier of the incoming call

destinationNumber

The phone number or SIP address that received the call

customHeaders

Optional custom SIP headers to include in the response