Move /asn1 to /epan/dissectors
[metze/wireshark/wip.git] / epan / dissectors / asn1 / h450 / Call-Park-Pickup-Operations.asn
1 -- Call-Park-Pickup-Operations.asn
2 --
3 -- Taken from ITU ASN.1 database
4 -- http://www.itu.int/ITU-T/asn1/database/itu-t/h/h450.5/1999/Call-Park-Pickup-Operations.asn
5 --
6
7 -- Module Call-Park-Pickup-Operations (H.450.5:05/1999)
8 Call-Park-Pickup-Operations {itu-t recommendation h 450 5 version1(0)
9   call-park-pickup-operations(0)} DEFINITIONS AUTOMATIC TAGS ::=
10 BEGIN
11
12 IMPORTS
13   OPERATION, ERROR
14     FROM Remote-Operations-Information-Objects {joint-iso-itu-t
15       remote-operations(4) informationObjects(5) version1(0)}
16   EXTENSION, Extension{}
17     FROM Manufacturer-specific-service-extension-definition {itu-t
18       recommendation h 450 1 version1(0) msi-definition(18)}
19   notAvailable, invalidCallState, resourceUnavailable,
20     supplementaryServiceInteractionNotAllowed
21     FROM H4501-General-Error-List {itu-t recommendation h 450 1 version1(0)
22       general-error-list(1)}
23   EndpointAddress
24     FROM Addressing-Data-Elements {itu-t recommendation h 450 1 version1(0)
25       addressing-data-elements(9)}
26   MixedExtension
27     FROM Call-Hold-Operations {itu-t recommendation h 450 4 version1(0)
28       call-hold-operations(0)}
29   NonStandardParameter, CallIdentifier
30     FROM H323-MESSAGES; -- see H.225.0
31
32 CallParkPickupOperations OPERATION ::=
33   {cpRequest | cpSetup | groupIndicationOn | groupIndicationOff | pickrequ |
34    pickup | pickExe | cpNotify | cpickupNotify}
35
36 cpRequest OPERATION ::=
37   { -- sent from parking endpoint to the parked endpoint to invoke SS-PARK
38   ARGUMENT  CpRequestArg
39   RESULT    CpRequestRes
40   ERRORS
41     {notAvailable |
42       
43       -- feature not available in combination with the basic service
44       invalidCallState | -- call park not possible in current call state
45        resourceUnavailable | -- maximum number of parked calls reached
46        supplementaryServiceInteractionNotAllowed |
47       
48       -- other supplementary service prohibits call park invocation
49       undefined -- undefined reason--}
50   CODE      local:106
51 }
52
53 CpRequestArg ::= SEQUENCE {
54   parkingNumber     EndpointAddress,
55   parkedNumber      EndpointAddress,
56   parkedToNumber    EndpointAddress,
57   parkedToPosition  ParkedToPosition OPTIONAL,
58   extensionArg      SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
59   ...
60 }
61
62 CpRequestRes ::= SEQUENCE {
63   parkedToNumber    EndpointAddress,
64   parkedToPosition  ParkedToPosition OPTIONAL,
65   parkCondition     ParkCondition,
66   extensionRes      SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
67   ...
68 }
69
70 cpSetup OPERATION ::= { -- sent from parked endpoint to the parked-to endpoint 
71   ARGUMENT  CpSetupArg
72   RESULT    CpSetupRes
73   ERRORS
74     {notAvailable |
75       
76       -- feature not available in combination with the basic service
77       invalidCallState | -- call park not possible in current call state
78        resourceUnavailable | -- maximum number of parked calls reached
79        supplementaryServiceInteractionNotAllowed |
80       
81       -- other supplementary service prohibits call park invocation
82       undefined -- undefined reason --}
83   CODE      local:107
84 }
85
86 CpSetupArg ::= SEQUENCE {
87   parkingNumber     EndpointAddress,
88   parkedNumber      EndpointAddress,
89   parkedToNumber    EndpointAddress,
90   parkedToPosition  ParkedToPosition OPTIONAL,
91   extensionArg      SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
92   ...
93 }
94
95 CpSetupRes ::= SEQUENCE {
96   parkedToNumber    EndpointAddress,
97   parkedToPosition  ParkedToPosition OPTIONAL,
98   parkCondition     ParkCondition,
99   extensionRes      SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
100   ...
101 }
102
103 groupIndicationOn OPERATION ::=
104   { -- sent from the parked-to endpoint/alerting endpoint to the group members 
105   ARGUMENT  GroupIndicationOnArg
106   RESULT    GroupIndicationOnRes
107   ERRORS    {undefined -- undefined reason--}
108   CODE      local:108
109 }
110
111 GroupIndicationOnArg ::= SEQUENCE {
112   callPickupId       CallIdentifier,
113   -- identification of the call to be retrieved (parked or alerting call);
114   -- its value equals the value of the CallIdentifier as assigned for the parked/
115   -- alerting call within Setup-UUIE
116   groupMemberUserNr  EndpointAddress,
117   retrieveCallType   CallType,
118   partyToRetrieve    EndpointAddress, -- Parked or Calling User 
119   retrieveAddress    EndpointAddress, -- parked-to or alerting entity address
120   
121   -- (may also be a GK, see 9.2)
122   parkPosition       ParkedToPosition OPTIONAL,
123   extensionArg       SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
124   ...
125 }
126
127 GroupIndicationOnRes ::= SEQUENCE {
128   extensionRes  SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
129   ...
130 }
131
132 groupIndicationOff OPERATION ::=
133   { -- sent from the parked-to endpoint/alerting endpoint to the group members 
134   ARGUMENT  GroupIndicationOffArg
135   RESULT    GroupIndicationOffRes
136   ERRORS
137     {invalidCallState | -- group indication is not on
138        undefined -- undefined reason--}
139   CODE      local:109
140 }
141
142 GroupIndicationOffArg ::= SEQUENCE {
143   callPickupId       CallIdentifier,
144   -- identification of the call that has been picked up (parked or alerting call)
145   groupMemberUserNr  EndpointAddress,
146   extensionArg       SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
147   ...
148 }
149
150 GroupIndicationOffRes ::= SEQUENCE {
151   extensionRes  SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
152   ...
153 }
154
155 pickrequ OPERATION ::= { -- sent from the picking-up user to the parked-to/
156   -- alerting endpoint as part of the SS-PICKUP invocation
157   ARGUMENT  PickrequArg
158   RESULT    PickrequRes
159   ERRORS
160     {undefined | -- undefined reason
161       
162       callAlreadyPickedUp -- call has already been picked up by another user --}
163   CODE      local:110
164 }
165
166 PickrequArg ::= SEQUENCE {
167   picking-upNumber  EndpointAddress,
168   callPickupId      CallIdentifier OPTIONAL,
169   -- identification of the call to be picked up (parked or alerting call), if known
170   partyToRetrieve   EndpointAddress OPTIONAL, -- Parked or Calling User
171   retrieveAddress   EndpointAddress, -- parked-to or alerting entity address
172   parkPosition      ParkedToPosition OPTIONAL,
173   extensionArg      SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
174   ...
175 }
176
177 PickrequRes ::= SEQUENCE {
178   callPickupId  CallIdentifier,
179   -- identification of the call that is being picked up (parked or alerting call), 
180   -- if not sent in pickrequ invoke, it is assigned at the parked-to/alerting
181   -- endpoint and reflects the CallIdentification of the parked/alerting call for
182   -- later association with the pickExe invoke APDU. 
183   extensionRes  SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
184   ...
185 }
186
187 pickup OPERATION ::=
188   { -- sent from the parked-to/alerting endpoint to the parked/calling endpoint
189   -- after the picking-up user has invoked SS-PICKUP. The picking-up user may
190   -- be local (i.e. parked-to/alerting endpoint equals picking-up
191   -- endpoint) or may be remote (i.e. picking-up user is located at a
192   -- remote picking-up endpoint having sent pickrequ invoke APDU to the
193   -- parked-to/alerting endpoint). 
194   ARGUMENT  PickupArg
195   RESULT    PickupRes
196   ERRORS
197     {undefined | -- undefined reason
198       
199       callAlreadyPickedUp -- call has already been picked up by another user --}
200   CODE      local:111
201 }
202
203 PickupArg ::= SEQUENCE {
204   callPickupId      CallIdentifier,
205   -- identification of this call to be picked up (parked or alerting call); 
206   -- equals the CallIdentifier value that was assigned to this call in Setup-UUIE
207   picking-upNumber  EndpointAddress,
208   extensionArg      SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
209   ...
210 }
211
212 PickupRes ::= SEQUENCE {
213   extensionRes  SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
214   ...
215 }
216
217 pickExe OPERATION ::=
218   { -- sent from the parked/calling endpoint to the picking-up endpoint
219   ARGUMENT  PickExeArg
220   RESULT    PickExeRes
221   ERRORS
222     {undefined | -- undefined reason
223       
224       callPickupIdInvalid
225       -- value not matching with the previous SS-PICKUP request
226       }
227   CODE      local:112
228 }
229
230 PickExeArg ::= SEQUENCE {
231   callPickupId      CallIdentifier,
232   -- identification of the parked/alerting call to be picked-up; 
233   -- required at picking-up endpoint to associate the SS-PICKUP invoked with this
234   -- incoming setup message carrying the pickExe invoke APDU.
235   picking-upNumber  EndpointAddress,
236   partyToRetrieve   EndpointAddress, -- Parked or Calling User
237   extensionArg      SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
238   ...
239 }
240
241 PickExeRes ::= SEQUENCE {
242   extensionRes  SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
243   ...
244 }
245
246 cpNotify OPERATION ::=
247   { -- sent from the parking-to to parked endpoint in case of local park.
248   ARGUMENT         CpNotifyArg
249   OPTIONAL         TRUE
250   RETURN RESULT    FALSE
251   ALWAYS RESPONDS  FALSE
252   CODE             local:113
253 }
254
255 CpNotifyArg ::= SEQUENCE {
256   parkingNumber  EndpointAddress OPTIONAL,
257   extensionArg   SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
258   ...
259 }
260
261 cpickupNotify OPERATION ::=
262   { -- sent from parked-to to parked endpoint in case of SS-PICKUP from local park
263
264   ARGUMENT         CpickupNotifyArg
265   OPTIONAL         TRUE
266   RETURN RESULT    FALSE
267   ALWAYS RESPONDS  FALSE
268   CODE             local:114
269 }
270
271 CpickupNotifyArg ::= SEQUENCE {
272   picking-upNumber  EndpointAddress OPTIONAL,
273   extensionArg      SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL,
274   ...
275 }
276
277 ParkedToPosition ::= INTEGER(0..65535)
278
279 ParkCondition ::= ENUMERATED {
280   unspecified(0), parkedToUserIdle(1), parkedToUserBusy(2), parkedToGroup(3),
281   ...
282   }
283
284 CallType ::= ENUMERATED {parkedCall(0), alertingCall(1), ...
285                          }
286
287 callPickupIdInvalid ERROR ::= {CODE  local:2000
288 }
289
290 callAlreadyPickedUp ERROR ::= {CODE  local:2001
291 }
292
293 undefined ERROR ::= {
294   PARAMETER  SEQUENCE SIZE (0..255) OF MixedExtension
295   OPTIONAL   TRUE
296   CODE       local:2002
297 }
298
299 END -- of Call-Park-Pickup-Operations
300
301 -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
302