Regional SIP Domains | Twilio
文章推薦指數: 80 %
You may create a SIP Domain with the same friendly name and SIP URI in multiple Regions. However, a SIP Domain with a given URI will only be "active" (in the ...
TwilioDocs
SMS
Voice
Runtime
Video
Studio
Alldocs...
SDKs
Help
Login
Signup
SMS
Voice
Runtime
Video
Studio
Alldocs...
SDKs
Help
Login
Signup
GlobalInfrastructure
Twilio
Menu
GettingStarted
Overview
TwilioRegions
EdgeLocations
Buildinginnon-USRegions
Incomingcallroutingforphonenumbers
ManagingRegionalResourcesinConsole
UsingtheTwilioRESTAPIinanon-USRegion
RegionalSIPDomains
RegionalSIPTrunks
Quickstart:OutboundcallswiththeRESTAPI
Quickstart:JavascriptVoiceSDK
Quickstart:iOSVoiceSDK
MigratingyourapplicationtoanewRegion
Reference
EdgeLocations
Regionsandproductavailability
LegacyEdgeLocations(formerlyRegions)
FirewallConfigurations
ProgrammableVoiceSDKs
MediaStreams
LocalizedURIs
SIPURIs
Termination
InterconnectSIPURIs
InterconnectTermination
Collapse
Expand
Ratethispage:
WhencallsarearesenttoorreceivedfromdevicesregisteredwithyourTwilioSIPDomain,theassociatedcalldataisprocessedandstoredwithinaTwilioRegion.
ThisguidewillexplaintheimplicationstoyourapplicationofthisRegion-specificprocessingandstorage,andshowyouhowtocontrolwhichTwilioRegionisusedforcallstoandfromyourSIPDomain.
SIPDomainsandRegionalRouting
BeforeyoucanuseyourSIPDomaininaRegion,youmustfirstcreatetheSIPDomainresourceinthetargetRegion.TolearnhowtomanageRegionalresourcesviatheTwilioConsole,checkoutthisguide.
YoumaycreateaSIPDomainwiththesamefriendlynameandSIPURIinmultipleRegions.However,aSIPDomainwithagivenURIwillonlybe"active"(inthesensethatitcanreceiveregistrationsandcalls)inoneRegionatanytime.
WhenyouhaveaSIPDomaininmultipleRegions,checkwhichoneisactivebyviewingtheDomain'sconfigurationforaRegioninTwilioConsoleandlookingfortheroutingcard.TochangewhichRegionisactive,clicktheRe-routebuttoninthetargetRegion'sconfiguration.
WhicheverRegionisactivewillbetheRegionwheredevicesareregisteredandcallsarehandled.
NotethatIPAccessControlListsandCredentialListsarealsoRegion-specific.WhenconfiguringyourSIPDomaininagivenRegion,you'llneedtocreatetheserelatedresourcesinthesameRegion.
NowthatyouknowhowtoconfigureandactivateyourSIPDomainintheRegionofyourchoice,let'stakealookatthedifferenttypesofactivitiespoweredbySIPDomains,andseehowtheyeachrelatetoTwilioRegions.
RegisterSIPEndpoints
BeforeyoucanmakeorreceivecallsviayourSIPDomain,you'llneedtoregisterdeviceswiththedomain.
WhenyouregisterSIPdeviceswithyourSIPDomain,theregistrationrecordsarestoredintheTwilioRegionwhereyourSIPDomainiscurrentlyrouted.DevicesregisteredinagivenRegionmayonlyinteractwithCallsthatareprocessedinthesameRegion.
Forexample,ifyouhaveadeviceregisteredtoyourSIPDomainIE1,andyouattempttomakeaCalltothedevice'sAORusingtheTwilioAPIinUS1,you'llgetanerrorindicatingthatthedeviceisnotregistered.TosuccessfullymaketheCall,you'llneedtousetheTwilioAPIinIE1.TolearnmoreaboutusingTwilio'sRegionalAPIendpoints,seethisguide.
Makecallsfromyourregistereddevices
WhenTwilioreceivesaSIPInviterequestfromanendpointregisteredonyourDomain,itcreatesacorrespondingCallrecord,andthenhandlesthecallbasedonyourDomain'swebhookconfiguration.ThisalloccursinwhicheverTwilioRegionyourDomainiscurrentlyroutedto.
RequestsareauthenticatedbasedontheIPAccessControlListsandCredentialListsconfiguredforyourDomainintheRegion.
MakecallstoyourregistereddevicesviaRESTAPI
WhenyourapplicationasksTwiliotoinitiateanoutboundSIPCallfromyourdomainviatheTwilioRESTAPI,theprocessingandstoragerelatedtotheCallwilloccurininthesameRegionthatyousendtheAPIrequestto.TolearnmoreaboutusingtheRESTAPIwithyourtargetRegion,seeourguideonthetopic.
MakecallstoyourregistereddevicesviaTwiML
AnotherwaytomakeacalltoyourDomain'sregistereddevicesisbyrespondingwithaTwiML
延伸文章資訊
- 1OnSIP Tips from the SIP Maven: SIP Domain Hosting
OnSIP wants to encourage you to use SIP addresses more, and we offer SIP domain hosting as a way ...
- 2Add Blocked SIP Domain - Microsoft Support
SIP domain. The fully qualified domain name (FQDN) of the external SIP domain to be blocked from ...
- 3關於SIP Domain設定!!
若內部的SIP Domain為:abc.local,可是外部為abc.com的話,這樣會不會有問題? 設定Edge時,要特別注意什麼嗎?
- 4架設SIP Proxy打造免費專屬VoIP系統 - 網管人
- 5SIP external domains - IBM
The SIP domain that is mapped to the protocol, host, and port that is specified in the fields on ...