Inbound Processing Region API - Trunk
In the context of the Inbound Processing Region API, a Trunk
resource represents the routing configuration for a particular Elastic SIP Trunk.
By adjusting the value of the voice_region
property, you can control which Twilio Region will process and store data related to inbound calls for the Trunk.
Changes to this resource may take up to 5 minutes to take effect.
Trunk properties
Resource Properties in REST API format | |
---|---|
sip_trunk_domain
|
The absolute URL of the SIP Trunk |
url
|
The absolute URL of the resource. |
sid
|
A 34 character string that uniquely identifies the Inbound Processing Region assignments for this SIP Trunk. |
account_sid
|
The unique SID identifier of the Account. |
friendly_name
|
A human readable description of the Inbound Processing Region assignments for this SIP Trunk, up to 64 characters. |
voice_region
|
The Inbound Processing Region used for this SIP Trunk for voice. |
date_created
|
The date that this SIP Trunk was assigned an Inbound Processing Region, given in ISO 8601 format. |
date_updated
|
The date that the Inbound Processing Region was updated for this SIP Trunk, given in ISO 8601 format. |
Fetch a Trunk's current Inbound Processing Region configuration
https://routes.twilio.com/v2/Trunks/{SipTrunkDomain}
Parameters
Parameters in REST API format | |
---|---|
sip_trunk_domain
Path
|
The absolute URL of the SIP Trunk |
Example 1
Update a Trunk's Inbound Processing Region configuration
https://routes.twilio.com/v2/Trunks/{SipTrunkDomain}
Parameters
Parameters in REST API format | |
---|---|
sip_trunk_domain
Path
|
The absolute URL of the SIP Trunk |
voice_region
Optional
|
The Inbound Processing Region used for this SIP Trunk for voice |
friendly_name
Optional
|
A human readable description of this resource, up to 64 characters. |
Example 1
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.