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

  • 閱讀:986
  • 回復(fù):0
IMS/SIP中RCS支持的地址薄更新
Mr Kang
原始天尊
鎵嬫満鍙風(fēng)爜宸查獙璇? style=


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

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

        在IMS/SIP系統(tǒng)中其支持“地址簿更新”(Addressbook Update),其終端(UA)是通過“NOTIFY”消息發(fā)送給對方;


1.地址簿更新信令流程


Step

Direction

Protocol

Message

Comments

(1)

UA1 <--   Proxy/UA2

SIP

NOTIFY

Send   Addressbook update to a UE(330123456789)

(2)

UA1 -->   Proxy/UA2

SIP

200 OK


(3)

UA1 -->   Proxy/UA2

HTTP

PUT/XML


(4)

UA1 <--   Proxy/UA2

HTTP

201 Created


(5)

UA1 <--   Proxy/UA2

SIP

NOTIFY


(6)

UA1 -->   Proxy/UA2

SIP

200 OK



2.地址簿更新消息內(nèi)容 


2.1 NOTIFY 

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

        Via: SIP/2.0/UDP 192.168.1.2:51418;branch=z9hG4bKb7a8715cd9d04e019149483fac110bee95;rport;transport=udp

        Via: SIP/2.0/TCP 192.168.1.2:6061;branch=z9hG4bKdacba03107bf4493a4c2823e59ed1195;rport=49804

        Max-Forwards: 69

        From: <sip:presence@test-rcs.com>;tag=0cfe3495adda4142b88a2f341e9cb8d8

        To: <sip:+[email]339012341234@test-rcs.com[/email]>;tag=M6g0yaUEAA

        Event: presence.winfo

        Contact: <sip:presence@test-rcs.com>

        Content-Type: application/watcherinfo+xml

        Subscription-State: active

        Content-Length: 368

        CSeq: 2 NOTIFY

        Call-ID: [email]M6g0yaUDAA@192.168.1.1[/email]

        Record-Route: <sip:192.168.1.2;lr>

 

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

        <watcherinfo xmlns="urn:ietf:params:xml:ns:watcherinfo" version="1" state="full">

          <watcher-list resource="sip:+[email]339012341234@test-rcs.com[/email]" package="presence">

            <watcher status="pending" id="5c7c3f58" display-name="RCS-VUA" event="subscribe">

                   sip:+[email]330123456789@test-rcs.com[/email]

             </watcher>

          </watcher-list>

        </watcherinfo>

 

2.2 200 OK 

        SIP/2.0 200 OK

        Via: SIP/2.0/UDP 192.168.1.2:51418;branch=z9hG4bKb7a8715cd9d04e019149483fac110bee95;

        rport=51418;transport=udp;

        received=192.168.1.2,SIP/2.0/TCP 192.168.1.2:6061;

        branch=z9hG4bKdacba03107bf4493a4c2823e59ed1195;rport=49804

        From: <sip:presence@test-rcs.com>;tag=0cfe3495adda4142b88a2f341e9cb8d8

        To: <sip:+[email]339012341234@test-rcs.com[/email]>;tag=M6g0yaUEAA

        CSeq: 2 NOTIFY

        Call-ID: [email]M6g0yaUDAA@192.168.1.1[/email]

        Content-Length: 0

 

2.3 HTTP PUT/XML 

        PUT /resource-lists/users/sip%3A%2B339012341234%40test-rcs.com/index/~~/resource-        lists/list%5B@name=%22rcs%22%5D/entry%5B@uri=%22sip%3A%2B330123456789%40test-        rcs.com%3Buser%3Dphone%22%5D HTTP/1.1

        Host: 192.168.1.2:8080

        User-Agent: TEST-RCS-client 2.5.13

        Authorization: Basic WDpY

        X-3GPP-Intended-Identity: "X"

        Content-type: application/xcap-el+xml

        Content-Length:66

 

        <entry uri='sip:+[email]330123456789@test-rcs.com[/email];user=phone'></entry>

 

2.4 201 Created 

        HTTP/1.1 201 Created

        Date: Thu, 19 Jun 2014 15:32:03 GMT

        Content-Length: 0

 

2.5 NOTIFY 

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

        Via: SIP/2.0/UDP 192.168.1.2:51419;branch=z9hG4bKb7a8715cd9d04e019149483fac110bee96;rport;transport=udp

        Via: SIP/2.0/TCP 192.168.1.2:6061;branch=z9hG4bKf7b78f04185f427fb6f0bcfcace167de;rport=49810

        Max-Forwards: 69

        From: <sip:presence@test-rcs.com>;tag=0cfe3495adda4142b88a2f341e9cb8d8

        To: <sip:+[email]339012341234@test-rcs.com[/email]>;tag=M6g0yaUEAA

        Event: presence.winfo

        Contact: <sip:presence@test-rcs.com>

        Content-Type: application/watcherinfo+xml

        Subscription-State: active

        Content-Length: 496

        CSeq: 3 NOTIFY

        Call-ID: [email]M6g0yaUDAA@192.168.1.1[/email]

        Record-Route: <sip:192.168.1.2;lr>

 

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

        <watcherinfo xmlns="urn:ietf:params:xml:ns:watcherinfo" version="4" state="full">

          <watcher-list resource="sip:+[email]339012341234@test-rcs.com[/email]" package="presence">

            <watcher status="active" id="5c7c3f58" display-name="RCS-VUA" event="approved">sip:+330123456789@test-        rcs.com</watcher>

            <watcher status="active" id="9a20aee7" display-name="test user" event="approved">sip:+339012341234@test-        rcs.com</watcher>

          </watcher-list>

        </watcherinfo> 


2.6 200 OK

        SIP/2.0 200 OK

        Via: SIP/2.0/UDP 192.168.1.2:51419;branch=z9hG4bKb7a8715cd9d04e019149483fac110bee96;rport=51419;transport=udp;

               received=192.168.1.2,SIP/2.0/TCP 192.168.1.2:6061;

               branch=z9hG4bKf7b78f04185f427fb6f0bcfcace167de;rport=49810

        From: <sip:presence@test-rcs.com>;tag=0cfe3495adda4142b88a2f341e9cb8d8

        To: <sip:+[email]339012341234@test-rcs.com[/email]>;tag=M6g0yaUEAA

        CSeq: 3 NOTIFY

        Call-ID: [email]M6g0yaUDAA@192.168.1.1[/email]

        Content-Length: 0


整理:kangguoying20201108

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

掃碼關(guān)注5G通信官方公眾號,免費(fèi)領(lǐng)取以下5G精品資料
  • 1、回復(fù)“YD5GAI”免費(fèi)領(lǐng)取《中國移動:5G網(wǎng)絡(luò)AI應(yīng)用典型場景技術(shù)解決方案白皮書
  • 2、回復(fù)“5G6G”免費(fèi)領(lǐng)取《5G_6G毫米波測試技術(shù)白皮書-2022_03-21
  • 3、回復(fù)“YD6G”免費(fèi)領(lǐ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)取《中國移動算力并網(wǎng)白皮書
  • 8、回復(fù)“5GX3”免費(fèi)領(lǐng)取《 R16 23501-g60 5G的系統(tǒng)架構(gòu)1
  • 對本帖內(nèi)容的看法? 我要點(diǎn)評

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

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

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

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