newInvite
fun newInvite( callerName: String, callerNumber: String, destinationNumber: String, clientState: String, customHeaders: Map<String, String>? = null): Call
Creates a new outgoing call invitation.
Return
A new Call instance representing the outgoing call
Parameters
callerName
The name of the caller to display
callerNumber
The phone number of the caller
destinationNumber
The phone number or SIP address to call
clientState
Additional state information to pass with the call
customHeaders
Optional custom SIP headers to include with the call