Originate an outbound leg
Originate a new outbound leg. The type field selects the transport: sip originates a SIP INVITE; whatsapp originates a WhatsApp call through Meta; websocket dials a remote WebSocket endpoint (audio is PCM in either binary or json_base64 framing, with bidirectional text and caller-supplied X-/P- headers). For sip legs, outbound_proxy sets the next hop for this INVITE as a loose Route header, leaving the Request-URI unchanged. It outranks the matched trunk's outbound_proxy and SIP_OUTBOUND_PROXY; a to that resolves to an AOR registered to this server outranks all three and is delivered to the bound contact.
Request body
Response
Leg created
Changes
Changed in 18 of the 67 revisions of this API.162442
- ○
added the new optional request property
custom_datanew-optional-request-property
- ○
added the optional property
custom_datato the response with the201statusresponse-optional-property-added
- ○
- ○
added the new optional request property
outbound_proxynew-optional-request-property
- ○
- ○
added the new optional request property
streamsnew-optional-request-property
- ○
- ○
added the new
AMR-NBenum value to the request propertycodecs/items/request-property-enum-value-added
- ○
- ○
added the new
AMR-WBenum value to the request propertycodecs/items/request-property-enum-value-added
- ○
- ●
added the new
livekit_participantenum value to thetyperesponse property for the response status201response-property-enum-value-added
- ●
added the new
livekit_publishenum value to thetyperesponse property for the response status201response-property-enum-value-added
- ●
added the new
moq_inenum value to thetyperesponse property for the response status201response-property-enum-value-added
- ○
added the new optional request property
livekitnew-optional-request-property
- ○
added the new
livekit_roomenum value to the request propertytyperequest-property-enum-value-added
- ●
- ○
added the optional property
roleto the response with the201statusresponse-optional-property-added
- ○
- ●
added the new
websocket_inenum value to thetyperesponse property for the response status201response-property-enum-value-added
- ●
added the new
websocket_outenum value to thetyperesponse property for the response status201response-property-enum-value-added
- ○
added the new optional request property
sample_formatnew-optional-request-property
- ○
added the new optional request property
sample_ratenew-optional-request-property
- ○
added the new optional request property
urlnew-optional-request-property
- ○
added the new optional request property
wire_formatnew-optional-request-property
- ○
added the new
websocketenum value to the request propertytyperequest-property-enum-value-added
- ○
added the optional property
headersto the response with the201statusresponse-optional-property-added
- ●
- ○
added the new optional request property
rttnew-optional-request-property
- ○
- ●
added the new
whatsapp_inenum value to thetyperesponse property for the response status201response-property-enum-value-added
- ●
added the new
whatsapp_outenum value to thetyperesponse property for the response status201response-property-enum-value-added
- ○
added the new optional request property
tonew-optional-request-property
- ○
the request property
auth/allOf[SIPAuth]/usernamebecame optionalrequest-property-became-optional
- ○
the request property
uribecame optionalrequest-property-became-optional
- ○
added the new
whatsappenum value to the request propertytyperequest-property-enum-value-added
- ●