PstnIsdnPDU.asn 3.17 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
PstnIsdnPDU
{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) li-ps(5) pstnIsdn(6) version3(3)}

DEFINITIONS IMPLICIT TAGS ::=
BEGIN

IMPORTS

	-- from TS 101 671 [1]
	IPAddress
		FROM HI2Operations
		{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) hi2(1) version10(10)}

	-- from TS 102 232-01 [2]
	PayloadDirection
		FROM LI-PS-PDU
		{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) li-ps(5) genHeader(1) version8(8)};


-- ============================
-- Object Identifier Definition
-- ============================

	-- definitions are relative to
	-- {itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulintercept(2)}
pstnIsdnIRIObjId RELATIVE-OID	::= {li-ps(5) pstnIsdn(6) version3(3) iRI(1)}
pstnIsdnCCObjId RELATIVE-OID	::= {li-ps(5) pstnIsdn(6) version3(3) cC(2)}


-- ===============================
-- Description of the PstnIsdn IRI
-- ===============================

PstnIsdnIRI		::= SEQUENCE
{
	pstnIsdnIRIObjId 		[0] RELATIVE-OID,
	pstnIsdnIRIContents 	[1] PstnIsdnIRIContents
}

PstnIsdnIRIContents	::= CHOICE
{
	supplementaryInfo 		[0] SupplementaryInfo,
	...
}

SupplementaryInfo		::= SEQUENCE
{
	informationAppliesTo 	[0] InformationAppliesTo,
		-- Identifies the PDUs to which this info applies
	mediaFormat				[1] INTEGER (0..127),
		-- As defined in RFC 3551 [10]
	mediaAttributes			[2] OCTET STRING OPTIONAL,
		-- Format as per RFC 4566 [7]
		-- Clause 6.3 describes when the mediaAttributes shall be present
	encryptionKey			[3] OCTET STRING OPTIONAL,
		-- Format as per RFC 4566 [7]
	sessionName				[4] OCTET STRING OPTIONAL,
		-- Format as per RFC 4566 [7]
	sessionInfo				[5] OCTET STRING OPTIONAL,
		-- Format as per RFC 4566 [7]
	copyOfSDPMessage		[6] OCTET STRING OPTIONAL,
		-- Format as per RFC 4566 [7]
	...,
	frameType				[7] FrameType OPTIONAL
		-- Populated if one or more protocol layers are missing from CC data
		-- May be omitted if all headers are present.
}

InformationAppliesTo	::= SEQUENCE
	-- Identifies the PDUs to which a piece of supplementary information applies
{
	payloadDirection		[0] PayloadDirection, 
		-- The direction of the traffic to which this info applies
	cCLinkID				[1] INTEGER (0..65535) OPTIONAL,
		-- If there are multiple CCLinks, this field states CCLink to which this info applies
	firstPDUNumber			[2] INTEGER (0..4294967295) OPTIONAL,
		-- The supplementary info applies to all PDUs with this sequence number and above
	...
}

FrameType	::= ENUMERATED
{
	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
	...
}

-- ==============================
-- Description of the PstnIsdn CC
-- ==============================

PstnIsdnCC		::= SEQUENCE
{
	pstnIsdnCCObjId 		[0] RELATIVE-OID,
	pstnIsdnCCContents		[1] OCTET STRING,
		-- See clause 6.2 for definition of format of PstnIsdn CC
	cCLinkID				[2] INTEGER (0..65535) OPTIONAL,
		-- Shall be present if multiple CCLinks are used (see clause 6.3.4)
	...,
	supplementaryInfo		[3] SupplementaryInfo OPTIONAL
		-- Shall be present at least in the first PDU
}

END -- end of PstnIsdnPDU