SIP INVITE Header Fields: From • Via • To • Contact | 3CX

文章推薦指數: 80 %
投票人數:10人

The Request-Line-URI includes the destination of the call. It contains the same information as the To field, omitting the display name. Via:. Skiptocontent PHONESYSTEM|VIDEO|LIVECHAT CONNECTYOURTEAM&CUSTOMERS TryitFREE ThemainSIPINVITEHeaderFieldsexplained PostedonMarch8th,2010byNickGalea,CTO&Founder,3CX ThisarticleexplainsthemainfieldsincludedinaSIPINVITE,whichissenttoset-upaVoIPcall.ASIPINVITEmessagecontainstypicallybetween4and6headerentrieswithcontactinformationinsidethem.Differentdevicesorprovidersusetheseheadersindifferentwaysandtherefore,anunderstandingofthe“normal”scopeoftheseheaders,togetherwithacloseanalysisoflogmessages,willhelptounderstandthecauseofcertainissues,andalsotoconfiguredevicesorprovidersinthe3CXManagementConsolesoastobeidentifiedcorrectly. TheimagebelowshowsatypicalSIPINVITE. Request-Line-URI: TheRequest-Line-URIincludesthedestinationofthecall.ItcontainsthesameinformationastheTofield,omittingthedisplayname. Via: Everyproxyintherequestpathaddstotopofthe“Via”theaddressandportonwhichitreceivedthemessage,thanforwardsitonwards. Whenprocessingresponses,eachproxyinthereturnpathprocessesthecontentsofthe“Via”fieldinreverseorder,removingitsaddressfromthetop. From: The“From”headerfieldindicatestheidentityoftheinitiatoroftherequestfromthepointofviewofthePBXServer–similarinconstructiontoemailaddresses([email protected]–where“user”is,forexample,theextensionnumber,and“domain”istheserverdomainorIPaddress).Likethe“To”headerfield,itcontainsaURIandoptionallyadisplayname.Itisusedtodeterminewhichprocessingrulestoapplytoarequest. FromtheSIPRFC3261:The“From”headerfieldallowsforadisplayname.AUAC(i.eaphone)SHOULDusethedisplayname"Anonymous",alongwithasyntacticallycorrect,butotherwisemeaninglessURI(e.g.From:“Anonymous”),iftheidentityoftheclientistoremainhidden. Typically,thehostIPAddresswillbetheinternalIPaddressofthePBXServer. To: The“To”headerfieldfirstandforemostspecifiesthedesired"logical"recipientoftherequest,ortheaddress-of-recordoftheuserorresourcethatisthetargetofthisrequest.Thismayormaynotbetheultimaterecipientoftherequest.The“To”headerfieldMAYcontainaSIPURI,butitmayalsomakeuseofotherURIschemes(thetelURL(RFC2806[9]),forexample)whenappropriate.AllSIPimplementationsMUSTsupporttheSIPURIscheme. TheToheaderfieldallowsforadisplayname(e.g.To:“TargetUser”). Typically,the“To”fieldcontainsaSIPURIthatpointstothefirst(next)hop(proxy)thatwillprocesstherequest,butnotnecessarilytheSIPURIoftheeventualrecipient. Contact: The“Contact”headerfieldprovidesasingleSIPURIthatcanbeusedtocontactthesenderoftheINVITEforsubsequentrequests.TheContactheaderfieldMUSTbepresentandcontainexactlyoneSIPURIinanyrequestthatcanresultintheestablishmentofadialog–inthiscase,specificallyaSIPINVITE.Fortheserequests,thescopeoftheContactisglobal.Thatis,theContactheaderfieldvaluecontainstheURIatwhichthesenderisexpectingtoreceiverequests,andthisURIMUSTbevalidevenifusedinsubsequentrequestsoutsideofanydialogs(inourcase,meaningestablishedcalls). Allow: Thisfieldlists,incomma-separatedformat,theSIPMethodsthatthecallercansupportanduse.SIPdefinesthefollowingmethods:ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,PRACK,REFER,REGISTER,SUBSCRIBE,UPDATE Definitions SIPURI-ASIPURIisauser’sSIPphonenumber.TheSIPURIresemblesane-mailaddressandiswritteninthefollowingformat:SIPURI=sip:[email protected]:Port FurtherinformationaboutSIP,SDP SIPInviteHeaderFieldsDemystified SIPMessages(Request,Status)Explained SessionDescriptionProtocol-Part 1-BirdsEyeView SessionDescriptionProtocol-Part2-Adeepdive DTMF,SIP,RFC2833-howtheydancetogether ByNickGalea|March8th,2010|CommentsOffonThemainSIPINVITEHeaderFieldsexplained RelatedPosts TopTipsforVideoConferenceServerOptimizations May9th,2022 | 6Comments 3CXGlobalIPBlacklist:SecurityByDefault February24th,2022 Don’tGetCaughtOut,MakeaDisasterRecoveryPlan! November23rd,2021 ImportActiveDirectoryUsersviaAzureAD&EnableSSO March3rd,2021 V18toSimplifyDNSConfig.withitsDNSHelper February16th,2021 Update7NowSupportingAmazonChimeVoiceConnector December11th,2020 Use3CX’sTime-basedCallForwardingforMultipleCallRoutingRules December10th,2020 CallFraud:IsYourVoIPSystemProtected? November27th,2020 ProductNewsletter SubscribetoourProductNews: Subscribe BrowseCategories ProductReleasesNewsDocsandFAQVlogEventsLatestTechArticlesANewFrontierinCommunications-3CXStartUPAndroidAppOfficialRelease:ARefinedExperienceiOSAppOfficialRelease:SpeedingUpInteractionsAndroidAppBeta:PolishingUptheUserExperience3CXHostingAvailableinAustralasiaforJustA$100GetStarted-Admin Cloud:StartUP Hosted:Dedicated On-Premise:Linux,Windows Self-host:Google,Azure,AmazonDigitalOceanorVultr EasySIPtrunksetup MS365,TeamsandCRMintegration InstallwebsiteLiveChat GetStarted-Users GettoknowtheWebClient Gettheapps:iOSorAndroid Howtouseyourdeskphone Scheduleavideocall/conference Managelivechat,Facebook&SMS MakecallsusingMicrosoftTeams UpcomingWebinars 3CXProductTraining–Intermediate–Part3 3CXProductTraining–Advanced–Part3 TreinamentodeProduto3CX–Básico–Parte3 3CXProductTraining–Advanced–Part1 Corso3CX-Base-Parte1 ViewalltrainingsOnlineTraining Get3CXCertified Installing3CX FirewallConfiguration Installingthe3CXApps IPPhonesConfiguration SIPTrunkConfiguration VoicemailConfiguration DigitalReceptionist/IVR RingGroups Get3CX-AbsolutelyFree!LinkupyourteamandcustomersPhoneSystemLiveChatVideoConferencingHostedorSelf-managed.Hostedupto10usersfreeforever.Above10andself-managedfreeforthefirstyear.Tryriskfree A3CXAccountwiththatemailalreadyexists.YouwillberedirectedtotheCustomerPortaltosigninorresetyourpasswordifyou'veforgottenit. SignupwithGoogle OR Signupwithemail ThissiteisprotectedbyreCAPTCHAandtheGoogle PrivacyPolicyand TermsofServiceapply. SignupwithGoogle Trustedby600,000+companies The#1CommunicationsSystem! 12,000,000+userseveryday Sitemap|Privacy Pageloadlink 3CXusescookiestoenhanceyourexperience.Bycontinuingtouseoursite,youagreetoouruseofcookies.OK



請為這篇文章評分?