SIP Gateway

Update SIP gateway

Changes the destination or supported media settings of a SIP Gateway identified by resource ID. Use it when outbound SIP routing changes; update a registering device through Update SIP credential instead.

Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.

Learn more about API scopes.

patch/api/fabric/resources/sip_gateways/{id}

Path parameters

idstring uuid required

Universal Unique Identifier.

Unique ID of a SIP Gateway.

Request body

namestring

Display name for the SIP Gateway.

uristring

External SIP URI.

encryption'required' | 'optional' | 'default'
ciphersCiphers[]

List of supported SIP ciphers.

codecsCodecs[]

List of supported codecs for media transmission.

Example request

{
  "name": "My SIP Gateway",
  "uri": "user2@domain.com",
  "ciphers": [
    "AEAD_AES_256_GCM_8",
    "AES_256_CM_HMAC_SHA1_80"
  ],
  "codecs": [
    "OPUS"
  ]
}

Response

The request has succeeded.

idstring uuid required

Universal Unique Identifier.

project_idstring uuid required

Universal Unique Identifier.

display_namestring required

Display name of the SIP Gateway.

type'sip_gateway' required

Type of the resource.

created_atstring date-time required

Timestamp when the resource was created.

updated_atstring date-time required

Timestamp when the resource was last updated.

Example response

{
  "display_name": "My SIP Gateway",
  "type": "sip_gateway",
  "created_at": "2024-05-06T12:20:00Z",
  "updated_at": "2024-05-06T12:20:00Z",
  "sip_gateway": {
    "uri": "user3@domain.com",
    "name": "My SIP Gateway",
    "ciphers": [
      "AEAD_AES_256_GCM_8"
    ],
    "codecs": [
      "OPUS"
    ]
  }
}

Changes

Changed in 3 of the 137 revisions of this API.4812

    • added the new OPUS@16000H@20I enum value to the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new OPUS@24000H@20I enum value to the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new OPUS@48000H@20I enum value to the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new OPUS@8000H@20I enum value to the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new OPUS@16000H@20I enum value to the request property codecs/items/

      request-property-enum-value-added

    • added the new OPUS@24000H@20I enum value to the request property codecs/items/

      request-property-enum-value-added

    • added the new OPUS@48000H@20I enum value to the request property codecs/items/

      request-property-enum-value-added

    • added the new OPUS@8000H@20I enum value to the request property codecs/items/

      request-property-enum-value-added

    • removed the enum value OPUS@16000H@20I of the request property codecs/items/

      request-property-enum-value-removed

    • removed the enum value OPUS@24000H@20I of the request property codecs/items/

      request-property-enum-value-removed

    • removed the enum value OPUS@48000H@20I of the request property codecs/items/

      request-property-enum-value-removed

    • removed the enum value OPUS@8000H@20I of the request property codecs/items/

      request-property-enum-value-removed

    • removed the OPUS@16000H@20I enum value from the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-removed

    • removed the OPUS@24000H@20I enum value from the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-removed

    • removed the OPUS@48000H@20I enum value from the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-removed

    • removed the OPUS@8000H@20I enum value from the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 2e508a40b46144See the full diff
    • added the new OPUS@16000H@20I enum value to the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new OPUS@24000H@20I enum value to the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new OPUS@48000H@20I enum value to the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new OPUS@8000H@20I enum value to the sip_gateway/allOf[SipGateway]/codecs/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new OPUS@16000H@20I enum value to the request property codecs/items/

      request-property-enum-value-added

    • added the new OPUS@24000H@20I enum value to the request property codecs/items/

      request-property-enum-value-added

    • added the new OPUS@48000H@20I enum value to the request property codecs/items/

      request-property-enum-value-added

    • added the new OPUS@8000H@20I enum value to the request property codecs/items/

      request-property-enum-value-added

Of the 137 revisions, 3 have a changelog that could not be searched.