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

  • 閱讀:1475
  • 回復(fù):0
IMS和SIP消息中用戶及通知信息
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ù)大神  
積分 104916
帖子 8550
威望 1721433 個(gè)
禮品券 11319 個(gè)
專家指數(shù) 23981
注冊(cè) 2007-3-13
專業(yè)方向 
回答問題數(shù) 0
回答被采納數(shù) 0
回答采納率 0%
 
發(fā)表于 2020-09-25 09:06:10  只看樓主 

          IMS和SIP系統(tǒng)中用戶信息(SUSCRIBE)相當(dāng)于無線網(wǎng)絡(luò)協(xié)議中的“測(cè)量控制”和“信息請(qǐng)求”;要求其他網(wǎng)元報(bào)告狀態(tài)事件; 

         通知(NOTIFY)與無線網(wǎng)絡(luò)中的”測(cè)量報(bào)告“或”信息反饋“相當(dāng);它們都是根據(jù)用戶的請(qǐng)求進(jìn)行報(bào)告的;--具體定義參見” RFC3265 Session Initiation Protocol (SIP)-Specific Event Notification) “;

 

1.用戶信息和通知流程

  

2.用戶(SUSCRIBE)信息 內(nèi)容

 

Event

Description

Reference

regRequest for IMS/SIP Registration Status(注冊(cè)狀態(tài)檢查)RFC 3680
presenceRequest for presence information (commonly used in RCS)RFC 3856
winfoRequest for Watcher information (commonly used in RCS)RFC 3857
xcap-diffRequest for Xcap-Diff information (commonly used in RCS)RFC 3875

 

3. 通知(NOTIFY)內(nèi)容


        當(dāng)出現(xiàn)錯(cuò)誤代碼(如 481, 400, 500)或在CSCF中發(fā)生問題時(shí),通過發(fā)送通知”NOTIFY“告知具體問題原因;詳細(xì)內(nèi)容參見”RFC3265 3.2.4. Subscriber NOTIFY Behavior" ;

 

    Subscription-State

Description

activeIt means the subscription is accepted (in most case, authorized as well)
pending

It means the subscription has been received by the notifier, but there is insufficient policy information to grant or deny the subscription yet

terminatedIt means the subscription is terminated and this can specify as a reason code as follows

deactivated

This mean that the subscription ended (terminated) but the subscriber (UE) SHOULD retry with a new subscription immediately.


probation
This mean that the subscription ended (terminated) but the client SHOULD retry at some time later.

rejected
This mean that the subscription ended (terminated) due to change in authorization policy. The client SHOULD NOT retry.

timeout
This mean that the subscription ended (terminated) because it is not refreshed before it expired. The client MAY retry immediately.

giveup

This mean that the subscription ended (terminated) because the notifier could not obtain authorization in time


noresource

This mean that the subscription ended (terminated) because the resource being monitored is no longer available.

 

 

3.報(bào)文舉例


     Step 1 : SUBSCRIBE -----------------------------------

         SUBSCRIBE sip:+[email]11234567890@test.3gpp.com[/email] SIP/2.0

         Via: SIP/2.0/UDP 10.133.202.46:50997;branch=z9hG4bK2968d27245f17c7bcae38c31991bfdaa

         Max-Forwards: 70

         Contact: <sip:+[email]11234567890@10.133.202.46[/email]:50997>;+sip.instance="<urn:gsma:imei:00440113-904785-0>"

         To: <sip:+[email]11234567890@test.3gpp.com[/email]>

         From: <sip:+[email]11234567890@test.3gpp.com[/email]>;tag=210a54

         Call-ID: [email]d57a0b04-[email]785ba328-[email]13a4d876@10.133.202.46[/email][/email][/email]

         CSeq: 14534 SUBSCRIBE

         Expires: 600000

         User-Agent: IM-client/OMA1.0 DUT-IMS

         Event: reg

         Accept: application/reginfo+xml

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

         P-Preferred-Identity: <sip:+[email]11234567890@test.3gpp.com[/email]>

         Content-Length: 0

 

Step 2 : 200 OK -----------------------------------

         SIP/2.0 200 OK

         Via: SIP/2.0/UDP 10.133.202.46:50997;branch=z9hG4bK2968d27245f17c7bcae38c31991bfdaa

         From: <sip:+[email]11234567890@test.3gpp.com[/email]>;tag=210a54

         To: <sip:+[email]11234567890@test.3gpp.com[/email]>;tag=987654321

         Call-ID: [email]d57a0b04-[email]785ba328-[email]13a4d876@10.133.202.46[/email][/email][/email]

         CSeq: 14534 SUBSCRIBE

         Expires: 600000

         Contact: <sip:10.133.202.47:5060>

         Record-Route: <sip:10.133.202.47;lr>

         Content-Length: 0

 

Step 3 : NOTIFY -----------------------------------

         NOTIFY sip:+[email]11234567890@test.3gpp.com[/email] SIP/2.0

         Via: SIP/2.0/UDP 10.133.202.47:5060;branch=z9hG4bK-d1e4c4961ca9d523ae76b67e088589cd

         Call-ID: [email]d57a0b04-[email]785ba328-[email]13a4d876@10.133.202.46[/email][/email][/email]

         From: <sip:+[email]11234567890@test.3gpp.com[/email]>;tag=987654321

         To: <sip:+[email]11234567890@test.3gpp.com[/email]>;tag=210a54

         Subscription-State: active;expires=600000

         Event: reg

         CSeq: 14534 NOTIFY

         Contact: <sip:10.133.202.47:5060>

         Max-Forwards: 70

         Content-Type: application/reginfo+xml

         Content-Length: 340

     

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

         <reginfo xmlns="urn:ietf:params:xml:ns:reginfo" version="0" state="full">

         <registration aor="sip:+[email]11234567890@test.3gpp.com[/email]" id="12345" state="active">

         <contact id="100" state="active" event="registered" expires="600000">

         <uri>sip:+[email]11234567890@10.133.202.46[/email]:50997</uri>

         </contact>

         </registration>

         </reginfo>

 

Step 4 : 200 OK -----------------------------------

         SIP/2.0 200 OK

         Via: SIP/2.0/UDP 10.133.202.47:5060;branch=z9hG4bK-d1e4c4961ca9d523ae76b67e088589cd

         Max-Forwards: 70

         Contact: <sip:+[email]11234567890@10.133.202.46[/email]:50997>;+sip.instance="<urn:gsma:imei:00440113-904785-0>"

         To: <sip:+[email]11234567890@test.3gpp.com[/email]>;tag=210a54

         From: <sip:+[email]11234567890@test.3gpp.com[/email]>;tag=987654321

         Call-ID: [email]d57a0b04-[email]785ba328-[email]13a4d876@10.133.202.46[/email][/email][/email]

         CSeq: 14534 NOTIFY

         Allow: NOTIFY,SUBSCRIBE

         Content-Length: 0


原文來自:http://www.sharetechnote.com/

整理:kangguoying20200925

"5G(NR)網(wǎng)絡(luò)中MIB消息及案例”已在微信公眾號(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至簡(jiǎn)無線接入網(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)限+威望套餐] 另有大量?jī)?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-03-19 22:03:09
    渝ICP備11001752號(hào)  Copyright @ 2006-2016 mscbsc.com  本站統(tǒng)一服務(wù)郵箱:mscbsc@163.com

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