Regenerate a few more of the ASN.1 dissectors
[obnox/wireshark/wip.git] / epan / dissectors / packet-inap.c
1 /* Do not modify this file.                                                   */
2 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
3 /* packet-inap.c                                                              */
4 /* ../../tools/asn2wrs.py -b -e -p inap -c ./inap.cnf -s ./packet-inap-template -D . IN-common-classes.asn IN-SSF-SCF-Classes.asn IN-SCF-SRF-Classes.asn IN-operationcodes.asn IN-object-identifiers.asn IN-common-datatypes.asn IN-SSF-SCF-datatypes.asn IN-SSF-SCF-ops-args.asn IN-SCF-SRF-datatypes.asn IN-SCF-SRF-ops-args.asn IN-errorcodes.asn IN-errortypes.asn ../ros/Remote-Operations-Information-Objects.asn ../ros/Remote-Operations-Generic-ROS-PDUs.asn */
5
6 /* Input file: packet-inap-template.c */
7
8 #line 1 "packet-inap-template.c"
9 /* packet-inap-template.c
10  * Routines for INAP
11  * Copyright 2004, Tim Endean <endeant@hotmail.com>
12  * Built from the gsm-map dissector Copyright 2004, Anders Broman <anders.broman@ericsson.com>
13  *
14  * $Id$
15  * Wireshark - Network traffic analyzer
16  * By Gerald Combs <gerald@wireshark.org>
17  * Copyright 1998 Gerald Combs
18  *
19  * This program is free software; you can redistribute it and/or
20  * modify it under the terms of the GNU General Public License
21  * as published by the Free Software Foundation; either version 2
22  * of the License, or (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with this program; if not, write to the Free Software
31  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
32  * References: ETSI 300 374
33  * ITU Q.1218
34  */
35
36 #ifdef HAVE_CONFIG_H
37 # include "config.h"
38 #endif
39
40 #include <glib.h>
41 #include <epan/packet.h>
42 #include <epan/prefs.h>
43 #include <epan/oids.h>
44 #include <epan/expert.h>
45 #include <epan/asn1.h>
46
47 #include "packet-ber.h"
48 #include "packet-inap.h"
49 #include "packet-q931.h"
50 #include "packet-e164.h"
51 #include "packet-isup.h"
52 #include "packet-tcap.h"
53 #include "packet-dap.h"
54 #include "packet-dsp.h"
55
56 #define PNAME  "Intelligent Network Application Protocol"
57 #define PSNAME "INAP"
58 #define PFNAME "inap"
59
60 /* Initialize the protocol and registered fields */
61 static int proto_inap = -1;
62
63 /* include constants */
64
65 /*--- Included file: packet-inap-val.h ---*/
66 #line 1 "packet-inap-val.h"
67 #define opcode_initialDP               0
68 #define opcode_originationAttemptAuthorized 1
69 #define opcode_collectedInformation    2
70 #define opcode_analysedInformation     3
71 #define opcode_routeSelectFailure      4
72 #define opcode_oCalledPartyBusy        5
73 #define opcode_oNoAnswer               6
74 #define opcode_oAnswer                 7
75 #define opcode_oDisconnect             8
76 #define opcode_termAttemptAuthorized   9
77 #define opcode_tBusy                   10
78 #define opcode_tNoAnswer               11
79 #define opcode_tAnswer                 12
80 #define opcode_tDisconnect             13
81 #define opcode_facilitySelectedAndAvailable 80
82 #define opcode_originationAttempt      81
83 #define opcode_terminationAttempt      82
84 #define opcode_oAbandon                83
85 #define opcode_oMidCall                14
86 #define opcode_tMidCall                15
87 #define opcode_oSuspended              84
88 #define opcode_tSuspended              85
89 #define opcode_assistRequestInstructions 16
90 #define opcode_establishTemporaryConnection 17
91 #define opcode_disconnectForwardConnection 18
92 #define opcode_dFCWithArgument         86
93 #define opcode_connectToResource       19
94 #define opcode_connect                 20
95 #define opcode_holdCallInNetwork       21
96 #define opcode_releaseCall             22
97 #define opcode_requestReportBCSMEvent  23
98 #define opcode_eventReportBCSM         24
99 #define opcode_requestNotificationChargingEvent 25
100 #define opcode_eventNotificationCharging 26
101 #define opcode_collectInformation      27
102 #define opcode_analyseInformation      28
103 #define opcode_selectRoute             29
104 #define opcode_selectFacility          30
105 #define opcode_continue                31
106 #define opcode_authorizeTermination    87
107 #define opcode_initiateCallAttempt     32
108 #define opcode_resetTimer              33
109 #define opcode_furnishChargingInformation 34
110 #define opcode_applyCharging           35
111 #define opcode_applyChargingReport     36
112 #define opcode_requestCurrentStatusReport 37
113 #define opcode_requestEveryStatusChangeReport 38
114 #define opcode_requestFirstStatusMatchReport 39
115 #define opcode_statusReport            40
116 #define opcode_callGap                 41
117 #define opcode_callFiltering           145
118 #define opcode_activateServiceFiltering 42
119 #define opcode_serviceFilteringResponse 43
120 #define opcode_callInformationReport   44
121 #define opcode_callInformationRequest  45
122 #define opcode_sendChargingInformation 46
123 #define opcode_playAnnouncement        47
124 #define opcode_promptAndCollectUserInformation 48
125 #define opcode_specializedResourceReport 49
126 #define opcode_cancel                  53
127 #define opcode_cancelStatusReportRequest 54
128 #define opcode_activityTest            55
129 #define opcode_continueWithArgument    88
130 #define opcode_createCallSegmentAssociation 89
131 #define opcode_disconnectLeg           90
132 #define opcode_mergeCallSegments       91
133 #define opcode_moveCallSegments        92
134 #define opcode_moveLeg                 93
135 #define opcode_reconnect               94
136 #define opcode_splitLeg                95
137 #define opcode_entityReleased          96
138 #define opcode_manageTriggerData       97
139 #define opcode_createOrRemoveTriggerData 135
140 #define opcode_setServiceProfile       136
141 #define opcode_requestReportUTSI       98
142 #define opcode_sendSTUI                100
143 #define opcode_reportUTSI              101
144 #define opcode_sendFacilityInformation 102
145 #define opcode_requestReportFacilityEvent 103
146 #define opcode_eventReportFacility     104
147 #define opcode_monitorRouteRequest     146
148 #define opcode_monitorRouteReport      147
149 #define opcode_promptAndReceiveMessage 107
150 #define opcode_scriptInformation       108
151 #define opcode_scriptEvent             109
152 #define opcode_scriptRun               110
153 #define opcode_scriptClose             111
154 #define opcode_srfCallGap              139
155 #define opcode_establishChargingRecord 112
156 #define opcode_handlingInformationRequest 113
157 #define opcode_handlingInformationResult 114
158 #define opcode_networkCapability       115
159 #define opcode_notificationProvided    116
160 #define opcode_confirmedNotificationProvided 117
161 #define opcode_provideUserInformation  118
162 #define opcode_confirmedReportChargingInformation 119
163 #define opcode_reportChargingInformation 120
164 #define opcode_requestNotification     121
165 #define opcode_runUserScript           140
166 #define opcode_transferSTSI            141
167 #define opcode_announcementCompletionReport 142
168 #define opcode_initiateCallRequest     143
169 #define opcode_provideAnnouncementRequest 144
170 #define opcode_execute                 10
171 #define opcode_trafficFlowControl      138
172 #define opcode_activationReceivedAndAuthorized 122
173 #define opcode_initiateAssociation     123
174 #define opcode_associationReleaseRequested 124
175 #define opcode_componentReceived       125
176 #define opcode_releaseAssociation      126
177 #define opcode_requestReportBCUSMEvent 127
178 #define opcode_sendComponent           130
179 #define opcode_connectAssociation      132
180 #define opcode_continueAssociation     133
181 #define opcode_eventReportBCUSM        134
182 #define opcode_initialAssociationDP    131
183 #define tc_Messages                    "0.0.17.773.2.1.3"
184 #define tc_NotationExtensions          "0.0.17.775.2.4.1"
185 #define ros_InformationObjects         "2.4.5.0"
186 #define ros_genericPDUs                "2.4.6.0"
187 #define ros_UsefulDefinitions          "2.4.7.0"
188 #define sese_APDUs                     "2.20.1.6"
189 #define guls_Notation                  "2.20.1.1"
190 #define guls_SecurityTransformations   "2.20.1.3"
191 #define guls_DirectoryProtectionMappings "2.20.1.4"
192 #define ds_UsefulDefinitions           "2.5.1.0.3"
193 #define spkmGssTokens                  "1.3.6.1.5.5.1.10"
194 #define contexts                       "0.0.17.1218.0.8.1.1"
195 #define id                             "0.0.17.1248"
196 #define modules                        id".1"
197 #define id_ac                          id".3"
198 #define id_at                          id".4"
199 #define id_as                          id".5"
200 #define id_oc                          id".6"
201 #define id_mt                          id".7"
202 #define id_sf                          id".11"
203 #define id_soa                         id".21"
204 #define id_aca                         id".24"
205 #define id_rosObject                   id".25"
206 #define id_contract                    id".26"
207 #define id_package                     id".27"
208 #define id_avc                         id".29"
209 #define object_identifiers             modules".0.0"
210 #define common_datatypes               modules".1.0"
211 #define errortypes                     modules".2.0"
212 #define operationcodes                 modules".3.0"
213 #define errorcodes                     modules".4.0"
214 #define common_classes                 modules".5.0"
215 #define ssf_scf_datatypes              modules".6.0"
216 #define ssf_scf_classes                modules".7.0"
217 #define ssf_scf_Operations             modules".8.0"
218 #define ssf_scf_Protocol               modules".9.0"
219 #define scf_srf_datatypes              modules".10.0"
220 #define scf_srf_classes                modules".11.0"
221 #define scf_srf_Operations             modules".12.0"
222 #define scf_srf_Protocol               modules".13.0"
223 #define scf_sdf_datatypes              modules".14.0"
224 #define scf_sdf_classes                modules".15.0"
225 #define scf_sdf_Operations             modules".16.0"
226 #define scf_sdf_Protocol               modules".17.0"
227 #define sdf_sdf_Operations             modules".18.0"
228 #define sdf_sdf_Protocol               modules".19.0"
229 #define scf_scf_datatypes              modules".20.0"
230 #define scf_scf_classes                modules".21.0"
231 #define scf_scf_Operations             modules".22.0"
232 #define scf_scf_Protocol               modules".23.0"
233 #define scf_cusf_datatypes             modules".24.0"
234 #define scf_cusf_classes               modules".25.0"
235 #define scf_cusf_Operations            modules".26.0"
236 #define scf_cusf_Protocol              modules".27.0"
237 #define scf_sdf_Additional_Definitions modules".28.0"
238 #define id_ac_ssf_scfGenericAC         id_ac".4.0"
239 #define id_ac_ssf_scfDPSpecificAC      id_ac".5.0"
240 #define id_ac_ssf_scfAssistHandoffAC   id_ac".6.0"
241 #define id_ac_ssf_scfServiceManagementAC id_ac".7.0"
242 #define id_ac_scf_ssfGenericAC         id_ac".8.0"
243 #define id_ac_scf_ssfDPSpecificAC      id_ac".9.0"
244 #define id_ac_scf_ssfINTrafficManagementAC id_ac".10.0"
245 #define id_ac_scf_ssfServiceManagementAC id_ac".11.0"
246 #define id_ac_scf_ssfStatusReportingAC id_ac".12.0"
247 #define id_ac_scf_ssfTriggerManagementAC id_ac".13.0"
248 #define id_ac_scf_ssfRouteMonitoringAC id_ac".33.0"
249 #define id_ac_ssf_scfRouteMonitoringAC id_ac".34.0"
250 #define id_ac_scf_ssfTrafficManagementAC id_ac".35.0"
251 #define id_ac_srf_scfAC                id_ac".14.0"
252 #define id_ac_indirectoryAccessAC      id_ac".1.0"
253 #define id_ac_indirectoryAccessWith3seAC id_ac".2.0"
254 #define id_ac_inExtendedDirectoryAccessAC id_ac".3.0"
255 #define id_ac_inExtendedDirectoryAccessWith3seAC id_ac".27.0"
256 #define id_ac_trafficFlowControlAC     id_ac".28.0"
257 #define id_ac_indirectorySystemAC      id_ac".15.0"
258 #define id_ac_inShadowSupplierInitiatedAC id_ac".16.0"
259 #define id_ac_inShadowConsumerInitiatedAC id_ac".17.0"
260 #define id_ac_indirectorySystemWith3seAC id_ac".18.0"
261 #define id_ac_inShadowSupplierInitiatedWith3seAC id_ac".19.0"
262 #define id_ac_inShadowConsumerInitiatedWith3seAC id_ac".20.0"
263 #define id_ac_scfc_scfsOperationsAC    id_ac".21.0"
264 #define id_ac_distributedSCFSystemAC   id_ac".22.0"
265 #define id_ac_scfc_scfsOperationsWith3seAC id_ac".23.0"
266 #define id_ac_distributedSCFSystemWith3seAC id_ac".24.0"
267 #define id_ac_scfs_scfcOperationsAC    id_ac".31.0"
268 #define id_ac_scfs_scfcOperationsWith3seAC id_ac".32.0"
269 #define id_acscfcusfDPSpecific         id_ac".25.0"
270 #define id_accusfscfDPSpecific         id_ac".26.0"
271 #define id_acscfcusfGeneric            id_ac".29.0"
272 #define id_accusfscfGeneric            id_ac".30.0"
273 #define id_at_securityFacilityId       id_at".1"
274 #define id_at_secretKey                id_at".2"
275 #define id_at_identifierList           id_at".3"
276 #define id_at_bindLevelIfOK            id_at".4"
277 #define id_at_lockSession              id_at".5"
278 #define id_at_failureCounter           id_at".6"
279 #define id_at_maxAttempts              id_at".7"
280 #define id_at_currentList              id_at".8"
281 #define id_at_stockId                  id_at".9"
282 #define id_at_source                   id_at".10"
283 #define id_at_sizeOfRestocking         id_at".11"
284 #define id_at_challengeResponse        id_at".12"
285 #define id_as_ssf_scfGenericAS         id_as".4"
286 #define id_as_ssf_scfDpSpecificAS      id_as".5"
287 #define id_as_assistHandoff_ssf_scfAS  id_as".6"
288 #define id_as_scf_ssfGenericAS         id_as".7"
289 #define id_as_scf_ssfDpSpecificAS      id_as".8"
290 #define id_as_scf_ssfINTrafficManagementAS id_as".9"
291 #define id_as_scf_ssfServiceManagementAS id_as".10"
292 #define id_as_ssf_scfServiceManagementAS id_as".11"
293 #define id_as_scf_ssfStatusReportingAS id_as".12"
294 #define id_as_scf_ssfTriggerManagementAS id_as".13"
295 #define id_as_scf_ssfRouteMonitoringAS id_as".31"
296 #define id_as_ssf_scfRouteMonitoringAS id_as".32"
297 #define id_as_scf_ssfTrafficManagementAS id_as".33"
298 #define id_as_basic_srf_scf            id_as".14"
299 #define id_as_basic_scf_srf            id_as".15"
300 #define id_as_indirectoryOperationsAS  id_as".1"
301 #define id_as_indirectoryBindingAS     id_as".2"
302 #define id_as_inExtendedDirectoryOperationsAS id_as".3"
303 #define id_as_inSESEAS                 id_as".25"
304 #define id_as_tfcOperationsAS          id_as".26"
305 #define id_as_tfcBindingAS             id_as".27"
306 #define id_as_indirectorySystemAS      id_as".16"
307 #define id_as_indirectoryDSABindingAS  id_as".17"
308 #define id_as_indirectoryShadowAS      id_as".18"
309 #define id_as_indsaShadowBindingAS     id_as".19"
310 #define id_as_scfc_scfsOperationsAS    id_as".20"
311 #define id_as_distributedSCFSystemAS   id_as".21"
312 #define id_as_scf_scfBindingAS         id_as".22"
313 #define id_as_scfs_scfcOperationsAS    id_as".30"
314 #define id_asscfcusfDPSpecific         id_as".23"
315 #define id_ascusfscfDPSpecific         id_as".24"
316 #define id_asscfcusfGeneric            id_as".28"
317 #define id_ascusfscfGeneric            id_as".29"
318 #define id_oc_securityUserInfo         id_oc".1"
319 #define id_oc_tokensStock              id_oc".2"
320 #define id_mt_verifyCredentials        id_mt".1"
321 #define id_mt_conformCredentials       id_mt".2"
322 #define id_mt_provideTokens            id_mt".3"
323 #define id_mt_fillSecurityTokens       id_mt".4"
324 #define id_sf_pwd                      id_sf".1"
325 #define id_sf_challengeResponse        id_sf".2"
326 #define id_sf_onAirSubscription        id_sf".3"
327 #define id_soa_methodRuleUse           id_soa".1"
328 #define id_aca_prescriptiveACI         id_aca".4"
329 #define id_aca_entryACI                id_aca".5"
330 #define id_aca_subentryACI             id_aca".6"
331 #define id_rosObject_scf               id_rosObject".1"
332 #define id_rosObject_ssf               id_rosObject".2"
333 #define id_rosObject_srf               id_rosObject".3"
334 #define id_rosObject_sdf               id_rosObject".4"
335 #define id_rosObject_cusf              id_rosObject".5"
336 #define id_inSsfToScfGeneric           id_contract".3"
337 #define id_inSsfToScfDpSpecific        id_contract".4"
338 #define id_inAssistHandoffSsfToScf     id_contract".5"
339 #define id_inScfToSsfGeneric           id_contract".6"
340 #define id_inScfToSsfDpSpecific        id_contract".7"
341 #define id_inScfToSsfINTrafficManagement id_contract".8"
342 #define id_inScfToSsfServiceManagement id_contract".9"
343 #define id_inSsfToScfServiceManagement id_contract".10"
344 #define id_inScfToSsfStatusReporting   id_contract".11"
345 #define id_inScfToSsfTriggerManagement id_contract".12"
346 #define id_inScfToSsfRouteMonitoring   id_contract".26"
347 #define id_inSsfToScfRouteMonitoring   id_contract".27"
348 #define id_inScfToSsfTrafficManagement id_contract".28"
349 #define id_contract_srf_scf            id_contract".13"
350 #define id_contract_dap                id_contract".1"
351 #define id_contract_dapExecute         id_contract".2"
352 #define id_contract_tfc                id_contract".22"
353 #define id_contract_indsp              id_contract".14"
354 #define id_contract_shadowConsumer     id_contract".15"
355 #define id_contract_shadowSupplier     id_contract".17"
356 #define id_contract_scfc_scfs          id_contract".18"
357 #define id_contract_dssp               id_contract".19"
358 #define id_contract_scfs_scfc          id_contract".25"
359 #define id_contract_scfcusfDPSpecific  id_contract".20"
360 #define id_contract_cusfscfDPSpecific  id_contract".21"
361 #define id_contract_scfcusfGeneric     id_contract".23"
362 #define id_contract_cusfscfGeneric     id_contract".24"
363 #define id_package_emptyConnection     id_package".60"
364 #define id_package_scfActivation       id_package".11"
365 #define id_package_basicBCPDP          id_package".12"
366 #define id_package_advancedBCPDP       id_package".14"
367 #define id_package_srf_scfActivationOfAssist id_package".15"
368 #define id_package_assistConnectionEstablishment id_package".16"
369 #define id_package_genericDisconnectResource id_package".17"
370 #define id_package_nonAssistedConnectionEstablishment id_package".18"
371 #define id_package_connect             id_package".19"
372 #define id_package_callHandling        id_package".20"
373 #define id_package_bcsmEventHandling   id_package".21"
374 #define id_package_dpSpecificEventHandling id_package".22"
375 #define id_package_chargingEventHandling id_package".23"
376 #define id_package_ssfCallProcessing   id_package".24"
377 #define id_package_scfCallInitiation   id_package".25"
378 #define id_package_timer               id_package".26"
379 #define id_package_billing             id_package".27"
380 #define id_package_charging            id_package".28"
381 #define id_package_iNTrafficManagement id_package".29"
382 #define id_package_serviceManagementActivate id_package".30"
383 #define id_package_serviceManagementResponse id_package".31"
384 #define id_package_callReport          id_package".32"
385 #define id_package_signallingControl   id_package".33"
386 #define id_package_activityTest        id_package".34"
387 #define id_package_statusReporting     id_package".35"
388 #define id_package_cancel              id_package".36"
389 #define id_package_cphResponse         id_package".37"
390 #define id_package_entityReleased      id_package".38"
391 #define id_package_triggerManagement   id_package".39"
392 #define id_package_uSIHandling         id_package".40"
393 #define id_package_facilityIEHandling  id_package".41"
394 #define id_package_triggerCallManagement id_package".63"
395 #define id_package_monitorRoute        id_package".77"
396 #define id_package_trafficManagement   id_package".78"
397 #define id_package_specializedResourceControl id_package".42"
398 #define id_package_srf_scfCancel       id_package".43"
399 #define id_package_messageControl      id_package".44"
400 #define id_package_scriptControl       id_package".45"
401 #define id_package_srfManagement       id_package".66"
402 #define id_package_search              id_package".2"
403 #define id_package_modify              id_package".3"
404 #define id_package_dapConnection       id_package".10"
405 #define id_package_execute             id_package".4"
406 #define id_package_tfcOperations       id_package".64"
407 #define id_package_tfcConnection       id_package".65"
408 #define id_package_dspConnection       id_package".47"
409 #define id_package_inchainedModify     id_package".48"
410 #define id_package_inchainedSearch     id_package".49"
411 #define id_package_chainedExecute      id_package".50"
412 #define id_package_dispConnection      id_package".51"
413 #define id_package_shadowConsumer      id_package".52"
414 #define id_package_shadowSupplier      id_package".53"
415 #define id_package_scf_scfConnection   id_package".46"
416 #define id_package_dsspConnection      id_package".74"
417 #define id_package_handlingInformation id_package".54"
418 #define id_package_notification        id_package".55"
419 #define id_package_chargingInformation id_package".56"
420 #define id_package_userInformation     id_package".57"
421 #define id_package_networkCapability   id_package".58"
422 #define id_package_chainedSCFOperations id_package".59"
423 #define id_package_transferStsi        id_package".75"
424 #define id_package_initiateCall        id_package".76"
425 #define id_package_cusfTDPSpecificInvocation id_package".61"
426 #define id_package_cusfTDPGenericInvocation id_package".62"
427 #define id_package_cusfDPSpecificEventHandling id_package".67"
428 #define id_package_cusfGenericEventHandling id_package".68"
429 #define id_package_cusfComponentHandling id_package".69"
430 #define id_package_cusfSCFInitiation   id_package".70"
431 #define id_package_cusfContinue        id_package".71"
432 #define id_package_cusfConnect         id_package".72"
433 #define id_package_cusfRelease         id_package".73"
434 #define id_avc_assignment              id_avc".1"
435 #define id_avc_basicService            id_avc".2"
436 #define id_avc_lineIdentity            id_avc".3"
437 #define initialCallSegment             1
438 #define leg1                           0x01
439 #define leg2                           0x02
440 #define errcode_canceled               0
441 #define errcode_cancelFailed           1
442 #define errcode_eTCFailed              3
443 #define errcode_improperCallerResponse 4
444 #define errcode_missingCustomerRecord  6
445 #define errcode_missingParameter       7
446 #define errcode_parameterOutOfRange    8
447 #define errcode_requestedInfoError     10
448 #define errcode_systemFailure          11
449 #define errcode_taskRefused            12
450 #define errcode_unavailableResource    13
451 #define errcode_unexpectedComponentSequence 14
452 #define errcode_unexpectedDataValue    15
453 #define errcode_unexpectedParameter    16
454 #define errcode_unknownLegID           17
455 #define errcode_unknownResource        18
456 #define errcode_scfReferral            21
457 #define errcode_scfTaskRefused         22
458 #define errcode_chainingRefused        23
459 #define noInvokeId                     NULL
460
461 /*--- End of included file: packet-inap-val.h ---*/
462 #line 57 "packet-inap-template.c"
463
464
465 /*--- Included file: packet-inap-hf.c ---*/
466 #line 1 "packet-inap-hf.c"
467 static int hf_inap_ActivateServiceFilteringArg_PDU = -1;  /* ActivateServiceFilteringArg */
468 static int hf_inap_AnalysedInformationArg_PDU = -1;  /* AnalysedInformationArg */
469 static int hf_inap_AnalyseInformationArg_PDU = -1;  /* AnalyseInformationArg */
470 static int hf_inap_ApplyChargingArg_PDU = -1;     /* ApplyChargingArg */
471 static int hf_inap_ApplyChargingReportArg_PDU = -1;  /* ApplyChargingReportArg */
472 static int hf_inap_AssistRequestInstructionsArg_PDU = -1;  /* AssistRequestInstructionsArg */
473 static int hf_inap_AuthorizeTerminationArg_PDU = -1;  /* AuthorizeTerminationArg */
474 static int hf_inap_CallFilteringArg_PDU = -1;     /* CallFilteringArg */
475 static int hf_inap_CallGapArg_PDU = -1;           /* CallGapArg */
476 static int hf_inap_CallInformationReportArg_PDU = -1;  /* CallInformationReportArg */
477 static int hf_inap_CallInformationRequestArg_PDU = -1;  /* CallInformationRequestArg */
478 static int hf_inap_CancelArg_PDU = -1;            /* CancelArg */
479 static int hf_inap_CancelStatusReportRequestArg_PDU = -1;  /* CancelStatusReportRequestArg */
480 static int hf_inap_CollectedInformationArg_PDU = -1;  /* CollectedInformationArg */
481 static int hf_inap_CollectInformationArg_PDU = -1;  /* CollectInformationArg */
482 static int hf_inap_ConnectArg_PDU = -1;           /* ConnectArg */
483 static int hf_inap_ConnectToResourceArg_PDU = -1;  /* ConnectToResourceArg */
484 static int hf_inap_ContinueWithArgumentArg_PDU = -1;  /* ContinueWithArgumentArg */
485 static int hf_inap_CreateCallSegmentAssociationArg_PDU = -1;  /* CreateCallSegmentAssociationArg */
486 static int hf_inap_CreateCallSegmentAssociationResultArg_PDU = -1;  /* CreateCallSegmentAssociationResultArg */
487 static int hf_inap_CreateOrRemoveTriggerDataArg_PDU = -1;  /* CreateOrRemoveTriggerDataArg */
488 static int hf_inap_CreateOrRemoveTriggerDataResultArg_PDU = -1;  /* CreateOrRemoveTriggerDataResultArg */
489 static int hf_inap_DisconnectForwardConnectionWithArgumentArg_PDU = -1;  /* DisconnectForwardConnectionWithArgumentArg */
490 static int hf_inap_DisconnectLegArg_PDU = -1;     /* DisconnectLegArg */
491 static int hf_inap_EntityReleasedArg_PDU = -1;    /* EntityReleasedArg */
492 static int hf_inap_EstablishTemporaryConnectionArg_PDU = -1;  /* EstablishTemporaryConnectionArg */
493 static int hf_inap_EventNotificationChargingArg_PDU = -1;  /* EventNotificationChargingArg */
494 static int hf_inap_EventReportBCSMArg_PDU = -1;   /* EventReportBCSMArg */
495 static int hf_inap_EventReportFacilityArg_PDU = -1;  /* EventReportFacilityArg */
496 static int hf_inap_FacilitySelectedAndAvailableArg_PDU = -1;  /* FacilitySelectedAndAvailableArg */
497 static int hf_inap_FurnishChargingInformationArg_PDU = -1;  /* FurnishChargingInformationArg */
498 static int hf_inap_HoldCallInNetworkArg_PDU = -1;  /* HoldCallInNetworkArg */
499 static int hf_inap_InitialDPArg_PDU = -1;         /* InitialDPArg */
500 static int hf_inap_InitiateCallAttemptArg_PDU = -1;  /* InitiateCallAttemptArg */
501 static int hf_inap_ManageTriggerDataArg_PDU = -1;  /* ManageTriggerDataArg */
502 static int hf_inap_ManageTriggerDataResultArg_PDU = -1;  /* ManageTriggerDataResultArg */
503 static int hf_inap_MergeCallSegmentsArg_PDU = -1;  /* MergeCallSegmentsArg */
504 static int hf_inap_MonitorRouteReportArg_PDU = -1;  /* MonitorRouteReportArg */
505 static int hf_inap_MonitorRouteRequestArg_PDU = -1;  /* MonitorRouteRequestArg */
506 static int hf_inap_MoveCallSegmentsArg_PDU = -1;  /* MoveCallSegmentsArg */
507 static int hf_inap_MoveLegArg_PDU = -1;           /* MoveLegArg */
508 static int hf_inap_OAbandonArg_PDU = -1;          /* OAbandonArg */
509 static int hf_inap_OAnswerArg_PDU = -1;           /* OAnswerArg */
510 static int hf_inap_OCalledPartyBusyArg_PDU = -1;  /* OCalledPartyBusyArg */
511 static int hf_inap_ODisconnectArg_PDU = -1;       /* ODisconnectArg */
512 static int hf_inap_MidCallArg_PDU = -1;           /* MidCallArg */
513 static int hf_inap_ONoAnswerArg_PDU = -1;         /* ONoAnswerArg */
514 static int hf_inap_OriginationAttemptArg_PDU = -1;  /* OriginationAttemptArg */
515 static int hf_inap_OriginationAttemptAuthorizedArg_PDU = -1;  /* OriginationAttemptAuthorizedArg */
516 static int hf_inap_OSuspendedArg_PDU = -1;        /* OSuspendedArg */
517 static int hf_inap_ReconnectArg_PDU = -1;         /* ReconnectArg */
518 static int hf_inap_ReleaseCallArg_PDU = -1;       /* ReleaseCallArg */
519 static int hf_inap_ReportUTSIArg_PDU = -1;        /* ReportUTSIArg */
520 static int hf_inap_RequestCurrentStatusReportArg_PDU = -1;  /* RequestCurrentStatusReportArg */
521 static int hf_inap_RequestCurrentStatusReportResultArg_PDU = -1;  /* RequestCurrentStatusReportResultArg */
522 static int hf_inap_RequestEveryStatusChangeReportArg_PDU = -1;  /* RequestEveryStatusChangeReportArg */
523 static int hf_inap_RequestFirstStatusMatchReportArg_PDU = -1;  /* RequestFirstStatusMatchReportArg */
524 static int hf_inap_RequestNotificationChargingEventArg_PDU = -1;  /* RequestNotificationChargingEventArg */
525 static int hf_inap_RequestReportBCSMEventArg_PDU = -1;  /* RequestReportBCSMEventArg */
526 static int hf_inap_RequestReportFacilityEventArg_PDU = -1;  /* RequestReportFacilityEventArg */
527 static int hf_inap_RequestReportUTSIArg_PDU = -1;  /* RequestReportUTSIArg */
528 static int hf_inap_ResetTimerArg_PDU = -1;        /* ResetTimerArg */
529 static int hf_inap_RouteSelectFailureArg_PDU = -1;  /* RouteSelectFailureArg */
530 static int hf_inap_SelectFacilityArg_PDU = -1;    /* SelectFacilityArg */
531 static int hf_inap_SelectRouteArg_PDU = -1;       /* SelectRouteArg */
532 static int hf_inap_SendChargingInformationArg_PDU = -1;  /* SendChargingInformationArg */
533 static int hf_inap_SendFacilityInformationArg_PDU = -1;  /* SendFacilityInformationArg */
534 static int hf_inap_SendSTUIArg_PDU = -1;          /* SendSTUIArg */
535 static int hf_inap_ServiceFilteringResponseArg_PDU = -1;  /* ServiceFilteringResponseArg */
536 static int hf_inap_SetServiceProfileArg_PDU = -1;  /* SetServiceProfileArg */
537 static int hf_inap_SplitLegArg_PDU = -1;          /* SplitLegArg */
538 static int hf_inap_StatusReportArg_PDU = -1;      /* StatusReportArg */
539 static int hf_inap_TAnswerArg_PDU = -1;           /* TAnswerArg */
540 static int hf_inap_TBusyArg_PDU = -1;             /* TBusyArg */
541 static int hf_inap_TDisconnectArg_PDU = -1;       /* TDisconnectArg */
542 static int hf_inap_TermAttemptAuthorizedArg_PDU = -1;  /* TermAttemptAuthorizedArg */
543 static int hf_inap_TerminationAttemptArg_PDU = -1;  /* TerminationAttemptArg */
544 static int hf_inap_TNoAnswerArg_PDU = -1;         /* TNoAnswerArg */
545 static int hf_inap_TSuspendedArg_PDU = -1;        /* TSuspendedArg */
546 static int hf_inap_PlayAnnouncementArg_PDU = -1;  /* PlayAnnouncementArg */
547 static int hf_inap_PromptAndCollectUserInformationArg_PDU = -1;  /* PromptAndCollectUserInformationArg */
548 static int hf_inap_ReceivedInformationArg_PDU = -1;  /* ReceivedInformationArg */
549 static int hf_inap_PromptAndReceiveMessageArg_PDU = -1;  /* PromptAndReceiveMessageArg */
550 static int hf_inap_MessageReceivedArg_PDU = -1;   /* MessageReceivedArg */
551 static int hf_inap_ScriptCloseArg_PDU = -1;       /* ScriptCloseArg */
552 static int hf_inap_ScriptEventArg_PDU = -1;       /* ScriptEventArg */
553 static int hf_inap_ScriptInformationArg_PDU = -1;  /* ScriptInformationArg */
554 static int hf_inap_ScriptRunArg_PDU = -1;         /* ScriptRunArg */
555 static int hf_inap_SpecializedResourceReportArg_PDU = -1;  /* SpecializedResourceReportArg */
556 static int hf_inap_SRFCallGapArg_PDU = -1;        /* SRFCallGapArg */
557 static int hf_inap_PAR_cancelFailed_PDU = -1;     /* PAR_cancelFailed */
558 static int hf_inap_PAR_requestedInfoError_PDU = -1;  /* PAR_requestedInfoError */
559 static int hf_inap_ScfTaskRefusedParameter_PDU = -1;  /* ScfTaskRefusedParameter */
560 static int hf_inap_ReferralParameter_PDU = -1;    /* ReferralParameter */
561 static int hf_inap_UnavailableNetworkResource_PDU = -1;  /* UnavailableNetworkResource */
562 static int hf_inap_PAR_taskRefused_PDU = -1;      /* PAR_taskRefused */
563 static int hf_inap_Extensions_item = -1;          /* ExtensionField */
564 static int hf_inap_type = -1;                     /* Code */
565 static int hf_inap_criticality = -1;              /* CriticalityType */
566 static int hf_inap_value = -1;                    /* T_value */
567 static int hf_inap_AlternativeIdentities_item = -1;  /* AlternativeIdentity */
568 static int hf_inap_url = -1;                      /* IA5String_SIZE_1_512 */
569 static int hf_inap_conferenceTreatmentIndicator = -1;  /* OCTET_STRING_SIZE_1 */
570 static int hf_inap_callCompletionTreatmentIndicator = -1;  /* OCTET_STRING_SIZE_1 */
571 static int hf_inap_holdTreatmentIndicator = -1;   /* OCTET_STRING_SIZE_1 */
572 static int hf_inap_ectTreatmentIndicator = -1;    /* OCTET_STRING_SIZE_1 */
573 static int hf_inap_calledAddressValue = -1;       /* Digits */
574 static int hf_inap_gapOnService = -1;             /* GapOnService */
575 static int hf_inap_gapAllInTraffic = -1;          /* NULL */
576 static int hf_inap_calledAddressAndService = -1;  /* T_calledAddressAndService */
577 static int hf_inap_serviceKey = -1;               /* ServiceKey */
578 static int hf_inap_callingAddressAndService = -1;  /* T_callingAddressAndService */
579 static int hf_inap_callingAddressValue = -1;      /* Digits */
580 static int hf_inap_locationNumber = -1;           /* LocationNumber */
581 static int hf_inap_eventTypeBCSM = -1;            /* EventTypeBCSM */
582 static int hf_inap_monitorMode = -1;              /* MonitorMode */
583 static int hf_inap_legID = -1;                    /* LegID */
584 static int hf_inap_dpSpecificCriteria = -1;       /* DpSpecificCriteria */
585 static int hf_inap_bearerCap = -1;                /* T_bearerCap */
586 static int hf_inap_tmr = -1;                      /* OCTET_STRING_SIZE_1 */
587 static int hf_inap_broadbandBearerCap = -1;       /* OCTET_STRING_SIZE_minBroadbandBearerCapabilityLength_maxBroadbandBearerCapabilityLength */
588 static int hf_inap_aALParameters = -1;            /* AALParameters */
589 static int hf_inap_additionalATMCellRate = -1;    /* AdditionalATMCellRate */
590 static int hf_inap_aESACalledParty = -1;          /* AESACalledParty */
591 static int hf_inap_aESACallingParty = -1;         /* AESACallingParty */
592 static int hf_inap_alternativeATMTrafficDescriptor = -1;  /* AlternativeATMTrafficDescriptor */
593 static int hf_inap_aTMCellRate = -1;              /* ATMCellRate */
594 static int hf_inap_cDVTDescriptor = -1;           /* CDVTDescriptor */
595 static int hf_inap_cumulativeTransitDelay = -1;   /* CumulativeTransitDelay */
596 static int hf_inap_endToEndTransitDelay = -1;     /* EndToEndTransitDelay */
597 static int hf_inap_minAcceptableATMTrafficDescriptor = -1;  /* MinAcceptableATMTrafficDescriptor */
598 static int hf_inap_eventTypeCharging = -1;        /* EventTypeCharging */
599 static int hf_inap_componentInfo = -1;            /* OCTET_STRING_SIZE_1_118 */
600 static int hf_inap_relayedComponent = -1;         /* EMBEDDED_PDV */
601 static int hf_inap_basicGapCriteria = -1;         /* BasicGapCriteria */
602 static int hf_inap_scfID = -1;                    /* ScfID */
603 static int hf_inap_counterID = -1;                /* CounterID */
604 static int hf_inap_counterValue = -1;             /* Integer4 */
605 static int hf_inap_CountersValue_item = -1;       /* CounterAndValue */
606 static int hf_inap_action = -1;                   /* T_action */
607 static int hf_inap_treatment = -1;                /* GapTreatment */
608 static int hf_inap_DestinationRoutingAddress_item = -1;  /* CalledPartyNumber */
609 static int hf_inap_serviceAddressInformation = -1;  /* ServiceAddressInformation */
610 static int hf_inap_bearerCapability = -1;         /* BearerCapability */
611 static int hf_inap_calledPartyNumber = -1;        /* CalledPartyNumber */
612 static int hf_inap_callingPartyNumber = -1;       /* CallingPartyNumber */
613 static int hf_inap_callingPartysCategory = -1;    /* CallingPartysCategory */
614 static int hf_inap_iPSSPCapabilities = -1;        /* IPSSPCapabilities */
615 static int hf_inap_iPAvailable = -1;              /* IPAvailable */
616 static int hf_inap_iSDNAccessRelatedInformation = -1;  /* ISDNAccessRelatedInformation */
617 static int hf_inap_cGEncountered = -1;            /* CGEncountered */
618 static int hf_inap_serviceProfileIdentifier = -1;  /* ServiceProfileIdentifier */
619 static int hf_inap_terminalType = -1;             /* TerminalType */
620 static int hf_inap_extensions = -1;               /* Extensions */
621 static int hf_inap_chargeNumber = -1;             /* ChargeNumber */
622 static int hf_inap_servingAreaID = -1;            /* ServingAreaID */
623 static int hf_inap_serviceInteractionIndicators = -1;  /* ServiceInteractionIndicators */
624 static int hf_inap_iNServiceCompatibilityIndication = -1;  /* INServiceCompatibilityIndication */
625 static int hf_inap_serviceInteractionIndicatorsTwo = -1;  /* ServiceInteractionIndicatorsTwo */
626 static int hf_inap_uSIServiceIndicator = -1;      /* USIServiceIndicator */
627 static int hf_inap_uSIInformation = -1;           /* USIInformation */
628 static int hf_inap_forwardGVNS = -1;              /* ForwardGVNS */
629 static int hf_inap_createdCallSegmentAssociation = -1;  /* CSAID */
630 static int hf_inap_ipRelatedInformation = -1;     /* IPRelatedInformation */
631 static int hf_inap_numberOfDigits = -1;           /* NumberOfDigits */
632 static int hf_inap_applicationTimer = -1;         /* ApplicationTimer */
633 static int hf_inap_midCallControlInfo = -1;       /* MidCallControlInfo */
634 static int hf_inap_numberOfDigitsTwo = -1;        /* T_numberOfDigitsTwo */
635 static int hf_inap_requestedNumberOfDigits = -1;  /* NumberOfDigits */
636 static int hf_inap_minNumberOfDigits = -1;        /* NumberOfDigits */
637 static int hf_inap_agreements = -1;               /* OBJECT_IDENTIFIER */
638 static int hf_inap_networkSpecific = -1;          /* Integer4 */
639 static int hf_inap_collectedInfoSpecificInfo = -1;  /* T_collectedInfoSpecificInfo */
640 static int hf_inap_calledPartynumber = -1;        /* CalledPartyNumber */
641 static int hf_inap_analysedInfoSpecificInfo = -1;  /* T_analysedInfoSpecificInfo */
642 static int hf_inap_routeSelectFailureSpecificInfo = -1;  /* T_routeSelectFailureSpecificInfo */
643 static int hf_inap_failureCause = -1;             /* Cause */
644 static int hf_inap_oCalledPartyBusySpecificInfo = -1;  /* T_oCalledPartyBusySpecificInfo */
645 static int hf_inap_busyCause = -1;                /* Cause */
646 static int hf_inap_oNoAnswerSpecificInfo = -1;    /* T_oNoAnswerSpecificInfo */
647 static int hf_inap_cause = -1;                    /* Cause */
648 static int hf_inap_oAnswerSpecificInfo = -1;      /* T_oAnswerSpecificInfo */
649 static int hf_inap_backwardGVNS = -1;             /* BackwardGVNS */
650 static int hf_inap_oMidCallSpecificInfo = -1;     /* T_oMidCallSpecificInfo */
651 static int hf_inap_connectTime = -1;              /* Integer4 */
652 static int hf_inap_oMidCallInfo = -1;             /* MidCallInfo */
653 static int hf_inap_oDisconnectSpecificInfo = -1;  /* T_oDisconnectSpecificInfo */
654 static int hf_inap_releaseCause = -1;             /* Cause */
655 static int hf_inap_tBusySpecificInfo = -1;        /* T_tBusySpecificInfo */
656 static int hf_inap_tNoAnswerSpecificInfo = -1;    /* T_tNoAnswerSpecificInfo */
657 static int hf_inap_tAnswerSpecificInfo = -1;      /* T_tAnswerSpecificInfo */
658 static int hf_inap_tMidCallSpecificInfo = -1;     /* T_tMidCallSpecificInfo */
659 static int hf_inap_tMidCallInfo = -1;             /* MidCallInfo */
660 static int hf_inap_tDisconnectSpecificInfo = -1;  /* T_tDisconnectSpecificInfo */
661 static int hf_inap_oTermSeizedSpecificInfo = -1;  /* T_oTermSeizedSpecificInfo */
662 static int hf_inap_oSuspend = -1;                 /* T_oSuspend */
663 static int hf_inap_tSuspend = -1;                 /* T_tSuspend */
664 static int hf_inap_origAttemptAuthorized = -1;    /* T_origAttemptAuthorized */
665 static int hf_inap_oReAnswer = -1;                /* T_oReAnswer */
666 static int hf_inap_tReAnswer = -1;                /* T_tReAnswer */
667 static int hf_inap_facilitySelectedAndAvailable = -1;  /* T_facilitySelectedAndAvailable */
668 static int hf_inap_callAccepted = -1;             /* T_callAccepted */
669 static int hf_inap_oAbandon = -1;                 /* T_oAbandon */
670 static int hf_inap_abandonCause = -1;             /* Cause */
671 static int hf_inap_tAbandon = -1;                 /* T_tAbandon */
672 static int hf_inap_authorizeRouteFailure = -1;    /* T_authorizeRouteFailure */
673 static int hf_inap_authoriseRouteFailureCause = -1;  /* Cause */
674 static int hf_inap_terminationAttemptAuthorized = -1;  /* T_terminationAttemptAuthorized */
675 static int hf_inap_originationAttemptDenied = -1;  /* T_originationAttemptDenied */
676 static int hf_inap_originationDeniedCause = -1;   /* Cause */
677 static int hf_inap_terminationAttemptDenied = -1;  /* T_terminationAttemptDenied */
678 static int hf_inap_terminationDeniedCause = -1;   /* Cause */
679 static int hf_inap_oModifyRequestSpecificInfo = -1;  /* T_oModifyRequestSpecificInfo */
680 static int hf_inap_oModifyResultSpecificInfo = -1;  /* T_oModifyResultSpecificInfo */
681 static int hf_inap_modifyResultType = -1;         /* ModifyResultType */
682 static int hf_inap_tModifyRequestSpecificInfo = -1;  /* T_tModifyRequestSpecificInfo */
683 static int hf_inap_tModifyResultSpecificInfo = -1;  /* T_tModifyResultSpecificInfo */
684 static int hf_inap_trunkGroupID = -1;             /* INTEGER */
685 static int hf_inap_privateFacilityID = -1;        /* INTEGER */
686 static int hf_inap_huntGroup = -1;                /* OCTET_STRING */
687 static int hf_inap_routeIndex = -1;               /* OCTET_STRING */
688 static int hf_inap_sFBillingChargingCharacteristics = -1;  /* SFBillingChargingCharacteristics */
689 static int hf_inap_informationToSend = -1;        /* InformationToSend */
690 static int hf_inap_maximumNumberOfCounters = -1;  /* MaximumNumberOfCounters */
691 static int hf_inap_interval = -1;                 /* INTEGER_M1_32000 */
692 static int hf_inap_numberOfCalls = -1;            /* Integer4 */
693 static int hf_inap_dialledNumber = -1;            /* Digits */
694 static int hf_inap_callingLineID = -1;            /* Digits */
695 static int hf_inap_addressAndService = -1;        /* T_addressAndService */
696 static int hf_inap_duration = -1;                 /* Duration */
697 static int hf_inap_stopTime = -1;                 /* DateAndTime */
698 static int hf_inap_callDiversionTreatmentIndicator = -1;  /* OCTET_STRING_SIZE_1 */
699 static int hf_inap_callOfferingTreatmentIndicator = -1;  /* OCTET_STRING_SIZE_1 */
700 static int hf_inap_callWaitingTreatmentIndicator = -1;  /* OCTET_STRING_SIZE_1 */
701 static int hf_inap_compoundCapCriteria = -1;      /* CompoundCriteria */
702 static int hf_inap_dpCriteria = -1;               /* EventTypeBCSM */
703 static int hf_inap_gapInterval = -1;              /* Interval */
704 static int hf_inap_both = -1;                     /* T_both */
705 static int hf_inap_GenericNumbers_item = -1;      /* GenericNumber */
706 static int hf_inap_actionOnProfile = -1;          /* ActionOnProfile */
707 static int hf_inap_tDPIdentifier = -1;            /* TDPIdentifier */
708 static int hf_inap_dPName = -1;                   /* EventTypeBCSM */
709 static int hf_inap_INServiceCompatibilityIndication_item = -1;  /* Entry */
710 static int hf_inap_alternativeCalledPartyIds = -1;  /* AlternativeIdentities */
711 static int hf_inap_alternativeOriginatingPartyIds = -1;  /* AlternativeIdentities */
712 static int hf_inap_alternativeOriginalCalledPartyIds = -1;  /* AlternativeIdentities */
713 static int hf_inap_alternativeRedirectingPartyIds = -1;  /* AlternativeIdentities */
714 static int hf_inap_sendingSideID = -1;            /* LegType */
715 static int hf_inap_receivingSideID = -1;          /* LegType */
716 static int hf_inap_MidCallControlInfo_item = -1;  /* MidCallControlInfo_item */
717 static int hf_inap_midCallInfoType = -1;          /* MidCallInfoType */
718 static int hf_inap_midCallReportType = -1;        /* T_midCallReportType */
719 static int hf_inap_iNServiceControlCode = -1;     /* Digits */
720 static int hf_inap_iNServiceControlCodeLow = -1;  /* Digits */
721 static int hf_inap_iNServiceControlCodeHigh = -1;  /* Digits */
722 static int hf_inap_messageType = -1;              /* T_messageType */
723 static int hf_inap_dpAssignment = -1;             /* T_dpAssignment */
724 static int hf_inap_threshold = -1;                /* Integer4 */
725 static int hf_inap_interval_01 = -1;              /* Interval */
726 static int hf_inap_access = -1;                   /* CalledPartyNumber */
727 static int hf_inap_group = -1;                    /* FacilityGroup */
728 static int hf_inap_RequestedInformationList_item = -1;  /* RequestedInformation */
729 static int hf_inap_RequestedInformationTypeList_item = -1;  /* RequestedInformationType */
730 static int hf_inap_requestedInformationType = -1;  /* RequestedInformationType */
731 static int hf_inap_requestedInformationValue = -1;  /* RequestedInformationValue */
732 static int hf_inap_callAttemptElapsedTimeValue = -1;  /* INTEGER_0_255 */
733 static int hf_inap_callStopTimeValue = -1;        /* DateAndTime */
734 static int hf_inap_callConnectedElapsedTimeValue = -1;  /* Integer4 */
735 static int hf_inap_releaseCauseValue = -1;        /* Cause */
736 static int hf_inap_uSImonitorMode = -1;           /* USIMonitorMode */
737 static int hf_inap_RequestedUTSIList_item = -1;   /* RequestedUTSI */
738 static int hf_inap_lineID = -1;                   /* Digits */
739 static int hf_inap_facilityGroupID = -1;          /* FacilityGroup */
740 static int hf_inap_facilityGroupMemberID = -1;    /* INTEGER */
741 static int hf_inap_RouteCountersValue_item = -1;  /* RouteCountersAndValue */
742 static int hf_inap_route = -1;                    /* Route */
743 static int hf_inap_RouteList_item = -1;           /* Route */
744 static int hf_inap_miscCallInfo = -1;             /* MiscCallInfo */
745 static int hf_inap_triggerType = -1;              /* TriggerType */
746 static int hf_inap_forwardServiceInteractionInd = -1;  /* ForwardServiceInteractionInd */
747 static int hf_inap_backwardServiceInteractionInd = -1;  /* BackwardServiceInteractionInd */
748 static int hf_inap_bothwayThroughConnectionInd = -1;  /* BothwayThroughConnectionInd */
749 static int hf_inap_suspendTimer = -1;             /* SuspendTimer */
750 static int hf_inap_connectedNumberTreatmentInd = -1;  /* ConnectedNumberTreatmentInd */
751 static int hf_inap_suppressCallDiversionNotification = -1;  /* BOOLEAN */
752 static int hf_inap_suppressCallTransferNotification = -1;  /* BOOLEAN */
753 static int hf_inap_allowCdINNoPresentationInd = -1;  /* BOOLEAN */
754 static int hf_inap_userDialogueDurationInd = -1;  /* BOOLEAN */
755 static int hf_inap_overrideLineRestrictions = -1;  /* BOOLEAN */
756 static int hf_inap_suppressVPNAPP = -1;           /* BOOLEAN */
757 static int hf_inap_calledINNumberOverriding = -1;  /* BOOLEAN */
758 static int hf_inap_redirectServiceTreatmentInd = -1;  /* T_redirectServiceTreatmentInd */
759 static int hf_inap_redirectReason = -1;           /* RedirectReason */
760 static int hf_inap_nonCUGCall = -1;               /* NULL */
761 static int hf_inap_oneTrigger = -1;               /* INTEGER */
762 static int hf_inap_triggers = -1;                 /* Triggers */
763 static int hf_inap_triggerId = -1;                /* T_triggerId */
764 static int hf_inap_triggerPar = -1;               /* T_triggerPar */
765 static int hf_inap_triggerID = -1;                /* EventTypeBCSM */
766 static int hf_inap_profile = -1;                  /* ProfileIdentifier */
767 static int hf_inap_TriggerResults_item = -1;      /* TriggerResult */
768 static int hf_inap_tDPIdentifer = -1;             /* INTEGER */
769 static int hf_inap_actionPerformed = -1;          /* ActionPerformed */
770 static int hf_inap_Triggers_item = -1;            /* Trigger */
771 static int hf_inap_tDPIdentifier_01 = -1;         /* INTEGER */
772 static int hf_inap_dpName = -1;                   /* EventTypeBCSM */
773 static int hf_inap_global = -1;                   /* OBJECT_IDENTIFIER */
774 static int hf_inap_local = -1;                    /* OCTET_STRING_SIZE_minUSIServiceIndicatorLength_maxUSIServiceIndicatorLength */
775 static int hf_inap_filteredCallTreatment = -1;    /* FilteredCallTreatment */
776 static int hf_inap_filteringCharacteristics = -1;  /* FilteringCharacteristics */
777 static int hf_inap_filteringTimeOut = -1;         /* FilteringTimeOut */
778 static int hf_inap_filteringCriteria = -1;        /* FilteringCriteria */
779 static int hf_inap_startTime = -1;                /* DateAndTime */
780 static int hf_inap_dpSpecificCommonParameters = -1;  /* DpSpecificCommonParameters */
781 static int hf_inap_dialledDigits = -1;            /* CalledPartyNumber */
782 static int hf_inap_callingPartyBusinessGroupID = -1;  /* CallingPartyBusinessGroupID */
783 static int hf_inap_callingPartySubaddress = -1;   /* CallingPartySubaddress */
784 static int hf_inap_callingFacilityGroup = -1;     /* FacilityGroup */
785 static int hf_inap_callingFacilityGroupMember = -1;  /* FacilityGroupMember */
786 static int hf_inap_originalCalledPartyID = -1;    /* OriginalCalledPartyID */
787 static int hf_inap_prefix = -1;                   /* Digits */
788 static int hf_inap_redirectingPartyID = -1;       /* RedirectingPartyID */
789 static int hf_inap_redirectionInformation = -1;   /* RedirectionInformation */
790 static int hf_inap_routeList = -1;                /* RouteList */
791 static int hf_inap_travellingClassMark = -1;      /* TravellingClassMark */
792 static int hf_inap_featureCode = -1;              /* FeatureCode */
793 static int hf_inap_accessCode = -1;               /* AccessCode */
794 static int hf_inap_carrier = -1;                  /* Carrier */
795 static int hf_inap_componentType = -1;            /* ComponentType */
796 static int hf_inap_component = -1;                /* Component */
797 static int hf_inap_componentCorrelationID = -1;   /* ComponentCorrelationID */
798 static int hf_inap_destinationRoutingAddress = -1;  /* DestinationRoutingAddress */
799 static int hf_inap_alertingPattern = -1;          /* AlertingPattern */
800 static int hf_inap_iNServiceCompatibilityResponse = -1;  /* INServiceCompatibilityResponse */
801 static int hf_inap_correlationID = -1;            /* CorrelationID */
802 static int hf_inap_callSegmentID = -1;            /* CallSegmentID */
803 static int hf_inap_legToBeCreated = -1;           /* LegID */
804 static int hf_inap_aChBillingChargingCharacteristics = -1;  /* AChBillingChargingCharacteristics */
805 static int hf_inap_partyToCharge = -1;            /* LegID */
806 static int hf_inap_releaseIndication = -1;        /* BOOLEAN */
807 static int hf_inap_destinationNumberRoutingAddress = -1;  /* CalledPartyNumber */
808 static int hf_inap_displayInformation = -1;       /* DisplayInformation */
809 static int hf_inap_destinationIndex = -1;         /* DestinationIndex */
810 static int hf_inap_gapIndicators = -1;            /* GapIndicators */
811 static int hf_inap_registratorIdentifier = -1;    /* RegistratorIdentifier */
812 static int hf_inap_gapCriteria = -1;              /* GapCriteria */
813 static int hf_inap_controlType = -1;              /* ControlType */
814 static int hf_inap_gapTreatment = -1;             /* GapTreatment */
815 static int hf_inap_requestedInformationList = -1;  /* RequestedInformationList */
816 static int hf_inap_lastEventIndicator = -1;       /* BOOLEAN */
817 static int hf_inap_requestedInformationTypeList = -1;  /* RequestedInformationTypeList */
818 static int hf_inap_invokeID = -1;                 /* InvokeID */
819 static int hf_inap_allRequests = -1;              /* NULL */
820 static int hf_inap_callSegmentToCancel = -1;      /* T_callSegmentToCancel */
821 static int hf_inap_allRequestsForCallSegment = -1;  /* CallSegmentID */
822 static int hf_inap_resourceID = -1;               /* ResourceID */
823 static int hf_inap_numberingPlan = -1;            /* NumberingPlan */
824 static int hf_inap_cutAndPaste = -1;              /* CutAndPaste */
825 static int hf_inap_forwardingCondition = -1;      /* ForwardingCondition */
826 static int hf_inap_forwardCallIndicators = -1;    /* ForwardCallIndicators */
827 static int hf_inap_genericNumbers = -1;           /* GenericNumbers */
828 static int hf_inap_sDSSinformation = -1;          /* SDSSinformation */
829 static int hf_inap_calledDirectoryNumber = -1;    /* CalledDirectoryNumber */
830 static int hf_inap_calledPartySubaddress = -1;    /* CalledPartySubaddress */
831 static int hf_inap_connectionIdentifier = -1;     /* ConnectionIdentifier */
832 static int hf_inap_genericIdentifier = -1;        /* GenericIdentifier */
833 static int hf_inap_qOSParameter = -1;             /* QoSParameter */
834 static int hf_inap_bISDNParameters = -1;          /* BISDNParameters */
835 static int hf_inap_cug_Interlock = -1;            /* CUG_Interlock */
836 static int hf_inap_cug_OutgoingAccess = -1;       /* NULL */
837 static int hf_inap_resourceAddress = -1;          /* T_resourceAddress */
838 static int hf_inap_ipRoutingAddress = -1;         /* IPRoutingAddress */
839 static int hf_inap_ipAddressAndLegID = -1;        /* T_ipAddressAndLegID */
840 static int hf_inap_none = -1;                     /* NULL */
841 static int hf_inap_ipAddressAndCallSegment = -1;  /* T_ipAddressAndCallSegment */
842 static int hf_inap_legorCSID = -1;                /* T_legorCSID */
843 static int hf_inap_csID = -1;                     /* CallSegmentID */
844 static int hf_inap_genericName = -1;              /* GenericName */
845 static int hf_inap_ipRelationInformation = -1;    /* IPRelatedInformation */
846 static int hf_inap_newCallSegmentAssociation = -1;  /* CSAID */
847 static int hf_inap_createOrRemove = -1;           /* CreateOrRemoveIndicator */
848 static int hf_inap_triggerDPType = -1;            /* TriggerDPType */
849 static int hf_inap_triggerData = -1;              /* TriggerData */
850 static int hf_inap_defaultFaultHandling = -1;     /* DefaultFaultHandling */
851 static int hf_inap_triggerStatus = -1;            /* TriggerStatus */
852 static int hf_inap_partyToDisconnect = -1;        /* T_partyToDisconnect */
853 static int hf_inap_legToBeReleased = -1;          /* LegID */
854 static int hf_inap_cSFailure = -1;                /* T_cSFailure */
855 static int hf_inap_reason = -1;                   /* Reason */
856 static int hf_inap_bCSMFailure = -1;              /* T_bCSMFailure */
857 static int hf_inap_assistingSSPIPRoutingAddress = -1;  /* AssistingSSPIPRoutingAddress */
858 static int hf_inap_partyToConnect = -1;           /* T_partyToConnect */
859 static int hf_inap_eventSpecificInformationCharging = -1;  /* EventSpecificInformationCharging */
860 static int hf_inap_bcsmEventCorrelationID = -1;   /* CorrelationID */
861 static int hf_inap_eventSpecificInformationBCSM = -1;  /* EventSpecificInformationBCSM */
862 static int hf_inap_calledPartyBusinessGroupID = -1;  /* CalledPartyBusinessGroupID */
863 static int hf_inap_holdcause = -1;                /* HoldCause */
864 static int hf_inap_empty = -1;                    /* NULL */
865 static int hf_inap_highLayerCompatibility = -1;   /* HighLayerCompatibility */
866 static int hf_inap_additionalCallingPartyNumber = -1;  /* AdditionalCallingPartyNumber */
867 static int hf_inap_cCSS = -1;                     /* CCSS */
868 static int hf_inap_vPNIndicator = -1;             /* VPNIndicator */
869 static int hf_inap_cNInfo = -1;                   /* CNInfo */
870 static int hf_inap_callReference = -1;            /* CallReference */
871 static int hf_inap_routeingNumber = -1;           /* RouteingNumber */
872 static int hf_inap_callingGeodeticLocation = -1;  /* CallingGeodeticLocation */
873 static int hf_inap_globalCallReference = -1;      /* GlobalCallReference */
874 static int hf_inap_cug_Index = -1;                /* CUG_Index */
875 static int hf_inap_newCallSegment = -1;           /* CallSegmentID */
876 static int hf_inap_incomingSignallingBufferCopy = -1;  /* BOOLEAN */
877 static int hf_inap_actionIndicator = -1;          /* ActionIndicator */
878 static int hf_inap_triggerDataIdentifier = -1;    /* T_triggerDataIdentifier */
879 static int hf_inap_profileAndDP = -1;             /* TriggerDataIdentifier */
880 static int hf_inap_oneTriggerResult = -1;         /* T_oneTriggerResult */
881 static int hf_inap_severalTriggerResult = -1;     /* T_severalTriggerResult */
882 static int hf_inap_results = -1;                  /* TriggerResults */
883 static int hf_inap_sourceCallSegment = -1;        /* CallSegmentID */
884 static int hf_inap_targetCallSegment = -1;        /* CallSegmentID */
885 static int hf_inap_mergeSignallingPaths = -1;     /* NULL */
886 static int hf_inap_routeCounters = -1;            /* RouteCountersValue */
887 static int hf_inap_monitoringCriteria = -1;       /* MonitoringCriteria */
888 static int hf_inap_monitoringTimeout = -1;        /* MonitoringTimeOut */
889 static int hf_inap_targetCallSegmentAssociation = -1;  /* CSAID */
890 static int hf_inap_callSegments = -1;             /* T_callSegments */
891 static int hf_inap_callSegments_item = -1;        /* T_callSegments_item */
892 static int hf_inap_legs = -1;                     /* T_legs */
893 static int hf_inap_legs_item = -1;                /* T_legs_item */
894 static int hf_inap_sourceLeg = -1;                /* LegID */
895 static int hf_inap_newLeg = -1;                   /* LegID */
896 static int hf_inap_legIDToMove = -1;              /* LegID */
897 static int hf_inap_detachSignallingPath = -1;     /* NULL */
898 static int hf_inap_exportSignallingPath = -1;     /* NULL */
899 static int hf_inap_featureRequestIndicator = -1;  /* FeatureRequestIndicator */
900 static int hf_inap_componenttCorrelationID = -1;  /* ComponentCorrelationID */
901 static int hf_inap_notificationDuration = -1;     /* ApplicationTimer */
902 static int hf_inap_initialCallSegment = -1;       /* Cause */
903 static int hf_inap_callSegmentToRelease = -1;     /* T_callSegmentToRelease */
904 static int hf_inap_callSegment = -1;              /* INTEGER_1_numOfCSs */
905 static int hf_inap_forcedRelease = -1;            /* BOOLEAN */
906 static int hf_inap_allCallSegments = -1;          /* T_allCallSegments */
907 static int hf_inap_timeToRelease = -1;            /* TimerValue */
908 static int hf_inap_resourceStatus = -1;           /* ResourceStatus */
909 static int hf_inap_monitorDuration = -1;          /* Duration */
910 static int hf_inap_RequestNotificationChargingEventArg_item = -1;  /* ChargingEvent */
911 static int hf_inap_bcsmEvents = -1;               /* SEQUENCE_SIZE_1_numOfBCSMEvents_OF_BCSMEvent */
912 static int hf_inap_bcsmEvents_item = -1;          /* BCSMEvent */
913 static int hf_inap_componentTypes = -1;           /* SEQUENCE_SIZE_1_3_OF_ComponentType */
914 static int hf_inap_componentTypes_item = -1;      /* ComponentType */
915 static int hf_inap_requestedUTSIList = -1;        /* RequestedUTSIList */
916 static int hf_inap_timerID = -1;                  /* TimerID */
917 static int hf_inap_timervalue = -1;               /* TimerValue */
918 static int hf_inap_calledFacilityGroup = -1;      /* FacilityGroup */
919 static int hf_inap_calledFacilityGroupMember = -1;  /* FacilityGroupMember */
920 static int hf_inap_sCIBillingChargingCharacteristics = -1;  /* SCIBillingChargingCharacteristics */
921 static int hf_inap_nocharge = -1;                 /* BOOLEAN */
922 static int hf_inap_callProcessingOperation = -1;  /* CallProcessingOperation */
923 static int hf_inap_countersValue = -1;            /* CountersValue */
924 static int hf_inap_responseCondition = -1;        /* ResponseCondition */
925 static int hf_inap_iNprofiles = -1;               /* SEQUENCE_SIZE_1_numOfINProfile_OF_INprofile */
926 static int hf_inap_iNprofiles_item = -1;          /* INprofile */
927 static int hf_inap_legToBeSplit = -1;             /* LegID */
928 static int hf_inap_newCallSegment_01 = -1;        /* INTEGER_2_numOfCSs */
929 static int hf_inap_reportCondition = -1;          /* ReportCondition */
930 static int hf_inap_minimumNbOfDigits = -1;        /* INTEGER_1_127 */
931 static int hf_inap_maximumNbOfDigits = -1;        /* INTEGER_1_127 */
932 static int hf_inap_endOfReplyDigit = -1;          /* OCTET_STRING_SIZE_1_2 */
933 static int hf_inap_cancelDigit = -1;              /* OCTET_STRING_SIZE_1_2 */
934 static int hf_inap_startDigit = -1;               /* OCTET_STRING_SIZE_1_2 */
935 static int hf_inap_firstDigitTimeOut = -1;        /* INTEGER_1_127 */
936 static int hf_inap_interDigitTimeOut = -1;        /* INTEGER_1_127 */
937 static int hf_inap_errorTreatment = -1;           /* ErrorTreatment */
938 static int hf_inap_interruptableAnnInd = -1;      /* BOOLEAN */
939 static int hf_inap_voiceInformation = -1;         /* BOOLEAN */
940 static int hf_inap_voiceBack = -1;                /* BOOLEAN */
941 static int hf_inap_detectModem = -1;              /* BOOLEAN */
942 static int hf_inap_collectedDigits = -1;          /* CollectedDigits */
943 static int hf_inap_iA5Information = -1;           /* BOOLEAN */
944 static int hf_inap_messageID = -1;                /* MessageID */
945 static int hf_inap_numberOfRepetitions = -1;      /* INTEGER_1_127 */
946 static int hf_inap_duration_01 = -1;              /* INTEGER_0_32767 */
947 static int hf_inap_interval_02 = -1;              /* INTEGER_0_32767 */
948 static int hf_inap_preferredLanguage = -1;        /* Language */
949 static int hf_inap_messageID_01 = -1;             /* ElementaryMessageID */
950 static int hf_inap_messageDeletionTimeOut = -1;   /* INTEGER_1_3600 */
951 static int hf_inap_timeToRecord = -1;             /* INTEGER_0_b3__maxRecordingTime */
952 static int hf_inap_controlDigits = -1;            /* T_controlDigits */
953 static int hf_inap_endOfRecordingDigit = -1;      /* OCTET_STRING_SIZE_1_2 */
954 static int hf_inap_replayDigit = -1;              /* OCTET_STRING_SIZE_1_2 */
955 static int hf_inap_restartRecordingDigit = -1;    /* OCTET_STRING_SIZE_1_2 */
956 static int hf_inap_restartAllowed = -1;           /* BOOLEAN */
957 static int hf_inap_replayAllowed = -1;            /* BOOLEAN */
958 static int hf_inap_inbandInfo = -1;               /* InbandInfo */
959 static int hf_inap_tone = -1;                     /* Tone */
960 static int hf_inap_elementaryMessageID = -1;      /* Integer4 */
961 static int hf_inap_text = -1;                     /* T_text */
962 static int hf_inap_messageContent = -1;           /* IA5String_SIZE_b3__minMessageContentLength_b3__maxMessageContentLength */
963 static int hf_inap_attributes = -1;               /* OCTET_STRING_SIZE_b3__minAttributesLength_b3__maxAttributesLength */
964 static int hf_inap_elementaryMessageIDs = -1;     /* SEQUENCE_SIZE_1_b3__numOfMessageIDs_OF_Integer4 */
965 static int hf_inap_elementaryMessageIDs_item = -1;  /* Integer4 */
966 static int hf_inap_variableMessage = -1;          /* T_variableMessage */
967 static int hf_inap_variableParts = -1;            /* SEQUENCE_SIZE_1_b3__maxVariableParts_OF_VariablePart */
968 static int hf_inap_variableParts_item = -1;       /* VariablePart */
969 static int hf_inap_iPAddressValue = -1;           /* Digits */
970 static int hf_inap_gapOnResource = -1;            /* GapOnResource */
971 static int hf_inap_iPAddressAndresource = -1;     /* T_iPAddressAndresource */
972 static int hf_inap_toneID = -1;                   /* Integer4 */
973 static int hf_inap_duration_02 = -1;              /* Integer4 */
974 static int hf_inap_integer = -1;                  /* Integer4 */
975 static int hf_inap_number = -1;                   /* Digits */
976 static int hf_inap_time = -1;                     /* OCTET_STRING_SIZE_2 */
977 static int hf_inap_date = -1;                     /* OCTET_STRING_SIZE_3 */
978 static int hf_inap_price = -1;                    /* OCTET_STRING_SIZE_4 */
979 static int hf_inap_disconnectFromIPForbidden = -1;  /* BOOLEAN */
980 static int hf_inap_requestAnnouncementComplete = -1;  /* BOOLEAN */
981 static int hf_inap_connectedParty = -1;           /* T_connectedParty */
982 static int hf_inap_collectedInfo = -1;            /* CollectedInfo */
983 static int hf_inap_digitsResponse = -1;           /* Digits */
984 static int hf_inap_iA5Response = -1;              /* IA5String */
985 static int hf_inap_modemdetected = -1;            /* BOOLEAN */
986 static int hf_inap_subscriberID = -1;             /* GenericNumber */
987 static int hf_inap_mailBoxID = -1;                /* MailBoxID */
988 static int hf_inap_informationToRecord = -1;      /* InformationToRecord */
989 static int hf_inap_media = -1;                    /* Media */
990 static int hf_inap_receivedStatus = -1;           /* ReceivedStatus */
991 static int hf_inap_recordedMessageID = -1;        /* RecordedMessageID */
992 static int hf_inap_recordedMessageUnits = -1;     /* INTEGER_1_b3__maxRecordedMessageUnits */
993 static int hf_inap_uIScriptId = -1;               /* Code */
994 static int hf_inap_uIScriptSpecificInfo = -1;     /* T_uIScriptSpecificInfo */
995 static int hf_inap_uIScriptResult = -1;           /* T_uIScriptResult */
996 static int hf_inap_uIScriptSpecificInfo_01 = -1;  /* T_uIScriptSpecificInfo_01 */
997 static int hf_inap_uIScriptSpecificInfo_02 = -1;  /* T_uIScriptSpecificInfo_02 */
998 static int hf_inap_sRFgapCriteria = -1;           /* SRFGapCriteria */
999 static int hf_inap_problem = -1;                  /* T_problem */
1000 static int hf_inap_operation = -1;                /* InvokeID */
1001 static int hf_inap_reason_01 = -1;                /* T_reason */
1002 static int hf_inap_securityParameters = -1;       /* SecurityParameters */
1003 static int hf_inap_tryhere = -1;                  /* AccessPointInformation */
1004 static int hf_inap_local_01 = -1;                 /* T_local */
1005 static int hf_inap_invoke = -1;                   /* Invoke */
1006 static int hf_inap_returnResult = -1;             /* ReturnResult */
1007 static int hf_inap_returnError = -1;              /* ReturnError */
1008 static int hf_inap_reject = -1;                   /* Reject */
1009 static int hf_inap_invokeId = -1;                 /* InvokeId */
1010 static int hf_inap_linkedId = -1;                 /* T_linkedId */
1011 static int hf_inap_linkedIdPresent = -1;          /* T_linkedIdPresent */
1012 static int hf_inap_absent = -1;                   /* NULL */
1013 static int hf_inap_opcode = -1;                   /* Code */
1014 static int hf_inap_argument = -1;                 /* T_argument */
1015 static int hf_inap_result = -1;                   /* T_result */
1016 static int hf_inap_resultArgument = -1;           /* ResultArgument */
1017 static int hf_inap_errcode = -1;                  /* Code */
1018 static int hf_inap_parameter = -1;                /* T_parameter */
1019 static int hf_inap_problem_01 = -1;               /* T_problem_01 */
1020 static int hf_inap_general = -1;                  /* GeneralProblem */
1021 static int hf_inap_invokeProblem = -1;            /* InvokeProblem */
1022 static int hf_inap_problemReturnResult = -1;      /* ReturnResultProblem */
1023 static int hf_inap_returnErrorProblem = -1;       /* ReturnErrorProblem */
1024 static int hf_inap_present = -1;                  /* INTEGER */
1025 static int hf_inap_InvokeId_present = -1;         /* InvokeId_present */
1026
1027 /*--- End of included file: packet-inap-hf.c ---*/
1028 #line 59 "packet-inap-template.c"
1029
1030 #define MAX_SSN 254
1031 static range_t *global_ssn_range;
1032
1033 static dissector_handle_t       inap_handle;
1034
1035 /* Global variables */
1036 static guint32 opcode=0;
1037 static guint32 errorCode=0;
1038
1039 static int inap_opcode_type;
1040 #define INAP_OPCODE_INVOKE        1
1041 #define INAP_OPCODE_RETURN_RESULT 2
1042 #define INAP_OPCODE_RETURN_ERROR  3
1043 #define INAP_OPCODE_REJECT        4
1044
1045 /* Initialize the subtree pointers */
1046 static gint ett_inap = -1;
1047 static gint ett_inapisup_parameter = -1;
1048 static gint ett_inap_HighLayerCompatibility = -1;
1049
1050 /*--- Included file: packet-inap-ett.c ---*/
1051 #line 1 "packet-inap-ett.c"
1052 static gint ett_inap_Extensions = -1;
1053 static gint ett_inap_ExtensionField = -1;
1054 static gint ett_inap_AlternativeIdentities = -1;
1055 static gint ett_inap_AlternativeIdentity = -1;
1056 static gint ett_inap_BackwardServiceInteractionInd = -1;
1057 static gint ett_inap_BasicGapCriteria = -1;
1058 static gint ett_inap_T_calledAddressAndService = -1;
1059 static gint ett_inap_T_callingAddressAndService = -1;
1060 static gint ett_inap_BCSMEvent = -1;
1061 static gint ett_inap_BearerCapability = -1;
1062 static gint ett_inap_BISDNParameters = -1;
1063 static gint ett_inap_ChargingEvent = -1;
1064 static gint ett_inap_Component = -1;
1065 static gint ett_inap_CompoundCriteria = -1;
1066 static gint ett_inap_CounterAndValue = -1;
1067 static gint ett_inap_CountersValue = -1;
1068 static gint ett_inap_DefaultFaultHandling = -1;
1069 static gint ett_inap_DestinationRoutingAddress = -1;
1070 static gint ett_inap_DpSpecificCommonParameters = -1;
1071 static gint ett_inap_DpSpecificCriteria = -1;
1072 static gint ett_inap_T_numberOfDigitsTwo = -1;
1073 static gint ett_inap_Entry = -1;
1074 static gint ett_inap_EventSpecificInformationBCSM = -1;
1075 static gint ett_inap_T_collectedInfoSpecificInfo = -1;
1076 static gint ett_inap_T_analysedInfoSpecificInfo = -1;
1077 static gint ett_inap_T_routeSelectFailureSpecificInfo = -1;
1078 static gint ett_inap_T_oCalledPartyBusySpecificInfo = -1;
1079 static gint ett_inap_T_oNoAnswerSpecificInfo = -1;
1080 static gint ett_inap_T_oAnswerSpecificInfo = -1;
1081 static gint ett_inap_T_oMidCallSpecificInfo = -1;
1082 static gint ett_inap_T_oDisconnectSpecificInfo = -1;
1083 static gint ett_inap_T_tBusySpecificInfo = -1;
1084 static gint ett_inap_T_tNoAnswerSpecificInfo = -1;
1085 static gint ett_inap_T_tAnswerSpecificInfo = -1;
1086 static gint ett_inap_T_tMidCallSpecificInfo = -1;
1087 static gint ett_inap_T_tDisconnectSpecificInfo = -1;
1088 static gint ett_inap_T_oTermSeizedSpecificInfo = -1;
1089 static gint ett_inap_T_oSuspend = -1;
1090 static gint ett_inap_T_tSuspend = -1;
1091 static gint ett_inap_T_origAttemptAuthorized = -1;
1092 static gint ett_inap_T_oReAnswer = -1;
1093 static gint ett_inap_T_tReAnswer = -1;
1094 static gint ett_inap_T_facilitySelectedAndAvailable = -1;
1095 static gint ett_inap_T_callAccepted = -1;
1096 static gint ett_inap_T_oAbandon = -1;
1097 static gint ett_inap_T_tAbandon = -1;
1098 static gint ett_inap_T_authorizeRouteFailure = -1;
1099 static gint ett_inap_T_terminationAttemptAuthorized = -1;
1100 static gint ett_inap_T_originationAttemptDenied = -1;
1101 static gint ett_inap_T_terminationAttemptDenied = -1;
1102 static gint ett_inap_T_oModifyRequestSpecificInfo = -1;
1103 static gint ett_inap_T_oModifyResultSpecificInfo = -1;
1104 static gint ett_inap_T_tModifyRequestSpecificInfo = -1;
1105 static gint ett_inap_T_tModifyResultSpecificInfo = -1;
1106 static gint ett_inap_FacilityGroup = -1;
1107 static gint ett_inap_FilteredCallTreatment = -1;
1108 static gint ett_inap_FilteringCharacteristics = -1;
1109 static gint ett_inap_FilteringCriteria = -1;
1110 static gint ett_inap_T_addressAndService = -1;
1111 static gint ett_inap_FilteringTimeOut = -1;
1112 static gint ett_inap_ForwardServiceInteractionInd = -1;
1113 static gint ett_inap_GapCriteria = -1;
1114 static gint ett_inap_GapOnService = -1;
1115 static gint ett_inap_GapIndicators = -1;
1116 static gint ett_inap_GapTreatment = -1;
1117 static gint ett_inap_T_both = -1;
1118 static gint ett_inap_GenericNumbers = -1;
1119 static gint ett_inap_INprofile = -1;
1120 static gint ett_inap_INServiceCompatibilityIndication = -1;
1121 static gint ett_inap_IPRelatedInformation = -1;
1122 static gint ett_inap_LegID = -1;
1123 static gint ett_inap_MidCallControlInfo = -1;
1124 static gint ett_inap_MidCallControlInfo_item = -1;
1125 static gint ett_inap_MidCallInfo = -1;
1126 static gint ett_inap_MidCallInfoType = -1;
1127 static gint ett_inap_MiscCallInfo = -1;
1128 static gint ett_inap_MonitoringCriteria = -1;
1129 static gint ett_inap_MonitoringTimeOut = -1;
1130 static gint ett_inap_ProfileIdentifier = -1;
1131 static gint ett_inap_RequestedInformationList = -1;
1132 static gint ett_inap_RequestedInformationTypeList = -1;
1133 static gint ett_inap_RequestedInformation = -1;
1134 static gint ett_inap_RequestedInformationValue = -1;
1135 static gint ett_inap_RequestedUTSI = -1;
1136 static gint ett_inap_RequestedUTSIList = -1;
1137 static gint ett_inap_ResourceID = -1;
1138 static gint ett_inap_RouteCountersValue = -1;
1139 static gint ett_inap_RouteCountersAndValue = -1;
1140 static gint ett_inap_RouteList = -1;
1141 static gint ett_inap_ServiceAddressInformation = -1;
1142 static gint ett_inap_ServiceInteractionIndicatorsTwo = -1;
1143 static gint ett_inap_T_redirectServiceTreatmentInd = -1;
1144 static gint ett_inap_TDPIdentifier = -1;
1145 static gint ett_inap_TriggerData = -1;
1146 static gint ett_inap_TriggerDataIdentifier = -1;
1147 static gint ett_inap_TriggerResults = -1;
1148 static gint ett_inap_TriggerResult = -1;
1149 static gint ett_inap_Triggers = -1;
1150 static gint ett_inap_Trigger = -1;
1151 static gint ett_inap_USIServiceIndicator = -1;
1152 static gint ett_inap_ActivateServiceFilteringArg = -1;
1153 static gint ett_inap_AnalysedInformationArg = -1;
1154 static gint ett_inap_AnalyseInformationArg = -1;
1155 static gint ett_inap_ApplyChargingArg = -1;
1156 static gint ett_inap_AssistRequestInstructionsArg = -1;
1157 static gint ett_inap_AuthorizeTerminationArg = -1;
1158 static gint ett_inap_CallFilteringArg = -1;
1159 static gint ett_inap_CallGapArg = -1;
1160 static gint ett_inap_CallInformationReportArg = -1;
1161 static gint ett_inap_CallInformationRequestArg = -1;
1162 static gint ett_inap_CancelArg = -1;
1163 static gint ett_inap_T_callSegmentToCancel = -1;
1164 static gint ett_inap_CancelStatusReportRequestArg = -1;
1165 static gint ett_inap_CollectedInformationArg = -1;
1166 static gint ett_inap_CollectInformationArg = -1;
1167 static gint ett_inap_ConnectArg = -1;
1168 static gint ett_inap_ConnectToResourceArg = -1;
1169 static gint ett_inap_T_resourceAddress = -1;
1170 static gint ett_inap_T_ipAddressAndLegID = -1;
1171 static gint ett_inap_T_ipAddressAndCallSegment = -1;
1172 static gint ett_inap_ContinueWithArgumentArg = -1;
1173 static gint ett_inap_T_legorCSID = -1;
1174 static gint ett_inap_CreateCallSegmentAssociationArg = -1;
1175 static gint ett_inap_CreateCallSegmentAssociationResultArg = -1;
1176 static gint ett_inap_CreateOrRemoveTriggerDataArg = -1;
1177 static gint ett_inap_CreateOrRemoveTriggerDataResultArg = -1;
1178 static gint ett_inap_DisconnectForwardConnectionWithArgumentArg = -1;
1179 static gint ett_inap_T_partyToDisconnect = -1;
1180 static gint ett_inap_DisconnectLegArg = -1;
1181 static gint ett_inap_EntityReleasedArg = -1;
1182 static gint ett_inap_T_cSFailure = -1;
1183 static gint ett_inap_T_bCSMFailure = -1;
1184 static gint ett_inap_EstablishTemporaryConnectionArg = -1;
1185 static gint ett_inap_T_partyToConnect = -1;
1186 static gint ett_inap_EventNotificationChargingArg = -1;
1187 static gint ett_inap_EventReportBCSMArg = -1;
1188 static gint ett_inap_EventReportFacilityArg = -1;
1189 static gint ett_inap_FacilitySelectedAndAvailableArg = -1;
1190 static gint ett_inap_HoldCallInNetworkArg = -1;
1191 static gint ett_inap_InitialDPArg = -1;
1192 static gint ett_inap_InitiateCallAttemptArg = -1;
1193 static gint ett_inap_ManageTriggerDataArg = -1;
1194 static gint ett_inap_T_triggerDataIdentifier = -1;
1195 static gint ett_inap_ManageTriggerDataResultArg = -1;
1196 static gint ett_inap_T_oneTriggerResult = -1;
1197 static gint ett_inap_T_severalTriggerResult = -1;
1198 static gint ett_inap_MergeCallSegmentsArg = -1;
1199 static gint ett_inap_MonitorRouteReportArg = -1;
1200 static gint ett_inap_MonitorRouteRequestArg = -1;
1201 static gint ett_inap_MoveCallSegmentsArg = -1;
1202 static gint ett_inap_T_callSegments = -1;
1203 static gint ett_inap_T_callSegments_item = -1;
1204 static gint ett_inap_T_legs = -1;
1205 static gint ett_inap_T_legs_item = -1;
1206 static gint ett_inap_MoveLegArg = -1;
1207 static gint ett_inap_OAbandonArg = -1;
1208 static gint ett_inap_OAnswerArg = -1;
1209 static gint ett_inap_OCalledPartyBusyArg = -1;
1210 static gint ett_inap_ODisconnectArg = -1;
1211 static gint ett_inap_MidCallArg = -1;
1212 static gint ett_inap_ONoAnswerArg = -1;
1213 static gint ett_inap_OriginationAttemptArg = -1;
1214 static gint ett_inap_OriginationAttemptAuthorizedArg = -1;
1215 static gint ett_inap_OSuspendedArg = -1;
1216 static gint ett_inap_ReconnectArg = -1;
1217 static gint ett_inap_ReleaseCallArg = -1;
1218 static gint ett_inap_T_callSegmentToRelease = -1;
1219 static gint ett_inap_T_allCallSegments = -1;
1220 static gint ett_inap_ReportUTSIArg = -1;
1221 static gint ett_inap_RequestCurrentStatusReportResultArg = -1;
1222 static gint ett_inap_RequestEveryStatusChangeReportArg = -1;
1223 static gint ett_inap_RequestFirstStatusMatchReportArg = -1;
1224 static gint ett_inap_RequestNotificationChargingEventArg = -1;
1225 static gint ett_inap_RequestReportBCSMEventArg = -1;
1226 static gint ett_inap_SEQUENCE_SIZE_1_numOfBCSMEvents_OF_BCSMEvent = -1;
1227 static gint ett_inap_RequestReportFacilityEventArg = -1;
1228 static gint ett_inap_SEQUENCE_SIZE_1_3_OF_ComponentType = -1;
1229 static gint ett_inap_RequestReportUTSIArg = -1;
1230 static gint ett_inap_ResetTimerArg = -1;
1231 static gint ett_inap_RouteSelectFailureArg = -1;
1232 static gint ett_inap_SelectFacilityArg = -1;
1233 static gint ett_inap_SelectRouteArg = -1;
1234 static gint ett_inap_SendChargingInformationArg = -1;
1235 static gint ett_inap_SendFacilityInformationArg = -1;
1236 static gint ett_inap_SendSTUIArg = -1;
1237 static gint ett_inap_ServiceFilteringResponseArg = -1;
1238 static gint ett_inap_SetServiceProfileArg = -1;
1239 static gint ett_inap_SEQUENCE_SIZE_1_numOfINProfile_OF_INprofile = -1;
1240 static gint ett_inap_SplitLegArg = -1;
1241 static gint ett_inap_StatusReportArg = -1;
1242 static gint ett_inap_TAnswerArg = -1;
1243 static gint ett_inap_TBusyArg = -1;
1244 static gint ett_inap_TDisconnectArg = -1;
1245 static gint ett_inap_TermAttemptAuthorizedArg = -1;
1246 static gint ett_inap_TerminationAttemptArg = -1;
1247 static gint ett_inap_TNoAnswerArg = -1;
1248 static gint ett_inap_TSuspendedArg = -1;
1249 static gint ett_inap_CollectedDigits = -1;
1250 static gint ett_inap_CollectedInfo = -1;
1251 static gint ett_inap_InbandInfo = -1;
1252 static gint ett_inap_InformationToRecord = -1;
1253 static gint ett_inap_T_controlDigits = -1;
1254 static gint ett_inap_InformationToSend = -1;
1255 static gint ett_inap_MessageID = -1;
1256 static gint ett_inap_T_text = -1;
1257 static gint ett_inap_SEQUENCE_SIZE_1_b3__numOfMessageIDs_OF_Integer4 = -1;
1258 static gint ett_inap_T_variableMessage = -1;
1259 static gint ett_inap_SEQUENCE_SIZE_1_b3__maxVariableParts_OF_VariablePart = -1;
1260 static gint ett_inap_SRFGapCriteria = -1;
1261 static gint ett_inap_T_iPAddressAndresource = -1;
1262 static gint ett_inap_Tone = -1;
1263 static gint ett_inap_VariablePart = -1;
1264 static gint ett_inap_PlayAnnouncementArg = -1;
1265 static gint ett_inap_T_connectedParty = -1;
1266 static gint ett_inap_PromptAndCollectUserInformationArg = -1;
1267 static gint ett_inap_ReceivedInformationArg = -1;
1268 static gint ett_inap_PromptAndReceiveMessageArg = -1;
1269 static gint ett_inap_MessageReceivedArg = -1;
1270 static gint ett_inap_ScriptCloseArg = -1;
1271 static gint ett_inap_ScriptEventArg = -1;
1272 static gint ett_inap_ScriptInformationArg = -1;
1273 static gint ett_inap_ScriptRunArg = -1;
1274 static gint ett_inap_SRFCallGapArg = -1;
1275 static gint ett_inap_PAR_cancelFailed = -1;
1276 static gint ett_inap_ScfTaskRefusedParameter = -1;
1277 static gint ett_inap_ReferralParameter = -1;
1278 static gint ett_inap_Code = -1;
1279 static gint ett_inap_ROS = -1;
1280 static gint ett_inap_Invoke = -1;
1281 static gint ett_inap_T_linkedId = -1;
1282 static gint ett_inap_ReturnResult = -1;
1283 static gint ett_inap_T_result = -1;
1284 static gint ett_inap_ReturnError = -1;
1285 static gint ett_inap_Reject = -1;
1286 static gint ett_inap_T_problem_01 = -1;
1287 static gint ett_inap_InvokeId = -1;
1288
1289 /*--- End of included file: packet-inap-ett.c ---*/
1290 #line 80 "packet-inap-template.c"
1291
1292
1293 /*--- Included file: packet-inap-table.c ---*/
1294 #line 1 "packet-inap-table.c"
1295
1296 /* INAP OPERATIONS */
1297 const value_string inap_opr_code_strings[] = {
1298         { opcode_activateServiceFiltering         , "activateServiceFiltering" },
1299         { opcode_activityTest                     , "activityTest" },
1300         { opcode_analysedInformation              , "analysedInformation" },
1301         { opcode_analyseInformation               , "analyseInformation" },
1302         { opcode_applyCharging                    , "applyCharging" },
1303         { opcode_applyChargingReport              , "applyChargingReport" },
1304         { opcode_assistRequestInstructions        , "assistRequestInstructions" },
1305         { opcode_authorizeTermination             , "authorizeTermination" },
1306         { opcode_callFiltering                    , "callFiltering" },
1307         { opcode_callGap                          , "callGap" },
1308         { opcode_callInformationReport            , "callInformationReport" },
1309         { opcode_callInformationRequest           , "callInformationRequest" },
1310         { opcode_cancel                           , "cancel" },
1311         { opcode_cancelStatusReportRequest        , "cancelStatusReportRequest" },
1312         { opcode_collectedInformation             , "collectedInformation" },
1313         { opcode_collectInformation               , "collectInformation" },
1314         { opcode_connect                          , "connect" },
1315         { opcode_connectToResource                , "connectToResource" },
1316         { opcode_continue                         , "continue" },
1317         { opcode_continueWithArgument             , "continueWithArgument" },
1318         { opcode_createCallSegmentAssociation     , "createCallSegmentAssociation" },
1319         { opcode_createOrRemoveTriggerData        , "createOrRemoveTriggerData" },
1320         { opcode_disconnectForwardConnection      , "disconnectForwardConnection" },
1321         { opcode_dFCWithArgument                  , "disconnectForwardConnectionWithArgument" },
1322         { opcode_disconnectLeg                    , "disconnectLeg" },
1323         { opcode_entityReleased                   , "entityReleased" },
1324         { opcode_establishTemporaryConnection     , "establishTemporaryConnection" },
1325         { opcode_eventNotificationCharging        , "eventNotificationCharging" },
1326         { opcode_eventReportBCSM                  , "eventReportBCSM" },
1327         { opcode_eventReportFacility              , "eventReportFacility" },
1328         { opcode_facilitySelectedAndAvailable     , "facilitySelectedAndAvailable" },
1329         { opcode_furnishChargingInformation       , "furnishChargingInformation" },
1330         { opcode_holdCallInNetwork                , "holdCallInNetwork" },
1331         { opcode_initialDP                        , "initialDP" },
1332         { opcode_initiateCallAttempt              , "initiateCallAttempt" },
1333         { opcode_manageTriggerData                , "manageTriggerData" },
1334         { opcode_mergeCallSegments                , "mergeCallSegments" },
1335         { opcode_monitorRouteReport               , "monitorRouteReport" },
1336         { opcode_monitorRouteRequest              , "monitorRouteRequest" },
1337         { opcode_moveCallSegments                 , "moveCallSegments" },
1338         { opcode_moveLeg                          , "moveLeg" },
1339         { opcode_oAbandon                         , "oAbandon" },
1340         { opcode_oAnswer                          , "oAnswer" },
1341         { opcode_oCalledPartyBusy                 , "oCalledPartyBusy" },
1342         { opcode_oDisconnect                      , "oDisconnect" },
1343         { opcode_oMidCall                         , "oMidCall" },
1344         { opcode_oNoAnswer                        , "oNoAnswer" },
1345         { opcode_originationAttempt               , "originationAttempt" },
1346         { opcode_originationAttemptAuthorized     , "originationAttemptAuthorized" },
1347         { opcode_oSuspended                       , "oSuspended" },
1348         { opcode_reconnect                        , "reconnect" },
1349         { opcode_releaseCall                      , "releaseCall" },
1350         { opcode_reportUTSI                       , "reportUTSI" },
1351         { opcode_requestCurrentStatusReport       , "requestCurrentStatusReport" },
1352         { opcode_requestEveryStatusChangeReport   , "requestEveryStatusChangeReport" },
1353         { opcode_requestFirstStatusMatchReport    , "requestFirstStatusMatchReport" },
1354         { opcode_requestNotificationChargingEvent , "requestNotificationChargingEvent" },
1355         { opcode_requestReportBCSMEvent           , "requestReportBCSMEvent" },
1356         { opcode_requestReportFacilityEvent       , "requestReportFacilityEvent" },
1357         { opcode_requestReportUTSI                , "requestReportUTSI" },
1358         { opcode_resetTimer                       , "resetTimer" },
1359         { opcode_routeSelectFailure               , "routeSelectFailure" },
1360         { opcode_selectFacility                   , "selectFacility" },
1361         { opcode_selectRoute                      , "selectRoute" },
1362         { opcode_sendChargingInformation          , "sendChargingInformation" },
1363         { opcode_sendFacilityInformation          , "sendFacilityInformation" },
1364         { opcode_sendSTUI                         , "sendSTUI" },
1365         { opcode_serviceFilteringResponse         , "serviceFilteringResponse" },
1366         { opcode_setServiceProfile                , "setServiceProfile" },
1367         { opcode_splitLeg                         , "splitLeg" },
1368         { opcode_statusReport                     , "statusReport" },
1369         { opcode_tAnswer                          , "tAnswer" },
1370         { opcode_tBusy                            , "tBusy" },
1371         { opcode_tDisconnect                      , "tDisconnect" },
1372         { opcode_termAttemptAuthorized            , "termAttemptAuthorized" },
1373         { opcode_terminationAttempt               , "terminationAttempt" },
1374         { opcode_tMidCall                         , "tMidCall" },
1375         { opcode_tNoAnswer                        , "tNoAnswer" },
1376         { opcode_tSuspended                       , "tSuspended" },
1377         { opcode_playAnnouncement                 , "playAnnouncement" },
1378         { opcode_promptAndCollectUserInformation  , "promptAndCollectUserInformation" },
1379         { opcode_promptAndReceiveMessage          , "promptAndReceiveMessage" },
1380         { opcode_scriptClose                      , "scriptClose" },
1381         { opcode_scriptEvent                      , "scriptEvent" },
1382         { opcode_scriptInformation                , "scriptInformation" },
1383         { opcode_scriptRun                        , "scriptRun" },
1384         { opcode_specializedResourceReport        , "specializedResourceReport" },
1385         { opcode_srfCallGap                       , "sRFCallGap" },
1386   { 0, NULL }
1387 };
1388
1389
1390 /* INAP ERRORS */
1391 static const value_string inap_err_code_string_vals[] = {
1392         { errcode_canceled                        , "canceled" },  
1393         { errcode_cancelFailed                    , "cancelFailed" },  
1394         { errcode_chainingRefused                 , "chainingRefused" },  
1395         { errcode_eTCFailed                       , "eTCFailed" },  
1396         { errcode_improperCallerResponse          , "improperCallerResponse" },  
1397         { errcode_missingCustomerRecord           , "missingCustomerRecord" },  
1398         { errcode_missingParameter                , "missingParameter" },  
1399         { errcode_parameterOutOfRange             , "parameterOutOfRange" },  
1400         { errcode_requestedInfoError              , "requestedInfoError" },  
1401         { errcode_scfTaskRefused                  , "scfTaskRefused" },  
1402         { errcode_scfReferral                     , "scfReferral" },  
1403         { errcode_systemFailure                   , "systemFailure" },  
1404         { errcode_taskRefused                     , "taskRefused" },  
1405         { errcode_unavailableResource             , "unavailableResource" },  
1406         { errcode_unexpectedComponentSequence     , "unexpectedComponentSequence" },  
1407         { errcode_unexpectedDataValue             , "unexpectedDataValue" },  
1408         { errcode_unexpectedParameter             , "unexpectedParameter" },  
1409         { errcode_unknownLegID                    , "unknownLegID" },  
1410         { errcode_unknownResource                 , "unknownResource" },  
1411   { 0, NULL }
1412 };
1413
1414
1415 /*--- End of included file: packet-inap-table.c ---*/
1416 #line 82 "packet-inap-template.c"
1417
1418 const value_string inap_general_problem_strings[] = {
1419 {0,"General Problem Unrecognized Component"},
1420 {1,"General Problem Mistyped Component"},
1421 {3,"General Problem Badly Structured Component"},
1422 {0, NULL}
1423 };
1424
1425 /* Forvard declarations */
1426 static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_);
1427 static int dissect_returnResultData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_);
1428 static int dissect_returnErrorData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx);
1429
1430
1431 /*--- Included file: packet-inap-fn.c ---*/
1432 #line 1 "packet-inap-fn.c"
1433
1434 const value_string inap_CriticalityType_vals[] = {
1435   {   0, "ignore" },
1436   {   1, "abort" },
1437   { 0, NULL }
1438 };
1439
1440
1441 int
1442 dissect_inap_CriticalityType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1443   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1444                                   NULL);
1445
1446   return offset;
1447 }
1448
1449
1450
1451 static int
1452 dissect_inap_T_local(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1453 #line 163 "inap.cnf"
1454     offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1455                                                 &opcode);
1456
1457         if (inap_opcode_type == INAP_OPCODE_RETURN_ERROR){
1458           errorCode = opcode;   
1459             col_append_str(actx->pinfo->cinfo, COL_INFO, 
1460                val_to_str(errorCode, inap_err_code_string_vals, "Unknown INAP error (%u)"));
1461             col_append_str(actx->pinfo->cinfo, COL_INFO, " ");
1462             col_set_fence(actx->pinfo->cinfo, COL_INFO);
1463         }else{
1464             col_append_str(actx->pinfo->cinfo, COL_INFO, 
1465                val_to_str(opcode, inap_opr_code_strings, "Unknown INAP (%u)"));
1466             col_append_str(actx->pinfo->cinfo, COL_INFO, " ");
1467             col_set_fence(actx->pinfo->cinfo, COL_INFO);
1468    }
1469
1470
1471
1472   return offset;
1473 }
1474
1475
1476
1477 static int
1478 dissect_inap_OBJECT_IDENTIFIER(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1479   offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, NULL);
1480
1481   return offset;
1482 }
1483
1484
1485 static const value_string inap_Code_vals[] = {
1486   {   0, "local" },
1487   {   1, "global" },
1488   { 0, NULL }
1489 };
1490
1491 static const ber_choice_t Code_choice[] = {
1492   {   0, &hf_inap_local_01       , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_inap_T_local },
1493   {   1, &hf_inap_global         , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_inap_OBJECT_IDENTIFIER },
1494   { 0, NULL, 0, 0, 0, NULL }
1495 };
1496
1497 static int
1498 dissect_inap_Code(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1499   offset = dissect_ber_choice(actx, tree, tvb, offset,
1500                                  Code_choice, hf_index, ett_inap_Code,
1501                                  NULL);
1502
1503   return offset;
1504 }
1505
1506
1507
1508 static int
1509 dissect_inap_T_value(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1510 #line 217 "inap.cnf"
1511   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1512                                        NULL);
1513
1514
1515
1516
1517
1518   return offset;
1519 }
1520
1521
1522 static const ber_sequence_t ExtensionField_sequence[] = {
1523   { &hf_inap_type           , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_inap_Code },
1524   { &hf_inap_criticality    , BER_CLASS_UNI, BER_UNI_TAG_ENUMERATED, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_inap_CriticalityType },
1525   { &hf_inap_value          , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_T_value },
1526   { NULL, 0, 0, 0, NULL }
1527 };
1528
1529 static int
1530 dissect_inap_ExtensionField(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1531   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1532                                    ExtensionField_sequence, hf_index, ett_inap_ExtensionField);
1533
1534   return offset;
1535 }
1536
1537
1538 static const ber_sequence_t Extensions_sequence_of[1] = {
1539   { &hf_inap_Extensions_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_inap_ExtensionField },
1540 };
1541
1542 static int
1543 dissect_inap_Extensions(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1544   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
1545                                       Extensions_sequence_of, hf_index, ett_inap_Extensions);
1546
1547   return offset;
1548 }
1549
1550
1551
1552 int
1553 dissect_inap_Integer4(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1554   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1555                                                 NULL);
1556
1557   return offset;
1558 }
1559
1560
1561
1562 static int
1563 dissect_inap_InvokeID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1564   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1565                                                 NULL);
1566
1567   return offset;
1568 }
1569
1570
1571 static const value_string inap_UnavailableNetworkResource_vals[] = {
1572   {   0, "unavailableResources" },
1573   {   1, "componentFailure" },
1574   {   2, "basicCallProcessingException" },
1575   {   3, "resourceStatusFailure" },
1576   {   4, "endUserFailure" },
1577   {   5, "screening" },
1578   { 0, NULL }
1579 };
1580
1581
1582 static int
1583 dissect_inap_UnavailableNetworkResource(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1584   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1585                                   NULL);
1586
1587   return offset;
1588 }
1589
1590
1591
1592 static int
1593 dissect_inap_AALParameters(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1594   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1595                                        NULL);
1596
1597   return offset;
1598 }
1599
1600
1601
1602 static int
1603 dissect_inap_LocationNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1604   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1605                                        NULL);
1606
1607   return offset;
1608 }
1609
1610
1611
1612 static int
1613 dissect_inap_AccessCode(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1614   offset = dissect_inap_LocationNumber(implicit_tag, tvb, offset, actx, tree, hf_index);
1615
1616   return offset;
1617 }
1618
1619
1620
1621 static int
1622 dissect_inap_AChBillingChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1623   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1624                                        NULL);
1625
1626   return offset;
1627 }
1628
1629
1630 static const value_string inap_ActionIndicator_vals[] = {
1631   {   1, "activate" },
1632   {   2, "deactivate" },
1633   {   3, "retrieve" },
1634   { 0, NULL }
1635 };
1636
1637
1638 static int
1639 dissect_inap_ActionIndicator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1640   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1641                                   NULL);
1642
1643   return offset;
1644 }
1645
1646
1647 static const value_string inap_ActionOnProfile_vals[] = {
1648   {   0, "activate" },
1649   {   1, "deactivate" },
1650   { 0, NULL }
1651 };
1652
1653
1654 static int
1655 dissect_inap_ActionOnProfile(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1656   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1657                                   NULL);
1658
1659   return offset;
1660 }
1661
1662
1663 static const value_string inap_ActionPerformed_vals[] = {
1664   {   1, "activated" },
1665   {   2, "deactivated" },
1666   {   3, "alreadyActive" },
1667   {   4, "alreadyInactive" },
1668   {   5, "isActive" },
1669   {   6, "isInactive" },
1670   {   7, "tDPunknown" },
1671   { 0, NULL }
1672 };
1673
1674
1675 static int
1676 dissect_inap_ActionPerformed(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1677   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1678                                   NULL);
1679
1680   return offset;
1681 }
1682
1683
1684
1685 static int
1686 dissect_inap_AdditionalATMCellRate(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1687   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1688                                        NULL);
1689
1690   return offset;
1691 }
1692
1693
1694
1695 static int
1696 dissect_inap_Digits(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1697   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1698                                        NULL);
1699
1700   return offset;
1701 }
1702
1703
1704
1705 static int
1706 dissect_inap_AdditionalCallingPartyNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1707   offset = dissect_inap_Digits(implicit_tag, tvb, offset, actx, tree, hf_index);
1708
1709   return offset;
1710 }
1711
1712
1713
1714 static int
1715 dissect_inap_AESACalledParty(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1716   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1717                                        NULL);
1718
1719   return offset;
1720 }
1721
1722
1723
1724 static int
1725 dissect_inap_AESACallingParty(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1726   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1727                                        NULL);
1728
1729   return offset;
1730 }
1731
1732
1733
1734 static int
1735 dissect_inap_AlertingPattern(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1736   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1737                                        NULL);
1738
1739   return offset;
1740 }
1741
1742
1743
1744 static int
1745 dissect_inap_IA5String_SIZE_1_512(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1746   offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_IA5String,
1747                                             actx, tree, tvb, offset, hf_index,
1748                                             NULL);
1749
1750   return offset;
1751 }
1752
1753
1754 static const value_string inap_AlternativeIdentity_vals[] = {
1755   {   0, "url" },
1756   { 0, NULL }
1757 };
1758
1759 static const ber_choice_t AlternativeIdentity_choice[] = {
1760   {   0, &hf_inap_url            , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_IA5String_SIZE_1_512 },
1761   { 0, NULL, 0, 0, 0, NULL }
1762 };
1763
1764 static int
1765 dissect_inap_AlternativeIdentity(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1766   offset = dissect_ber_choice(actx, tree, tvb, offset,
1767                                  AlternativeIdentity_choice, hf_index, ett_inap_AlternativeIdentity,
1768                                  NULL);
1769
1770   return offset;
1771 }
1772
1773
1774 static const ber_sequence_t AlternativeIdentities_sequence_of[1] = {
1775   { &hf_inap_AlternativeIdentities_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_inap_AlternativeIdentity },
1776 };
1777
1778 static int
1779 dissect_inap_AlternativeIdentities(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1780   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
1781                                       AlternativeIdentities_sequence_of, hf_index, ett_inap_AlternativeIdentities);
1782
1783   return offset;
1784 }
1785
1786
1787
1788 static int
1789 dissect_inap_AlternativeATMTrafficDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1790   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1791                                        NULL);
1792
1793   return offset;
1794 }
1795
1796
1797
1798 static int
1799 dissect_inap_ApplicationTimer(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1800   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1801                                                 NULL);
1802
1803   return offset;
1804 }
1805
1806
1807
1808 static int
1809 dissect_inap_AssistingSSPIPRoutingAddress(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1810   offset = dissect_inap_Digits(implicit_tag, tvb, offset, actx, tree, hf_index);
1811
1812   return offset;
1813 }
1814
1815
1816
1817 static int
1818 dissect_inap_ATMCellRate(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1819   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1820                                        NULL);
1821
1822   return offset;
1823 }
1824
1825
1826
1827 static int
1828 dissect_inap_BackwardGVNS(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1829   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1830                                        NULL);
1831
1832   return offset;
1833 }
1834
1835
1836
1837 static int
1838 dissect_inap_OCTET_STRING_SIZE_1(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1839   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1840                                        NULL);
1841
1842   return offset;
1843 }
1844
1845
1846 static const ber_sequence_t BackwardServiceInteractionInd_sequence[] = {
1847   { &hf_inap_conferenceTreatmentIndicator, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_OCTET_STRING_SIZE_1 },
1848   { &hf_inap_callCompletionTreatmentIndicator, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_OCTET_STRING_SIZE_1 },
1849   { &hf_inap_holdTreatmentIndicator, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_OCTET_STRING_SIZE_1 },
1850   { &hf_inap_ectTreatmentIndicator, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_OCTET_STRING_SIZE_1 },
1851   { NULL, 0, 0, 0, NULL }
1852 };
1853
1854 static int
1855 dissect_inap_BackwardServiceInteractionInd(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1856   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1857                                    BackwardServiceInteractionInd_sequence, hf_index, ett_inap_BackwardServiceInteractionInd);
1858
1859   return offset;
1860 }
1861
1862
1863
1864 int
1865 dissect_inap_ServiceKey(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1866   offset = dissect_inap_Integer4(implicit_tag, tvb, offset, actx, tree, hf_index);
1867
1868   return offset;
1869 }
1870
1871
1872 static const value_string inap_EventTypeBCSM_vals[] = {
1873   {   1, "origAttemptAuthorized" },
1874   {   2, "collectedInfo" },
1875   {   3, "analysedInformation" },
1876   {   4, "routeSelectFailure" },
1877   {   5, "oCalledPartyBusy" },
1878   {   6, "oNoAnswer" },
1879   {   7, "oAnswer" },
1880   {   8, "oMidCall" },
1881   {   9, "oDisconnect" },
1882   {  10, "oAbandon" },
1883   {  12, "termAttemptAuthorized" },
1884   {  13, "tBusy" },
1885   {  14, "tNoAnswer" },
1886   {  15, "tAnswer" },
1887   {  16, "tMidCall" },
1888   {  17, "tDisconnect" },
1889   {  18, "tAbandon" },
1890   {  19, "oTermSeized" },
1891   {  20, "oSuspend" },
1892   {  21, "tSuspend" },
1893   {  22, "origAttempt" },
1894   {  23, "termAttempt" },
1895   {  24, "oReAnswer" },
1896   {  25, "tReAnswer" },
1897   {  26, "facilitySelectedAndAvailable" },
1898   {  27, "callAccepted" },
1899   {  28, "authorizeRouteFailure" },
1900   {  29, "originationAttemptDenied" },
1901   {  30, "terminationAttemptDenied" },
1902   { 100, "oModifyRequest" },
1903   { 101, "oModifyResult" },
1904   { 102, "tModifyRequest" },
1905   { 103, "tModifyResult" },
1906   { 0, NULL }
1907 };
1908
1909
1910 static int
1911 dissect_inap_EventTypeBCSM(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1912   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1913                                   NULL);
1914
1915   return offset;
1916 }
1917
1918
1919 static const ber_sequence_t GapOnService_sequence[] = {
1920   { &hf_inap_serviceKey     , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_ServiceKey },
1921   { &hf_inap_dpCriteria     , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_EventTypeBCSM },
1922   { NULL, 0, 0, 0, NULL }
1923 };
1924
1925 static int
1926 dissect_inap_GapOnService(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1927   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1928                                    GapOnService_sequence, hf_index, ett_inap_GapOnService);
1929
1930   return offset;
1931 }
1932
1933
1934
1935 static int
1936 dissect_inap_NULL(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1937   offset = dissect_ber_null(implicit_tag, actx, tree, tvb, offset, hf_index);
1938
1939   return offset;
1940 }
1941
1942
1943 static const ber_sequence_t T_calledAddressAndService_sequence[] = {
1944   { &hf_inap_calledAddressValue, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Digits },
1945   { &hf_inap_serviceKey     , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_ServiceKey },
1946   { NULL, 0, 0, 0, NULL }
1947 };
1948
1949 static int
1950 dissect_inap_T_calledAddressAndService(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1951   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1952                                    T_calledAddressAndService_sequence, hf_index, ett_inap_T_calledAddressAndService);
1953
1954   return offset;
1955 }
1956
1957
1958 static const ber_sequence_t T_callingAddressAndService_sequence[] = {
1959   { &hf_inap_callingAddressValue, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Digits },
1960   { &hf_inap_serviceKey     , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_ServiceKey },
1961   { &hf_inap_locationNumber , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_LocationNumber },
1962   { NULL, 0, 0, 0, NULL }
1963 };
1964
1965 static int
1966 dissect_inap_T_callingAddressAndService(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1967   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1968                                    T_callingAddressAndService_sequence, hf_index, ett_inap_T_callingAddressAndService);
1969
1970   return offset;
1971 }
1972
1973
1974 static const value_string inap_BasicGapCriteria_vals[] = {
1975   {   0, "calledAddressValue" },
1976   {   2, "gapOnService" },
1977   {   3, "gapAllInTraffic" },
1978   {  29, "calledAddressAndService" },
1979   {  30, "callingAddressAndService" },
1980   { 0, NULL }
1981 };
1982
1983 static const ber_choice_t BasicGapCriteria_choice[] = {
1984   {   0, &hf_inap_calledAddressValue, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Digits },
1985   {   2, &hf_inap_gapOnService   , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_inap_GapOnService },
1986   {   3, &hf_inap_gapAllInTraffic, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_inap_NULL },
1987   {  29, &hf_inap_calledAddressAndService, BER_CLASS_CON, 29, BER_FLAGS_IMPLTAG, dissect_inap_T_calledAddressAndService },
1988   {  30, &hf_inap_callingAddressAndService, BER_CLASS_CON, 30, BER_FLAGS_IMPLTAG, dissect_inap_T_callingAddressAndService },
1989   { 0, NULL, 0, 0, 0, NULL }
1990 };
1991
1992 static int
1993 dissect_inap_BasicGapCriteria(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1994   offset = dissect_ber_choice(actx, tree, tvb, offset,
1995                                  BasicGapCriteria_choice, hf_index, ett_inap_BasicGapCriteria,
1996                                  NULL);
1997
1998   return offset;
1999 }
2000
2001
2002 static const value_string inap_MonitorMode_vals[] = {
2003   {   0, "interrupted" },
2004   {   1, "notifyAndContinue" },
2005   {   2, "transparent" },
2006   { 0, NULL }
2007 };
2008
2009
2010 static int
2011 dissect_inap_MonitorMode(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2012   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2013                                   NULL);
2014
2015   return offset;
2016 }
2017
2018
2019
2020 static int
2021 dissect_inap_LegType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2022   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2023                                        NULL);
2024
2025   return offset;
2026 }
2027
2028
2029 const value_string inap_LegID_vals[] = {
2030   {   0, "sendingSideID" },
2031   {   1, "receivingSideID" },
2032   { 0, NULL }
2033 };
2034
2035 static const ber_choice_t LegID_choice[] = {
2036   {   0, &hf_inap_sendingSideID  , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_LegType },
2037   {   1, &hf_inap_receivingSideID, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_LegType },
2038   { 0, NULL, 0, 0, 0, NULL }
2039 };
2040
2041 int
2042 dissect_inap_LegID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2043   offset = dissect_ber_choice(actx, tree, tvb, offset,
2044                                  LegID_choice, hf_index, ett_inap_LegID,
2045                                  NULL);
2046
2047   return offset;
2048 }
2049
2050
2051
2052 static int
2053 dissect_inap_NumberOfDigits(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2054   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2055                                                 NULL);
2056
2057   return offset;
2058 }
2059
2060
2061 static const ber_sequence_t MidCallInfoType_sequence[] = {
2062   { &hf_inap_iNServiceControlCodeLow, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Digits },
2063   { &hf_inap_iNServiceControlCodeHigh, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_Digits },
2064   { NULL, 0, 0, 0, NULL }
2065 };
2066
2067 static int
2068 dissect_inap_MidCallInfoType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2069   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2070                                    MidCallInfoType_sequence, hf_index, ett_inap_MidCallInfoType);
2071
2072   return offset;
2073 }
2074
2075
2076 static const value_string inap_T_midCallReportType_vals[] = {
2077   {   0, "inMonitoringState" },
2078   {   1, "inAnyState" },
2079   { 0, NULL }
2080 };
2081
2082
2083 static int
2084 dissect_inap_T_midCallReportType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2085   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2086                                   NULL);
2087
2088   return offset;
2089 }
2090
2091
2092 static const ber_sequence_t MidCallControlInfo_item_sequence[] = {
2093   { &hf_inap_midCallInfoType, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_MidCallInfoType },
2094   { &hf_inap_midCallReportType, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_T_midCallReportType },
2095   { NULL, 0, 0, 0, NULL }
2096 };
2097
2098 static int
2099 dissect_inap_MidCallControlInfo_item(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2100   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2101                                    MidCallControlInfo_item_sequence, hf_index, ett_inap_MidCallControlInfo_item);
2102
2103   return offset;
2104 }
2105
2106
2107 static const ber_sequence_t MidCallControlInfo_sequence_of[1] = {
2108   { &hf_inap_MidCallControlInfo_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_inap_MidCallControlInfo_item },
2109 };
2110
2111 static int
2112 dissect_inap_MidCallControlInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2113   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
2114                                       MidCallControlInfo_sequence_of, hf_index, ett_inap_MidCallControlInfo);
2115
2116   return offset;
2117 }
2118
2119
2120 static const ber_sequence_t T_numberOfDigitsTwo_sequence[] = {
2121   { &hf_inap_requestedNumberOfDigits, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_NumberOfDigits },
2122   { &hf_inap_minNumberOfDigits, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_NumberOfDigits },
2123   { NULL, 0, 0, 0, NULL }
2124 };
2125
2126 static int
2127 dissect_inap_T_numberOfDigitsTwo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2128   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2129                                    T_numberOfDigitsTwo_sequence, hf_index, ett_inap_T_numberOfDigitsTwo);
2130
2131   return offset;
2132 }
2133
2134
2135 static const value_string inap_DpSpecificCriteria_vals[] = {
2136   {   0, "numberOfDigits" },
2137   {   1, "applicationTimer" },
2138   {   2, "midCallControlInfo" },
2139   {   3, "numberOfDigitsTwo" },
2140   { 0, NULL }
2141 };
2142
2143 static const ber_choice_t DpSpecificCriteria_choice[] = {
2144   {   0, &hf_inap_numberOfDigits , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_NumberOfDigits },
2145   {   1, &hf_inap_applicationTimer, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_ApplicationTimer },
2146   {   2, &hf_inap_midCallControlInfo, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_inap_MidCallControlInfo },
2147   {   3, &hf_inap_numberOfDigitsTwo, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_inap_T_numberOfDigitsTwo },
2148   { 0, NULL, 0, 0, 0, NULL }
2149 };
2150
2151 static int
2152 dissect_inap_DpSpecificCriteria(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2153   offset = dissect_ber_choice(actx, tree, tvb, offset,
2154                                  DpSpecificCriteria_choice, hf_index, ett_inap_DpSpecificCriteria,
2155                                  NULL);
2156
2157   return offset;
2158 }
2159
2160
2161 static const ber_sequence_t BCSMEvent_sequence[] = {
2162   { &hf_inap_eventTypeBCSM  , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_EventTypeBCSM },
2163   { &hf_inap_monitorMode    , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_MonitorMode },
2164   { &hf_inap_legID          , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_inap_LegID },
2165   { &hf_inap_dpSpecificCriteria, BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_inap_DpSpecificCriteria },
2166   { NULL, 0, 0, 0, NULL }
2167 };
2168
2169 static int
2170 dissect_inap_BCSMEvent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2171   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2172                                    BCSMEvent_sequence, hf_index, ett_inap_BCSMEvent);
2173
2174   return offset;
2175 }
2176
2177
2178
2179 static int
2180 dissect_inap_T_bearerCap(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2181 #line 244 "inap.cnf"
2182
2183  tvbuff_t       *parameter_tvb;
2184
2185   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2186                                        &parameter_tvb);
2187
2188
2189  if (!parameter_tvb)
2190         return offset;
2191
2192  dissect_q931_bearer_capability_ie(parameter_tvb, 0, tvb_length_remaining(parameter_tvb,0), tree);
2193
2194
2195
2196   return offset;
2197 }
2198
2199
2200
2201 static int
2202 dissect_inap_OCTET_STRING_SIZE_minBroadbandBearerCapabilityLength_maxBroadbandBearerCapabilityLength(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2203   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2204                                        NULL);
2205
2206   return offset;
2207 }
2208
2209
2210 static const value_string inap_BearerCapability_vals[] = {
2211   {   0, "bearerCap" },
2212   {   1, "tmr" },
2213   {   2, "broadbandBearerCap" },
2214   { 0, NULL }
2215 };
2216
2217 static const ber_choice_t BearerCapability_choice[] = {
2218   {   0, &hf_inap_bearerCap      , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_T_bearerCap },
2219   {   1, &hf_inap_tmr            , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_OCTET_STRING_SIZE_1 },
2220   {   2, &hf_inap_broadbandBearerCap, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_inap_OCTET_STRING_SIZE_minBroadbandBearerCapabilityLength_maxBroadbandBearerCapabilityLength },
2221   { 0, NULL, 0, 0, 0, NULL }
2222 };
2223
2224 static int
2225 dissect_inap_BearerCapability(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2226   offset = dissect_ber_choice(actx, tree, tvb, offset,
2227                                  BearerCapability_choice, hf_index, ett_inap_BearerCapability,
2228                                  NULL);
2229
2230   return offset;
2231 }
2232
2233
2234
2235 static int
2236 dissect_inap_CDVTDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2237   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2238                                        NULL);
2239
2240   return offset;
2241 }
2242
2243
2244
2245 static int
2246 dissect_inap_CumulativeTransitDelay(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2247   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2248                                        NULL);
2249
2250   return offset;
2251 }
2252
2253
2254
2255 static int
2256 dissect_inap_EndToEndTransitDelay(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2257   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2258                                        NULL);
2259
2260   return offset;
2261 }
2262
2263
2264
2265 static int
2266 dissect_inap_MinAcceptableATMTrafficDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2267   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2268                                        NULL);
2269
2270   return offset;
2271 }
2272
2273
2274 static const ber_sequence_t BISDNParameters_sequence[] = {
2275   { &hf_inap_aALParameters  , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_AALParameters },
2276   { &hf_inap_additionalATMCellRate, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_AdditionalATMCellRate },
2277   { &hf_inap_aESACalledParty, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_AESACalledParty },
2278   { &hf_inap_aESACallingParty, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_AESACallingParty },
2279   { &hf_inap_alternativeATMTrafficDescriptor, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_AlternativeATMTrafficDescriptor },
2280   { &hf_inap_aTMCellRate    , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_ATMCellRate },
2281   { &hf_inap_cDVTDescriptor , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_CDVTDescriptor },
2282   { &hf_inap_cumulativeTransitDelay, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_CumulativeTransitDelay },
2283   { &hf_inap_endToEndTransitDelay, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_EndToEndTransitDelay },
2284   { &hf_inap_minAcceptableATMTrafficDescriptor, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_MinAcceptableATMTrafficDescriptor },
2285   { NULL, 0, 0, 0, NULL }
2286 };
2287
2288 static int
2289 dissect_inap_BISDNParameters(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2290   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2291                                    BISDNParameters_sequence, hf_index, ett_inap_BISDNParameters);
2292
2293   return offset;
2294 }
2295
2296
2297 const value_string inap_BothwayThroughConnectionInd_vals[] = {
2298   {   0, "bothwayPathRequired" },
2299   {   1, "bothwayPathNotRequired" },
2300   { 0, NULL }
2301 };
2302
2303
2304 int
2305 dissect_inap_BothwayThroughConnectionInd(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2306   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2307                                   NULL);
2308
2309   return offset;
2310 }
2311
2312
2313
2314 static int
2315 dissect_inap_CalledDirectoryNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2316   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2317                                        NULL);
2318
2319   return offset;
2320 }
2321
2322
2323
2324 static int
2325 dissect_inap_CalledPartyBusinessGroupID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2326   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2327                                        NULL);
2328
2329   return offset;
2330 }
2331
2332
2333
2334 static int
2335 dissect_inap_CalledPartyNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2336 #line 223 "inap.cnf"
2337   tvbuff_t *parameter_tvb;
2338
2339   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2340                                        &parameter_tvb);
2341
2342
2343  if (!parameter_tvb)
2344         return offset;
2345
2346 dissect_isup_called_party_number_parameter(parameter_tvb, tree, NULL);
2347
2348
2349
2350   return offset;
2351 }
2352
2353
2354
2355 static int
2356 dissect_inap_CalledPartySubaddress(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2357   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2358                                        NULL);
2359
2360   return offset;
2361 }
2362
2363
2364
2365 static int
2366 dissect_inap_CallingGeodeticLocation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2367   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2368                                        NULL);
2369
2370   return offset;
2371 }
2372
2373
2374
2375 static int
2376 dissect_inap_CallingPartyBusinessGroupID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2377   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2378                                        NULL);
2379
2380   return offset;
2381 }
2382
2383
2384
2385 static int
2386 dissect_inap_CallingPartyNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2387 #line 233 "inap.cnf"
2388   tvbuff_t *parameter_tvb;
2389
2390   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2391                                        &parameter_tvb);
2392
2393
2394  if (!parameter_tvb)
2395         return offset;
2396
2397         dissect_isup_calling_party_number_parameter(parameter_tvb, tree, NULL);
2398
2399
2400
2401
2402   return offset;
2403 }
2404
2405
2406
2407 static int
2408 dissect_inap_CallingPartySubaddress(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2409   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2410                                        NULL);
2411
2412   return offset;
2413 }
2414
2415
2416
2417 int
2418 dissect_inap_CallingPartysCategory(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2419   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2420                                        NULL);
2421
2422   return offset;
2423 }
2424
2425
2426 static const value_string inap_CallProcessingOperation_vals[] = {
2427   {   1, "aLERTing" },
2428   {   5, "sETUP" },
2429   {   7, "cONNect" },
2430   {  69, "dISConnect" },
2431   {  77, "rELease" },
2432   {  90, "rELeaseCOMPlete" },
2433   {  98, "fACility" },
2434   { 0, NULL }
2435 };
2436
2437
2438 static int
2439 dissect_inap_CallProcessingOperation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2440   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2441                                   NULL);
2442
2443   return offset;
2444 }
2445
2446
2447
2448 static int
2449 dissect_inap_CallReference(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2450   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2451                                        NULL);
2452
2453   return offset;
2454 }
2455
2456
2457
2458 static int
2459 dissect_inap_CallResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2460   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2461                                        NULL);
2462
2463   return offset;
2464 }
2465
2466
2467
2468 static int
2469 dissect_inap_CallSegmentID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2470   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2471                                                 NULL);
2472
2473   return offset;
2474 }
2475
2476
2477
2478 static int
2479 dissect_inap_Carrier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2480   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2481                                        NULL);
2482
2483   return offset;
2484 }
2485
2486
2487
2488 static int
2489 dissect_inap_Cause(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2490   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2491                                        NULL);
2492
2493   return offset;
2494 }
2495
2496
2497
2498 static int
2499 dissect_inap_CCSS(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2500   offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL);
2501
2502   return offset;
2503 }
2504
2505
2506 static const value_string inap_CGEncountered_vals[] = {
2507   {   0, "noCGencountered" },
2508   {   1, "manualCGencountered" },
2509   {   2, "sCPOverload" },
2510   { 0, NULL }
2511 };
2512
2513
2514 static int
2515 dissect_inap_CGEncountered(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2516   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2517                                   NULL);
2518
2519   return offset;
2520 }
2521
2522
2523
2524 static int
2525 dissect_inap_ChargeNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2526   offset = dissect_inap_LocationNumber(implicit_tag, tvb, offset, actx, tree, hf_index);
2527
2528   return offset;
2529 }
2530
2531
2532
2533 static int
2534 dissect_inap_EventTypeCharging(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2535   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2536                                        NULL);
2537
2538   return offset;
2539 }
2540
2541
2542 static const ber_sequence_t ChargingEvent_sequence[] = {
2543   { &hf_inap_eventTypeCharging, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_EventTypeCharging },
2544   { &hf_inap_monitorMode    , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_MonitorMode },
2545   { &hf_inap_legID          , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_inap_LegID },
2546   { NULL, 0, 0, 0, NULL }
2547 };
2548
2549 static int
2550 dissect_inap_ChargingEvent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2551   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2552                                    ChargingEvent_sequence, hf_index, ett_inap_ChargingEvent);
2553
2554   return offset;
2555 }
2556
2557
2558
2559 static int
2560 dissect_inap_CNInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2561   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2562                                        NULL);
2563
2564   return offset;
2565 }
2566
2567
2568
2569 static int
2570 dissect_inap_OCTET_STRING_SIZE_1_118(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2571   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2572                                        NULL);
2573
2574   return offset;
2575 }
2576
2577
2578
2579 static int
2580 dissect_inap_EMBEDDED_PDV(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2581   offset = dissect_ber_EmbeddedPDV_Type(implicit_tag, tree, tvb, offset, actx, hf_index, NULL);
2582
2583   return offset;
2584 }
2585
2586
2587 static const value_string inap_Component_vals[] = {
2588   {   0, "componentInfo" },
2589   {   1, "relayedComponent" },
2590   { 0, NULL }
2591 };
2592
2593 static const ber_choice_t Component_choice[] = {
2594   {   0, &hf_inap_componentInfo  , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_OCTET_STRING_SIZE_1_118 },
2595   {   1, &hf_inap_relayedComponent, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_EMBEDDED_PDV },
2596   { 0, NULL, 0, 0, 0, NULL }
2597 };
2598
2599 static int
2600 dissect_inap_Component(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2601   offset = dissect_ber_choice(actx, tree, tvb, offset,
2602                                  Component_choice, hf_index, ett_inap_Component,
2603                                  NULL);
2604
2605   return offset;
2606 }
2607
2608
2609
2610 static int
2611 dissect_inap_ComponentCorrelationID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2612   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2613                                                 NULL);
2614
2615   return offset;
2616 }
2617
2618
2619 static const value_string inap_ComponentType_vals[] = {
2620   {   0, "any" },
2621   {   1, "invoke" },
2622   {   2, "rResult" },
2623   {   3, "rError" },
2624   {   4, "rReject" },
2625   { 0, NULL }
2626 };
2627
2628
2629 static int
2630 dissect_inap_ComponentType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2631   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2632                                   NULL);
2633
2634   return offset;
2635 }
2636
2637
2638
2639 static int
2640 dissect_inap_ScfID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2641   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2642                                        NULL);
2643
2644   return offset;
2645 }
2646
2647
2648 static const ber_sequence_t CompoundCriteria_sequence[] = {
2649   { &hf_inap_basicGapCriteria, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_inap_BasicGapCriteria },
2650   { &hf_inap_scfID          , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_ScfID },
2651   { NULL, 0, 0, 0, NULL }
2652 };
2653
2654 static int
2655 dissect_inap_CompoundCriteria(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2656   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2657                                    CompoundCriteria_sequence, hf_index, ett_inap_CompoundCriteria);
2658
2659   return offset;
2660 }
2661
2662
2663 static const value_string inap_ConnectedNumberTreatmentInd_vals[] = {
2664   {   0, "noINImpact" },
2665   {   1, "presentationRestricted" },
2666   {   2, "presentCalledINNumber" },
2667   {   3, "presentCalledINNumberRestricted" },
2668   { 0, NULL }
2669 };
2670
2671
2672 static int
2673 dissect_inap_ConnectedNumberTreatmentInd(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2674   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2675                                   NULL);
2676
2677   return offset;
2678 }
2679
2680
2681
2682 static int
2683 dissect_inap_ConnectionIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2684   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2685                                        NULL);
2686
2687   return offset;
2688 }
2689
2690
2691 static const value_string inap_ControlType_vals[] = {
2692   {   0, "sCPOverloaded" },
2693   {   1, "manuallyInitiated" },
2694   {   2, "destinationOverload" },
2695   { 0, NULL }
2696 };
2697
2698
2699 static int
2700 dissect_inap_ControlType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2701   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2702                                   NULL);
2703
2704   return offset;
2705 }
2706
2707
2708
2709 static int
2710 dissect_inap_CorrelationID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2711   offset = dissect_inap_Digits(implicit_tag, tvb, offset, actx, tree, hf_index);
2712
2713   return offset;
2714 }
2715
2716
2717
2718 static int
2719 dissect_inap_CounterID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2720   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2721                                                 NULL);
2722
2723   return offset;
2724 }
2725
2726
2727 static const ber_sequence_t CounterAndValue_sequence[] = {
2728   { &hf_inap_counterID      , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_CounterID },
2729   { &hf_inap_counterValue   , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
2730   { NULL, 0, 0, 0, NULL }
2731 };
2732
2733 static int
2734 dissect_inap_CounterAndValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2735   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2736                                    CounterAndValue_sequence, hf_index, ett_inap_CounterAndValue);
2737
2738   return offset;
2739 }
2740
2741
2742 static const ber_sequence_t CountersValue_sequence_of[1] = {
2743   { &hf_inap_CountersValue_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_inap_CounterAndValue },
2744 };
2745
2746 static int
2747 dissect_inap_CountersValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2748   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
2749                                       CountersValue_sequence_of, hf_index, ett_inap_CountersValue);
2750
2751   return offset;
2752 }
2753
2754
2755 static const value_string inap_CreateOrRemoveIndicator_vals[] = {
2756   {   0, "create" },
2757   {   1, "remove" },
2758   { 0, NULL }
2759 };
2760
2761
2762 static int
2763 dissect_inap_CreateOrRemoveIndicator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2764   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2765                                   NULL);
2766
2767   return offset;
2768 }
2769
2770
2771
2772 static int
2773 dissect_inap_CSAID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2774   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2775                                                 NULL);
2776
2777   return offset;
2778 }
2779
2780
2781
2782 static int
2783 dissect_inap_CUG_Interlock(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2784   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2785                                        NULL);
2786
2787   return offset;
2788 }
2789
2790
2791
2792 static int
2793 dissect_inap_CUG_Index(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2794   offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_IA5String,
2795                                             actx, tree, tvb, offset, hf_index,
2796                                             NULL);
2797
2798   return offset;
2799 }
2800
2801
2802
2803 static int
2804 dissect_inap_CutAndPaste(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2805   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2806                                                 NULL);
2807
2808   return offset;
2809 }
2810
2811
2812
2813 static int
2814 dissect_inap_DateAndTime(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2815   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2816                                        NULL);
2817
2818   return offset;
2819 }
2820
2821
2822 static const value_string inap_T_action_vals[] = {
2823   {   0, "resumeCallProcessing" },
2824   {   1, "releaseCall" },
2825   { 0, NULL }
2826 };
2827
2828
2829 static int
2830 dissect_inap_T_action(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2831   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2832                                   NULL);
2833
2834   return offset;
2835 }
2836
2837
2838
2839 static int
2840 dissect_inap_IA5String_SIZE_b3__minMessageContentLength_b3__maxMessageContentLength(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2841   offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_IA5String,
2842                                             actx, tree, tvb, offset, hf_index,
2843                                             NULL);
2844
2845   return offset;
2846 }
2847
2848
2849
2850 static int
2851 dissect_inap_OCTET_STRING_SIZE_b3__minAttributesLength_b3__maxAttributesLength(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2852   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2853                                        NULL);
2854
2855   return offset;
2856 }
2857
2858
2859 static const ber_sequence_t T_text_sequence[] = {
2860   { &hf_inap_messageContent , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_IA5String_SIZE_b3__minMessageContentLength_b3__maxMessageContentLength },
2861   { &hf_inap_attributes     , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_OCTET_STRING_SIZE_b3__minAttributesLength_b3__maxAttributesLength },
2862   { NULL, 0, 0, 0, NULL }
2863 };
2864
2865 static int
2866 dissect_inap_T_text(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2867   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2868                                    T_text_sequence, hf_index, ett_inap_T_text);
2869
2870   return offset;
2871 }
2872
2873
2874 static const ber_sequence_t SEQUENCE_SIZE_1_b3__numOfMessageIDs_OF_Integer4_sequence_of[1] = {
2875   { &hf_inap_elementaryMessageIDs_item, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_inap_Integer4 },
2876 };
2877
2878 static int
2879 dissect_inap_SEQUENCE_SIZE_1_b3__numOfMessageIDs_OF_Integer4(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2880   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
2881                                       SEQUENCE_SIZE_1_b3__numOfMessageIDs_OF_Integer4_sequence_of, hf_index, ett_inap_SEQUENCE_SIZE_1_b3__numOfMessageIDs_OF_Integer4);
2882
2883   return offset;
2884 }
2885
2886
2887
2888 static int
2889 dissect_inap_OCTET_STRING_SIZE_2(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2890   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2891                                        NULL);
2892
2893   return offset;
2894 }
2895
2896
2897
2898 static int
2899 dissect_inap_OCTET_STRING_SIZE_3(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2900   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2901                                        NULL);
2902
2903   return offset;
2904 }
2905
2906
2907
2908 static int
2909 dissect_inap_OCTET_STRING_SIZE_4(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2910   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2911                                        NULL);
2912
2913   return offset;
2914 }
2915
2916
2917 static const value_string inap_VariablePart_vals[] = {
2918   {   0, "integer" },
2919   {   1, "number" },
2920   {   2, "time" },
2921   {   3, "date" },
2922   {   4, "price" },
2923   { 0, NULL }
2924 };
2925
2926 static const ber_choice_t VariablePart_choice[] = {
2927   {   0, &hf_inap_integer        , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
2928   {   1, &hf_inap_number         , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_Digits },
2929   {   2, &hf_inap_time           , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_inap_OCTET_STRING_SIZE_2 },
2930   {   3, &hf_inap_date           , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_inap_OCTET_STRING_SIZE_3 },
2931   {   4, &hf_inap_price          , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_inap_OCTET_STRING_SIZE_4 },
2932   { 0, NULL, 0, 0, 0, NULL }
2933 };
2934
2935 static int
2936 dissect_inap_VariablePart(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2937   offset = dissect_ber_choice(actx, tree, tvb, offset,
2938                                  VariablePart_choice, hf_index, ett_inap_VariablePart,
2939                                  NULL);
2940
2941   return offset;
2942 }
2943
2944
2945 static const ber_sequence_t SEQUENCE_SIZE_1_b3__maxVariableParts_OF_VariablePart_sequence_of[1] = {
2946   { &hf_inap_variableParts_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_inap_VariablePart },
2947 };
2948
2949 static int
2950 dissect_inap_SEQUENCE_SIZE_1_b3__maxVariableParts_OF_VariablePart(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2951   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
2952                                       SEQUENCE_SIZE_1_b3__maxVariableParts_OF_VariablePart_sequence_of, hf_index, ett_inap_SEQUENCE_SIZE_1_b3__maxVariableParts_OF_VariablePart);
2953
2954   return offset;
2955 }
2956
2957
2958 static const ber_sequence_t T_variableMessage_sequence[] = {
2959   { &hf_inap_elementaryMessageID, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
2960   { &hf_inap_variableParts  , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_SEQUENCE_SIZE_1_b3__maxVariableParts_OF_VariablePart },
2961   { NULL, 0, 0, 0, NULL }
2962 };
2963
2964 static int
2965 dissect_inap_T_variableMessage(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2966   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2967                                    T_variableMessage_sequence, hf_index, ett_inap_T_variableMessage);
2968
2969   return offset;
2970 }
2971
2972
2973 static const value_string inap_MessageID_vals[] = {
2974   {   0, "elementaryMessageID" },
2975   {   1, "text" },
2976   {  29, "elementaryMessageIDs" },
2977   {  30, "variableMessage" },
2978   { 0, NULL }
2979 };
2980
2981 static const ber_choice_t MessageID_choice[] = {
2982   {   0, &hf_inap_elementaryMessageID, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
2983   {   1, &hf_inap_text           , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_T_text },
2984   {  29, &hf_inap_elementaryMessageIDs, BER_CLASS_CON, 29, BER_FLAGS_IMPLTAG, dissect_inap_SEQUENCE_SIZE_1_b3__numOfMessageIDs_OF_Integer4 },
2985   {  30, &hf_inap_variableMessage, BER_CLASS_CON, 30, BER_FLAGS_IMPLTAG, dissect_inap_T_variableMessage },
2986   { 0, NULL, 0, 0, 0, NULL }
2987 };
2988
2989 static int
2990 dissect_inap_MessageID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2991   offset = dissect_ber_choice(actx, tree, tvb, offset,
2992                                  MessageID_choice, hf_index, ett_inap_MessageID,
2993                                  NULL);
2994
2995   return offset;
2996 }
2997
2998
2999
3000 static int
3001 dissect_inap_INTEGER_1_127(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3002   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
3003                                                 NULL);
3004
3005   return offset;
3006 }
3007
3008
3009
3010 static int
3011 dissect_inap_INTEGER_0_32767(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3012   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
3013                                                 NULL);
3014
3015   return offset;
3016 }
3017
3018
3019
3020 static int
3021 dissect_inap_Language(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3022   offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString,
3023                                             actx, tree, tvb, offset, hf_index,
3024                                             NULL);
3025
3026   return offset;
3027 }
3028
3029
3030 static const ber_sequence_t InbandInfo_sequence[] = {
3031   { &hf_inap_messageID      , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_inap_MessageID },
3032   { &hf_inap_numberOfRepetitions, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_INTEGER_1_127 },
3033   { &hf_inap_duration_01    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_INTEGER_0_32767 },
3034   { &hf_inap_interval_02    , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_INTEGER_0_32767 },
3035   { &hf_inap_preferredLanguage, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_Language },
3036   { NULL, 0, 0, 0, NULL }
3037 };
3038
3039 static int
3040 dissect_inap_InbandInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3041   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3042                                    InbandInfo_sequence, hf_index, ett_inap_InbandInfo);
3043
3044   return offset;
3045 }
3046
3047
3048 static const ber_sequence_t Tone_sequence[] = {
3049   { &hf_inap_toneID         , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
3050   { &hf_inap_duration_02    , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
3051   { NULL, 0, 0, 0, NULL }
3052 };
3053
3054 static int
3055 dissect_inap_Tone(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3056   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3057                                    Tone_sequence, hf_index, ett_inap_Tone);
3058
3059   return offset;
3060 }
3061
3062
3063
3064 static int
3065 dissect_inap_DisplayInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3066   offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_IA5String,
3067                                             actx, tree, tvb, offset, hf_index,
3068                                             NULL);
3069
3070   return offset;
3071 }
3072
3073
3074
3075 static int
3076 dissect_inap_SDSSinformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3077   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
3078                                        NULL);
3079
3080   return offset;
3081 }
3082
3083
3084 static const value_string inap_InformationToSend_vals[] = {
3085   {   0, "inbandInfo" },
3086   {   1, "tone" },
3087   {   2, "displayInformation" },
3088   {   3, "sDSSinformation" },
3089   { 0, NULL }
3090 };
3091
3092 static const ber_choice_t InformationToSend_choice[] = {
3093   {   0, &hf_inap_inbandInfo     , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_InbandInfo },
3094   {   1, &hf_inap_tone           , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_Tone },
3095   {   2, &hf_inap_displayInformation, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_inap_DisplayInformation },
3096   {   3, &hf_inap_sDSSinformation, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_inap_SDSSinformation },
3097   { 0, NULL, 0, 0, 0, NULL }
3098 };
3099
3100 static int
3101 dissect_inap_InformationToSend(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3102   offset = dissect_ber_choice(actx, tree, tvb, offset,
3103                                  InformationToSend_choice, hf_index, ett_inap_InformationToSend,
3104                                  NULL);
3105
3106   return offset;
3107 }
3108
3109
3110 static const ber_sequence_t T_both_sequence[] = {
3111   { &hf_inap_informationToSend, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_inap_InformationToSend },
3112   { &hf_inap_releaseCause   , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_Cause },
3113   { NULL, 0, 0, 0, NULL }
3114 };
3115
3116 static int
3117 dissect_inap_T_both(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3118   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3119                                    T_both_sequence, hf_index, ett_inap_T_both);
3120
3121   return offset;
3122 }
3123
3124
3125 static const value_string inap_GapTreatment_vals[] = {
3126   {   0, "informationToSend" },
3127   {   1, "releaseCause" },
3128   {   2, "both" },
3129   { 0, NULL }
3130 };
3131
3132 static const ber_choice_t GapTreatment_choice[] = {
3133   {   0, &hf_inap_informationToSend, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_InformationToSend },
3134   {   1, &hf_inap_releaseCause   , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_Cause },
3135   {   2, &hf_inap_both           , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_inap_T_both },
3136   { 0, NULL, 0, 0, 0, NULL }
3137 };
3138
3139 static int
3140 dissect_inap_GapTreatment(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3141   offset = dissect_ber_choice(actx, tree, tvb, offset,
3142                                  GapTreatment_choice, hf_index, ett_inap_GapTreatment,
3143                                  NULL);
3144
3145   return offset;
3146 }
3147
3148
3149 static const ber_sequence_t DefaultFaultHandling_sequence[] = {
3150   { &hf_inap_action         , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_T_action },
3151   { &hf_inap_treatment      , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_inap_GapTreatment },
3152   { NULL, 0, 0, 0, NULL }
3153 };
3154
3155 static int
3156 dissect_inap_DefaultFaultHandling(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3157   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3158                                    DefaultFaultHandling_sequence, hf_index, ett_inap_DefaultFaultHandling);
3159
3160   return offset;