aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/isdn-sup/Diversion-Operations.asn
blob: 9db186c0ef6b1301261c8cc61fd7bdcf36b24de1 (plain)
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
--
-- ETSI EN 300 207-1 V3.1.1 (2001-06)
--

Diversion-Operations {etsi(0) xx(207) operations-and-errors(1)}

DEFINITIONS EXPLICIT TAGS ::=

BEGIN

EXPORTS             ActivationDiversion, 
                    DeactivationDiversion,
                    ActivationStatusNotificationDiv,
                    DeactivationStatusNotificationDiv,
                    InterrogationDiversion,
                    InterrogateServedUserNumbers,
                    DiversionInformation,
                    CallDeflection,
                    CallRerouteing,
                    DivertingLegInformation1,
                    DivertingLegInformation2,
                    DivertingLegInformation3,
                    InvalidDivertedToNr,
                    SpecialServiceNr,
                    DiversionToServedUserNr,
                    IncomingCallAccepted,
                    NumberOfDiversionsExceeded,
                    NotActivated,
                    RequestAlreadyAccepted,
                    invalidDivertedToNr,
                    specialServiceNr,
                    diversionToServedUserNr,
                    incomingCallAccepted,
                    numberOfDiversionsExceeded,
                    notActivated,
                    requestAlreadyAccepted,
ServedUserNr;

IMPORTS  OPERATION, ERROR FROM Remote-Operations-Information-Objects 
    {joint-iso-itu-t (2) remote-operations (4) informationObjects(5) version1(0)} 

                    notSubscribed,
                    notAvailable,
                    invalidServedUserNr,
                    basicServiceNotProvided,
                    supplementaryServiceInteractionNotAllowed,
                    resourceUnavailable
                    FROM General-Errors
                        {itu-t(0) identified-organization(4) etsi(0) 196 general-errors(2)}

                    PresentedAddressScreened,
                    PresentedNumberUnscreened,
                    Address,
                    PartyNumber,
                    PartySubaddress,
                    PresentationAllowedIndicator

                    FROM Addressing-Data-Elements
                        {itu-t(0) identified-organization(4) etsi(0) 196 addressing-data-elements(6)}

                    BasicService
                    FROM Basic-Service-Elements
                        {itu-t(0) identified-organization(4) etsi(0) 196 basic-service-elements(8)}

                    Q931InformationElement
                    FROM Embedded-Q931-Types
                        {itu-t(0) identified-organization(4) etsi(0) 196 embedded-q931-types(7)};


	activationDiversion OPERATION ::= {
	   ARGUMENT       ActivationDiversionArg 
	   RETURN RESULT     FALSE 
	   ALWAYS RESPONDS  FALSE 
	   ERRORS {
			notSubscribed,
			notAvailable,
			invalidServedUserNr,
			supplementaryServiceInteractionNotAllowed,
			basicServiceNotProvided,
			resourceUnavailable,
			invalidDivertedToNr,
			specialServiceNr,
			diversionToServedUserNr,
			invalidNoReplyTimerValue}
	   CODE        local:  7} 

    ActivationDiversionArg ::= SEQUENCE {
        procedure               Procedure,
        basicService            BasicService,
        forwardedToAddress      Address,
        servedUserNr            ServedUserNr,
		noReplyTimer		    NoReplyTimer OPTIONAL
	}




-- End of ActivationDiversion operation definition

	deactivationDiversion OPERATION ::= {
	   ARGUMENT       DeactivationDiversionArg 
	   RETURN RESULT     FALSE 
	   ALWAYS RESPONDS  FALSE 
       ERRORS {
        notSubscribed |
        notAvailable |
        invalidServedUserNr |
        NotActivated}
	   CODE        local:  8} 

	DeactivationDiversionArg   ::=  SEQUENCE {   
		procedure               Procedure,
        basicService            BasicService,
        servedUserNr            ServedUserNr
	}


-- End of DeactivationDiversion operation definition

	activationStatusNotificationDiv OPERATION ::= {
	   ARGUMENT      ActivationStatusNotificationDivArg 
	   RETURN RESULT     FALSE 
	   ALWAYS RESPONDS  FALSE 
	   CODE        local:  9} 

    ActivationStatusNotificationDivArg ::= SEQUENCE {
        procedure               Procedure,
        basicService            BasicService,
        forwardedToAddresss     Address,
        servedUserNr            ServedUserNr}

-- End of ActivationStatusNotificationDiv operation definition

	deactivationStatusNotificationDiv OPERATION ::= {
	   ARGUMENT      DeactivationStatusNotificationDivArg 
	   RETURN RESULT     FALSE 
	   ALWAYS RESPONDS  FALSE 
	   CODE        local:  10} 

    DeactivationStatusNotificationDivArg ::= SEQUENCE {
        procedure               Procedure,
        basicService            BasicService,
        servedUserNr            ServedUserNr}

-- End of DeactivationStatusNotificationDiv operation definition

	interrogationDiversion  OPERATION ::= {
	   ARGUMENT      InterrogationDiversionArg 
	   RESULT		 InterrogationDiversionRes 
        ERRORS {
            notSubscribed |
            notAvailable |
            invalidServedUserNr}
	   CODE        local:  11} 

    InterrogationDiversionArg ::= SEQUENCE {
        procedure               Procedure,
        basicService            BasicService DEFAULT allServices,
        servedUserNr            ServedUserNr}

        InterrogationDiversionRes ::=  IntResultList


-- End of InterrogationDiversion operation definition

	interrogateServedUserNumbers  OPERATION ::= {
	   RESULT     InterrogateServedUserNumbersRes 
        ERRORS {
            notSubscribed |
            notAvailable}
	   CODE        local:  17} 

	InterrogateServedUserNumbersRes ::= ServedUserNumberList

-- End of InterrogateServedUserNumbers operation definition

	diversionInformation    OPERATION ::= {
	   ARGUMENT      DiversionInformationArg 
	   RETURN RESULT     FALSE 
	   ALWAYS RESPONDS  FALSE 
	   CODE        local:  12} 

		DiversionInformationArg ::= SEQUENCE {
			diversionReason         DiversionReason,
			basicService            BasicService,
			servedUserSubaddress    PartySubaddress OPTIONAL,
			callingAddress          [0] PresentedAddressScreened OPTIONAL,
			originalCalledNr        [1] PresentedNumberUnscreened OPTIONAL,
			lastDivertingNr         [2] PresentedNumberUnscreened OPTIONAL,
			lastDivertingReason     [3] DiversionReason OPTIONAL,
			userInfo                Q931InformationElement OPTIONAL}

-- The User-user information element, as specified in EN 300 286-1 [19]  clause 7.3.3 , shall be 
--embedded in the userInfo parameter.

-- End of DiversionInformation operation definition

	callDeflection    OPERATION ::= {
	   ARGUMENT      CallDeflectionArg 
	   RETURN RESULT     FALSE 
	   ERRORS {
			notSubscribed |
			notAvailable |
			invalidDivertedToNr |
			specialServiceNr |
			diversionToServedUserNr |
			incomingCallAccepted |
			numberOfDiversionsExceeded |
			supplementaryServiceInteractionNotAllowed |
			requestAlreadyAccepted}
	   CODE        local:  13} 

    CallDeflectionArg ::= SEQUENCE {
        deflectionAddress                   Address,
        presentationAllowedDivertedToUser   PresentationAllowedIndicator
                                            OPTIONAL}

-- End of CallDeflection operation definition

	callRerouteing    OPERATION ::= {
	   ARGUMENT      CallRerouteingArg 
	   RETURN RESULT     FALSE 
	   ALWAYS RESPONDS  FALSE 
       ERRORS {
        notSubscribed |
        notAvailable |
        supplementaryServiceInteractionNotAllowed |
        resourceUnavailable |
        invalidDivertedToNr |
        specialServiceNr |
        diversionToServedUserNr |
        numberOfDiversionsExceeded}
	   CODE        local:  14} 

    CallRerouteingArg ::= SEQUENCE {
        rerouteingReason        DiversionReason,
        calledAddress           Address,
        rerouteingCounter       DiversionCounter,
        q931InfoElement         Q931InformationElement,
        lastRerouteingNr        [1] PresentedNumberUnscreened,
        subscriptionOption      [2] SubscriptionOption
                                    DEFAULT noNotification,
        callingPartySubaddress  [3] PartySubaddress OPTIONAL}

-- The User-user information element (optional), High layer compatibility information element
-- (optional), Bearer capability information element and Low layer compatibility information 
-- element (optional) as specified in EN 300 403-1 [11] clause 4.5 shall be embedded in the 
-- q931InfoElement.


-- End of CallRerouteing operation definition

	divertingLegInformation1    OPERATION ::= {
	   ARGUMENT      DivertingLegInformation1Arg 
	   RETURN RESULT     FALSE 
	   ALWAYS RESPONDS  FALSE 
	   CODE        local:  18} 

	DivertingLegInformation1Arg ::= SEQUENCE {
		diversionReason         DiversionReason,
		subscriptionOption      SubscriptionOption,
		divertedToNumber        PresentedNumberUnscreened OPTIONAL}

-- End of DivertingLegInformation1 operation definition


	divertingLegInformation2    OPERATION ::= {
	   ARGUMENT      DivertingLegInformation2Arg 
	   RETURN RESULT     FALSE 
	   ALWAYS RESPONDS  FALSE 
	   CODE        local:  15} 

    DivertingLegInformation2Arg ::= SEQUENCE {
        diversionCounter        DiversionCounter,
        diversionReason         DiversionReason,
        divertingNr             [1] PresentedNumberUnscreened OPTIONAL,
        originalCalledNr        [2] PresentedNumberUnscreened OPTIONAL}

-- End of DivertingLegInformation2 operation definition
	divertingLegInformation3    OPERATION ::= {
	   ARGUMENT      DivertingLegInformation3Arg 
	   RETURN RESULT     FALSE 
	   ALWAYS RESPONDS  FALSE 
	   CODE        local:  19} 

    DivertingLegInformation3Arg ::=      PresentationAllowedIndicator

-- End of DivertingLegInformation3 operation definition

IntResultList               ::= SET SIZE (0..29) OF IntResult

IntResult                   ::= SEQUENCE   {servedUserNr          ServedUserNr,
                                            basicService          BasicService,
                                            procedure             Procedure,
                                            forwardedToAddress    Address}

ServedUserNr                ::= CHOICE     {individualNumber      PartyNumber,
                                            allNumbers            NULL}

DiversionCounter            ::= INTEGER (1..5)

SubscriptionOption          ::= ENUMERATED {noNotification                    (0),
                                            notificationWithoutDivertedToNr   (1),
                                            notificationWithDivertedToNr      (2)}

Procedure                   ::= ENUMERATED {cfu         (0),
                                            cfb         (1),
                                            cfnr        (2)}

ServedUserNumberList        ::= SET SIZE (0..99) OF PartyNumber

DiversionReason             ::= ENUMERATED {unknown     (0),
                                            cfu         (1),
                                            cfb         (2),
                                            cfnr        (3),
                                            cdAlerting  (4),
                                            cdImmediate (5)}

NoReplyTimer						::= INTEGER (1..180)

InvalidDivertedToNr         ::= ERROR
invalidDivertedToNr  ERROR ::= { CODE  local: 12}

SpecialServiceNr            ::= ERROR
specialServiceNr  ERROR ::= { CODE  local: 14}

DiversionToServedUserNr     ::= ERROR
diversionToServedUserNr  ERROR ::= { CODE  local: 15}

IncomingCallAccepted        ::= ERROR
incomingCallAccepted  ERROR ::= { CODE  local: 23}

NumberOfDiversionsExceeded  ::= ERROR
numberOfDiversionsExceeded  ERROR ::= { CODE  local: 24}

NotActivated                ::= ERROR
notActivated  ERROR ::= { CODE  local: 46}

RequestAlreadyAccepted      ::= ERROR
requestAlreadyAccepted  ERROR ::= { CODE  local: 48}

InvalidNoReplyTimerValue    ::= ERROR
--invalidNoReplyTimerValue  ERROR ::= { CODE  local: xx}

--deactivationDiversion               DeactivationDiversion               ::= localValue  8
--activationStatusNotificationDiv     ActivationStatusNotificationDiv     ::= localValue  9
--deactivationStatusNotificationDiv   DeactivationStatusNotificationDiv   ::= localValue 10
--interrogationDiversion              InterrogationDiversion              ::= localValue 11
--interrogateServedUserNumbers        InterrogateServedUserNumbers        ::= localValue 17
--diversionInformation                DiversionInformation                ::= localValue 12
--callDeflection                      CallDeflection                      ::= localValue 13
--callRerouteing                      CallRerouteing                      ::= localValue 14
--divertingLegInformation1            DivertingLegInformation1            ::= localValue 18
--divertingLegInformation3            DivertingLegInformation3            ::= localValue 19
--divertingLegInformation2            DivertingLegInformation2            ::= localValue 15
--invalidDivertedToNr                 InvalidDivertedToNr                 ::= localValue 12
--specialServiceNr                    SpecialServiceNr                    ::= localValue 14
--diversionToServedUserNr             DiversionToServedUserNr             ::= localValue 15
--incomingCallAccepted                IncomingCallAccepted                ::= localValue 23
--numberOfDiversionsExceeded          NumberOfDiversionsExceeded          ::= localValue 24
--notActivated                        NotActivated                        ::= localValue 46
--requestAlreadyAccepted              RequestAlreadyAccepted              ::= localValue 48

END -- of Diversion-Operations