1-- Taken from 3GPP TS 29.002 V17.1.0 (2021-06)
2--
3--17.7.12	Group Call data types
4
5MAP-GR-DataTypes {
6   itu-t identified-organization (4) etsi (0) mobileDomain (0)
7   gsm-Network (1) modules (3) map-GR-DataTypes (23) version20 (20)}
8
9DEFINITIONS
10
11IMPLICIT TAGS
12
13::=
14
15BEGIN
16
17EXPORTS
18	PrepareGroupCallArg,
19	PrepareGroupCallRes,
20	SendGroupCallEndSignalArg,
21	SendGroupCallEndSignalRes,
22	ForwardGroupCallSignallingArg,
23	ProcessGroupCallSignallingArg,
24	SendGroupCallInfoArg,
25	SendGroupCallInfoRes
26;
27
28IMPORTS
29	ISDN-AddressString,
30	IMSI,
31	TMSI,
32	EMLPP-Priority,
33	ASCI-CallReference,
34	SignalInfo,
35	GlobalCellId,
36	AccessNetworkSignalInfo
37FROM MAP-CommonDataTypes {
38   itu-t identified-organization (4) etsi (0) mobileDomain (0)
39   gsm-Network (1) modules (3) map-CommonDataTypes (18) version20 (20)}
40
41	Ext-TeleserviceCode
42FROM MAP-TS-Code {
43   itu-t identified-organization (4) etsi (0) mobileDomain (0)
44   gsm-Network (1) modules (3) map-TS-Code (19) version20 (20)}
45
46	Kc,
47	AdditionalInfo,
48	GroupId,
49Long-GroupId,
50	AdditionalSubscriptions,
51	Cksn
52FROM MAP-MS-DataTypes {
53   itu-t identified-organization (4) etsi (0) mobileDomain (0)
54   gsm-Network (1) modules (3) map-MS-DataTypes (11) version20 (20)}
55
56	ExtensionContainer
57FROM MAP-ExtensionDataTypes {
58   itu-t identified-organization (4) etsi (0) mobileDomain (0)
59   gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version20 (20)}
60;
61
62
63PrepareGroupCallArg ::= SEQUENCE {
64	teleservice	Ext-TeleserviceCode,
65	asciCallReference	ASCI-CallReference,
66	codec-Info	CODEC-Info,
67	cipheringAlgorithm	CipheringAlgorithm,
68	groupKeyNumber-Vk-Id	[0] GroupKeyNumber	OPTIONAL,
69	groupKey	[1] Kc	OPTIONAL,
70	-- this parameter shall not be sent and shall be discarded if received
71	priority	[2] EMLPP-Priority	OPTIONAL,
72	uplinkFree	[3] NULL	OPTIONAL,
73	extensionContainer	[4] ExtensionContainer	OPTIONAL,
74	...,
75	vstk	[5] VSTK	OPTIONAL,
76	vstk-rand	[6] VSTK-RAND	OPTIONAL,
77	talkerChannelParameter	[7] NULL	OPTIONAL,
78	uplinkReplyIndicator	[8] NULL	OPTIONAL}
79
80VSTK ::= OCTET STRING (SIZE (16))
81
82VSTK-RAND ::= OCTET STRING (SIZE (5))
83	-- The 36 bit value is carried in bit 7 of octet 1 to bit 4 of octet 5
84	-- bits 3, 2, 1, and 0 of octet 5 are padded with zeros.
85
86PrepareGroupCallRes ::= SEQUENCE {
87	groupCallNumber	ISDN-AddressString,
88	extensionContainer	ExtensionContainer	OPTIONAL,
89	...}
90
91SendGroupCallEndSignalArg ::= SEQUENCE {
92	imsi	IMSI	OPTIONAL,
93	extensionContainer	ExtensionContainer	OPTIONAL,
94	...,
95	talkerPriority	[0]TalkerPriority	OPTIONAL,
96	additionalInfo	[1]AdditionalInfo	OPTIONAL }
97
98TalkerPriority ::= ENUMERATED {
99	normal  (0),
100	privileged  (1),
101	emergency  (2)}
102
103SendGroupCallEndSignalRes ::= SEQUENCE {
104	extensionContainer	ExtensionContainer	OPTIONAL,
105	...}
106
107ForwardGroupCallSignallingArg ::= SEQUENCE {
108	imsi	IMSI	OPTIONAL,
109	uplinkRequestAck	[0] NULL	OPTIONAL,
110	uplinkReleaseIndication	[1] NULL	OPTIONAL,
111	uplinkRejectCommand	[2] NULL	OPTIONAL,
112	uplinkSeizedCommand	[3] NULL	OPTIONAL,
113	uplinkReleaseCommand	[4] NULL	OPTIONAL,
114	extensionContainer	ExtensionContainer	OPTIONAL,
115	...,
116	stateAttributes	[5] StateAttributes	OPTIONAL,
117	talkerPriority	[6] TalkerPriority	OPTIONAL,
118	additionalInfo	[7] AdditionalInfo	OPTIONAL,
119	emergencyModeResetCommandFlag	[8] NULL	OPTIONAL,
120	sm-RP-UI	[9] SignalInfo	OPTIONAL,
121	an-APDU	[10] AccessNetworkSignalInfo	OPTIONAL
122 }
123
124ProcessGroupCallSignallingArg ::= SEQUENCE {
125	uplinkRequest	[0] NULL	OPTIONAL,
126	uplinkReleaseIndication	[1] NULL	OPTIONAL,
127	releaseGroupCall	[2] NULL	OPTIONAL,
128	extensionContainer	ExtensionContainer	OPTIONAL,
129	...,
130	talkerPriority	[3] TalkerPriority	OPTIONAL,
131	additionalInfo	[4] AdditionalInfo	OPTIONAL,
132	emergencyModeResetCommandFlag	[5] NULL	OPTIONAL,
133	an-APDU	[6] AccessNetworkSignalInfo	OPTIONAL }
134
135GroupKeyNumber ::= INTEGER (0..15)
136
137CODEC-Info ::= OCTET STRING (SIZE (5..10))
138	-- Refers to channel type
139	-- coded according to 3GPP TS 48.008 [49] and including Element identifier and Length
140
141CipheringAlgorithm ::= OCTET STRING (SIZE (1))
142	-- Refers to 'permitted algorithms' in 'encryption information'
143	-- coded according to 3GPP TS 48.008 [49]:
144
145	-- Bits 8-1
146	-- 8765 4321
147	-- 0000 0001	No encryption
148	-- 0000 0010	GSM A5/1
149	-- 0000 0100	GSM A5/2
150	-- 0000 1000	GSM A5/3
151	-- 0001 0000	GSM A5/4
152	-- 0010 0000	GSM A5/5
153	-- 0100 0000	GSM A5/6
154	-- 1000 0000	GSM A5/7
155
156StateAttributes ::= SEQUENCE {
157	downlinkAttached	[5] NULL	OPTIONAL,
158	uplinkAttached	[6] NULL	OPTIONAL,
159	dualCommunication	[7] NULL	OPTIONAL,
160	callOriginator	[8] NULL	OPTIONAL }
161
162	-- Refers to 3GPP TS 44.068 for definitions of StateAttributes fields.
163
164
165SendGroupCallInfoArg ::= SEQUENCE {
166	requestedInfo	RequestedInfo,
167	groupId	Long-GroupId,
168	teleservice	Ext-TeleserviceCode,
169	cellId	[0] GlobalCellId	OPTIONAL,
170	imsi	[1] IMSI	OPTIONAL,
171	tmsi	[2] TMSI	OPTIONAL,
172	additionalInfo	[3] AdditionalInfo	OPTIONAL,
173	talkerPriority	[4] TalkerPriority	OPTIONAL,
174	cksn	[5] Cksn	OPTIONAL,
175	extensionContainer	[6] ExtensionContainer	OPTIONAL,
176	... }
177
178RequestedInfo ::= ENUMERATED {
179	anchorMSC-AddressAndASCI-CallReference	(0),
180	imsiAndAdditionalInfoAndAdditionalSubscription	(1),
181	... }
182--	exception handling:
183--	an unrecognized value shall be rejected by the receiver with a return error cause of
184--	unexpected data value
185
186SendGroupCallInfoRes ::= SEQUENCE {
187	anchorMSC-Address	[0] ISDN-AddressString	OPTIONAL,
188	asciCallReference	[1] ASCI-CallReference	OPTIONAL,
189	imsi	[2] IMSI	OPTIONAL,
190	additionalInfo	[3] AdditionalInfo	OPTIONAL,
191	additionalSubscriptions	[4] AdditionalSubscriptions	OPTIONAL,
192	kc	[5] Kc	OPTIONAL,
193	extensionContainer	[6] ExtensionContainer	OPTIONAL,
194	... }
195
196
197END
198
199