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

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


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

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

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

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

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


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

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


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

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

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

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

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

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

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


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


2.1 注冊(cè)(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選項(xiàng)(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邀請(qǐng)(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ò)共享方案介紹"已在微信公眾號(hào)"跟著老康學(xué)5G"中推出,敬請(qǐng)關(guān)注!

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

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

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

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

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