無線網(wǎng)絡(luò)中應(yīng)用最多的除通話外,就是數(shù)據(jù)上傳、下載類的文件傳輸;在RCS支持的“文件傳輸”類業(yè)務(wù)中也支持地理位置的推送;
文件傳輸是在兩個(gè)代理單元(UA)之間進(jìn)行,其中:VOLTE通話是(音頻)文件業(yè)務(wù)交互傳遞中之一;
1.文件傳輸業(yè)務(wù)流程
Step | Direction | Protocol | Message | Comments |
1 | UA1 --> Proxy/UA2 | SIP | INVITE |
|
2 | UA1 <-- Proxy/UA2 | SIP | 100 Trying |
|
3 | UA1 <-- Proxy/UA2 | SIP | 180 Ringing |
|
4 | UA1 <-- Proxy/UA2 | SIP/SDP | 200 OK |
|
5 | UA1 --> Proxy/UA2 | SIP | ACK |
|
6 | UA1 --> Proxy/UA2 | MSRP | SEND |
|
7 | UA1 <-- Proxy/UA2 | MSRP | 200 OK |
|
8 | UA1 --> Proxy/UA2 | MSRP | SEND |
|
9 | UA1 --> Proxy/UA2 | TCP |
| Transfering the contents of file |
10 | UA1 <-- Proxy/UA2 | MSRP | 200 OK |
|
11 | UA1 --> Proxy/UA2 | SIP | BYE |
|
12 | UA1 <-- Proxy/UA2 | SIP | 200 OK |
|
13 | UA1 <-- Proxy/UA2 | SIP | MESSAGE | Delivery Notification |
14 | UA1 --> Proxy/UA2 | SIP | 200 OK |
|
15 | UA1 <-- Proxy/UA2 | SIP | MESSAGE | Display Notification |
16 | UA1 --> Proxy/UA2 | SIP | 200 OK |
|
2.文件傳輸消息內(nèi)容
2.1(1) INVITE
INVITE sip:+[email]14448880000@sharetechnote.com[/email];user=phone SIP/2.0
Conversation-ID: 7aef1aa18a6a82e9aff5b526b63d71f48761b0bf
Contribution-ID: 5eb7d0dbc1e43c99eac547e4dbea239a898669f5
P-Preferred-Service: urn:urn-7:3gpp-service.ims.icsi.oma.cpm.filetransfer
P-Preferred-Identity: <sip:310410123456789@sharetechnote.com>
P-Early-Media: supported
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,INFO,REFER,NOTIFY,MESSAGE,PRACK
User-Agent: TEST IMS 5.0
CSeq: 1 INVITE
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.filetransfer"
c: multipart/mixed;boundary=++
f: <sip:310410123456789@sharetechnote.com>;tag=1983848525
i: 396769704@2001::1:88fe:fccf:2870:5dee
k: timer
l: 964
m: <sip:310410123456789@[2001::1:88fe:fccf:2870:5dee]:5060;transport=UDP>;
+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.filetransfer"
t: <sip:+[email]14448880000@sharetechnote.com[/email];user=phone>
v: SIP/2.0/TCP [2001::1:88fe:fccf:2870:5dee]:5060;branch=z9hG4bK1329308038smg;transport=TCP
--++
Content-Type: application/sdp
Content-Length: 415
v=0
o=TEST-IMS-UE 1234563 0 IN IP6 2001::1:88fe:fccf:2870:5dee
s=SS VOIP
c=IN IP6 2001::1:88fe:fccf:2870:5dee
t=0 0
m=message 8881 TCP/MSRP *
a=accept-types:*
a=setup:active
a=path:msrp://[2001::1:88fe:fccf:2870:5dee]:8881/eSTovjfTBpVpY;tcp
a=file-selector:name:"500KB.jpg" type:image/jpeg size:527182
a=file-transfer-id:0rLXCimEYgDk1m6wexaQFCO
a=file-disposition:attachment
a=msrp-cema
a=sendonly
--++
Content-Type: message/cpim
Content-Length: 420
From: <sip:anonymous@anonymous.invalid>
To: <sip:anonymous@anonymous.invalid>
DateTime: im_date_time(2015-2-17 6:29:52)
NS: imdn <urn:ietf:params:imdn>
NS: MyFeatures <mailto:RCSFeatures@test.com>
MyFeatures.PANI: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=31041000010000000
imdn.Message-ID: rAr3jJQL4hNYUJmJlTl9yb
imdn.Disposition-Notification: positive-delivery, display
Content-type: image/jpeg
Content-Length: 0
--++--
2.2(2) 100 Trying
SIP/2.0 100 Trying
Via: SIP/2.0/TCP [2001::1:88fe:fccf:2870:5dee]:5060;branch=z9hG4bK1329308038smg;transport=TCP
Max-Forwards: 70
From: <sip:310410123456789@sharetechnote.com>;tag=1983848525
To: <sip:+[email]14448880000@sharetechnote.com[/email];user=phone>
Call-ID: 396769704@2001::1:88fe:fccf:2870:5dee
CSeq: 1 INVITE
Content-Length: 0
2.3(3) 180 Ringing
SIP/2.0 180 Ringing
Max-Forwards: 70
Via: SIP/2.0/TCP [2001::1:88fe:fccf:2870:5dee]:5060;branch=z9hG4bK1329308038smg;transport=TCP
From: <sip:310410123456789@sharetechnote.com>;tag=1983848525
To: <sip:+[email]14448880000@sharetechnote.com[/email];user=phone>;tag=85a2d57d13f1400188d1308aac07a4da
Call-ID: 396769704@2001::1:88fe:fccf:2870:5dee
CSeq: 1 INVITE
Record-Route: <sip:[2001:0:0:1::2]:5060;lr>
Content-Length: 0
2.4(4) 200 OK
SIP/2.0 200 OK
Max-Forwards: 70
Via: SIP/2.0/TCP [2001::1:88fe:fccf:2870:5dee]:5060;branch=z9hG4bK1329308038smg;transport=TCP
From: <sip:310410123456789@sharetechnote.com>;tag=1983848525
To: <sip:+[email]14448880000@sharetechnote.com[/email];user=phone>;tag=85a2d57d13f1400188d1308aac07a4da
Call-ID: 396769704@2001::1:88fe:fccf:2870:5dee
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE
Contact: <sip:310410123456789@sharetechnote.com>;
+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.filetransfer"
Server: CPM-serv/OMA1.0
Content-Type: application/sdp
Record-Route: <sip:[2001:0:0:1::2]:5060;lr>
Content-Length: 389
v=0
o=- 15582 864310 IN IP6 2001:0:0:1::2
s=-
c=IN IP6 2001:0:0:1::2
t=0 0
m=message 16008 TCP/MSRP *
a=path:msrp://[2001:0000:0000:0001:0000:0000:0000:0002]:16008/3df2205262;tcp
a=msrp-cema
a=setup:passive
a=accept-types:message/cpim
a=accept-wrapped-types:*
a=recvonly
a=file-selector:name:"500KB.jpg" type:image/jpeg size:527182
a=file-transfer-id:0rLXCimEYgDk1m6wexaQFCO
2.5(5) ACK
ACK sip:310410123456789@sharetechnote.com SIP/2.0
CSeq: 1 ACK
Max-Forwards: 70
Route: <sip:[2001:0:0:1::2]:5060;lr>
f: <sip:310410123456789@sharetechnote.com>;tag=1983848525
i: 396769704@2001::1:88fe:fccf:2870:5dee
l: 0
m: <sip:310410123456789@[2001::1:88fe:fccf:2870:5dee]:5060;transport=UDP>
t: <sip:+[email]14448880000@sharetechnote.com[/email];user=phone>;tag=85a2d57d13f1400188d1308aac07a4da
v: SIP/2.0/UDP [2001::1:88fe:fccf:2870:5dee]:5060;branch=z9hG4bK2351572899smg;transport=UDP
2.6(6) SEND
MSRP 8oOrgcqAxo SEND
To-Path: msrp://[2001:0000:0000:0001:0000:0000:0000:0002]:16008/3df2205262;tcp
From-Path: msrp://[2001::1:88fe:fccf:2870:5dee]:8881/eSTovjfTBpVpY;tcp
Message-ID: 9DcuyFOCf5df1
Success-Report: no
Failure-Report: yes
-------8oOrgcqAxo$
2.7 (7) 200 OK
MSRP 8oOrgcqAxo 200 OK
To-Path: msrp://[2001::1:88fe:fccf:2870:5dee]:8881/eSTovjfTBpVpY;tcp
From-Path: msrp://[2001:0000:0000:0001:0000:0000:0000:0002]:16008/3df2205262;tcp
-------8oOrgcqAxo$
2.8(8) SEND
MSRP kOB9rCLKNtsdUkXuvgMwTu SEND
To-Path: msrp://[2001:0000:0000:0001:0000:0000:0000:0002]:16008/3df2205262;tcp
From-Path: msrp://[2001::1:88fe:fccf:2870:5dee]:8881/eSTovjfTBpVpY;tcp
Message-ID: 0jF3NM0LB6b3QeRT8zAcsk9tOxfn
Success-Report: no
Failure-Report: yes
Byte-Range: 1-*/527182
Content-Type: image/jpeg
....
2.9 (9) TCP
2.10(10) 200 OK
MSRP kOB9rCLKNtsdUkXuvgMwTu 200 OK
To-Path: msrp://[2001::1:88fe:fccf:2870:5dee]:8881/eSTovjfTBpVpY;tcp
From-Path: msrp://[2001:0000:0000:0001:0000:0000:0000:0002]:16008/3df2205262;tcp
-------kOB9rCLKNtsdUkXuvgMwTu$
2.11(11) BYE
BYE sip:310410123456789@sharetechnote.com SIP/2.0
Conversation-ID: 7aef1aa18a6a82e9aff5b526b63d71f48761b0bf
Contribution-ID: 5eb7d0dbc1e43c99eac547e4dbea239a898669f5
CSeq: 2 BYE
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>
f: <sip:310410123456789@sharetechnote.com>;tag=1983848525
i: 396769704@2001::1:88fe:fccf:2870:5dee
l: 0
m: <sip:310410123456789@[2001::1:88fe:fccf:2870:5dee]:5060;transport=UDP>
t: <sip:+[email]14448880000@sharetechnote.com[/email];user=phone>;tag=85a2d57d13f1400188d1308aac07a4da
v: SIP/2.0/UDP [2001::1:88fe:fccf:2870:5dee]:5060;branch=z9hG4bK3167929908smg;transport=UDP
2.12(12) 200 OK
SIP/2.0 200 OK
Max-Forwards: 70
Via: SIP/2.0/UDP [2001::1:88fe:fccf:2870:5dee]:5060;branch=z9hG4bK3167929908smg;transport=UDP
From: <sip:310410123456789@sharetechnote.com>;tag=1983848525
To: <sip:+[email]14448880000@sharetechnote.com[/email];user=phone>;tag=85a2d57d13f1400188d1308aac07a4da
Call-ID: 396769704@2001::1:88fe:fccf:2870:5dee
CSeq: 2 BYE
Content-Length: 0
2.13(13) 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=z9hG4bK4b0eb0c6ab9d4ef7bac858d430ea63cc15f;rport;transport=udp
Via: SIP/2.0/TCP [2001:0:0:1::2]:6062;branch=z9hG4bK2d4214904f9c45eebc8f2e15380e5006
Max-Forwards: 69
From: "Chat 00" <sip:+[email]14448880000@sharetechnote.com[/email]>;tag=4869c0c375a34b75af51323c5cbdef42
To: "UE" <sip:310410123456789@sharetechnote.com>
Accept-Contact: *;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.filetransfer"
Content-Type: message/cpim
Conversation-ID: 7aef1aa18a6a82e9aff5b526b63d71f48761b0bf
Contribution-ID: 5eb7d0dbc1e43c99eac547e4dbea239a898669f5
CSeq: 1 MESSAGE
Call-ID: 98f574e992294f4db5c7e96a8a5dcdcd
Content-Length: 500
Record-Route: <sip:[2001:0:0:1::2]:5060;lr>
From: <sip:anonymous@anonymous.invalid>
To: <sip:anonymous@anonymous.invalid>
DateTime: 2015-02-17T06:29:55.5918644Z
NS: imdn <urn:ietf:params:imdn>
imdn.Message-ID: 71eb0013a2
Content-Type: message/imdn+xml
Content-Disposition: notification
<?xml version="1.0" encoding="utf-8"?>
<imdn xmlns="urn:ietf:params:xml:ns:imdn">
<message-id>rAr3jJQL4hNYUJmJlTl9yb</message-id>
<delivery-notification>
<status>
<delivered />
</status>
</delivery-notification>
</imdn>
2.14(14) 200 OK
SIP/2.0 200 OK
Contribution-ID: 5eb7d0dbc1e43c99eac547e4dbea239a898669f5
Conversation-ID: 7aef1aa18a6a82e9aff5b526b63d71f48761b0bf
CSeq: 1 MESSAGE
P-Access-Network-Info: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=31041000010000000
f: "Chat 00" <sip:+[email]14448880000@sharetechnote.com[/email]>;tag=4869c0c375a34b75af51323c5cbdef42
i: 98f574e992294f4db5c7e96a8a5dcdcd
l: 0
t: <sip:310410123456789@sharetechnote.com>;tag=1888836402
v: SIP/2.0/UDP [2001:0:0:1::2]:5060;
branch=z9hG4bK4b0eb0c6ab9d4ef7bac858d430ea63cc15f;rport=5060;received=2001:0:0:1::2;
transport=udp,SIP/2.0/TCP [2001:0:0:1::2]:6062;branch=z9hG4bK2d4214904f9c45eebc8f2e15380e5006
2.15(15) 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=z9hG4bK4b0eb0c6ab9d4ef7bac858d430ea63cc162;rport;transport=udp
Via: SIP/2.0/TCP [2001:0:0:1::2]:6062;branch=z9hG4bK7fa30d884bee4c6bbc066c57b74b18c5
Max-Forwards: 69
From: "Chat 00" <sip:+[email]14448880000@sharetechnote.com[/email]>;tag=b5f9c5d0df114e0d8c861b49d9e0e40c
To: <sip:310410123456789@sharetechnote.com>
Accept-Contact: *;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.filetransfer"
Content-Type: message/cpim
Conversation-ID: d923e595d9464e1a9d2830c279d2594f
Contribution-ID: 5eb7d0dbc1e43c99eac547e4dbea239a898669f5
CSeq: 1 MESSAGE
Call-ID: e8ac1e921b374f7da209b12e4ae1689e
Content-Length: 498
Record-Route: <sip:[2001:0:0:1::2]:5060;lr>
From: <sip:anonymous@anonymous.invalid>
To: <sip:anonymous@anonymous.invalid>
DateTime: 2015-02-17T06:31:45.8451705Z
NS: imdn <urn:ietf:params:imdn>
imdn.Message-ID: fdd292afc9
Content-Type: message/imdn+xml
Content-Disposition: notification
<?xml version="1.0" encoding="utf-8"?>
<imdn xmlns="urn:ietf:params:xml:ns:imdn">
<message-id>rAr3jJQL4hNYUJmJlTl9yb</message-id>
<display-notification>
<status>
<displayed />
</status>
</display-notification>
</imdn>
2.16(16) 200 OK
SIP/2.0 200 OK
Contribution-ID: 5eb7d0dbc1e43c99eac547e4dbea239a898669f5
Conversation-ID: d923e595d9464e1a9d2830c279d2594f
CSeq: 1 MESSAGE
P-Access-Network-Info: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=31041000010000000
f: "Chat 00" <sip:+[email]14448880000@sharetechnote.com[/email]>;tag=b5f9c5d0df114e0d8c861b49d9e0e40c
i: e8ac1e921b374f7da209b12e4ae1689e
l: 0
t: <sip:310410123456789@sharetechnote.com>;tag=4271237120
v: SIP/2.0/UDP [2001:0:0:1::2]:5060;branch=z9hG4bK4b0eb0c6ab9d4ef7bac858d430ea63cc162;rport=5060;
received=2001:0:0:1::2;transport=udp,SIP/2.0/TCP [2001:0:0:1::2:6062;
branch=z9hG4bK7fa30d884bee4c6bbc066c57b74b18c5
原文來自:http://www.sharetechnote.com
整理:kangguoying20201027
"5G無線網(wǎng)絡(luò)前傳接口(Fronthaul)協(xié)議"已在微信公眾號"跟著老康學(xué)5G"中推出,敬請關(guān)注!