channels
voice
calls
sip-trunks
sip-trunk-management

Update SIP trunk

Update a SIP trunk. Fields not sent in request body will take default values and overwrite the existing ones. This operation is asynchronous. The SIP trunk will be updated in the background.

put/calls/1/sip-trunks/{sipTrunkId}

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token

Path parameters

sipTrunkIdstring required

Sip Trunk ID.

Request body

type'STATIC' | 'REGISTERED' | 'PROVIDER' | 'AUTHENTICATED'

SIP trunk type.

namestring required

SIP trunk name.

internationalCallsAllowedboolean

Indicates whether international calls should be allowed. Calls between different countries are considered international.

channelLimitinteger

Maximum number of concurrent channels.

Response

Update SIP trunk request accepted.

idstring

SIP trunk ID.

type'STATIC' | 'REGISTERED' | 'PROVIDER' | 'AUTHENTICATED'

SIP trunk type.

namestring

SIP trunk name.

location'SAO_PAULO' | 'BOGOTA' | 'FRANKFURT' | 'SWEDEN' | 'JOHANNESBURG' | 'NEW_YORK' | 'PORTLAND' | 'MOSCOW' | 'SINGAPORE' | 'ISTANBUL' | 'KUALA_LUMPUR'

SIP trunk location.

tlsboolean

Indicates whether communication is secured by the TLS protocol.

codecs4527871876f1b326359cd9e5dcf777f0ecc3c5fde89b1e88f0c154b298b67611AudioCodec[]

List of audio codecs supported by a SIP trunk.

dtmf'RFC2833' | 'INBAND'

DTMF type.

fax'NONE' | 'INBAND' | 'T38'

Fax type.

numberFormat'E164' | 'INTERNATIONAL' | 'US_NATIONAL'

Format in which numbers are sent to a SIP trunk.

internationalCallsAllowedboolean

Indicates whether international calls should be allowed. Calls between different countries are considered international.

channelLimitinteger

Maximum number of concurrent channels.

anonymization'NONE' | 'REMOTE_PARTY_ID' | 'ASSERTED_IDENTITY' | 'PREFERRED_IDENTITY'

Preferred presentation of anonymized calls.

Example response

{
  "billingPackage": {
    "packageType": "METERED",
    "countryCode": "USA"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.