Menu

Expand
Rate this page:

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
string Not PII

The absolute URL of the SIP Trunk

url
url Not PII

The absolute URL of the resource.

sid
sid<QQ> Not PII

A 34 character string that uniquely identifies the Inbound Processing Region assignments for this SIP Trunk.

account_sid
sid<AC> Not PII

The unique SID identifier of the Account.

friendly_name
string Not PII

A human readable description of the Inbound Processing Region assignments for this SIP Trunk, up to 64 characters.

voice_region
string Not PII

The Inbound Processing Region used for this SIP Trunk for voice.

date_created
date_time<iso8601> Not PII

The date that this SIP Trunk was assigned an Inbound Processing Region, given in ISO 8601 format.

date_updated
date_time<iso8601> Not PII

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

get
https://routes.twilio.com/v2/Trunks/{SipTrunkDomain}
Parameters
Parameters in REST API format
sip_trunk_domain
Path
get string Not PII

The absolute URL of the SIP Trunk

Example 1
Loading Code Sample...
        
        

        Fetch a Trunk's current Inbound Processing Region configuration

        Update a Trunk's Inbound Processing Region configuration

        post
        https://routes.twilio.com/v2/Trunks/{SipTrunkDomain}
        Parameters
        Parameters in REST API format
        sip_trunk_domain
        Path
        post string Not PII

        The absolute URL of the SIP Trunk

        voice_region
        Optional
        post string Not PII

        The Inbound Processing Region used for this SIP Trunk for voice

        friendly_name
        Optional
        post string Not PII

        A human readable description of this resource, up to 64 characters.

        Example 1
        Loading Code Sample...
              
              

              Update a Trunk's Inbound Processing Region configuration

              Rate this page:

              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.

              Loading Code Sample...
                    
                    
                    

                    Thank you for your feedback!

                    Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                    Sending your feedback...
                    🎉 Thank you for your feedback!
                    Something went wrong. Please try again.

                    Thanks for your feedback!

                    thanks-feedback-gif