MSCBSC 移动通信论坛
搜索
登录注册
网络优化工程师招聘专栏 4G/LTE通信工程师最新职位列表 通信实习生/应届生招聘职位

  • 阅读:742
  • 回复:0
IMS/SIP系统支持的业务--三方通话​
Mr Kang
原始天尊
鎵嬫満鍙风爜宸查獙璇


 发短消息    关注Ta 

C友·铁杆勋章   公益·慈善勋章   C友·贡献勋章   纪念勋章·七周年   财富勋章·万元户   专家·高级勋章   财富勋章·财运连连   财富勋章·小财主   C友·登录达人   财富勋章·富甲一方   纪念勋章·八周年   纪念勋章·九周年   纪念勋章·十周年   纪念勋章·十二周年   C友·技术大神  
积分 104736
帖子 8514
威望 1622481 个
礼品券 11319 个
专家指数 23981
注册 2007-3-13
专业方向 
回答问题数 0
回答被采纳数 0
回答采纳率 0%
 
发表于 2020-10-29 09:46:53  只看楼主 

        日常通信中主要是两个终端(UA)之间的通话,但经常会遇到需要第三者加入共同讨论(或认证);这就是三方通话;在IMS/SIP系统中三方通话一般是先建立两方通话,再呼叫第三方加入;


1. 三方通话流程

       如下图所示,Alice先呼通Bob,再邀请Carol加入一起通话;

image.png

2.三方通话消息内容


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网络共享方案介绍"已在微信公众号"跟着老康学5G"中推出,敬请关注!

扫码关注5G通信官方公众号,免费领取以下5G精品资料
  • 1、回复“LTBPS”免费领取《《中国联通5G终端白皮书》
  • 2、回复“ZGDX”免费领取《中国电信5G NTN技术白皮书
  • 3、回复“TXSB”免费领取《通信设备安装工程施工工艺图解
  • 4、回复“YDSL”免费领取《中国移动算力并网白皮书
  • 5、回复“5GX3”免费领取《 R16 23501-g60 5G的系统架构1
  • 6、回复“iot6”免费领取《【8月30号登载】物联网创新技术与产业应用蓝皮书——物联网感知技术及系统应用
  • 7、回复“6G31”免费领取《基于云网融合的6G关键技术白皮书
  • 8、回复“IM6G”免费领取《6G典型场景和关键能力白皮书
  • 对本帖内容的看法? 我要点评

     
    [充值威望,立即自动到帐] [VIP贵宾权限+威望套餐] 另有大量优惠赠送活动,请光临充值中心
    充值拥有大量的威望和最高的下载权限,下载站内资料无忧

    快速回复主题    
    标题
    内容
     上传资料请点左侧【添加附件】

    当前时区 GMT+8, 现在时间是 2024-04-28 23:49:32
    渝ICP备11001752号  Copyright @ 2006-2016 mscbsc.com  本站统一服务邮箱:mscbsc@163.com

    Processed in 0.328078 second(s), 13 queries , Gzip enabled
    TOP
    清除 Cookies - 联系我们 - 移动通信网 - 移动通信论坛 - 通信招聘网 - Archiver