SIP URI - VoIP-Info
文章推薦指數: 80 %
A SIP or SIPS URI identifies a communications resource. Like all URIs, SIP and SIPS URIs may be placed in web pages, email messages, or printed literature. FromtheSIPRFC3261: ASIPorSIPSURIidentifiesacommunicationsresource.LikeallURIs,SIPandSIPSURIsmaybeplacedinwebpages,emailmessages,orprintedliterature.Theycontainsufficientinformationtoinitiateandmaintainacommunicationsessionwiththeresource. The“sip:”and“sips:”schemesfollowtheguidelinesinRFC2396–UniformResourceIdentifiers(URI):GenericSyntax. TheyuseaformsimilartothemailtoURL,allowingthespecificationofSIPrequest-headerfieldsandtheSIPmessage-body.Thismakesitpossibletospecifythesubject,mediatype,orurgencyofsessionsinitiatedbyusingaURIonawebpageorinanemailmessage.Itsgeneralform,inthecaseofaSIPURI,is: sip:user:[email protected]:port;uri-parameters?headers TheformatforaSIPSURIisthesame,exceptthattheschemeis“sips”insteadofsip.Thesetokens,andsomeofthetokensintheirexpansions,havethefollowingmeanings: user:Theidentifierofaparticularresourceatthehostbeingaddressed.Theterm“host”inthiscontextfrequentlyreferstoadomain.The“userinfo”ofaURIconsistsofthisuserfield,thepasswordfield,andthe@signfollowingthem.TheuserinfopartofaURIisoptionalandMAYbeabsentwhenthedestinationhostdoesnothaveanotionofusersorwhenthehostitselfistheresourcebeingidentified.Ifthe@signispresentinaSIPorSIPSURI,theuserfieldMUSTNOTbeempty. Ifthehostbeingaddressedcanprocesstelephonenumbers,forinstance,anInternettelephonygateway,atelephonesubscriberfielddefinedinRFC2806MAYbeusedtopopulatetheuserfield.Therearespecialescapingrulesforencodingtelephone-subscriberfieldsinSIPandSIPSURIsdescribedinSection19.1.2. password:Apasswordassociatedwiththeuser.WhiletheSIPandSIPSURIsyntaxallowsthisfieldtobepresent,itsuseisNOTRECOMMENDED,becausethepassingofauthenticationinformationincleartext(suchasURIs)hasproventobeasecurityriskinalmosteverycasewhereithasbeenused.Forinstance, transportingaPINnumberinthisfieldexposesthePIN. Notethatthepasswordfieldisjustanextensionoftheuserportion.ImplementationsnotwishingtogivespecialsignificancetothepasswordportionofthefieldMAYsimplytreat“user:password”asasinglestring. host:ThehostprovidingtheSIPresource.Thehostpartcontainseitherafully-qualifieddomainnameornumericIPv4orIPv6address.Usingthefully-qualifieddomainnameformisRECOMMENDEDwheneverpossible. port:Theportnumberwheretherequestistobesent. Note:AsipURIwith[email protected]:5060isnotthesameas[email protected].Iftheportnumberisgiven,aDNSgethostbynameisusedtofindthehost.Ifthere’sisnoportnumber,thehostnameislookedupwithDNSSRV.ThishostnamecanpointtooneorseveralSIPproxyservers. Telephonenumbers Ifyoudialatelephonenumberonakeypad,thisisconvertedintoaSIPURIoftheformsip:nnnnn@domain;user=phoneorsip:nnnnn@host:5060;user=phone The“user=phone”parameterindicatesthattheuserportionoftheURI(theparttotheleftofthe@sign)shouldbetreatedasatelURI,so“sip:[email protected];user=phone”shouldbetreatedastel:+1555000000″.NotethattelURIparameters(suchasphone-context)asincludedintheuserpart,nottheSIPURIitself,i.e“sip:121;[email protected];user=phone”isthesameas“tel:121;phone-context=+44” Typicallyaproxyserverforthedomainwilluseadialplantoresolvethisintoarealdestination.SeealsoAsteriskExtensionMatching DialbyIPaddress SomephonesletyoudialadestinationdirectlybyIPaddress,e.g.dialling#192168001051wouldplaceacallto192.168.1.51 PresumablythisisresolvedintoaSIPURIoftheformsip:192.168.1.51:5060?(TBC) Seealso TEL:TheTel:URIforspecifyingphonecalls. BacktoSIP LatestPostsQuickLinks Get3CXFreefor1Year Hostedby3CX,inyourprivatecloudoron-premise!Nostringsattached,getstartedtoday: A3CXAccountwiththatemailalreadyexists.YouwillberedirectedtotheCustomerPortaltosigninorresetyourpasswordifyou'veforgottenit. oruse VerifyyourEmail Checkyourinbox! We’vesentyouanemail.Clickonthebuttonintheemailbodytoverifyyouremailaddress–(ifyoucannotfindit,checkyourspamfolder). Uponverificationyouwillbedirectedtothe3CXsetupwizard. Weusecookiestoimproveyourexperienceonourwebsite.Bycontinuingyouaregivingconsenttocookiesbeingused. Accept
延伸文章資訊
- 1什麽是SIP-URI?
sip:[email protected]. SIP URI標準在RFC 3261標準中予以定義。 鏈結. RFC 2396 – 統一 ...
- 2SIP URI - VoIP-Info
A SIP or SIPS URI identifies a communications resource. Like all URIs, SIP and SIPS URIs may be p...
- 3SIP-URI_百度百科
SIP URI是通過SIP呼叫他人的SIP地址方案。換句話説,一個SIP URL就是一個用户的SIP電話號碼。SIP是IETF標準進程的一部分,它是在諸如SMTP(簡單郵件傳送協議) ...
- 4What is a SIP URI? - GetVoIP
A SIP URI is the SIP addressing schema, or identifying string of characters, to call another pers...
- 5SIP URI - VoIP.ms Wiki
SIP URI using the Reseller Interface · 1) To add a SIP URI entry for your client, or to help your...