IMS/SIP中RCS高層支持的業(yè)務(wù)除前兩天介紹的“1對(duì)1聊天"和"文件傳輸"外,還支持“群聊”,"音頻 消息”,“IP語(yǔ)音和視頻呼叫”及“呼叫服務(wù)”;
此外,RCS系統(tǒng)支持業(yè)務(wù)還包括“獨(dú)立消息(Standalone Message)”,其通過(guò)代理僅在兩個(gè)終端(UA)之間傳遞;
1.獨(dú)立消息(Standalone Message)流程
Step | Direction | Protocol | Message | Comments |
(1) | UA1 --> Proxy/UA2 | SIP | MESSAGE | Send a text '123456789abcdef' |
(2) | UA1 <-- Proxy/UA2 | SIP | 200 OK |
|
(3) | UA1 <-- Proxy/UA2 | SIP | MESSAGE | Delivery Notification |
(4) | UA1 --> Proxy/UA2 | SIP | 200 OK |
|
(5) | UA1 <-- Proxy/UA2 | SIP | MESSAGE | Display Notification |
(6) | UA1 --> Proxy/UA2 | SIP | 200 OK |
|
2.SIP消息內(nèi)容
(1) MESSAGE
MESSAGE sip:+14448880011@sharetechnote.com;user=phone SIP/2.0
P-Preferred-Service: urn:urn-7:3gpp-service.ims.icsi.oma.cpm.msg
Contribution-ID: 477b66ae9662e3ad18549bf5dabf9d26d5e707ca
Conversation-ID: 1710887c7ca47dc2c1274c11673eb0df5a604fd3
P-Preferred-Identity: <sip:310410123456789@sharetechnote.com>
Request-Disposition: no-fork
User-Agent: TEST IMS 5.0
CSeq: 1 MESSAGE
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.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.msg"
c: message/cpim
f: <sip:310410123456789@sharetechnote.com>;tag=1384874566
i: 3712948749@2001::1:88fe:fccf:2870:5dee
l: 322
m: <sip:310410123456789@[2001::1:88fe:fccf:2870:5dee]:5060>;
+sip.instance="<urn:gsma:imei:35469106-056673-0>"
t: <sip:+14448880011@sharetechnote.com;user=phone>
v: SIP/2.0/TCP [2001::1:88fe:fccf:2870:5dee]:5060;branch=z9hG4bK2629405539smg;transport=TCP
From: <sip:310410123456789@sharetechnote.com>
To: <sip:+14448880011@sharetechnote.com;user=phone>
DateTime: 2015-02-17T06:54:27Z
NS: imdn <urn:ietf:params:imdn>
imdn.Message-ID: PH7qAIV8cgH5
imdn.Disposition-Notification: positive-delivery, display
Content-type: text/plain;charset=UTF-8
Content-Length: 15
123456789abcdef
(2) 200 OK
SIP/2.0 200 OK
Max-Forwards: 70
Via: SIP/2.0/TCP [2001::1:88fe:fccf:2870:5dee]:5060;branch=z9hG4bK2629405539smg;transport=TCP
From: <sip:310410123456789@sharetechnote.com>;tag=1384874566
To: <sip:+14448880011@sharetechnote.com;user=phone>;tag=73335cbb32b744baaaf5097a34431c92
Call-ID: 3712948749@2001::1:88fe:fccf:2870:5dee
CSeq: 1 MESSAGE
Server: TEST-RCS-serv/OMA1.0
Content-Length: 0
(3) MESSAGE
MESSAGE sip:310410123456789@[2001::1:88fe:fccf:2870:5dee]:5060 SIP/2.0
Via: SIP/2.0/UDP [2001:0:0:1::2]:5060;
branch=z9hG4bK4b0eb0c6ab9d4ef7bac858d430ea63cc18a;rport;transport=udp
Via: SIP/2.0/TCP [2001:0:0:1::2]:6062;branch=z9hG4bKe7c0830f56394c91985b32740e324dbf
Max-Forwards: 68
From: <sip:+14448880011@sharetechnote.com>;tag=d1d79837cb9140e0a4b75cba91f40178
To: <sip:310410123456789@sharetechnote.com>
P-Asserted-Identity: <sip:+14448880011@sharetechnote.com>
Accept-Contact: *;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.msg"
Contribution-ID: f415972d55
Conversation-ID: 1710887c7ca47dc2c1274c11673eb0df5a604fd3
Content-Type: message/cpim
Content-Length: 490
CSeq: 1 MESSAGE
Call-ID: fb87fae7ea0f4eaebdd51c7bce64ccf8
Record-Route: <sip:[2001:0:0:1::2]:5060;lr>
From: <sip:anonymous@anonymous.invalid>
To: <sip:310410123456789@sharetechnote.com>
DateTime: 2015-02-17T06:54:27.8730740Z
NS: imdn <urn:ietf:params:imdn>
imdn.Message-ID: 92c65678d0
Content-Disposition: notification
Content-Type: message/imdn+xml
<?xml version="1.0" encoding="utf-8"?>
<imdn xmlns="urn:ietf:params:xml:ns:imdn">
<message-id>PH7qAIV8cgH5</message-id>
<delivery-notification>
<status>
<delivered />
</status>
</delivery-notification>
</imdn>
(4) 200 OK
SIP/2.0 200 OK
Contribution-ID: f415972d55
Conversation-ID: 1710887c7ca47dc2c1274c11673eb0df5a604fd3
CSeq: 1 MESSAGE
P-Access-Network-Info: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=31041000010000000
f: <sip:+14448880011@sharetechnote.com>;tag=d1d79837cb9140e0a4b75cba91f40178
i: fb87fae7ea0f4eaebdd51c7bce64ccf8
l: 0
t: <sip:310410123456789@sharetechnote.com>;tag=1310629065
v: SIP/2.0/UDP [2001:0:0:1::2]:5060;
branch=z9hG4bK4b0eb0c6ab9d4ef7bac858d430ea63cc18a;rport=5060;
received=2001:0:0:1::2;transport=udp,SIP/2.0/TCP [2001:0:0:1::2]:6062;
branch=z9hG4bKe7c0830f56394c91985b32740e324dbf
(5) MESSAGE
MESSAGE sip:310410123456789@[2001::1:88fe:fccf:2870:5dee]:5060 SIP/2.0
Via: SIP/2.0/UDP [2001:0:0:1::2]:5060;
branch=z9hG4bK4b0eb0c6ab9d4ef7bac858d430ea63cc18c;rport;transport=udp
Via: SIP/2.0/TCP [2001:0:0:1::2]:6062;branch=z9hG4bK266a90b1785b4b659ea8d0911bf4f48b
Max-Forwards: 68
From: <sip:+14448880011@sharetechnote.com>;tag=c5305ca476f3456a904ca1a31cf2b091
To: <sip:310410123456789@sharetechnote.com>
P-Asserted-Identity: <sip:+14448880011@sharetechnote.com>
Accept-Contact: *;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.msg"
Contribution-ID: 70e1ec50d6
Conversation-ID: 1710887c7ca47dc2c1274c11673eb0df5a604fd3
Content-Type: message/cpim
Content-Length: 495
CSeq: 1 MESSAGE
Call-ID: 30210a9d7df84045a75c8b040d6395af
Record-Route: <sip:[2001:0:0:1::2]:5060;lr>
From: "No Chat" <sip:+14448880011@sharetechnote.com>
To: <sip:310410123456789@sharetechnote.com>
DateTime: 2015-02-17T06:54:45.1650631Z
NS: imdn <urn:ietf:params:imdn>
imdn.Message-ID: cef6f7fe6d
Content-Disposition: notification
Content-Type: message/imdn+xml
<?xml version="1.0" encoding="utf-8"?>
<imdn xmlns="urn:ietf:params:xml:ns:imdn">
<message-id>PH7qAIV8cgH5</message-id>
<display-notification>
<status>
<displayed />
</status>
</display-notification>
</imdn>
(6) 200 OK
SIP/2.0 200 OK
Contribution-ID: 70e1ec50d6
Conversation-ID: 1710887c7ca47dc2c1274c11673eb0df5a604fd3
CSeq: 1 MESSAGE
P-Access-Network-Info: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=31041000010000000
f: <sip:+14448880011@sharetechnote.com>;tag=c5305ca476f3456a904ca1a31cf2b091
i: 30210a9d7df84045a75c8b040d6395af
l: 0
t: <sip:310410123456789@sharetechnote.com>;tag=2700955583
v: SIP/2.0/UDP [2001:0:0:1::2]:5060;
branch=z9hG4bK4b0eb0c6ab9d4ef7bac858d430ea63cc18c;rport=5060;
received=2001:0:0:1::2;transport=udp,SIP/2.0/TCP [2001:0:0:1::2]:6062;
branch=z9hG4bK266a90b1785b4b659ea8d0911bf4f48b
*消息中空行為字段間隔(space)
原文來(lái)自:http://www.sharetechnote.com
整理:kangguoying20201028
"5G無(wú)線網(wǎng)絡(luò)前傳接口(Fronthaul)協(xié)議"已在微信公眾號(hào)"跟著老康學(xué)5G"中推出,敬請(qǐng)關(guān)注!