Skip to main content

sip_routing

Creates, updates, deletes, gets or lists a sip_routing resource.

Overview

Namesip_routing
TypeResource
Idazure.communication_phone_numbers.sip_routing

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
routesarrayTrunk routes for routing calls.
trunksobjectSIP trunks for routing calls. Map key is trunk's FQDN (1-249 characters).

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectendpointGets SIP configuration for resource. Gets SIP configuration for resource.
updateupdateendpointUpdates SIP configuration for resource. Updates SIP configuration for resource.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )

SELECT examples

Gets SIP configuration for resource. Gets SIP configuration for resource.

SELECT
routes,
trunks
FROM azure.communication_phone_numbers.sip_routing
WHERE endpoint = '{{ endpoint }}' -- required
;

UPDATE examples

Updates SIP configuration for resource. Updates SIP configuration for resource.

UPDATE azure.communication_phone_numbers.sip_routing
SET
trunks = '{{ trunks }}',
routes = '{{ routes }}'
WHERE
endpoint = '{{ endpoint }}' --required
RETURNING
routes,
trunks;