MSCBSC 移動通信論壇
搜索
登錄注冊
網(wǎng)絡(luò)優(yōu)化工程師招聘專欄 4G/LTE通信工程師最新職位列表 通信實習(xí)生/應(yīng)屆生招聘職位

  • 閱讀:910
  • 回復(fù):0
IMS/SIP系統(tǒng)支持的業(yè)務(wù)--三方通話​
Mr Kang
原始天尊
鎵嬫満鍙風(fēng)爜宸查獙璇? style=


 發(fā)短消息    關(guān)注Ta 

C友·鐵桿勛章   公益·慈善勛章   C友·貢獻勛章   紀(jì)念勛章·七周年   財富勛章·萬元戶   專家·高級勛章   財富勛章·財運連連   財富勛章·小財主   C友·登錄達人   財富勛章·富甲一方   紀(jì)念勛章·八周年   紀(jì)念勛章·九周年   紀(jì)念勛章·十周年   紀(jì)念勛章·十二周年   C友·技術(shù)大神  
積分 104941
帖子 8555
威望 1738486 個
禮品券 11319 個
專家指數(shù) 23981
注冊 2007-3-13
專業(yè)方向 
回答問題數(shù) 0
回答被采納數(shù) 0
回答采納率 0%
 
發(fā)表于 2020-10-29 09:46:53  只看樓主 

        日常通信中主要是兩個終端(UA)之間的通話,但經(jīng)常會遇到需要第三者加入共同討論(或認(rèn)證);這就是三方通話;在IMS/SIP系統(tǒng)中三方通話一般是先建立兩方通話,再呼叫第三方加入;


1. 三方通話流程

       如下圖所示,Alice先呼通Bob,再邀請Carol加入一起通話;

image.png

2.三方通話消息內(nèi)容


F1 INVITE Alice -> Bob 

      INVITE sips:bob@biloxi.example.com SIP/2.0

      Via: SIP/2.0/TLS client.atlanta.example.com:5061

       ;branch=z9hG4bK74bf9

      Max-Forwards: 70

      From: Alice <sips:alice@atlanta.example.com>;tag=1234567

      To: Bob <sips:bob@biloxi.example.com>

      Call-ID: [email]12345600@atlanta.example.com[/email]

      CSeq: 1 INVITE

      Contact: <sips:alice@client.atlanta.example.com>

      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY

      Supported: replaces

      Content-Type: application/sdp

      Content-Length: ...

 

      v=0

      o=alice 2890844526 2890844526 IN IP4 client.atlanta.example.com

      s=

      c=IN IP4 client.atlanta.example.com

      t=0 0

      m=audio 49170 RTP/AVP 0

      a=rtpmap:0 PCMU/8000

 

F2 180 Ringing Bob -> Alice 

      SIP/2.0 180 Ringing

      Via: SIP/2.0/TLS client.atlanta.example.com:5061

       ;branch=z9hG4bK74bf9

       ;received=192.0.2.103

      From: Alice <sips:alice@atlanta.example.com>;tag=1234567

      To: Bob <sips:bob@biloxi.example.com>;tag=23431

      Call-ID: [email]12345600@atlanta.example.com[/email]

      CSeq: 1 INVITE

      Contact: <sips:b54gh42f5@biloxi.example.com>

      Content-Length: 0

 

F3 200 OK Bob -> Alice

      SIP/2.0 200 OK

      Via: SIP/2.0/TLS client.atlanta.example.com:5061

       ;branch=z9hG4bK74bf9

       ;received=192.0.2.103

      From: Alice <sips:alice@atlanta.example.com>;tag=1234567

      To: Bob <sips:bob@biloxi.example.com>;tag=23431

      Call-ID: [email]12345600@atlanta.example.com[/email]

      CSeq: 1 INVITE

      Contact: <sips:b54gh42f5@biloxi.example.com>

      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY

      Supported: replaces, gruu

      Content-Type: application/sdp

      Content-Length: ...

 

      v=0

      o=bob 2890844527 2890844527 IN IP4 client.biloxi.example.com

      s=

      c=IN IP4 client.biloxi.example.com

      t=0 0

      m=audio 3456 RTP/AVP 0

      a=rtpmap:0 PCMU/8000

 

F4 ACK Alice -> Bob 

      ACK sips:b54gh42f5@biloxi.example.com SIP/2.0

      Via: SIP/2.0/TLS client.atlanta.example.com:5061

       ;branch=z9hG4bK74bfL

      Max-Forwards: 70

      From: Alice <sips:alice@atlanta.example.com>;tag=1234567

      To: Bob <sips:bob@biloxi.example.com>;tag=23431

      Call-ID: [email]12345600@atlanta.example.com[/email]

      CSeq: 1 ACK

      Content-Length: 0

 

      /* Alice and Bob have established a session.

         Bob re-INVITEs, changing Contact URIs. */ 


F5 INVITE Bob -> Alice 

      INVITE sips:alice@client.atlanta.example.com SIP/2.0

      Via: SIP/2.0/TLS client.biloxi.example.com:5061

       ;branch=z9hG4bKnashds

      Max-Forwards: 70

      From: Bob <sips:bob@biloxi.example.com>;tag=23431

      To: Alice <sips:alice@atlanta.example.com>;tag=1234567

      Call-ID: [email]12345600@atlanta.example.com[/email]

      CSeq: 1024 INVITE

      Contact: <sips:bob-[email]Mixer@client.biloxi.example.com[/email]>;isfocus

      Content-Type: application/sdp

      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY

      Supported: replaces, gruu

      Content-Length: ...

 

      v=0

      o=bob 2890844527 2890844528 IN IP4 client.biloxi.example.com

      s=

      c=IN IP4 client.biloxi.example.com

      t=0 0

      m=audio 49172 RTP/AVP 0

      a=rtpmap:0 PCMU/8000 


F6 200 OK Alice -> Bob 

      SIP/2.0 200 OK 

      Via: SIP/2.0/TLS client.biloxi.example.com:5061

       ;branch=z9hG4bKnashds7

       ;received=192.0.2.113

      From: Bob <sips:bob@biloxi.example.com>;tag=23431

      To: Alice <sips:alice@atlanta.example.com>;tag=1234567

      Call-ID: [email]12345600@atlanta.example.com[/email]

      CSeq: 1024 INVITE

      Contact: <sips:alice@client.atlanta.example.com>

      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY

      Supported: replaces

      Content-Type: application/sdp

      Content-Length: ...

 

      v=0

      o=alice 2890844526 2890844526 IN IP4 client.atlanta.example.com

      s=

      c=IN IP4 client.atlanta.example.com

      t=0 0

      m=audio 49170 RTP/AVP 0

      a=rtpmap:0 PCMU/8000


F7 ACK Bob -> Alice 

      ACK sips:alice@client.atlanta.example.com SIP/2.0

      Via: SIP/2.0/TLS client.biloxi.example.com:5061

       ;branch=z9hG4bKnash3G

      Max-Forwards: 70

      From: Bob <sips:bob@biloxi.example.com>;tag=23431

      To: Alice <sips:alice@atlanta.example.com>;tag=1234567

      Call-ID: [email]12345600@atlanta.example.com[/email]

      CSeq: 1024 ACK

      Content-Length: 0

 

      /* Bob calls Carol. */ 


F8 INVITE Bob -> Carol 

      INVITE sips:carol@chicago.example.com SIP/2.0

      Via: SIP/2.0/TLS client.biloxi.example.com:5061

       ;branch=z9hG4bKnashJfd

      Max-Forwards: 70

      From: Bob <sips:bob@biloxi.example.com>;tag=8675309

      To: Carol <sips:carol@chicago.example.com>

      Call-ID: [email]sdjfdjfskdf@biloxi.example.com[/email]

      CSeq: 42 INVITE

      Contact: <sips:bob-[email]Mixer@client.biloxi.example.com[/email]>;isfocus

      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY

      Supported: replaces, gruu

      Content-Type: application/sdp

      Content-Length: ...

 

      v=0

      o=bob 28908445834 2890844834 IN IP4 client.biloxi.example.com

      s=

      c=IN IP4 client.biloxi.example.com

      t=0 0

      m=audio 48174 RTP/AVP 0

      a=rtpmap:0 PCMU/8000

 

F9 180 Ringing Carol -> Bob 

      SIP/2.0 200 OK

      Via: SIP/2.0/TLS client.biloxi.example.com:5061

       ;branch=z9hG4bKnashJfd

       ;received=192.0.2.113

      From: Bob <sips:bob@biloxi.example.com>;tag=8675309

      To: Carol <sips:carol@chicago.example.com>;tag=341313

      Call-ID: [email]sdjfdjfskdf@biloxi.example.com[/email]

      CSeq: 42 INVITE

      Contact: <sips:carol@client.chicago.example.com>

      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY

      Supported: replaces

      Content-Length: 0

 

F10 200 OK Carol -> Bob 

      SIP/2.0 200 OK

      Via: SIP/2.0/TLS client.biloxi.example.com:5061

       ;branch=z9hG4bKnashJfd

       ;received=192.0.2.113

      From: Bob <sips:bob@biloxi.example.com>;tag=8675309

      To: Carol <sips:carol@chicago.example.com>;tag=341313

      Call-ID: [email]sdjfdjfskdf@biloxi.example.com[/email]

      CSeq: 42 INVITE

      Contact: <sips:carol@client.chicago.example.com>

      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY

      Supported: replaces

      Content-Type: application/sdp

      Content-Length: ...

 

      v=0

      o=carol 2890844922 2890844922 IN IP4 client.chicago.example.com

      s=

      c=IN IP4 client.chicago.example.com

      t=0 0

      m=audio 3456 RTP/AVP 0

      a=rtpmap:0 PCMU/8000

 

F11 ACK Bob -> Carol 

      ACK sips:carol@client.chicago.example.com SIP/2.0

      Via: SIP/2.0/TLS client.biloxi.example.com:5061

       ;branch=z9hG4bKnash431

      Max-Forwards: 70

      From: Bob <sips:bob@biloxi.example.com>;tag=8675309

      To: Carol <sips:carol@chicago.example.com>;tag=341313

      Call-ID: [email]sdjfdjfskdf@biloxi.example.com[/email]

      CSeq: 42 ACK

      Content-Length: 0


      /* Bob's mixer now mixes media from both Alice and Carol

         to create the 3-way conference. */


*消息中空行為字段間隔(space)


原文來自:RFC5359

整理:kangguoying20201029

"5G網(wǎng)絡(luò)共享方案介紹"已在微信公眾號"跟著老康學(xué)5G"中推出,敬請關(guān)注!

掃碼關(guān)注5G通信官方公眾號,免費領(lǐng)取以下5G精品資料
  • 1、回復(fù)“YD5GAI”免費領(lǐng)取《中國移動:5G網(wǎng)絡(luò)AI應(yīng)用典型場景技術(shù)解決方案白皮書
  • 2、回復(fù)“5G6G”免費領(lǐng)取《5G_6G毫米波測試技術(shù)白皮書-2022_03-21
  • 3、回復(fù)“YD6G”免費領(lǐng)取《中國移動:6G至簡無線接入網(wǎng)白皮書
  • 4、回復(fù)“LTBPS”免費領(lǐng)取《《中國聯(lián)通5G終端白皮書》
  • 5、回復(fù)“ZGDX”免費領(lǐng)取《中國電信5G NTN技術(shù)白皮書
  • 6、回復(fù)“TXSB”免費領(lǐng)取《通信設(shè)備安裝工程施工工藝圖解
  • 7、回復(fù)“YDSL”免費領(lǐng)取《中國移動算力并網(wǎng)白皮書
  • 8、回復(fù)“5GX3”免費領(lǐng)取《 R16 23501-g60 5G的系統(tǒng)架構(gòu)1
  • 對本帖內(nèi)容的看法? 我要點評

     
    [充值威望,立即自動到帳] [VIP貴賓權(quán)限+威望套餐] 另有大量優(yōu)惠贈送活動,請光臨充值中心
    充值擁有大量的威望和最高的下載權(quán)限,下載站內(nèi)資料無憂

    快速回復(fù)主題    
    標(biāo)題
    內(nèi)容
     上傳資料請點左側(cè)【添加附件】

    當(dāng)前時區(qū) GMT+8, 現(xiàn)在時間是 2025-05-26 12:14:44
    渝ICP備11001752號  Copyright @ 2006-2016 mscbsc.com  本站統(tǒng)一服務(wù)郵箱:mscbsc@163.com

    Processed in 0.405603 second(s), 13 queries , Gzip enabled
    TOP
    清除 Cookies - 聯(lián)系我們 - 移動通信網(wǎng) - 移動通信論壇 - 通信招聘網(wǎng) - Archiver