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

  • 閱讀:2080
  • 回復:0
IMS/SIP中的終端能力(UA Capability Information )
Mr Kang
原始天尊
鎵嬫満鍙風爜宸查獙璇? style=


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

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

       在通信系統(tǒng)中參與的終端(UA)之間信息的交互全部基于自身能力(Capability Information);通常他們交換自身能力是初始通信設(shè)置中的一個強制內(nèi)容,有時終端提供這些信息則是為了回應對方的特殊要求。在WCDMA或LTE網(wǎng)絡(luò)中,終端是在RRC連接配置完成消息中攜帶這些表明其性能的特殊消息。

      這些有關(guān)自身能力(Capability Information)的信息對于溝通中的雙方來說都非常重要;這些信息可以自行配置后才可以與另一方進行溝通。此外在進行即時消息交流時這些信息也非常重要,因為在許多情況下信息交流失敗僅僅是因為終端不支持特定功能或特性。

      在IMS系統(tǒng)和基于IMS系統(tǒng)的應用程序中也使用類似的機制。對于IMS應用程序有幾種不同的機制消息,它們都攜帶了UE能力相關(guān)信息。對于IMS系統(tǒng)的故障排除,在開始進行故障排除之前,最好檢查一下UE功能的相關(guān)信息。


1.IMS系統(tǒng)中攜帶UE能力的SIP消息

        在IMS系統(tǒng)以下七種消息中攜帶了含有UE能力的消息,這些消息分別表明了其支持的功能或性能;


  •     注冊(REGISTER)中攜帶的UE能力消息

  •     發(fā)布(PUBLISH)中攜帶的UE能力消息

  •     選項(OPTION)中攜帶的UE能力消息

  •     通知(NOTIFY)中攜帶的UE能力消息

  •     邀請(INVITE)中攜帶的UE能力消息

  •    180振鈴中(Ringing)中攜帶的UE能力消息

  •    200(OK)應答中攜帶的UE能力消息


2.攜帶UE能力的消息內(nèi)容(下文中紅色字體部分


2.1 注冊(Capability Information in REGISTER)

 REGISTER sip:test.3gpp.com SIP/2.0

Route: <sip:[2001:0:0:1::2]:5060;lr>

Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,INFO,REFER,NOTIFY,MESSAGE,PRACK

Expires: 600000

Authorization: Digest username="001010123456789@test.3gpp.com",realm="TestIMS.com",

                    nonce="fn3iiH1LnWqCtFyPUD8qzYxfiiVavYAAmfcxByxmhBg=",algorithm=AKAv1-MD5,

                    uri="sip:test.3gpp.com",response="9f17517adee640b8895dda33b336f071",

                    qop=auth,nc=00000002,cnonce="dsf232sun2299674910xyx",

                    opaque="bbedd3dd5f884860b741b03d36b430ea"

P-Access-Network-Info: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=0010100010000001

Contact: <sip:+11234567890@[2001:0:0:1::1]:5060>;

             +g.3gpp.smsip;

             +g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";video;

             +g.gsma.rcs.telephony="cs,volte";

             +sip.instance="<urn:gsma:imei:99000493-686661-0>"

From: <sip:+11234567890@test.3gpp.com>;tag=1334507655

To: <sip:+11234567890@test.3gpp.com>

Call-ID: 266901530@2001:0:0:1::1

CSeq: 4 REGISTER

Max-Forwards: 70

Via: SIP/2.0/UDP [2001:0:0:1::1]:5060;branch=z9hG4bK459934981smg;transport=UDP

Content-Length: 0

 

2.2  發(fā)布(Capability Information in PUBLISH) 

PUBLISH sip:+339012341234@test-rcs.com SIP/2.0

Call-ID: xSh0yaUHAA@192.168.1.1

CSeq: 1 PUBLISH

From: <sip:+339012341234@test-rcs.com>;tag=xSh0yaUIAA

To: <sip:+339012341234@test-rcs.com>

Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK84da5f074a2ba56ea1c0d63f7fa45a54383138;rport

Max-Forwards: 70

Route: <sip:192.168.1.2:5060;transport=udp;lr>

Expires: 3600

SIP-If-Match: ac63be7e9042439dad76da16904cf48d

User-Agent: IM-client/OMA1.0 Test-RCS-client/2.5.13

Event: presence

Content-Type: application/pidf+xml

Content-Length: 2122

 

<presence

xmlns="urn:ietf:params:xml:ns:pidf"

xmlns:op="urn:oma:xml:prs:pidf:oma-pres"

xmlns:opd="urn:oma:xml:pde:pidf:ext"

xmlns:pdm="urn:ietf:params:xml:ns:pidf:data-model"

xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid"

xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid"

xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10"

xmlns:gml="urn:opengis:specification:gml:schema-xsd:feature:v3.0"

entity="sip:+339012341234@test-rcs.com">

<tuple id="t1">

  <status><basic>open</basic></status>

  <op:service-description>

    <op:service-id>org.openmobilealliance:File-Transfer</op:service-id>

    <op:version>1.0</op:version>

  </op:service-description>

  <contact>sip:+339012341234@test-rcs.com</contact>

  <timestamp>2014-06-19T06:30:45.000Z</timestamp>

</tuple>

<tuple id="t2">

  <status><basic>open</basic></status>

  <op:service-description>

    <op:service-id>org.gsma.imageshare</op:service-id>

    <op:version>1.0</op:version>

  </op:service-description>

  <contact>sip:+339012341234@test-rcs.com</contact>

  <timestamp>2014-06-19T06:30:45.000Z</timestamp>

</tuple>

<tuple id="t3">

  <status><basic>open</basic></status>

  <op:service-description>

    <op:service-id>org.gsma.videoshare</op:service-id>

    <op:version>1.0</op:version>

  </op:service-description>

  <contact>sip:+339012341234@test-rcs.com</contact>

  <timestamp>2014-06-19T06:30:45.000Z</timestamp>

</tuple>

<tuple id="t4">

  <status><basic>open</basic></status>

  <op:service-description>

    <op:service-id>org.openmobilealliance:IM-session</op:service-id>

    <op:version>1.0</op:version>

  </op:service-description>

  <contact>sip:+339012341234@test-rcs.com</contact>

  <timestamp>2014-06-19T06:30:45.000Z</timestamp>

</tuple>

<tuple id="t5">

  <status><basic>open</basic></status>

  <op:service-description>

    <op:service-id>org.3gpp.cs-videotelephony</op:service-id>

    <op:version>1.0</op:version>

  </op:service-description>

  <contact>sip:+339012341234@test-rcs.com</contact>

  <timestamp>2014-06-19T06:30:45.000Z</timestamp>

</tuple>

</presence>

 

2.3選項(Capability Information in OPTION) 

        OPTIONS sip:192.168.1.1:5060;transport=udp SIP/2.0

        Via: SIP/2.0/UDP 192.168.1.2:51422;branch=z9hG4bKb7a8715cd9d04e019149483fac110beea0;rport;transport=udp

        Via: SIP/2.0/TCP 192.168.1.2:49755;branch=z9hG4bKec290e95eb714990adc88d84f09a6367;rport=49836

        Max-Forwards: 69

        From: <sip:+330123456789@sharetechnote-rcs.com>;tag=33ad62399bdc451d92591e2d9e29903a

        To: <sip:+339012341234@sharetechnote-rcs.com>

        Date: Thu, 19 Jun 2014 15:40:39 GMT

        Expires: 3600

        Contact: <sip:+330123456789@sharetechnote-rcs.com>;

        +g.3gpp.cs-voice;video;

                +g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.msg,

                        urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.largemsg,

                        urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";

        +g.3gpp.iari-ref="urn%3Aurn-7%3A3gpp-application.ims.iari.rcse.im,

                        urn%3Aurn-7%3A3gpp-application.ims.iari.rcs.fullsfgroupchat,

                        urn%3Aurn-7%3A3gpp-application.ims.iari.rcs.ftthumb,

                        urn%3Aurn-7%3A3gpp-application.ims.iari.rcs.fthttp,

                        urn%3Aurn-7%3A3gpp-application.ims.iari.rcse.sp,

                        urn%3Aurn-7%3A3gpp-application.ims.iari.rcse.dp,

                        urn%3Aurn-7%3A3gpp-application.ims.iari.rcs.geopull"

        CSeq: 1 OPTIONS

        Call-ID: 334cb0b603964d348a011fc8f87c82cd

        Content-Length: 0

        Record-Route: <sip:192.168.1.2;lr>

 

 

2.4通知(Capability Information in NOTIFY)

 

SUBSCRIBE sip:+14448880000@one.att.net SIP/2.0

Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,INFO,REFER,NOTIFY,MESSAGE,PRACK

User-Agent: Samsung IMS 5.0

Accept-Encoding: gzip

Expires: 0

Privacy: id

Accept: application/pidf+xml,multipart/related,application/rlmi+xml

P-Preferred-Identity: <sip:310410123456789@one.att.net>

CSeq: 1 SUBSCRIBE

Max-Forwards: 70

P-Access-Network-Info: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=31041000010000000

Route: <sip:[2001:0:0:1::2]:5060;lr>

a: *;+g.oma.sip-im;explicit;require

f: <sip:Anonymous@one.att.net>;tag=1750499527

i: 1148937124@2001::1:4c16:9c0f:4986:9e6d

l: 0

m: <sip:310410123456789@[2001::1:4c16:9c0f:4986:9e6d]:5060>

o: presence

t: <sip:+14448880000@one.att.net>

v: SIP/2.0/UDP [2001::1:4c16:9c0f:4986:9e6d]:5060;branch=z9hG4bK2869593858smg;transport=UDP

 

NOTIFY sip:310410123456789@[2001::1:4c16:9c0f:4986:9e6d]:5060;transport=udp SIP/2.0

Max-Forwards: 69

Via: SIP/2.0/UDP [2001:0:0:1::2]:5060;branch=z9hG4bK2734c4ccb25347249de8a9cc2b95e81f10;rport

From: <tel:+14448880000>;tag=987654321

To: <sip:310410123456789@[2001::1:4c16:9c0f:4986:9e6d]:5060>;tag=1750499527

Event: presence

Contact: <sip:[2001:0:0:1::2]:5060>

Content-Type: application/pidf+xml

Subscription-State: active;expires=3600

CSeq: 1 NOTIFY

Call-ID: 1148937124@2001::1:4c16:9c0f:4986:9e6d

Content-Length: 2097

 

<?xml version="1.0" encoding="UTF-8"?>

<presence xmlns="urn:ietf:params:xml:ns:pidf"

               xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid"

               xmlns:op="urn:oma:xml:prs:pidf:oma-pres"

               xmlns:pdm="urn:ietf:params:xml:ns:pidf:data-model"

               xmlns:cipid="urn:ietf:params:xml:ns:pidf:cipid"

               xmlns:caps="urn:ietf:params:xml:ns:pidf:caps"

               entity="sip:+14448880000@one.att.net">

<tuple id="SessModeMessa">

<status><basic>open</basic></status>

<op:service-description>

<op:service-id>org.openmobilealliance:ChatSession</op:service-id>

<op:version>2.0</op:version>

<op:description>Session Mode Messaging</op:description>

</op:service-description>

<contact>sip:+14448880000@one.att.net</contact>

</tuple>

<tuple id="FileTransfer1">

<status><basic>open</basic></status>

<op:service-description>

<op:service-id>org.openmobilealliance:File-Transfer</op:service-id>

<op:version>1.0</op:version>

<op:description>File Transfer</op:description>

</op:service-description>

<contact>sip:+14448880000@one.att.net</contact>

</tuple>

<tuple id="DiscoveryPres">

<status><basic>open</basic></status>

<op:service-description>

<op:service-id>org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcse.dp</op:service-id>

<op:version>1.0</op:version>

<op:description>DiscoveryPresence</op:description>

</op:service-description>

<contact>sip:+14448880000@one.att.net</contact>

</tuple>

<tuple id="StandaloneMsg">

<status><basic>open</basic></status>

<op:service-description>

<op:service-id>org.openmobilealliance:StandaloneMsg</op:service-id>

<op:version>2.0</op:version>

<op:description>StandaloneMsg</op:description>

</op:service-description>

<contact>sip:+14448880000@one.att.net</contact>

</tuple>

<tupleid="VOLTE15456546">

<status><basic>open</basic></status>

<caps:servcaps>

<caps:audio>true</caps:audio>

<caps:video>true</caps:video>

<caps:duplex><caps:supported>

<caps:full />

</caps:supported>

</caps:duplex>

</caps:servcaps>

<op:service-description>

<op:service-id>org.3gpp.urn:urn-7:3gpp-service.ims.icsi.mmtel</op:service-id>

<op:version>1.0</op:version>

<op:description>IPVideoCall</op:description>

</op:service-description>

<contact>sip:+14448880000@one.att.net</contact>

</tuple>

</presence> 

 

2.5邀請(Capability Information in INVITE) 

        INVITE sip:310410123456789@[2001::1:f8b5:503a:c5d0:2fea]:6000 SIP/2.0

        Via: SIP/2.0/UDP [2001:0:0:1::2]:62993;branch=z9hG4bKd7e3f6cf946a49618e8be0a37cc4a65b53;transport=udp

        Via: SIP/2.0/UDP [2001:0:0:1::2]:62984;branch=z9hG4bK3a2fa06cd53440b7a93217d703d8792a963b2071

        Max-Forwards: 69

        Call-ID: bbae9438711d47d283895a10f920c2db

        CSeq: 11001 INVITE

        To: <sip:310410123456789@sharetechnote.net>

        From: <sip:0123456789@sharetechnote.net>;tag=1111111111

        Feature-Caps: +g.3gpp.srvcc-alerting

        Allow: ACK, BYE, CANCEL, INVITE, PRACK, UPDATE

        Accept-Contact: *;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";require;explicit

        User-Agent: Test-VirtualUA/95adfae

        Content-Type: application/sdp

        Content-Length: 456

        Contact: <sip:0123456789@[2001:0:0:1::2]:62984;transport=udp>;+g.3gpp.icsi-ref="urn:urn-7:3gpp-                      service.ims.icsi.mmtel";video;+g.3gpp.srvcc-alerting

        Privacy: none

        P-Asserted-Identity: <sip:0123456789@sharetechnote.net>

        Record-Route: <sip:[2001:0:0:1::2]:62993;lr>


2.6180振鈴(Capability Information in 180 Ringing) 

           SIP/2.0 180 Ringing

          Max-Forwards: 70

          Allow: INVITE,ACK,CANCEL,BYE,UPDATE,INFO,REFER,NOTIFY,MESSAGE,PRACK

          CSeq: 11001 INVITE

          Record-Route: <sip:[2001:0:0:1::2]:62993;lr>

          P-Access-Network-Info: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=31041000010000001

          f: <sip:0123456789@sharetechnote.net>;tag=1111111111

          i: bbae9438711d47d283895a10f920c2db

          l: 0

          m: <sip:310410123456789@[2001::1:f8b5:503a:c5d0:2fea]:6000>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";require;explicit;+g.3gpp.srvcc-alerting;mobility="mobile"

          t: <sip:310410123456789@sharetechnote.net>;tag=506663245

          v: SIP/2.0/UDP             [2001:0:0:1::2]:62993;branch=z9hG4bKd7e3f6cf946a49618e8be0a37cc4a65b53;transport=udp,SIP/2.0/UDP           [2001:0:0:1::2]:62984;branch=z9hG4bK3a2fa06cd53440b7a93217d703d8792a963b2071

 

 2.7 200(OK)Capability Information in 200 OK

        SIP/2.0 200 OK

        Accept: application/sdp,application/3gpp-ims+xml

        Allow: INVITE,ACK,CANCEL,BYE,UPDATE,INFO,REFER,NOTIFY,MESSAGE,PRACK

        Security-Verify: ipsec-3gpp;q=0.1;alg=hmac-md5-96;ealg=null;prot=esp;mod=trans;spi-c=2340907816;spi-        s=1826487465;port-c=62992;port-s=62993

        Max-Forwards: 70

        User-Agent: Samsung IMS 5.0

        CSeq: 11001 INVITE

        Record-Route: <sip:[2001:0:0:1::2]:62993;lr>

        P-Access-Network-Info: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=31041000010000001

        c: application/sdp

        f: <sip:0123456789@sharetechnote.net>;tag=1111111111

        i: bbae9438711d47d283895a10f920c2db

        k: timer

        l: 375

        m: <sip:310410123456789@[2001::1:f8b5:503a:c5d0:2fea]:6000>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-        service.ims.icsi.mmtel";require;explicit;+g.3gpp.mid-call;mobility="mobile"

        t: <sip:310410123456789@sharetechnote.net>;tag=506663245

        v: SIP/2.0/UDP  [2001:0:0:1::2]:62993;branch=z9hG4bKd7e3f6cf946a49618e8be0a37cc4a65b53;transport=udp,SIP/2.0/UDP         [2001:0:0:1::2]:62984;branch=z9hG4bK3a2fa06cd53440b7a93217d703d8792a963b2071

整理:kangguoying20201107

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

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

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

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

    當前時區(qū) GMT+8, 現(xiàn)在時間是 2025-01-22 18:53:44
    渝ICP備11001752號  Copyright @ 2006-2016 mscbsc.com  本站統(tǒng)一服務郵箱:mscbsc@163.com

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