new Invite
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
caller Name
The name of the caller to display
caller Number
The phone number of the caller
destination Number
The phone number or SIP address to call
client State
Additional state information to pass with the call
custom Headers
Optional custom SIP headers to include with the call