---
title: "Updates SIP configuration for resource."
method: PATCH
path: "/sip"
tags: ["SipConfiguration"]
---

# Updates SIP configuration for resource.

`PATCH /sip`

## Query parameters

- `api-version` string, required

## Response `200`

Updated configuration is returned.

- SipConfiguration — Represents a SIP configuration. When a call is being routed the routes are applied in the same order as in the routes list. A route is matched by its number pattern. Call is then directed into route's first available trunk, based on the order in the route's trunks list. The configuration can be expanded with additional data.
  - `domains` object — Validated Domains. Map key is domain.
  - `trunks` object — SIP trunks for routing calls. Map key is trunk's FQDN (1-249 characters).
  - `routes` TrunkRoute[] — Trunk routes for routing calls.
    - `description` string — Gets or sets description of the route.
    - `name` string, required — Gets or sets name of the route.
    - `numberPattern` string, required — Gets or sets regex number pattern for routing calls. .NET regex format is supported. The regex should match only digits with an optional '+' prefix without spaces. I.e. "^\+[1-9][0-9]{3,23}$".
    - `trunks` string[] — Gets or sets list of SIP trunks for routing calls. Trunks are represented as FQDN.
    - `callerIdOverride` string — Gets or sets caller ID override. This value will override caller ID of outgoing call specified at runtime.

## Other responses

- `default` — Failure

## Changes

- **2026-07-13** (2021-05-01-preview) `8423f7f5df67` — 4 info
  - api operation id `PatchSipConfiguration` removed and replaced with `SipRouting_Patch`
  - removed the non-success response with the status `415`
  - removed the non-success response with the status `422`
  - removed the non-success response with the status `500`

[Change history](https://skmtc.dev/azure/apis/communication-siprouting/changes/sip/patch.md)

---

[API](https://skmtc.dev/azure/apis/communication-siprouting.md) · [All operations](https://skmtc.dev/azure/apis/communication-siprouting/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/communication-siprouting/revisions/0805b59eda36/schema)
