slide

17
HỌC VIỆN CÔNG NGHỆ BƯU CHÍNH VIỄN THÔNG KHOA VIỄN THÔNG I Giáo viên hướng dẫn : Giáo viên hướng dẫn : Th.s Th.s Nguyễn Thị Thu Hằng Nguyễn Thị Thu Hằng Sinh viên thực hiện : Sinh viên thực hiện : Nguyễn Nguyễn Trọng Toàn Trọng Toàn Khóa : Khóa : 2004 - 2008 2004 - 2008 ĐIỀU KHIỂN THIẾT LẬP PHIÊN TRONG PHÂN HỆ IMS IP Multimed ia Subsyste VNPT IP Multimed ia Subsyste VNPT 1

Upload: hong-nhan-kudo

Post on 26-Dec-2015

8 views

Category:

Documents


2 download

TRANSCRIPT

  • XUT PHTXu hng dch v trong tng laiS ra i phn h IMS v qu trnh chun ha IMS trn c di ng, c nh v InternetKh nng iu khin v tho thun phng tin ca IMS khi ngi dng mun tham gia phin truyn thngHNG TIP CN TILm th no ngi dng tho thun vi nhau cc tham s truyn thng?2

  • NI DUNG NM hnh kin trc ca phn h IMSGiao thc khi to phin SIPiu khin thit lp phin trong phn h IMS3

  • M HNH KIN TRC PHN H IMS4

    CSCF

    HSSHLR

    Lp dch v

    Lp iu khin

    Lp mang

    SIP AS

    SGW&MGCF

    IM-MGW

    MRF

    SGSN/GGSN

    3G RAN

    WLAN, Wimax, xDSL.

    PTSN

    SIP

    Diameter

    Diameter

    MAP

    SIP

    IP

    SIP

    IP

    RTP

    SIP

    H.248

    IM-SSF

    OSA-SCS

    gsmSCF

    OSA AS

  • Call Session Control FunctionProxy-Call Session Control FunctionInterrogating-Call Session Control FunctionServing-Call Session Control FunctionSubcriber Location FunctionHome Subcriber ServerApplication ServerMedia Gateway Control FunctionBreakout Gateway Control Function

    Media Resource Function

    M HNH KIN TRC PHN H IMS5

    Server

    Domain Controller

  • SIP ProxyResolutionSIP RegistrarSIP Client (UAC:User Agent Client)SIP RedirectServerSIP ProxyProxy ForkingSIP Client 1(User Agent Server)Location ServiceRequestResponseLocationServerSIP Client 2(User Agent Server)RegistrationGIAO THC IU KHIN PHIN SIP6

    SIP/2.0 status reason

    request

    response

    Method Request-URI SIP/2.0

    Method Giao thc SIP/2.0 host:portFrom: User To: User Call-ID: Localid@hostCseq: Seq# methodMax-Forward Gi tr trnh loopContent-Length: Chiu di phn thn bn tinContent-Type: Loi phng tin ca phn thnHeader: Tham s;ts=gi tr; ts2=gi tr; ts3=gi tr c a xung dng di

    V= 0O= Ngi dng khi to Timestamp Timestamp IN IN4 host C= IN IN4 a ch ch T= 0 0 M= Loi phng tin Cng RTP/AVP Cc loi ti tin

    Dng trng

  • Thit b u cui IMSMng truy nhp kt ni IPNh cung cp mng IMS1. Thit lp hp ng dch v IMS2. Truy nhp kt ni IP Yu cu a ch IP3.Tm kim a ch P-CSCF4. ng k mc IMSNG K THU BAO IMSISIMUSIM7

  • IU KHIN THIT LP PHIN TRONG PHN H IMS8

  • M HNH THIT LP PHINASASDNSHSSHSSMng thng tr pha giMng tm tr pha giMng thng tr pha b giMng thng tr pha b givisited1.nethome1.nethome2.netvisited2.net1080::8:800:200C:417A AliceBob1081::5:800:200A:B2B2 9

  • HSSHSSDNSASAS

    INVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059; comp=sigcomp;branch=z9hG4bK9h9abMax-Forwards: 70Route: , P-Preferred-Identity: "Alice Smith" Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: precondition, sec-agreeProxy-Require: sec-agreeSupported: 100relSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767; port-c=5057; port-s=5058Contact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(1) INVITE : IMS Terminal -> P-CSCFINVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059; comp=sigcomp;branch=z9hG4bK9h9abMax-Forwards: 69Route: Record-Route: P-Asserted-Identity: "Alice Smith" Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EP-Charging-Vector: icid-value="W34h6dlg"From: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: preconditionSupported: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(3) INVITE : P-CSCF -> S-CSCF | Th tc DNS

    ::= < Diameter Header: 10415: 3, REQ, PXY >

    < Session-Id > { Vendor-Specific-Application-Id } { Auth-Session-State } { Origin-Host } { Origin-Realm } [ Destination-Host ] { Destination-Realm } { Public-Identity } *[ AVP ] Attribute-Value Pairs *[ Proxy-Info ] *[ Route-Record ]

    ----------------------------------------------------------------------------- ::= < Diameter Header: 10415: 3 > < Session-Id > { Vendor-Specific-Application-Id } [ Result-Code ] [ Vendor-Specific-Result ] { Auth-Session-State } { Origin-Host } { Origin-Realm } [ Server-Name ] [ Server-Capabilities ] *[ AVP ] *[ Proxy-Info ] *[ Route-Record ] (7) Diameter LIR | (7) Diameter LIR

    INVITE sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0Via: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qrVia: SIP/2.0/UDP scscf2.home2.net;branch=z9hG4bKvp2ymlVia: SIP/2.0/UDP icscf2.home2.net;branch=z9hG4bKra1arVia: SIP/2.0/UDP scscf1.home1.net;branch=z9hG4bKs1pp0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abMax-Forwards: 65Record-Route: Record-Route: Record-Route: Record-Route: P-Asserted-Identity: "Alice Smith" , Privacy: noneP-Media-Authorization: 0020000100100101706466312e686f6d65312 e6e6574000c02013942563330373200From: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: preconditionSupported: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0......(13) INVITE :P-CSCF - > IMS TBC IMS #1P-CSCFS-CSCFI-CSCFHSSS-CSCFP-CSCFTBC IMS #2Mng tm tr pha giMng thng tr pha giMng thng tr pha b giMng tm tr pha b gi(1) INVITE(2) 100 Trying(3) INVITE(4) 100 Trying(5) INVITE(6) 100 Trying(7) Diameter LIR(8) Diameter LIA(9) INVITE (10) 100 Trying(11) INVITE(12) 100 Trying(13) INVITE(14) 100 TryingTin cnh boQU TRNH THIT LP PHIN10

    (1) DNS NAPTR query:home2.net

    (2) DNS NAPTR reply:IN NAPTR 90 50 "s" "SIP+D2U" "" _sip._udp.home2.netIN NAPTR 100 50 "s" "SIP+D2T" "" _sip._tcp.home2.net

    (3) DNS SRV query:_sip._udp.home2.net

    (4) DNS SRV reply:IN SRV 0 1 5060 icscf1.home2.netIN SRV 0 2 5060 icscf2.home2.net

    (5) DNS AAAA query: icscf1.home2.net

    (6) DNS AAAA reply:IN AAAA 5F05:2000:80AD:5800:0058:0800:2023:1D71

    S-CSCF

    DNS Server

  • HSSHSSDNSASAS

    INVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059; comp=sigcomp;branch=z9hG4bK9h9abMax-Forwards: 70Route: , P-Preferred-Identity: "Alice Smith" Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: precondition, sec-agreeProxy-Require: sec-agreeSupported: 100relSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767; port-c=5057; port-s=5058Contact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(1) INVITE : IMS Terminal -> P-CSCFINVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059; comp=sigcomp;branch=z9hG4bK9h9abMax-Forwards: 69Route: Record-Route: P-Asserted-Identity: "Alice Smith" Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EP-Charging-Vector: icid-value="W34h6dlg"From: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: preconditionSupported: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(3) INVITE : P-CSCF -> S-CSCF | Th tc DNS

    ::= < Diameter Header: 10415: 3, REQ, PXY >

    < Session-Id > { Vendor-Specific-Application-Id } { Auth-Session-State } { Origin-Host } { Origin-Realm } [ Destination-Host ] { Destination-Realm } { Public-Identity } *[ AVP ] Attribute-Value Pairs *[ Proxy-Info ] *[ Route-Record ]

    ----------------------------------------------------------------------------- ::= < Diameter Header: 10415: 3 > < Session-Id > { Vendor-Specific-Application-Id } [ Result-Code ] [ Vendor-Specific-Result ] { Auth-Session-State } { Origin-Host } { Origin-Realm } [ Server-Name ] [ Server-Capabilities ] *[ AVP ] *[ Proxy-Info ] *[ Route-Record ] (7) Diameter LIR | (7) Diameter LIR

    INVITE sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0Via: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qrVia: SIP/2.0/UDP scscf2.home2.net;branch=z9hG4bKvp2ymlVia: SIP/2.0/UDP icscf2.home2.net;branch=z9hG4bKra1arVia: SIP/2.0/UDP scscf1.home1.net;branch=z9hG4bKs1pp0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abMax-Forwards: 65Record-Route: Record-Route: Record-Route: Record-Route: P-Asserted-Identity: "Alice Smith" , Privacy: noneP-Media-Authorization: 0020000100100101706466312e686f6d65312 e6e6574000c02013942563330373200From: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: preconditionSupported: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0......(13) INVITE :P-CSCF - > IMS

    SIP/2.0 183 Session ProgressVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qr...Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abRecord-Route: , ... Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 127 INVITERequire: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGERSeq: 9021Content-Type: application/sdpContent-Length: 634

    v=0o=- 3021393216 3021393216 IN IP6 1081::5:800:200A:B2B2s=-c=IN IP6 1081::5:800:200A:B2B2t=0 0m=video 14401 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 6544 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecv(15) 183 Session Progress : IMS - > P-CSCF PRACK sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abMax-Forwards: 70P-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20ERoute: , ... From: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 128 PRACKRequire: precondition, sec-agreeProxy-Require: sec-agreeSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767;port-c=5057; port-s=5058RAck: 9021 127 INVITEContent-Type: application/sdpContent-Length: 553

    v=0...m=video 8382 RTP/AVP 98b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(21) PRACK : IMS - > P-CSCF TBC IMS #1P-CSCFS-CSCFI-CSCFHSSS-CSCFP-CSCFTBC IMS #2Mng tm tr pha giMng thng tr pha giMng thng tr pha b giMng tm tr pha b gi(15) 183 Session Progress(16) 183 Session Progress(17) 183 Session Progress(18) 183 Session Progress(19) 183 Session Progress(20) 183 Session Progress(21) PRACK(22) PRACK(23) PRACK(24) PRACK(25) PRACKQU TRNH THIT LP PHIN11

    (1) DNS NAPTR query:home2.net

    (2) DNS NAPTR reply:IN NAPTR 90 50 "s" "SIP+D2U" "" _sip._udp.home2.netIN NAPTR 100 50 "s" "SIP+D2T" "" _sip._tcp.home2.net

    (3) DNS SRV query:_sip._udp.home2.net

    (4) DNS SRV reply:IN SRV 0 1 5060 icscf1.home2.netIN SRV 0 2 5060 icscf2.home2.net

    (5) DNS AAAA query: icscf1.home2.net

    (6) DNS AAAA reply:IN AAAA 5F05:2000:80AD:5800:0058:0800:2023:1D71

    S-CSCF

    DNS Server

  • HSSHSSDNSASAS

    INVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059; comp=sigcomp;branch=z9hG4bK9h9abMax-Forwards: 70Route: , P-Preferred-Identity: "Alice Smith" Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: precondition, sec-agreeProxy-Require: sec-agreeSupported: 100relSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767; port-c=5057; port-s=5058Contact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(1) INVITE : IMS Terminal -> P-CSCFINVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059; comp=sigcomp;branch=z9hG4bK9h9abMax-Forwards: 69Route: Record-Route: P-Asserted-Identity: "Alice Smith" Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EP-Charging-Vector: icid-value="W34h6dlg"From: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: preconditionSupported: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(3) INVITE : P-CSCF -> S-CSCF | Th tc DNS

    ::= < Diameter Header: 10415: 3, REQ, PXY >

    < Session-Id > { Vendor-Specific-Application-Id } { Auth-Session-State } { Origin-Host } { Origin-Realm } [ Destination-Host ] { Destination-Realm } { Public-Identity } *[ AVP ] Attribute-Value Pairs *[ Proxy-Info ] *[ Route-Record ]

    ----------------------------------------------------------------------------- ::= < Diameter Header: 10415: 3 > < Session-Id > { Vendor-Specific-Application-Id } [ Result-Code ] [ Vendor-Specific-Result ] { Auth-Session-State } { Origin-Host } { Origin-Realm } [ Server-Name ] [ Server-Capabilities ] *[ AVP ] *[ Proxy-Info ] *[ Route-Record ] (7) Diameter LIR | (7) Diameter LIR

    INVITE sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0Via: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qrVia: SIP/2.0/UDP scscf2.home2.net;branch=z9hG4bKvp2ymlVia: SIP/2.0/UDP icscf2.home2.net;branch=z9hG4bKra1arVia: SIP/2.0/UDP scscf1.home1.net;branch=z9hG4bKs1pp0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abMax-Forwards: 65Record-Route: Record-Route: Record-Route: Record-Route: P-Asserted-Identity: "Alice Smith" , Privacy: noneP-Media-Authorization: 0020000100100101706466312e686f6d65312 e6e6574000c02013942563330373200From: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: preconditionSupported: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0......(13) INVITE :P-CSCF - > IMS

    SIP/2.0 183 Session ProgressVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qr...Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abRecord-Route: , ... Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 127 INVITERequire: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGERSeq: 9021Content-Type: application/sdpContent-Length: 634

    v=0o=- 3021393216 3021393216 IN IP6 1081::5:800:200A:B2B2s=-c=IN IP6 1081::5:800:200A:B2B2t=0 0m=video 14401 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 6544 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecv(15) 183 Session Progress : IMS - > P-CSCF PRACK sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abMax-Forwards: 70P-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20ERoute: , ... From: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 128 PRACKRequire: precondition, sec-agreeProxy-Require: sec-agreeSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767;port-c=5057; port-s=5058RAck: 9021 127 INVITEContent-Type: application/sdpContent-Length: 553

    v=0...m=video 8382 RTP/AVP 98b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(21) PRACK : IMS - > P-CSCF SIP/2.0 200 OKVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qr...Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 128 PRACKContent-Type: application/sdpContent-Length: 610

    v=0o=- 3021393216 3021393218 IN IP6 1081::5:800:200A:B2B2s=-c=IN IP6 1081::5:800:200A:B2B2t=0 0m=video 14401 RTP/AVP 98b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 6544 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-eventUPDATE sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0...Call-ID: 3s09cs03Cseq: 129 UPDATERequire: sec-agreeProxy-Require: sec-agreeSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767; port-c=5057; port-s=5058Content-Type: application/sdpContent-Length: 561

    v=0o=- 1073055600 1073055604 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98b=AS:75a=curr:qos local sendrecv (phia goi da hoan tat reservation)a=curr:qos remote none (phia bi goi chua ket thuc reservation)a=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local sendrecva=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(26) 200 OK : IMS - > P-CSCF (31) UPDATE : IMS - > P-CSCF TBC IMS #1P-CSCFS-CSCFI-CSCFHSSS-CSCFP-CSCFTBC IMS #2Mng tm tr pha giMng thng tr pha giMng thng tr pha b giMng tm tr pha b giDnh trc ti nguyn(26) 200 OK(27) 200 OK(28) 200 OK(29) 200 OK(30) 200 OK(31) UPDATE(32) UPDATE(33) UPDATE(34) UPDATE(35) UPDATEDnh trc ti nguynQU TRNH THIT LP PHIN12

    (1) DNS NAPTR query:home2.net

    (2) DNS NAPTR reply:IN NAPTR 90 50 "s" "SIP+D2U" "" _sip._udp.home2.netIN NAPTR 100 50 "s" "SIP+D2T" "" _sip._tcp.home2.net

    (3) DNS SRV query:_sip._udp.home2.net

    (4) DNS SRV reply:IN SRV 0 1 5060 icscf1.home2.netIN SRV 0 2 5060 icscf2.home2.net

    (5) DNS AAAA query: icscf1.home2.net

    (6) DNS AAAA reply:IN AAAA 5F05:2000:80AD:5800:0058:0800:2023:1D71

    S-CSCF

    DNS Server

  • HSSHSSDNSASAS

    INVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059; comp=sigcomp;branch=z9hG4bK9h9abMax-Forwards: 70Route: , P-Preferred-Identity: "Alice Smith" Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: precondition, sec-agreeProxy-Require: sec-agreeSupported: 100relSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767; port-c=5057; port-s=5058Contact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(1) INVITE : IMS Terminal -> P-CSCFINVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059; comp=sigcomp;branch=z9hG4bK9h9abMax-Forwards: 69Route: Record-Route: P-Asserted-Identity: "Alice Smith" Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EP-Charging-Vector: icid-value="W34h6dlg"From: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: preconditionSupported: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(3) INVITE : P-CSCF -> S-CSCF | Th tc DNS

    ::= < Diameter Header: 10415: 3, REQ, PXY >

    < Session-Id > { Vendor-Specific-Application-Id } { Auth-Session-State } { Origin-Host } { Origin-Realm } [ Destination-Host ] { Destination-Realm } { Public-Identity } *[ AVP ] Attribute-Value Pairs *[ Proxy-Info ] *[ Route-Record ]

    ----------------------------------------------------------------------------- ::= < Diameter Header: 10415: 3 > < Session-Id > { Vendor-Specific-Application-Id } [ Result-Code ] [ Vendor-Specific-Result ] { Auth-Session-State } { Origin-Host } { Origin-Realm } [ Server-Name ] [ Server-Capabilities ] *[ AVP ] *[ Proxy-Info ] *[ Route-Record ] (7) Diameter LIR | (7) Diameter LIR

    INVITE sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0Via: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qrVia: SIP/2.0/UDP scscf2.home2.net;branch=z9hG4bKvp2ymlVia: SIP/2.0/UDP icscf2.home2.net;branch=z9hG4bKra1arVia: SIP/2.0/UDP scscf1.home1.net;branch=z9hG4bKs1pp0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abMax-Forwards: 65Record-Route: Record-Route: Record-Route: Record-Route: P-Asserted-Identity: "Alice Smith" , Privacy: noneP-Media-Authorization: 0020000100100101706466312e686f6d65312 e6e6574000c02013942563330373200From: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: preconditionSupported: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0......(13) INVITE :P-CSCF - > IMS

    SIP/2.0 183 Session ProgressVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qr...Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abRecord-Route: , ... Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 127 INVITERequire: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGERSeq: 9021Content-Type: application/sdpContent-Length: 634

    v=0o=- 3021393216 3021393216 IN IP6 1081::5:800:200A:B2B2s=-c=IN IP6 1081::5:800:200A:B2B2t=0 0m=video 14401 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 6544 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecv(15) 183 Session Progress : IMS - > P-CSCF PRACK sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abMax-Forwards: 70P-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20ERoute: , ... From: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 128 PRACKRequire: precondition, sec-agreeProxy-Require: sec-agreeSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767;port-c=5057; port-s=5058RAck: 9021 127 INVITEContent-Type: application/sdpContent-Length: 553

    v=0...m=video 8382 RTP/AVP 98b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(21) PRACK : IMS - > P-CSCF SIP/2.0 200 OKVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qr...Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 128 PRACKContent-Type: application/sdpContent-Length: 610

    v=0o=- 3021393216 3021393218 IN IP6 1081::5:800:200A:B2B2s=-c=IN IP6 1081::5:800:200A:B2B2t=0 0m=video 14401 RTP/AVP 98b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 6544 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-eventUPDATE sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0...Call-ID: 3s09cs03Cseq: 129 UPDATERequire: sec-agreeProxy-Require: sec-agreeSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767; port-c=5057; port-s=5058Content-Type: application/sdpContent-Length: 561

    v=0o=- 1073055600 1073055604 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98b=AS:75a=curr:qos local sendrecv (phia goi da hoan tat reservation)a=curr:qos remote none (phia bi goi chua ket thuc reservation)a=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local sendrecva=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(26) 200 OK : IMS - > P-CSCF (31) UPDATE : IMS - > P-CSCF SIP/2.0 200 OKVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp;branch=z9hG4bK2a2qr...

    From: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 129 UPDATEContent-Type: application/sdpContent-Length: 571

    v=0o=- 3021393216 3021393220 IN IP6 1081::5:800:200A:B2B2s=-c=IN IP6 1081::5:800:200A:B2B2t=0 0m=video 14401 RTP/AVP 98b=AS:75a=curr:qos local sendrecv \\ (2 phia hoan tat reservation)a=curr:qos remote sendrecva=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 6544 RTP/AVP 97 96b=AS:25.4a=curr:qos local sendrecva=curr:qos remote sendrecva=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(36) 200 OK : IMS - > P-CSCF SIP/2.0 180 RingingVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qrVia: SIP/2.0/UDP scscf2.home2.net;branch=z9hG4bKvp2ymlVia: SIP/2.0/UDP icscf2.home2.net;branch=z9hG4bKra1arVia: SIP/2.0/UDP scscf1.home1.net;branch=z9hG4bKs1pp0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abRecord-Route: , , , P-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 127 INVITERequire: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGERSeq: 9022Content-Length: 0(41) 180 Ringing :IMS - > P-CSCF TBC IMS #1P-CSCFS-CSCFI-CSCFHSSS-CSCFP-CSCFTBC IMS #2Mng tm tr pha giMng thng tr pha giMng thng tr pha b giMng tm tr pha b gi(36) 200 OK(37)200 OK(38) 200 OK(39 200 OK(40)200 OK(41)180 Ringing(42)180 Ringing(43)180 Ringing(45)180 Ringing(46)180 Ringing(47) PRACK(48) PRACK(49) PRACK(50) PRACK(51) PRACK(52) 200(53) 200 OK(54) 200 OK(55) 200 OK(56) 200 OK(44)180 RingingQU TRNH THIT LP PHIN13

    (1) DNS NAPTR query:home2.net

    (2) DNS NAPTR reply:IN NAPTR 90 50 "s" "SIP+D2U" "" _sip._udp.home2.netIN NAPTR 100 50 "s" "SIP+D2T" "" _sip._tcp.home2.net

    (3) DNS SRV query:_sip._udp.home2.net

    (4) DNS SRV reply:IN SRV 0 1 5060 icscf1.home2.netIN SRV 0 2 5060 icscf2.home2.net

    (5) DNS AAAA query: icscf1.home2.net

    (6) DNS AAAA reply:IN AAAA 5F05:2000:80AD:5800:0058:0800:2023:1D71

    S-CSCF

    DNS Server

  • HSSHSSDNSASAS

    INVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059; comp=sigcomp;branch=z9hG4bK9h9abMax-Forwards: 70Route: , P-Preferred-Identity: "Alice Smith" Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: precondition, sec-agreeProxy-Require: sec-agreeSupported: 100relSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767; port-c=5057; port-s=5058Contact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(1) INVITE : IMS Terminal -> P-CSCFINVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059; comp=sigcomp;branch=z9hG4bK9h9abMax-Forwards: 69Route: Record-Route: P-Asserted-Identity: "Alice Smith" Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EP-Charging-Vector: icid-value="W34h6dlg"From: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: preconditionSupported: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(3) INVITE : P-CSCF -> S-CSCF Th tc DNS

    ::= < Diameter Header: 10415: 3, REQ, PXY >

    < Session-Id > { Vendor-Specific-Application-Id } { Auth-Session-State } { Origin-Host } { Origin-Realm } [ Destination-Host ] { Destination-Realm } { Public-Identity } *[ AVP ] Attribute-Value Pairs *[ Proxy-Info ] *[ Route-Record ]

    ----------------------------------------------------------------------------- ::= < Diameter Header: 10415: 3 > < Session-Id > { Vendor-Specific-Application-Id } [ Result-Code ] [ Vendor-Specific-Result ] { Auth-Session-State } { Origin-Host } { Origin-Realm } [ Server-Name ] [ Server-Capabilities ] *[ AVP ] *[ Proxy-Info ] *[ Route-Record ] (7) Diameter LIR(7) Diameter LIR

    INVITE sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0Via: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qrVia: SIP/2.0/UDP scscf2.home2.net;branch=z9hG4bKvp2ymlVia: SIP/2.0/UDP icscf2.home2.net;branch=z9hG4bKra1arVia: SIP/2.0/UDP scscf1.home1.net;branch=z9hG4bKs1pp0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abMax-Forwards: 65Record-Route: Record-Route: Record-Route: Record-Route: P-Asserted-Identity: "Alice Smith" , Privacy: noneP-Media-Authorization: 0020000100100101706466312e686f6d65312 e6e6574000c02013942563330373200From: ;tag=ty20sTo: Call-ID: 3s09cs03Cseq: 127 INVITERequire: preconditionSupported: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Type: application/sdpContent-Length: 569

    v=0o=- 1073055600 1073055600 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos none remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0......(13) INVITE :P-CSCF - > IMS

    SIP/2.0 183 Session ProgressVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qr...Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abRecord-Route: , ... Privacy: noneP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 127 INVITERequire: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGERSeq: 9021Content-Type: application/sdpContent-Length: 634

    v=0o=- 3021393216 3021393216 IN IP6 1081::5:800:200A:B2B2s=-c=IN IP6 1081::5:800:200A:B2B2t=0 0m=video 14401 RTP/AVP 98 99b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0a=rtpmap:99 MP4V-ESm=audio 6544 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecv(15) 183 Session Progress : IMS - > P-CSCF PRACK sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abMax-Forwards: 70P-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20ERoute: , ... From: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 128 PRACKRequire: precondition, sec-agreeProxy-Require: sec-agreeSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767;port-c=5057; port-s=5058RAck: 9021 127 INVITEContent-Type: application/sdpContent-Length: 553

    v=0...m=video 8382 RTP/AVP 98b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(21) PRACK : IMS - > P-CSCF SIP/2.0 200 OKVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qr...Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abP-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 128 PRACKContent-Type: application/sdpContent-Length: 610

    v=0o=- 3021393216 3021393218 IN IP6 1081::5:800:200A:B2B2s=-c=IN IP6 1081::5:800:200A:B2B2t=0 0m=video 14401 RTP/AVP 98b=AS:75a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 6544 RTP/AVP 97 96b=AS:25.4a=curr:qos local nonea=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=conf:qos remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-eventUPDATE sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0...Call-ID: 3s09cs03Cseq: 129 UPDATERequire: sec-agreeProxy-Require: sec-agreeSecurity-Verify: ipsec-3gpp; q=0.1; alg=hmac-sha-1-96; spi-c=98765432; spi-s=909767; port-c=5057; port-s=5058Content-Type: application/sdpContent-Length: 561

    v=0o=- 1073055600 1073055604 IN IP6 1080::8:800:200C:417As=-c=IN IP6 1080::8:800:200C:417At=0 0m=video 8382 RTP/AVP 98b=AS:75a=curr:qos local sendrecv (phia goi da hoan tat reservation)a=curr:qos remote none (phia bi goi chua ket thuc reservation)a=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 8283 RTP/AVP 97 96b=AS:25.4a=curr:qos local sendrecva=curr:qos remote nonea=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(26) 200 OK : IMS - > P-CSCF (31) UPDATE : IMS - > P-CSCF SIP/2.0 200 OKVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp;branch=z9hG4bK2a2qr...

    From: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 129 UPDATEContent-Type: application/sdpContent-Length: 571

    v=0o=- 3021393216 3021393220 IN IP6 1081::5:800:200A:B2B2s=-c=IN IP6 1081::5:800:200A:B2B2t=0 0m=video 14401 RTP/AVP 98b=AS:75a=curr:qos local sendrecv (phia goi va bi goi da hoan tat reservation)a=curr:qos remote sendrecva=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:98 H263a=fmtp:98 profile-level-id=0m=audio 6544 RTP/AVP 97 96b=AS:25.4a=curr:qos local sendrecva=curr:qos remote sendrecva=des:qos mandatory local sendrecva=des:qos mandatory remote sendrecva=rtpmap:97 AMRa=fmtp:97 mode-set=0,2,5,7; maxframes=2a=rtpmap:96 telephone-event(36) 200 OK : IMS - > P-CSCF SIP/2.0 180 RingingVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qrVia: SIP/2.0/UDP scscf2.home2.net;branch=z9hG4bKvp2ymlVia: SIP/2.0/UDP icscf2.home2.net;branch=z9hG4bKra1arVia: SIP/2.0/UDP scscf1.home1.net;branch=z9hG4bKs1pp0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abRecord-Route: , , , P-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 127 INVITERequire: 100relContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGERSeq: 9022Content-Length: 0(41) 180 Ringing :IMS - > P-CSCF SIP/2.0 200 OKVia: SIP/2.0/UDP pcscf2.visited2.net:5056;comp=sigcomp; branch=z9hG4bK2a2qrVia: SIP/2.0/UDP scscf2.home2.net;branch=z9hG4bKvp2ymlVia: SIP/2.0/UDP icscf2.home2.net;branch=z9hG4bKra1arVia: SIP/2.0/UDP scscf1.home1.net;branch=z9hG4bKs1pp0Via: SIP/2.0/UDP pcscf1.visited1.net;branch=z9hG4bKoh2qrzVia: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abRecord-Route: , , , P-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20EFrom: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 127 INVITEContact: Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGEContent-Length: 0(52) 200 OK : IMS - > P-CSCF ACK sip:[1081::5:800:200A:B2B2]:5055;comp=sigcomp SIP/2.0Via: SIP/2.0/UDP [1080::8:800:200C:417A]:5059;comp=sigcomp; branch=z9hG4bK9h9abMax-Forwards: 70P-Access-Network-Info: 3GPP-UTRAN-TDD; utran-cell-id-3gpp=C359A3913B20ERoute: , , , From: ;tag=ty20sTo: ;tag=d921l9Call-ID: 3s09cs03Cseq: 127 ACKContent-Length: 0(63) ACK : IMS - > P-CSCF TBC IMS #1P-CSCFS-CSCFI-CSCFHSSS-CSCFP-CSCFTBC IMS #2Mng tm tr pha giMng thng tr pha giMng thng tr pha b giMng tm tr pha b giChp nhn phin(57) 200 OK(57) 200 OK(57) 200 OK(57) 200 OK(57) 200 OK(63) ACK(63) ACK(63) ACK(63) ACK(63) ACKQU TRNH THIT LP PHIN14

    (1) DNS NAPTR query:home2.net

    (2) DNS NAPTR reply:IN NAPTR 90 50 "s" "SIP+D2U" "" _sip._udp.home2.netIN NAPTR 100 50 "s" "SIP+D2T" "" _sip._tcp.home2.net

    (3) DNS SRV query:_sip._udp.home2.net

    (4) DNS SRV reply:IN SRV 0 1 5060 icscf1.home2.netIN SRV 0 2 5060 icscf2.home2.net

    (5) DNS AAAA query: icscf1.home2.net

    (6) DNS AAAA reply:IN AAAA 5F05:2000:80AD:5800:0058:0800:2023:1D71

    S-CSCF

    DNS Server

  • KT LUNPhin c thit lp thng qua mt chui cc bn tin request-response c trao i gia hai ngi dng v thng qua cc thc th chc nng iu khin phin ca IMS Trong qu trnh thit lp phin, mi ngi dng s yu cu cc tham s phng tin cho mnh v c nh gi cc tham s phng tin bi ngi dng i din nhm t ti tho thun ti aSau bn tin ACK, lung phng tin tho thun gia hai ngi dng trong qu trnh iu khin thit lp phin s c gi t u cui n u cui thng qua mng truy nhp IP-CAN15

  • HNG NGHIN CU TIP THEONghin cu qu trnh thit lp phin truyn thng gia thit b u cui IMS vi mt thit b u cui khng h tr IMS. Xy dng m hnh tng tc gia thit b u cui vi cc server ng dng trong phn h IMS (SIP AS), hay vi server bn ngoi OSA qua cc giao din lp trnh ng dng APITm hiu qu trnh thay i cc thng s phin truyn thng khi phin ang trong tin trnh 16

  • 17