sip-trunks

Update Sip Trunk

Changed on

Update a SIP trunk (name, transfers, origination URIs).

patch/v1/sip-trunks/{trunk_id}

Request

  • Base URL
    https://api.agentphone.ai
  • URL
    https://api.agentphone.ai/v1/sip-trunks/{trunk_id}
  • Auth
    HTTP bearer

Path parameters

trunk_idstring required

Request body

namestring

Display name.

transfers'all' | 'sip' | 'none'

Which transfers the trunk allows.

transfer_caller_id'transferee' | 'transferor'

Caller ID presented on a transferred leg.

Response

Successful Response

idstring required
namestring required
providerstring required
encryptedboolean required
transportstring required
mediaEncryptionstring required
transfersstring required
transferCallerIdstring required
terminationSipUristring required
proxyIpsstring[]
createdAtstring required

Changes