IPMultimediaPDU.asn 4.72 KB
Newer Older
1
IPMultimediaPDU 
2
{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) li-ps(5) iPMultimedia(5) version6(6)}
3
4
5
6
7
8
9
10

DEFINITIONS IMPLICIT TAGS ::=
BEGIN

IMPORTS
	-- from TS 101 671 [1]
	IPAddress
		FROM HI2Operations 
11
		{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) hi2(1) version16(16)};
12

13
-- ============================
14
-- Object Identifier Definition
15
-- ============================
16

17
18
iPMMIRIObjId RELATIVE-OID			::= {li-ps(5) iPMultimedia(5) version6(6) iRI(1)}
iPMMCCObjId RELATIVE-OID			::= {li-ps(5) iPMultimedia(5) version6(6) cC(2)}
19
20
21
22
23
24
25
	-- both definitions relative to: 
	-- {itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2)}

-- =====================================
-- IP Multimedia Communications Contents
-- =====================================

26
IPMMCC ::= SEQUENCE
27
{
28
	iPMMCCObjId					[0] RELATIVE-OID,
29
	mMCCContents				[1] OCTET STRING,
30
		-- Copy of the multimediastream, i.e. all related RTP/RTCP, UDPTL or MSRP packets
31
		-- Each IPMMCC shall contain one intercepted packet
32
		-- Protocol of the multimedia packets is indicated by means of mMCCprotocol parameter
33
		-- mMCCContents was called rTPCCContents in earlier versions until v2.3.2.
34
35
36
37
38
	...,
	frameType					[2] FrameType OPTIONAL,
		-- The availability of header information shall be signalled with the frameType parameter
		-- The module is defined as OPTIONAL because of backwards compatibility reasons
		-- For new implementations the module is MANDATORY to be used as defined in clause 5.5
39
	streamIdentifier			[3] OCTET STRING OPTIONAL,
40
41
42
43
		-- Used to identify the media stream within the current CIN, typically in case of 
		-- multiple media streams communications
		-- May be used to correlate each media stream with the relevant SDP media description of IRI
		-- May contain c= and m= lines extracts for instance
44
	mMCCprotocol				[4] MMCCprotocol OPTIONAL
45
		-- Used to identify the protocol of packets sent in MMCCContent (RTP, UDPTL, MSRP, etc.)
46
		-- Absence means mMCCContents contains RTP/RTCP packets
47
48
}

49
FrameType ::= ENUMERATED
50
51
52
53
54
55
56
57
58
{
	ipFrame(0),
		-- All headers are present
	udpFrame(1),
		-- IP header is missing
	rtpFrame(2),
		-- UDP and IP headers are missing
	audioFrame(3),
		-- All headers are missing
59
	...,
60
	tcpFrame(4),
61
		-- IP header is missing
62
63
64
65
	artificialRtpFrame(5),
		-- UDP and IP headers are missing, artificial RTP frame has been added
	udptlFrame(6)
		-- UDP and IP headers are missing
66
67
}

68
MMCCprotocol ::= ENUMERATED
69
70
71
72
73
{
	rTP(0),
		-- mMCCContents parameter contains RTP/RTCP packets
	mSRP(1),
		-- mMCCContents parameter contains MSRP packets
74
75
76
	...,
	uDPTL(2)
		-- mMCCContents parameter contains UDPTL packets
77
78
79
80
81
82
}

-- ========================================================
-- Intercept-related information for IP Multimedia sessions
-- ========================================================

83
IPMMIRI ::= SEQUENCE
84
{
85
	iPMMIRIObjId				[0] RELATIVE-OID,
86
87
88
89
	iPMMIRIContents				[1] IPIRIContents,
	...
}

90
IPIRIContents ::= CHOICE
91
92
93
94
95
96
97
{
	originalIPMMMessage			[0] OCTET STRING,
		-- Copy of the IP MM signalling packet including the original IP and UDP/TCP headers
	sIPMessage					[1] SIPMessage,
		-- Copy of the SIP content and the source and destination IP address
	h323Message					[2] H323Message,
		-- Copy of the H.323 content and the source and destination IP address
98
99
100
101
	...,
	nationalIPMMIRIParameters	[3] NationalIPMMIRIParameters
		-- This parameter is used according to national regulations
		-- This parameter shall be delivered as an IRI-Report-record
102
103
}

104
SIPMessage ::= SEQUENCE
105
{
106
	iPSourceAddress				[0] IPAddress,
107
108
109
110
111
	iPDestinationAddress		[1] IPAddress,
	sIPContent					[2] OCTET STRING,
	...
}

112
H323Message ::= SEQUENCE
113
{
114
	iPSourceAddress				[0] IPAddress,
115
116
117
118
119
	iPDestinationAddress		[1] IPAddress,
	h323Content					[2] H323MessageContent,
	...
}

120
H323MessageContent ::= CHOICE
121
122
123
124
125
126
127
128
{
	h225CSMessageContent		[0] OCTET STRING,
	h225RASMessageContent		[1] OCTET STRING,
	h245MessageContent			[2] OCTET STRING,
	genericMessageContent		[3] OCTET STRING,
	...
}

129
130
131
132
133
134
135
136
137
138
139
140
141
142
NationalIPMMIRIParameters ::= SEQUENCE
{
	countryCode					[1] PrintableString (SIZE (2)),
		-- Country Code according to ISO 3166-1 [16],
		-- the country to which the parameters inserted after the extension marker apply.
	...
	-- In case a given country wants to use additional national parameters according to its law,
	-- these national parameters should be defined using the ASN.1 syntax and added after the
	-- extension marker (...).
	-- It is recommended that "version parameter" and "vendor identification parameter" are
	-- included in the national parameters definition. Vendor identifications can be
	-- retrieved from the IANA web site (see Annex E Bibliography). Besides, it is recommended 
	-- to avoid using tags from 240 to 255 in a formal type definition.
}
143

144
END -- end of IP Multimedia PDU