1SessionInitiationProtocol2SIP1•Internet•MboneIETESIPSIP•MarkHandleyEveSchooler19962IETFSessionInvitiationProtocolSIPSIPv1•19962HenningSchulzrinneSCIPSimpleConferenceInvitationProtocolIETF3SIP2•SIPv2InternetMarkHandleySchulzrinneSchooler199612IETF•SIPMMUSIC19992SIPRFC2543•SIPIETF19999SIP•Internet[draft-ietf-sip-rfc2543bis]RFC•2002,RFC2543RFC32614•SIPIPClient/Server••5SIP•Java,Perl•TCPUDPUDPH.323TCPH.225,TCPUDPTCP•SIPSDP(SessionDescriptionProtocol)H.323H.225H.2456SIPClient/ServerUACUserAgentClientUASUserAgentServerProxyServerProxyServerLocationServerRedirectServerLocationServer…SIPInternetFinger,LDAP7•UACUAClient•UASUAServer•proxyserverSIP•redirectserver•locationserver8IP9SIP5•••••transfer10SIP•••11SIPURL12SIP1INVITE21803200OK4ACK5BYE6200OK13INVITE•••14ACK•••15CANCEL•••16BYE•17REGISTER••••18OPTIONS••“”•19••SIP3–SIP––20212223•From•To•Call-ID•Cseq•Via•Contact24From••FromSIP-URLtag=xxxx•From:”A.G.Bell”Sip:agb@bell-telephone.comFrom:Sip:+12125551212@server.phone.2net.comFrom:AnonymousSip:c80qz84zk7z@privacy.org25TO•From•To:TheOperatorsip:operator@cs.columbia.edu;tag=287447To:sip:t1212551212@server.phone.2net.com26Call-ID••Call-IDCall-ID@•Call-ID:f81d4fae-7dec-11d0-a765-00a0c91ebbfb@foo.bar.com27Call-ID28Cseq•Call-IDCall-IDCseq1Cseq•Cseq:4711INVITE29Cseq130Cseq22CANCELCall-ID:1234@131.160.1.112Cseq:1CANCEL3200OKCall-ID:1234@131.160.1.112Cseq:1CANCEL1INVITECall-ID:1234@131.160.1.112Cseq:1INVITE4487Call-ID:1234@131.160.1.112Cseq:1INVITE5ACKCall-ID:1234@131.160.1.112Cseq:1ACKAB31Contact•INVITEACKREGISTER•INVITEACKContactVia•INVITEContactSIP•INVITEContactCANCEL•REGISTERContact32Contact•ContactContactq•Contact:”Mr.Watson”Sip:watson@worcester.bell-telephone.com;q=0.7;expires=3600,”Mr.Watson”mailto:watson@bell-telephone.com;q=0.133Contact34Record-RouteRoute••ContactSIP•Record-RouteRoute35Record-RouteRoute36Via••ViaViaViaVia“”•Via:SIP/2.0/UDPerlang.bell-telephone.com:5060Via:SIP/2.0/UDP10.0.0.1:5060;received=199.172.136.3373839••40SIP•41•––––42•–43•–––––44•––––——––––45–––––––46––––––––47•––––––48•––––49(SDP)•––UDP––––•SDP50SDP•SDP–SAP–RTSP–SIP•SDP51SDP••••••52•SDPASN.1•SDP•type=value53•“v”•“m”54(1)•SDPv=•o=•s=•i=•URIURIu=URI•E-mailE-mailc=E-mailp=55(2)•c=•b=•t=r=z=…•k=k=•SDPa=a=56v=0o=mhandley28908445262890842807INIP4126.16.64.4s=SDPseminaru==mjh@isi.edu(MarkHandley)c=INIP4224.2.17.2/127t=28733974962873404696a=recvonly571m=i=*c=*b=*k=*(a=*“*”582m=m=m=video49170/2RTP/AVP31m=audio49232RTP/AVP8593•a=rtpmap:/[/]••m=audio49232RTP/AVP98•a=rtpmap:98L16/16000/2•m=audio49232RTP/AVP99•a=rtpmap:99X-GSMLPC/800060SDP•SDP2xx•M(n“m=”)n“a=rtpmap”RTP•61Alice•AliceINVITEH261(31)MPEG(31)v=0o=alice28908445262890844526INIP4host.anywhere.comc=INIP4host.anywhere.comm=audio49170RTP/AVP0a=rtpmap:0PCMU/8000m=video51372RTP/AVP31a=rtpmap:31H261/90000m=video53000RTP/AVP32a=rtpmap:32MPV/9000062BobSDP•Bob1v=0o=bob28908447302890844730INIP4host.example.comc=INIP4host.example.comm=audio47920RTP/AVP01a=rtpmap:0PCMU/8000m=video0RTP/AVP31a=rtpmap:11016/8000m=video53000RTP/AVP32a=rtpmap:32MPV/9000063•saturn.bell-tel.comSIPbell-tel.comC-S:REGISTERsip:bell-tel.comSIP/2.0Via:SIP/2.0/UDPsaturn.bell-tel.comFrom:sip:watson@bell-tel.comTo:sip:watson@bell-tel.comCall-ID:70710@saturn.bell-tel.comCSeq:1REGISTERContact:sip:watson@saturn.bell-tel.com:3890;transport=udpExpires:720064•WatsonC-S:REGISTERsip:bell-tel.comSIP/2.0Via:SIP/2.0/UDPsaturn.bell-tel.comFrom:sip:watson@bell-tel.comTo:sip:watson@bell-tel.comCall-ID:70710@saturn.bell-tel.comCSeq:2REGISTERContact:*Expires:0C-S:REGISTERsip:bell-tel.comSIP/2.0Via:SIP/2.0/UDPsaturn.bell-tel.comFrom:sip:watson@bell-tel.comTo:sip:watson@bell-tel.comCall-ID:70710@saturn.bell-tel.comCSeq:3REGISTERContact:sip:tawatson@example.com65C-S:REGISTERsip:bell-tel.comSIP/2.0Via:SIP/2.0/UDPpluto.bell-tel.comFrom:sip:jon.diligent@bell-tel.comTo:sip:watson@bell-tel.comCall-ID:17320@pluto.bell-tel.comCSeq:1REGISTERContact:sip:tawatson@example.com66SIP67INVITEC-S:INVITEsip:watson@boston.bell-tel.comSIP/2.0Via:SIP/2.0/UDPkton.bell-tel.comFrom:A.Bellsip:a.g.bell@bell-tel.comTo:T.Watsonsip:watson@bell-tel.comCall-ID:3298420296@kton.bell-tel.comCSeq:1INVITESubject:Mr.Watson,comehere.Content-Type:application/sdpContent-Length:...v=0o=bell536557652353687637INIP4128.3.4.5s=Mr.Watson,comehere.c=INIP4kton.bell-tel.comm=audio3456RTP/AVP0345681S-C:SIP/2.0100TryingVia:SIP/2.0/UDPkton.bell-tel.comFrom:A.Bellsip:a.g.bell@bell-tel.comTo:T.Watsonsip:watson@bell-tel.com;tag=37462311Call-ID:3298420296@kton.bell-tel.comCSeq:1INVITEContent-Length:0S-C:SIP/2.0180RingingVia:SIP/2.0/UDPkton.bell-tel.comFrom:A.Bellsip:a.g.bell@bell-tel.comTo:T.Watsonsip:watson@bell-tel.com;tag=37462311Call-ID:3298420296@kton.bell-tel.comCSeq:1INVITEContent-Length:0692S-C:SIP/2.0182Queued,2callersaheadVia:SIP/2.0/UDPkton.bell-tel.comFrom:A.Bellsip:a.g.bell@bell-tel.comTo:T.Watsonsip:watson@bell-tel.com;t