Skip to content

<Sip>

A SIP endpoint to dial: a SIP URI (sip:alice@example.com), a registered user of the account (sip:alice@yourdomain), or an IP address (dialled as the call’s To user at that address). Custom SIP headers go after a ? in the URI, separated by &, and are sent on the INVITE.

Used inside <Dial>.

<Response>
<Dial>
<Sip username="pbxuser" password="pbxpass">sip:1001@pbx.example.com?X-Customer-Id=42&amp;X-Queue=sales</Sip>
</Dial>
</Response>
Attribute Values Default Description
username string — User name for SIP digest authentication towards the endpoint.
password string — Password for SIP digest authentication towards the endpoint.
url An absolute http:// or https:// URL — Whisper URL: when this party answers, SIPRTC runs the TinyML at this URL on their leg only (e.g. <Say> who is calling, or a <Gather> to accept) and then connects them to the caller.
method GET, POST POST HTTP method for url.
statusCallback An absolute http:// or https:// URL — URL notified of this leg’s progress (see statusCallbackEvent).
statusCallbackMethod GET, POST POST HTTP method for statusCallback.
statusCallbackEvent A space- or comma-separated list of event names completed Which progress events to send besides the final one: initiated, ringing, answered, completed. The end of the leg is always sent.
machineDetection string — Accepted and ignored. Accepted; answering machine detection is not run on <Dial> legs (use the Calls API).
machineDetectionTimeout string — Accepted and ignored. Accepted; currently has no effect.
machineDetectionSpeechThreshold string — Accepted and ignored. Accepted; currently has no effect.
machineDetectionSpeechEndThreshold string — Accepted and ignored. Accepted; currently has no effect.
machineDetectionSilenceTimeout string — Accepted and ignored. Accepted; currently has no effect.
amdStatusCallback string — Accepted and ignored. Accepted; currently has no effect.
amdStatusCallbackMethod string — Accepted and ignored. Accepted; currently has no effect.

Sent to statusCallback:

Parameter Description
CallSid Call id of this leg; the same parameters as <Number statusCallback>.