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