1 /* Do not modify this file. Changes will be overwritten.                      */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler       */
3 /* packet-camel.c                                                             */
4 /* asn2wrs.py -b -L -p camel -c ./camel.cnf -s ./packet-camel-template -D . -O ../.. CAP-object-identifiers.asn CAP-classes.asn CAP-datatypes.asn CAP-errorcodes.asn CAP-errortypes.asn CAP-operationcodes.asn CAP-GPRS-ReferenceNumber.asn CAP-gsmSCF-gsmSRF-ops-args.asn CAP-gsmSSF-gsmSCF-ops-args.asn CAP-gprsSSF-gsmSCF-ops-args.asn CAP-SMS-ops-args.asn CAP-U-ABORT-Data.asn CamelV2diff.asn ../ros/Remote-Operations-Information-Objects.asn ../ros/Remote-Operations-Generic-ROS-PDUs.asn */
5 
6 /* Input file: packet-camel-template.c */
7 
8 #line 1 "./asn1/camel/packet-camel-template.c"
9 /* packet-camel-template.c
10  * Routines for Camel
11  * Copyright 2004, Tim Endean <endeant@hotmail.com>
12  * Copyright 2005, Olivier Jacques <olivier.jacques@hp.com>
13  * Copyright 2005, Javier Acuna <javier.acuna@sixbell.com>
14  * Updated to ETSI TS 129 078 V6.4.0 (2004-3GPP TS 29.078 version 6.4.0 Release 6 1 12)
15  * Copyright 2005-2010, Anders Broman <anders.broman@ericsson.com>
16  * Updated to 3GPP TS 29.078 version 7.3.0 Release 7 (2006-06)
17  * Built from the gsm-map dissector Copyright 2004, Anders Broman <anders.broman@ericsson.com>
18  *
19  * Wireshark - Network traffic analyzer
20  * By Gerald Combs <gerald@wireshark.org>
21  * Copyright 1998 Gerald Combs
22  *
23  * SPDX-License-Identifier: GPL-2.0-or-later
24  * References: ETSI 300 374
25  */
26 /*
27  * Indentation logic: this file is indented with 2 spaces indentation.
28  *                    there are no tabs.
29  */
30 #include "config.h"
31 
32 #include <stdlib.h>
33 
34 #include <epan/packet.h>
35 #include <epan/prefs.h>
36 #include <epan/oids.h>
37 #include <epan/tap.h>
38 #include <epan/srt_table.h>
39 #include <epan/stat_tap_ui.h>
40 #include <epan/asn1.h>
41 #include <epan/expert.h>
42 #include <wsutil/strtoi.h>
43 
44 #include "packet-ber.h"
45 #include "packet-camel.h"
46 #include "packet-q931.h"
47 #include "packet-e164.h"
48 #include "packet-isup.h"
49 #include "packet-gsm_map.h"
50 #include "packet-gsm_a_common.h"
51 #include "packet-inap.h"
52 #include "packet-tcap.h"
53 
54 #define PNAME  "Camel"
55 #define PSNAME "CAMEL"
56 #define PFNAME "camel"
57 
58 /* Initialize the protocol and registered fields */
59 static int proto_camel = -1;
60 int date_format = 1; /*assume european date format */
61 int camel_tap = -1;
62 /* Global variables */
63 static guint32 opcode=0;
64 static guint32 errorCode=0;
65 static guint32 camel_ver = 0;
66 
67 /* When several Camel components are received in a single TCAP message,
68    we have to use several buffers for the stored parameters
69    because else this data are erased during TAP dissector call */
70 #define MAX_CAMEL_INSTANCE 10
71 static int camelsrt_global_current=0;
72 static struct camelsrt_info_t camelsrt_global_info[MAX_CAMEL_INSTANCE];
73 
74 /* ROSE context */
75 static rose_ctx_t camel_rose_ctx;
76 
77 static int hf_digit = -1;
78 static int hf_camel_extension_code_local = -1;
79 static int hf_camel_error_code_local = -1;
80 static int hf_camel_cause_indicator = -1;
81 static int hf_camel_PDPTypeNumber_etsi = -1;
82 static int hf_camel_PDPTypeNumber_ietf = -1;
83 static int hf_camel_PDPAddress_IPv4 = -1;
84 static int hf_camel_PDPAddress_IPv6 = -1;
85 static int hf_camel_cellGlobalIdOrServiceAreaIdFixedLength = -1;
86 static int hf_camel_RP_Cause = -1;
87 static int hf_camel_CAMEL_AChBillingChargingCharacteristics = -1;
88 static int hf_camel_CAMEL_FCIBillingChargingCharacteristics = -1;
89 static int hf_camel_CAMEL_FCIGPRSBillingChargingCharacteristics = -1;
90 static int hf_camel_CAMEL_FCISMSBillingChargingCharacteristics = -1;
91 static int hf_camel_CAMEL_SCIBillingChargingCharacteristics = -1;
92 static int hf_camel_CAMEL_SCIGPRSBillingChargingCharacteristics = -1;
93 static int hf_camel_CAMEL_CallResult = -1;
94 
95 /* Used by persistent data */
96 static int hf_camelsrt_SessionId=-1;
97 static int hf_camelsrt_RequestNumber=-1;
98 static int hf_camelsrt_Duplicate=-1;
99 static int hf_camelsrt_RequestFrame=-1;
100 static int hf_camelsrt_ResponseFrame=-1;
101 static int hf_camelsrt_DeltaTime=-1;
102 static int hf_camelsrt_SessionTime=-1;
103 static int hf_camelsrt_DeltaTime31=-1;
104 static int hf_camelsrt_DeltaTime75=-1;
105 static int hf_camelsrt_DeltaTime65=-1;
106 static int hf_camelsrt_DeltaTime22=-1;
107 static int hf_camelsrt_DeltaTime35=-1;
108 static int hf_camelsrt_DeltaTime80=-1;
109 
110 
111 /*--- Included file: packet-camel-hf.c ---*/
112 #line 1 "./asn1/camel/packet-camel-hf.c"
113 static int hf_camel_PAR_cancelFailed_PDU = -1;    /* PAR_cancelFailed */
114 static int hf_camel_PAR_requestedInfoError_PDU = -1;  /* PAR_requestedInfoError */
115 static int hf_camel_UnavailableNetworkResource_PDU = -1;  /* UnavailableNetworkResource */
116 static int hf_camel_PAR_taskRefused_PDU = -1;     /* PAR_taskRefused */
117 static int hf_camel_CAP_GPRS_ReferenceNumber_PDU = -1;  /* CAP_GPRS_ReferenceNumber */
118 static int hf_camel_PlayAnnouncementArg_PDU = -1;  /* PlayAnnouncementArg */
119 static int hf_camel_PromptAndCollectUserInformationArg_PDU = -1;  /* PromptAndCollectUserInformationArg */
120 static int hf_camel_ReceivedInformationArg_PDU = -1;  /* ReceivedInformationArg */
121 static int hf_camel_SpecializedResourceReportArg_PDU = -1;  /* SpecializedResourceReportArg */
122 static int hf_camel_ApplyChargingArg_PDU = -1;    /* ApplyChargingArg */
123 static int hf_camel_ApplyChargingReportArg_PDU = -1;  /* ApplyChargingReportArg */
124 static int hf_camel_AssistRequestInstructionsArg_PDU = -1;  /* AssistRequestInstructionsArg */
125 static int hf_camel_CallGapArg_PDU = -1;          /* CallGapArg */
126 static int hf_camel_CallInformationReportArg_PDU = -1;  /* CallInformationReportArg */
127 static int hf_camel_CallInformationRequestArg_PDU = -1;  /* CallInformationRequestArg */
128 static int hf_camel_CancelArg_PDU = -1;           /* CancelArg */
129 static int hf_camel_CollectInformationArg_PDU = -1;  /* CollectInformationArg */
130 static int hf_camel_ConnectArg_PDU = -1;          /* ConnectArg */
131 static int hf_camel_ConnectToResourceArg_PDU = -1;  /* ConnectToResourceArg */
132 static int hf_camel_ContinueWithArgumentArg_PDU = -1;  /* ContinueWithArgumentArg */
133 static int hf_camel_DisconnectForwardConnectionWithArgumentArg_PDU = -1;  /* DisconnectForwardConnectionWithArgumentArg */
134 static int hf_camel_DisconnectLegArg_PDU = -1;    /* DisconnectLegArg */
135 static int hf_camel_EntityReleasedArg_PDU = -1;   /* EntityReleasedArg */
136 static int hf_camel_EstablishTemporaryConnectionArg_PDU = -1;  /* EstablishTemporaryConnectionArg */
137 static int hf_camel_EventReportBCSMArg_PDU = -1;  /* EventReportBCSMArg */
138 static int hf_camel_FurnishChargingInformationArg_PDU = -1;  /* FurnishChargingInformationArg */
139 static int hf_camel_InitialDPArg_PDU = -1;        /* InitialDPArg */
140 static int hf_camel_InitiateCallAttemptArg_PDU = -1;  /* InitiateCallAttemptArg */
141 static int hf_camel_InitiateCallAttemptRes_PDU = -1;  /* InitiateCallAttemptRes */
142 static int hf_camel_MoveLegArg_PDU = -1;          /* MoveLegArg */
143 static int hf_camel_PlayToneArg_PDU = -1;         /* PlayToneArg */
144 static int hf_camel_ReleaseCallArg_PDU = -1;      /* ReleaseCallArg */
145 static int hf_camel_RequestReportBCSMEventArg_PDU = -1;  /* RequestReportBCSMEventArg */
146 static int hf_camel_ResetTimerArg_PDU = -1;       /* ResetTimerArg */
147 static int hf_camel_SendChargingInformationArg_PDU = -1;  /* SendChargingInformationArg */
148 static int hf_camel_SplitLegArg_PDU = -1;         /* SplitLegArg */
149 static int hf_camel_ApplyChargingGPRSArg_PDU = -1;  /* ApplyChargingGPRSArg */
150 static int hf_camel_ApplyChargingReportGPRSArg_PDU = -1;  /* ApplyChargingReportGPRSArg */
151 static int hf_camel_CancelGPRSArg_PDU = -1;       /* CancelGPRSArg */
152 static int hf_camel_ConnectGPRSArg_PDU = -1;      /* ConnectGPRSArg */
153 static int hf_camel_ContinueGPRSArg_PDU = -1;     /* ContinueGPRSArg */
154 static int hf_camel_EntityReleasedGPRSArg_PDU = -1;  /* EntityReleasedGPRSArg */
155 static int hf_camel_EventReportGPRSArg_PDU = -1;  /* EventReportGPRSArg */
156 static int hf_camel_FurnishChargingInformationGPRSArg_PDU = -1;  /* FurnishChargingInformationGPRSArg */
157 static int hf_camel_InitialDPGPRSArg_PDU = -1;    /* InitialDPGPRSArg */
158 static int hf_camel_ReleaseGPRSArg_PDU = -1;      /* ReleaseGPRSArg */
159 static int hf_camel_RequestReportGPRSEventArg_PDU = -1;  /* RequestReportGPRSEventArg */
160 static int hf_camel_ResetTimerGPRSArg_PDU = -1;   /* ResetTimerGPRSArg */
161 static int hf_camel_SendChargingInformationGPRSArg_PDU = -1;  /* SendChargingInformationGPRSArg */
162 static int hf_camel_ConnectSMSArg_PDU = -1;       /* ConnectSMSArg */
163 static int hf_camel_EventReportSMSArg_PDU = -1;   /* EventReportSMSArg */
164 static int hf_camel_FurnishChargingInformationSMSArg_PDU = -1;  /* FurnishChargingInformationSMSArg */
165 static int hf_camel_InitialDPSMSArg_PDU = -1;     /* InitialDPSMSArg */
166 static int hf_camel_ReleaseSMSArg_PDU = -1;       /* ReleaseSMSArg */
167 static int hf_camel_RequestReportSMSEventArg_PDU = -1;  /* RequestReportSMSEventArg */
168 static int hf_camel_ResetTimerSMSArg_PDU = -1;    /* ResetTimerSMSArg */
169 static int hf_camel_CAP_U_ABORT_REASON_PDU = -1;  /* CAP_U_ABORT_REASON */
170 static int hf_camel_legID = -1;                   /* LegID */
171 static int hf_camel_srfConnection = -1;           /* CallSegmentID */
172 static int hf_camel_aOCInitial = -1;              /* CAI_GSM0224 */
173 static int hf_camel_aOCSubsequent = -1;           /* AOCSubsequent */
174 static int hf_camel_cAI_GSM0224 = -1;             /* CAI_GSM0224 */
175 static int hf_camel_aocSubsequent_tariffSwitchInterval = -1;  /* INTEGER_1_86400 */
176 static int hf_camel_audibleIndicatorTone = -1;    /* BOOLEAN */
177 static int hf_camel_burstList = -1;               /* BurstList */
178 static int hf_camel_conferenceTreatmentIndicator = -1;  /* OCTET_STRING_SIZE_1 */
179 static int hf_camel_callCompletionTreatmentIndicator = -1;  /* OCTET_STRING_SIZE_1 */
180 static int hf_camel_calledAddressValue = -1;      /* Digits */
181 static int hf_camel_gapOnService = -1;            /* GapOnService */
182 static int hf_camel_calledAddressAndService = -1;  /* T_calledAddressAndService */
183 static int hf_camel_serviceKey = -1;              /* ServiceKey */
184 static int hf_camel_callingAddressAndService = -1;  /* T_callingAddressAndService */
185 static int hf_camel_callingAddressValue = -1;     /* Digits */
186 static int hf_camel_eventTypeBCSM = -1;           /* EventTypeBCSM */
187 static int hf_camel_monitorMode = -1;             /* MonitorMode */
188 static int hf_camel_dpSpecificCriteria = -1;      /* DpSpecificCriteria */
189 static int hf_camel_automaticRearm = -1;          /* NULL */
190 static int hf_camel_cause = -1;                   /* Cause */
191 static int hf_camel_bearerCap = -1;               /* T_bearerCap */
192 static int hf_camel_numberOfBursts = -1;          /* INTEGER_1_3 */
193 static int hf_camel_burstInterval = -1;           /* INTEGER_1_1200 */
194 static int hf_camel_numberOfTonesInBurst = -1;    /* INTEGER_1_3 */
195 static int hf_camel_burstToneDuration = -1;       /* INTEGER_1_20 */
196 static int hf_camel_toneInterval = -1;            /* INTEGER_1_20 */
197 static int hf_camel_warningPeriod = -1;           /* INTEGER_1_1200 */
198 static int hf_camel_bursts = -1;                  /* Burst */
199 static int hf_camel_e1 = -1;                      /* INTEGER_0_8191 */
200 static int hf_camel_e2 = -1;                      /* INTEGER_0_8191 */
201 static int hf_camel_e3 = -1;                      /* INTEGER_0_8191 */
202 static int hf_camel_e4 = -1;                      /* INTEGER_0_8191 */
203 static int hf_camel_e5 = -1;                      /* INTEGER_0_8191 */
204 static int hf_camel_e6 = -1;                      /* INTEGER_0_8191 */
205 static int hf_camel_e7 = -1;                      /* INTEGER_0_8191 */
206 static int hf_camel_callSegmentID = -1;           /* CallSegmentID */
207 static int hf_camel_invokeID = -1;                /* InvokeID */
208 static int hf_camel_timeDurationCharging = -1;    /* T_timeDurationCharging */
209 static int hf_camel_maxCallPeriodDuration = -1;   /* INTEGER_1_864000 */
210 static int hf_camel_releaseIfdurationExceeded = -1;  /* BOOLEAN */
211 static int hf_camel_timeDurationCharging_tariffSwitchInterval = -1;  /* INTEGER_1_86400 */
212 static int hf_camel_audibleIndicator = -1;        /* T_audibleIndicator */
213 static int hf_camel_extensions = -1;              /* Extensions */
214 static int hf_camel_timeDurationChargingResult = -1;  /* T_timeDurationChargingResult */
215 static int hf_camel_timeDurationChargingResultpartyToCharge = -1;  /* ReceivingSideID */
216 static int hf_camel_timeInformation = -1;         /* TimeInformation */
217 static int hf_camel_legActive = -1;               /* BOOLEAN */
218 static int hf_camel_callLegReleasedAtTcpExpiry = -1;  /* NULL */
219 static int hf_camel_aChChargingAddress = -1;      /* AChChargingAddress */
220 static int hf_camel_fci_fCIBCCCAMELsequence1 = -1;  /* T_fci_fCIBCCCAMELsequence1 */
221 static int hf_camel_freeFormatData = -1;          /* OCTET_STRING_SIZE_bound__minFCIBillingChargingDataLength_bound__maxFCIBillingChargingDataLength */
222 static int hf_camel_fCIBCCCAMELsequence1partyToCharge = -1;  /* SendingSideID */
223 static int hf_camel_appendFreeFormatData = -1;    /* AppendFreeFormatData */
224 static int hf_camel_fciGPRS_fCIBCCCAMELsequence1 = -1;  /* T_fciGPRS_fCIBCCCAMELsequence1 */
225 static int hf_camel_pDPID = -1;                   /* PDPID */
226 static int hf_camel_fciSMS_fCIBCCCAMELsequence1 = -1;  /* T_fciSMS_fCIBCCCAMELsequence1 */
227 static int hf_camel_aOCBeforeAnswer = -1;         /* AOCBeforeAnswer */
228 static int hf_camel_aOCAfterAnswer = -1;          /* AOCSubsequent */
229 static int hf_camel_aOC_extension = -1;           /* CAMEL_SCIBillingChargingCharacteristicsAlt */
230 static int hf_camel_aOCGPRS = -1;                 /* AOCGPRS */
231 static int hf_camel_ChangeOfPositionControlInfo_item = -1;  /* ChangeOfLocation */
232 static int hf_camel_cellGlobalId = -1;            /* CellGlobalIdOrServiceAreaIdFixedLength */
233 static int hf_camel_serviceAreaId = -1;           /* CellGlobalIdOrServiceAreaIdFixedLength */
234 static int hf_camel_locationAreaId = -1;          /* LAIFixedLength */
235 static int hf_camel_inter_SystemHandOver = -1;    /* NULL */
236 static int hf_camel_inter_PLMNHandOver = -1;      /* NULL */
237 static int hf_camel_inter_MSCHandOver = -1;       /* NULL */
238 static int hf_camel_changeOfLocationAlt = -1;     /* ChangeOfLocationAlt */
239 static int hf_camel_maxTransferredVolume = -1;    /* INTEGER_1_4294967295 */
240 static int hf_camel_maxElapsedTime = -1;          /* INTEGER_1_86400 */
241 static int hf_camel_transferredVolume = -1;       /* TransferredVolume */
242 static int hf_camel_elapsedTime = -1;             /* ElapsedTime */
243 static int hf_camel_transferredVolumeRollOver = -1;  /* TransferredVolumeRollOver */
244 static int hf_camel_elapsedTimeRollOver = -1;     /* ElapsedTimeRollOver */
245 static int hf_camel_minimumNbOfDigits = -1;       /* INTEGER_1_30 */
246 static int hf_camel_maximumNbOfDigits = -1;       /* INTEGER_1_30 */
247 static int hf_camel_endOfReplyDigit = -1;         /* OCTET_STRING_SIZE_1_2 */
248 static int hf_camel_cancelDigit = -1;             /* OCTET_STRING_SIZE_1_2 */
249 static int hf_camel_startDigit = -1;              /* OCTET_STRING_SIZE_1_2 */
250 static int hf_camel_firstDigitTimeOut = -1;       /* INTEGER_1_127 */
251 static int hf_camel_interDigitTimeOut = -1;       /* INTEGER_1_127 */
252 static int hf_camel_errorTreatment = -1;          /* ErrorTreatment */
253 static int hf_camel_interruptableAnnInd = -1;     /* BOOLEAN */
254 static int hf_camel_voiceInformation = -1;        /* BOOLEAN */
255 static int hf_camel_voiceBack = -1;               /* BOOLEAN */
256 static int hf_camel_collectedDigits = -1;         /* CollectedDigits */
257 static int hf_camel_basicGapCriteria = -1;        /* BasicGapCriteria */
258 static int hf_camel_scfID = -1;                   /* ScfID */
259 static int hf_camel_DestinationRoutingAddress_item = -1;  /* CalledPartyNumber */
260 static int hf_camel_applicationTimer = -1;        /* ApplicationTimer */
261 static int hf_camel_midCallControlInfo = -1;      /* MidCallControlInfo */
262 static int hf_camel_dpSpecificCriteriaAlt = -1;   /* DpSpecificCriteriaAlt */
263 static int hf_camel_changeOfPositionControlInfo = -1;  /* ChangeOfPositionControlInfo */
264 static int hf_camel_numberOfDigits = -1;          /* NumberOfDigits */
265 static int hf_camel_interDigitTimeout = -1;       /* INTEGER_1_127 */
266 static int hf_camel_oServiceChangeSpecificInfo = -1;  /* T_oServiceChangeSpecificInfo */
267 static int hf_camel_ext_basicServiceCode = -1;    /* Ext_BasicServiceCode */
268 static int hf_camel_initiatorOfServiceChange = -1;  /* InitiatorOfServiceChange */
269 static int hf_camel_natureOfServiceChange = -1;   /* NatureOfServiceChange */
270 static int hf_camel_tServiceChangeSpecificInfo = -1;  /* T_tServiceChangeSpecificInfo */
271 static int hf_camel_collectedInfoSpecificInfo = -1;  /* T_collectedInfoSpecificInfo */
272 static int hf_camel_calledPartyNumber = -1;       /* CalledPartyNumber */
273 static int hf_camel_timeGPRSIfNoTariffSwitch = -1;  /* INTEGER_0_86400 */
274 static int hf_camel_timeGPRSIfTariffSwitch = -1;  /* T_timeGPRSIfTariffSwitch */
275 static int hf_camel_timeGPRSSinceLastTariffSwitch = -1;  /* INTEGER_0_86400 */
276 static int hf_camel_timeGPRSTariffSwitchInterval = -1;  /* INTEGER_0_86400 */
277 static int hf_camel_rO_TimeGPRSIfNoTariffSwitch = -1;  /* INTEGER_0_255 */
278 static int hf_camel_rO_TimeGPRSIfTariffSwitch = -1;  /* T_rO_TimeGPRSIfTariffSwitch */
279 static int hf_camel_rO_TimeGPRSSinceLastTariffSwitch = -1;  /* INTEGER_0_255 */
280 static int hf_camel_rO_TimeGPRSTariffSwitchInterval = -1;  /* INTEGER_0_255 */
281 static int hf_camel_pDPTypeOrganization = -1;     /* T_pDPTypeOrganization */
282 static int hf_camel_pDPTypeNumber = -1;           /* T_pDPTypeNumber */
283 static int hf_camel_pDPAddress = -1;              /* T_pDPAddress */
284 static int hf_camel_routeSelectFailureSpecificInfo = -1;  /* T_routeSelectFailureSpecificInfo */
285 static int hf_camel_routeSelectfailureCause = -1;  /* Cause */
286 static int hf_camel_oCalledPartyBusySpecificInfo = -1;  /* T_oCalledPartyBusySpecificInfo */
287 static int hf_camel_busyCause = -1;               /* Cause */
288 static int hf_camel_oNoAnswerSpecificInfo = -1;   /* T_oNoAnswerSpecificInfo */
289 static int hf_camel_oAnswerSpecificInfo = -1;     /* T_oAnswerSpecificInfo */
290 static int hf_camel_destinationAddress = -1;      /* CalledPartyNumber */
291 static int hf_camel_or_Call = -1;                 /* NULL */
292 static int hf_camel_forwardedCall = -1;           /* NULL */
293 static int hf_camel_chargeIndicator = -1;         /* ChargeIndicator */
294 static int hf_camel_ext_basicServiceCode2 = -1;   /* Ext_BasicServiceCode */
295 static int hf_camel_oMidCallSpecificInfo = -1;    /* T_oMidCallSpecificInfo */
296 static int hf_camel_omidCallEvents = -1;          /* T_omidCallEvents */
297 static int hf_camel_dTMFDigitsCompleted = -1;     /* Digits */
298 static int hf_camel_dTMFDigitsTimeOut = -1;       /* Digits */
299 static int hf_camel_oDisconnectSpecificInfo = -1;  /* T_oDisconnectSpecificInfo */
300 static int hf_camel_releaseCause = -1;            /* Cause */
301 static int hf_camel_tBusySpecificInfo = -1;       /* T_tBusySpecificInfo */
302 static int hf_camel_callForwarded = -1;           /* NULL */
303 static int hf_camel_routeNotPermitted = -1;       /* NULL */
304 static int hf_camel_forwardingDestinationNumber = -1;  /* CalledPartyNumber */
305 static int hf_camel_tNoAnswerSpecificInfo = -1;   /* T_tNoAnswerSpecificInfo */
306 static int hf_camel_tAnswerSpecificInfo = -1;     /* T_tAnswerSpecificInfo */
307 static int hf_camel_tMidCallSpecificInfo = -1;    /* T_tMidCallSpecificInfo */
308 static int hf_camel_tmidCallEvents = -1;          /* T_tmidCallEvents */
309 static int hf_camel_tDisconnectSpecificInfo = -1;  /* T_tDisconnectSpecificInfo */
310 static int hf_camel_oTermSeizedSpecificInfo = -1;  /* T_oTermSeizedSpecificInfo */
311 static int hf_camel_locationInformation = -1;     /* LocationInformation */
312 static int hf_camel_callAcceptedSpecificInfo = -1;  /* T_callAcceptedSpecificInfo */
313 static int hf_camel_oAbandonSpecificInfo = -1;    /* T_oAbandonSpecificInfo */
314 static int hf_camel_oChangeOfPositionSpecificInfo = -1;  /* T_oChangeOfPositionSpecificInfo */
315 static int hf_camel_metDPCriteriaList = -1;       /* MetDPCriteriaList */
316 static int hf_camel_tChangeOfPositionSpecificInfo = -1;  /* T_tChangeOfPositionSpecificInfo */
317 static int hf_camel_dpSpecificInfoAlt = -1;       /* DpSpecificInfoAlt */
318 static int hf_camel_o_smsFailureSpecificInfo = -1;  /* T_o_smsFailureSpecificInfo */
319 static int hf_camel_mo_smsfailureCause = -1;      /* MO_SMSCause */
320 static int hf_camel_o_smsSubmissionSpecificInfo = -1;  /* T_o_smsSubmissionSpecificInfo */
321 static int hf_camel_t_smsFailureSpecificInfo = -1;  /* T_t_smsFailureSpecificInfo */
322 static int hf_camel_t_smsfailureCause = -1;       /* MT_SMSCause */
323 static int hf_camel_t_smsDeliverySpecificInfo = -1;  /* T_t_smsDeliverySpecificInfo */
324 static int hf_camel_Extensions_item = -1;         /* ExtensionField */
325 static int hf_camel_type = -1;                    /* Code */
326 static int hf_camel_criticality = -1;             /* CriticalityType */
327 static int hf_camel_value = -1;                   /* T_value */
328 static int hf_camel_callDiversionTreatmentIndicator = -1;  /* OCTET_STRING_SIZE_1 */
329 static int hf_camel_callingPartyRestrictionIndicator = -1;  /* OCTET_STRING_SIZE_1 */
330 static int hf_camel_compoundGapCriteria = -1;     /* CompoundCriteria */
331 static int hf_camel_gapIndicatorsDuration = -1;   /* Duration */
332 static int hf_camel_gapInterval = -1;             /* Interval */
333 static int hf_camel_informationToSend = -1;       /* InformationToSend */
334 static int hf_camel_GenericNumbers_item = -1;     /* GenericNumber */
335 static int hf_camel_short_QoS_format = -1;        /* QoS_Subscribed */
336 static int hf_camel_long_QoS_format = -1;         /* Ext_QoS_Subscribed */
337 static int hf_camel_supplement_to_long_QoS_format = -1;  /* Ext2_QoS_Subscribed */
338 static int hf_camel_additionalSupplement = -1;    /* Ext3_QoS_Subscribed */
339 static int hf_camel_gPRSEventType = -1;           /* GPRSEventType */
340 static int hf_camel_attachChangeOfPositionSpecificInformation = -1;  /* T_attachChangeOfPositionSpecificInformation */
341 static int hf_camel_locationInformationGPRS = -1;  /* LocationInformationGPRS */
342 static int hf_camel_pdp_ContextchangeOfPositionSpecificInformation = -1;  /* T_pdp_ContextchangeOfPositionSpecificInformation */
343 static int hf_camel_accessPointName = -1;         /* AccessPointName */
344 static int hf_camel_chargingID = -1;              /* GPRSChargingID */
345 static int hf_camel_endUserAddress = -1;          /* EndUserAddress */
346 static int hf_camel_qualityOfService = -1;        /* QualityOfService */
347 static int hf_camel_timeAndTimeZone = -1;         /* TimeAndTimezone */
348 static int hf_camel_gGSNAddress = -1;             /* GSN_Address */
349 static int hf_camel_detachSpecificInformation = -1;  /* T_detachSpecificInformation */
350 static int hf_camel_initiatingEntity = -1;        /* InitiatingEntity */
351 static int hf_camel_routeingAreaUpdate = -1;      /* NULL */
352 static int hf_camel_disconnectSpecificInformation = -1;  /* T_disconnectSpecificInformation */
353 static int hf_camel_pDPContextEstablishmentSpecificInformation = -1;  /* T_pDPContextEstablishmentSpecificInformation */
354 static int hf_camel_pDPInitiationType = -1;       /* PDPInitiationType */
355 static int hf_camel_secondaryPDP_context = -1;    /* NULL */
356 static int hf_camel_pDPContextEstablishmentAcknowledgementSpecificInformation = -1;  /* T_pDPContextEstablishmentAcknowledgementSpecificInformation */
357 static int hf_camel_messageID = -1;               /* MessageID */
358 static int hf_camel_numberOfRepetitions = -1;     /* INTEGER_1_127 */
359 static int hf_camel_inbandInfoDuration = -1;      /* INTEGER_0_32767 */
360 static int hf_camel_interval = -1;                /* INTEGER_0_32767 */
361 static int hf_camel_inbandInfo = -1;              /* InbandInfo */
362 static int hf_camel_tone = -1;                    /* Tone */
363 static int hf_camel_cellGlobalIdOrServiceAreaIdOrLAI = -1;  /* T_cellGlobalIdOrServiceAreaIdOrLAI */
364 static int hf_camel_routeingAreaIdentity = -1;    /* RAIdentity */
365 static int hf_camel_geographicalInformation = -1;  /* GeographicalInformation */
366 static int hf_camel_sgsn_Number = -1;             /* ISDN_AddressString */
367 static int hf_camel_selectedLSAIdentity = -1;     /* LSAIdentity */
368 static int hf_camel_extensionContainer = -1;      /* ExtensionContainer */
369 static int hf_camel_sai_Present = -1;             /* NULL */
370 static int hf_camel_userCSGInformation = -1;      /* UserCSGInformation */
371 static int hf_camel_elementaryMessageID = -1;     /* Integer4 */
372 static int hf_camel_text = -1;                    /* T_text */
373 static int hf_camel_messageContent = -1;          /* IA5String_SIZE_bound__minMessageContentLength_bound__maxMessageContentLength */
374 static int hf_camel_attributes = -1;              /* OCTET_STRING_SIZE_bound__minAttributesLength_bound__maxAttributesLength */
375 static int hf_camel_elementaryMessageIDs = -1;    /* SEQUENCE_SIZE_1_bound__numOfMessageIDs_OF_Integer4 */
376 static int hf_camel_elementaryMessageIDs_item = -1;  /* Integer4 */
377 static int hf_camel_variableMessage = -1;         /* T_variableMessage */
378 static int hf_camel_variableParts = -1;           /* SEQUENCE_SIZE_1_5_OF_VariablePart */
379 static int hf_camel_variableParts_item = -1;      /* VariablePart */
380 static int hf_camel_MetDPCriteriaList_item = -1;  /* MetDPCriterion */
381 static int hf_camel_enteringCellGlobalId = -1;    /* CellGlobalIdOrServiceAreaIdFixedLength */
382 static int hf_camel_leavingCellGlobalId = -1;     /* CellGlobalIdOrServiceAreaIdFixedLength */
383 static int hf_camel_enteringServiceAreaId = -1;   /* CellGlobalIdOrServiceAreaIdFixedLength */
384 static int hf_camel_leavingServiceAreaId = -1;    /* CellGlobalIdOrServiceAreaIdFixedLength */
385 static int hf_camel_enteringLocationAreaId = -1;  /* LAIFixedLength */
386 static int hf_camel_leavingLocationAreaId = -1;   /* LAIFixedLength */
387 static int hf_camel_inter_SystemHandOverToUMTS = -1;  /* NULL */
388 static int hf_camel_inter_SystemHandOverToGSM = -1;  /* NULL */
389 static int hf_camel_metDPCriterionAlt = -1;       /* MetDPCriterionAlt */
390 static int hf_camel_minimumNumberOfDigits = -1;   /* INTEGER_1_30 */
391 static int hf_camel_maximumNumberOfDigits = -1;   /* INTEGER_1_30 */
392 static int hf_camel_requested_QoS = -1;           /* GPRS_QoS */
393 static int hf_camel_subscribed_QoS = -1;          /* GPRS_QoS */
394 static int hf_camel_negotiated_QoS = -1;          /* GPRS_QoS */
395 static int hf_camel_requested_QoS_Extension = -1;  /* GPRS_QoS_Extension */
396 static int hf_camel_subscribed_QoS_Extension = -1;  /* GPRS_QoS_Extension */
397 static int hf_camel_negotiated_QoS_Extension = -1;  /* GPRS_QoS_Extension */
398 static int hf_camel_receivingSideID = -1;         /* LegType */
399 static int hf_camel_RequestedInformationList_item = -1;  /* RequestedInformation */
400 static int hf_camel_RequestedInformationTypeList_item = -1;  /* RequestedInformationType */
401 static int hf_camel_requestedInformationType = -1;  /* RequestedInformationType */
402 static int hf_camel_requestedInformationValue = -1;  /* RequestedInformationValue */
403 static int hf_camel_callAttemptElapsedTimeValue = -1;  /* INTEGER_0_255 */
404 static int hf_camel_callStopTimeValue = -1;       /* DateAndTime */
405 static int hf_camel_callConnectedElapsedTimeValue = -1;  /* Integer4 */
406 static int hf_camel_releaseCauseValue = -1;       /* Cause */
407 static int hf_camel_sendingSideID = -1;           /* LegType */
408 static int hf_camel_forwardServiceInteractionInd = -1;  /* ForwardServiceInteractionInd */
409 static int hf_camel_backwardServiceInteractionInd = -1;  /* BackwardServiceInteractionInd */
410 static int hf_camel_bothwayThroughConnectionInd = -1;  /* BothwayThroughConnectionInd */
411 static int hf_camel_connectedNumberTreatmentInd = -1;  /* ConnectedNumberTreatmentInd */
412 static int hf_camel_nonCUGCall = -1;              /* NULL */
413 static int hf_camel_holdTreatmentIndicator = -1;  /* OCTET_STRING_SIZE_1 */
414 static int hf_camel_cwTreatmentIndicator = -1;    /* OCTET_STRING_SIZE_1 */
415 static int hf_camel_ectTreatmentIndicator = -1;   /* OCTET_STRING_SIZE_1 */
416 static int hf_camel_eventTypeSMS = -1;            /* EventTypeSMS */
417 static int hf_camel_timeSinceTariffSwitch = -1;   /* INTEGER_0_864000 */
418 static int hf_camel_timeIfTariffSwitch_tariffSwitchInterval = -1;  /* INTEGER_1_864000 */
419 static int hf_camel_timeIfNoTariffSwitch = -1;    /* TimeIfNoTariffSwitch */
420 static int hf_camel_timeIfTariffSwitch = -1;      /* TimeIfTariffSwitch */
421 static int hf_camel_toneID = -1;                  /* Integer4 */
422 static int hf_camel_toneDuration = -1;            /* Integer4 */
423 static int hf_camel_volumeIfNoTariffSwitch = -1;  /* INTEGER_0_4294967295 */
424 static int hf_camel_volumeIfTariffSwitch = -1;    /* T_volumeIfTariffSwitch */
425 static int hf_camel_volumeSinceLastTariffSwitch = -1;  /* INTEGER_0_4294967295 */
426 static int hf_camel_volumeTariffSwitchInterval = -1;  /* INTEGER_0_4294967295 */
427 static int hf_camel_rO_VolumeIfNoTariffSwitch = -1;  /* INTEGER_0_255 */
428 static int hf_camel_rO_VolumeIfTariffSwitch = -1;  /* T_rO_VolumeIfTariffSwitch */
429 static int hf_camel_rO_VolumeSinceLastTariffSwitch = -1;  /* INTEGER_0_255 */
430 static int hf_camel_rO_VolumeTariffSwitchInterval = -1;  /* INTEGER_0_255 */
431 static int hf_camel_integer = -1;                 /* Integer4 */
432 static int hf_camel_number = -1;                  /* Digits */
433 static int hf_camel_time = -1;                    /* OCTET_STRING_SIZE_2 */
434 static int hf_camel_date = -1;                    /* OCTET_STRING_SIZE_4 */
435 static int hf_camel_price = -1;                   /* OCTET_STRING_SIZE_4 */
436 static int hf_camel_par_cancelFailedProblem = -1;  /* T_par_cancelFailedProblem */
437 static int hf_camel_operation = -1;               /* InvokeID */
438 static int hf_camel_destinationReference = -1;    /* Integer4 */
439 static int hf_camel_originationReference = -1;    /* Integer4 */
440 static int hf_camel_disconnectFromIPForbidden = -1;  /* BOOLEAN */
441 static int hf_camel_requestAnnouncementCompleteNotification = -1;  /* BOOLEAN */
442 static int hf_camel_requestAnnouncementStartedNotification = -1;  /* BOOLEAN */
443 static int hf_camel_collectedInfo = -1;           /* CollectedInfo */
444 static int hf_camel_digitsResponse = -1;          /* Digits */
445 static int hf_camel_allAnnouncementsComplete = -1;  /* NULL */
446 static int hf_camel_firstAnnouncementStarted = -1;  /* NULL */
447 static int hf_camel_aChBillingChargingCharacteristics = -1;  /* AChBillingChargingCharacteristics */
448 static int hf_camel_partyToCharge = -1;           /* SendingSideID */
449 static int hf_camel_iTXcharging = -1;             /* BOOLEAN */
450 static int hf_camel_correlationID = -1;           /* CorrelationID */
451 static int hf_camel_iPSSPCapabilities = -1;       /* IPSSPCapabilities */
452 static int hf_camel_gapCriteria = -1;             /* GapCriteria */
453 static int hf_camel_gapIndicators = -1;           /* GapIndicators */
454 static int hf_camel_controlType = -1;             /* ControlType */
455 static int hf_camel_gapTreatment = -1;            /* GapTreatment */
456 static int hf_camel_requestedInformationList = -1;  /* RequestedInformationList */
457 static int hf_camel_legID_01 = -1;                /* ReceivingSideID */
458 static int hf_camel_requestedInformationTypeList = -1;  /* RequestedInformationTypeList */
459 static int hf_camel_legID_02 = -1;                /* SendingSideID */
460 static int hf_camel_allRequests = -1;             /* NULL */
461 static int hf_camel_callSegmentToCancel = -1;     /* CallSegmentToCancel */
462 static int hf_camel_destinationRoutingAddress = -1;  /* DestinationRoutingAddress */
463 static int hf_camel_alertingPattern = -1;         /* AlertingPattern */
464 static int hf_camel_originalCalledPartyID = -1;   /* OriginalCalledPartyID */
465 static int hf_camel_carrier = -1;                 /* Carrier */
466 static int hf_camel_callingPartysCategory = -1;   /* CallingPartysCategory */
467 static int hf_camel_redirectingPartyID = -1;      /* RedirectingPartyID */
468 static int hf_camel_redirectionInformation = -1;  /* RedirectionInformation */
469 static int hf_camel_genericNumbers = -1;          /* GenericNumbers */
470 static int hf_camel_serviceInteractionIndicatorsTwo = -1;  /* ServiceInteractionIndicatorsTwo */
471 static int hf_camel_chargeNumber = -1;            /* ChargeNumber */
472 static int hf_camel_legToBeConnected = -1;        /* LegID */
473 static int hf_camel_cug_Interlock = -1;           /* CUG_Interlock */
474 static int hf_camel_cug_OutgoingAccess = -1;      /* NULL */
475 static int hf_camel_suppressionOfAnnouncement = -1;  /* SuppressionOfAnnouncement */
476 static int hf_camel_oCSIApplicable = -1;          /* OCSIApplicable */
477 static int hf_camel_naOliInfo = -1;               /* NAOliInfo */
478 static int hf_camel_bor_InterrogationRequested = -1;  /* NULL */
479 static int hf_camel_suppress_N_CSI = -1;          /* NULL */
480 static int hf_camel_resourceAddress = -1;         /* T_resourceAddress */
481 static int hf_camel_ipRoutingAddress = -1;        /* IPRoutingAddress */
482 static int hf_camel_none = -1;                    /* NULL */
483 static int hf_camel_suppress_O_CSI = -1;          /* NULL */
484 static int hf_camel_continueWithArgumentArgExtension = -1;  /* ContinueWithArgumentArgExtension */
485 static int hf_camel_suppress_D_CSI = -1;          /* NULL */
486 static int hf_camel_suppressOutgoingCallBarring = -1;  /* NULL */
487 static int hf_camel_legOrCallSegment = -1;        /* LegOrCallSegment */
488 static int hf_camel_legToBeReleased = -1;         /* LegID */
489 static int hf_camel_callSegmentFailure = -1;      /* CallSegmentFailure */
490 static int hf_camel_bCSM_Failure = -1;            /* BCSM_Failure */
491 static int hf_camel_assistingSSPIPRoutingAddress = -1;  /* AssistingSSPIPRoutingAddress */
492 static int hf_camel_callingPartyNumber = -1;      /* CallingPartyNumber */
493 static int hf_camel_eventSpecificInformationBCSM = -1;  /* EventSpecificInformationBCSM */
494 static int hf_camel_miscCallInfo = -1;            /* MiscCallInfo */
495 static int hf_camel_cGEncountered = -1;           /* CGEncountered */
496 static int hf_camel_locationNumber = -1;          /* LocationNumber */
497 static int hf_camel_highLayerCompatibility = -1;  /* HighLayerCompatibility */
498 static int hf_camel_additionalCallingPartyNumber = -1;  /* AdditionalCallingPartyNumber */
499 static int hf_camel_bearerCapability = -1;        /* BearerCapability */
500 static int hf_camel_cug_Index = -1;               /* CUG_Index */
501 static int hf_camel_iMSI = -1;                    /* IMSI */
502 static int hf_camel_subscriberState = -1;         /* SubscriberState */
503 static int hf_camel_callReferenceNumber = -1;     /* CallReferenceNumber */
504 static int hf_camel_mscAddress = -1;              /* ISDN_AddressString */
505 static int hf_camel_calledPartyBCDNumber = -1;    /* CalledPartyBCDNumber */
506 static int hf_camel_timeAndTimezone = -1;         /* TimeAndTimezone */
507 static int hf_camel_callForwardingSS_Pending = -1;  /* NULL */
508 static int hf_camel_initialDPArgExtension = -1;   /* InitialDPArgExtension */
509 static int hf_camel_gmscAddress = -1;             /* ISDN_AddressString */
510 static int hf_camel_ms_Classmark2 = -1;           /* MS_Classmark2 */
511 static int hf_camel_iMEI = -1;                    /* IMEI */
512 static int hf_camel_supportedCamelPhases = -1;    /* SupportedCamelPhases */
513 static int hf_camel_offeredCamel4Functionalities = -1;  /* OfferedCamel4Functionalities */
514 static int hf_camel_bearerCapability2 = -1;       /* BearerCapability */
515 static int hf_camel_highLayerCompatibility2 = -1;  /* HighLayerCompatibility */
516 static int hf_camel_lowLayerCompatibility = -1;   /* LowLayerCompatibility */
517 static int hf_camel_lowLayerCompatibility2 = -1;  /* LowLayerCompatibility */
518 static int hf_camel_enhancedDialledServicesAllowed = -1;  /* NULL */
519 static int hf_camel_uu_Data = -1;                 /* UU_Data */
520 static int hf_camel_collectInformationAllowed = -1;  /* NULL */
521 static int hf_camel_releaseCallArgExtensionAllowed = -1;  /* NULL */
522 static int hf_camel_legToBeCreated = -1;          /* LegID */
523 static int hf_camel_newCallSegment = -1;          /* CallSegmentID */
524 static int hf_camel_gsmSCFAddress = -1;           /* ISDN_AddressString */
525 static int hf_camel_suppress_T_CSI = -1;          /* NULL */
526 static int hf_camel_legIDToMove = -1;             /* LegID */
527 static int hf_camel_allCallSegments = -1;         /* AllCallSegments */
528 static int hf_camel_allCallSegmentsWithExtension = -1;  /* AllCallSegmentsWithExtension */
529 static int hf_camel_bcsmEvents = -1;              /* SEQUENCE_SIZE_1_bound__numOfBCSMEvents_OF_BCSMEvent */
530 static int hf_camel_bcsmEvents_item = -1;         /* BCSMEvent */
531 static int hf_camel_timerID = -1;                 /* TimerID */
532 static int hf_camel_timervalue = -1;              /* TimerValue */
533 static int hf_camel_sCIBillingChargingCharacteristics = -1;  /* SCIBillingChargingCharacteristics */
534 static int hf_camel_legToBeSplit = -1;            /* LegID */
535 static int hf_camel_chargingCharacteristics = -1;  /* ChargingCharacteristics */
536 static int hf_camel_applyChargingGPRS_tariffSwitchInterval = -1;  /* INTEGER_1_86400 */
537 static int hf_camel_chargingResult = -1;          /* ChargingResult */
538 static int hf_camel_active = -1;                  /* BOOLEAN */
539 static int hf_camel_chargingRollOver = -1;        /* ChargingRollOver */
540 static int hf_camel_pdpID = -1;                   /* PDPID */
541 static int hf_camel_gPRSCause = -1;               /* GPRSCause */
542 static int hf_camel_miscGPRSInfo = -1;            /* MiscCallInfo */
543 static int hf_camel_gPRSEventSpecificInformation = -1;  /* GPRSEventSpecificInformation */
544 static int hf_camel_mSISDN = -1;                  /* ISDN_AddressString */
545 static int hf_camel_gPRSMSClass = -1;             /* GPRSMSClass */
546 static int hf_camel_sGSNCapabilities = -1;        /* SGSNCapabilities */
547 static int hf_camel_gprsCause = -1;               /* GPRSCause */
548 static int hf_camel_gPRSEvent = -1;               /* SEQUENCE_SIZE_1_bound__numOfGPRSEvents_OF_GPRSEvent */
549 static int hf_camel_gPRSEvent_item = -1;          /* GPRSEvent */
550 static int hf_camel_sCIGPRSBillingChargingCharacteristics = -1;  /* SCIGPRSBillingChargingCharacteristics */
551 static int hf_camel_callingPartysNumber = -1;     /* SMS_AddressString */
552 static int hf_camel_destinationSubscriberNumber = -1;  /* CalledPartyBCDNumber */
553 static int hf_camel_sMSCAddress = -1;             /* ISDN_AddressString */
554 static int hf_camel_eventSpecificInformationSMS = -1;  /* EventSpecificInformationSMS */
555 static int hf_camel_callingPartyNumber_01 = -1;   /* SMS_AddressString */
556 static int hf_camel_locationInformationMSC = -1;  /* LocationInformation */
557 static int hf_camel_tPShortMessageSpecificInfo = -1;  /* TPShortMessageSpecificInfo */
558 static int hf_camel_tPProtocolIdentifier = -1;    /* TPProtocolIdentifier */
559 static int hf_camel_tPDataCodingScheme = -1;      /* TPDataCodingScheme */
560 static int hf_camel_tPValidityPeriod = -1;        /* TPValidityPeriod */
561 static int hf_camel_smsReferenceNumber = -1;      /* CallReferenceNumber */
562 static int hf_camel_calledPartyNumber_01 = -1;    /* ISDN_AddressString */
563 static int hf_camel_sMSEvents = -1;               /* SEQUENCE_SIZE_1_bound__numOfSMSEvents_OF_SMSEvent */
564 static int hf_camel_sMSEvents_item = -1;          /* SMSEvent */
565 static int hf_camel_extensions_01 = -1;           /* SEQUENCE_SIZE_1_numOfExtensions_OF_ExtensionField */
566 static int hf_camel_extensions_item = -1;         /* ExtensionField */
567 static int hf_camel_na_info = -1;                 /* NA_Info */
568 static int hf_camel_naCarrierInformation = -1;    /* NACarrierInformation */
569 static int hf_camel_naCarrierId = -1;             /* NAEA_CIC */
570 static int hf_camel_naCICSelectionType = -1;      /* NACarrierSelectionInfo */
571 static int hf_camel_naChargeNumber = -1;          /* NAChargeNumber */
572 static int hf_camel_timeDurationCharging_01 = -1;  /* T_timeDurationCharging_01 */
573 static int hf_camel_releaseIfdurationExceeded_01 = -1;  /* ReleaseIfDurationExceeded */
574 static int hf_camel_tariffSwitchInterval = -1;    /* INTEGER_1_86400 */
575 static int hf_camel_tone_01 = -1;                 /* BOOLEAN */
576 static int hf_camel_local = -1;                   /* T_local */
577 static int hf_camel_global = -1;                  /* T_global */
578 static int hf_camel_invoke = -1;                  /* Invoke */
579 static int hf_camel_returnResult = -1;            /* ReturnResult */
580 static int hf_camel_returnError = -1;             /* ReturnError */
581 static int hf_camel_reject = -1;                  /* Reject */
582 static int hf_camel_invokeId = -1;                /* InvokeId */
583 static int hf_camel_linkedId = -1;                /* T_linkedId */
584 static int hf_camel_linkedIdPresent = -1;         /* T_linkedIdPresent */
585 static int hf_camel_absent = -1;                  /* NULL */
586 static int hf_camel_opcode = -1;                  /* Code */
587 static int hf_camel_argument = -1;                /* T_argument */
588 static int hf_camel_result = -1;                  /* T_result */
589 static int hf_camel_resultArgument = -1;          /* ResultArgument */
590 static int hf_camel_errcode = -1;                 /* Code */
591 static int hf_camel_parameter = -1;               /* T_parameter */
592 static int hf_camel_problem = -1;                 /* T_problem */
593 static int hf_camel_general = -1;                 /* GeneralProblem */
594 static int hf_camel_invokeProblem = -1;           /* InvokeProblem */
595 static int hf_camel_problemReturnResult = -1;     /* ReturnResultProblem */
596 static int hf_camel_returnErrorProblem = -1;      /* ReturnErrorProblem */
597 static int hf_camel_present = -1;                 /* INTEGER */
598 static int hf_camel_InvokeId_present = -1;        /* InvokeId_present */
599 
600 /*--- End of included file: packet-camel-hf.c ---*/
601 #line 103 "./asn1/camel/packet-camel-template.c"
602 
603 static struct camelsrt_info_t * gp_camelsrt_info;
604 
605 /* Forward declarations */
606 static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx);
607 static int dissect_returnResultData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx);
608 static int dissect_returnErrorData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx);
609 static int dissect_camel_CAMEL_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_);
610 static int dissect_camel_CAMEL_AChBillingChargingCharacteristicsV2(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
611 static int dissect_camel_CAMEL_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_);
612 static int dissect_camel_EstablishTemporaryConnectionArgV2(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
613 static int dissect_camel_SpecializedResourceReportArgV23(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
614 
615 /* XXX - can we get rid of these and always do the SRT work? */
616 static gboolean gcamel_HandleSRT=FALSE;
617 static gboolean gcamel_PersistentSRT=FALSE;
618 static gboolean gcamel_DisplaySRT=FALSE;
619 gboolean gcamel_StatSRT=FALSE;
620 
621 /* Initialize the subtree pointers */
622 static gint ett_camel = -1;
623 static gint ett_camelisup_parameter = -1;
624 static gint ett_camel_AccessPointName = -1;
625 static gint ett_camel_pdptypenumber = -1;
626 static gint ett_camel_cause = -1;
627 static gint ett_camel_RPcause = -1;
628 static gint ett_camel_stat = -1;
629 static gint ett_camel_calledpartybcdnumber = -1;
630 static gint ett_camel_callingpartynumber = -1;
631 static gint ett_camel_originalcalledpartyid = -1;
632 static gint ett_camel_redirectingpartyid = -1;
633 static gint ett_camel_locationnumber = -1;
634 static gint ett_camel_additionalcallingpartynumber = -1;
635 static gint ett_camel_calledAddressValue = -1;
636 static gint ett_camel_callingAddressValue = -1;
637 static gint ett_camel_assistingSSPIPRoutingAddress = -1;
638 static gint ett_camel_correlationID = -1;
639 static gint ett_camel_dTMFDigitsCompleted = -1;
640 static gint ett_camel_dTMFDigitsTimeOut = -1;
641 static gint ett_camel_number = -1;
642 static gint ett_camel_digitsResponse = -1;
643 
644 
645 /*--- Included file: packet-camel-ett.c ---*/
646 #line 1 "./asn1/camel/packet-camel-ett.c"
647 static gint ett_camel_AChChargingAddress = -1;
648 static gint ett_camel_AOCBeforeAnswer = -1;
649 static gint ett_camel_AOCGPRS = -1;
650 static gint ett_camel_AOCSubsequent = -1;
651 static gint ett_camel_AudibleIndicator = -1;
652 static gint ett_camel_BackwardServiceInteractionInd = -1;
653 static gint ett_camel_BasicGapCriteria = -1;
654 static gint ett_camel_T_calledAddressAndService = -1;
655 static gint ett_camel_T_callingAddressAndService = -1;
656 static gint ett_camel_BCSMEvent = -1;
657 static gint ett_camel_BCSM_Failure = -1;
658 static gint ett_camel_BearerCapability = -1;
659 static gint ett_camel_Burst = -1;
660 static gint ett_camel_BurstList = -1;
661 static gint ett_camel_CAI_GSM0224 = -1;
662 static gint ett_camel_CallSegmentFailure = -1;
663 static gint ett_camel_CallSegmentToCancel = -1;
664 static gint ett_camel_CAMEL_AChBillingChargingCharacteristics = -1;
665 static gint ett_camel_T_timeDurationCharging = -1;
666 static gint ett_camel_CAMEL_CallResult = -1;
667 static gint ett_camel_T_timeDurationChargingResult = -1;
668 static gint ett_camel_CAMEL_FCIBillingChargingCharacteristics = -1;
669 static gint ett_camel_T_fci_fCIBCCCAMELsequence1 = -1;
670 static gint ett_camel_CAMEL_FCIGPRSBillingChargingCharacteristics = -1;
671 static gint ett_camel_T_fciGPRS_fCIBCCCAMELsequence1 = -1;
672 static gint ett_camel_CAMEL_FCISMSBillingChargingCharacteristics = -1;
673 static gint ett_camel_T_fciSMS_fCIBCCCAMELsequence1 = -1;
674 static gint ett_camel_CAMEL_SCIBillingChargingCharacteristics = -1;
675 static gint ett_camel_CAMEL_SCIBillingChargingCharacteristicsAlt = -1;
676 static gint ett_camel_CAMEL_SCIGPRSBillingChargingCharacteristics = -1;
677 static gint ett_camel_ChangeOfPositionControlInfo = -1;
678 static gint ett_camel_ChangeOfLocation = -1;
679 static gint ett_camel_ChangeOfLocationAlt = -1;
680 static gint ett_camel_ChargingCharacteristics = -1;
681 static gint ett_camel_ChargingResult = -1;
682 static gint ett_camel_ChargingRollOver = -1;
683 static gint ett_camel_CollectedDigits = -1;
684 static gint ett_camel_CollectedInfo = -1;
685 static gint ett_camel_CompoundCriteria = -1;
686 static gint ett_camel_DestinationRoutingAddress = -1;
687 static gint ett_camel_DpSpecificCriteria = -1;
688 static gint ett_camel_DpSpecificCriteriaAlt = -1;
689 static gint ett_camel_DpSpecificInfoAlt = -1;
690 static gint ett_camel_T_oServiceChangeSpecificInfo = -1;
691 static gint ett_camel_T_tServiceChangeSpecificInfo = -1;
692 static gint ett_camel_T_collectedInfoSpecificInfo = -1;
693 static gint ett_camel_ElapsedTime = -1;
694 static gint ett_camel_T_timeGPRSIfTariffSwitch = -1;
695 static gint ett_camel_ElapsedTimeRollOver = -1;
696 static gint ett_camel_T_rO_TimeGPRSIfTariffSwitch = -1;
697 static gint ett_camel_EndUserAddress = -1;
698 static gint ett_camel_EventSpecificInformationBCSM = -1;
699 static gint ett_camel_T_routeSelectFailureSpecificInfo = -1;
700 static gint ett_camel_T_oCalledPartyBusySpecificInfo = -1;
701 static gint ett_camel_T_oNoAnswerSpecificInfo = -1;
702 static gint ett_camel_T_oAnswerSpecificInfo = -1;
703 static gint ett_camel_T_oMidCallSpecificInfo = -1;
704 static gint ett_camel_T_omidCallEvents = -1;
705 static gint ett_camel_T_oDisconnectSpecificInfo = -1;
706 static gint ett_camel_T_tBusySpecificInfo = -1;
707 static gint ett_camel_T_tNoAnswerSpecificInfo = -1;
708 static gint ett_camel_T_tAnswerSpecificInfo = -1;
709 static gint ett_camel_T_tMidCallSpecificInfo = -1;
710 static gint ett_camel_T_tmidCallEvents = -1;
711 static gint ett_camel_T_tDisconnectSpecificInfo = -1;
712 static gint ett_camel_T_oTermSeizedSpecificInfo = -1;
713 static gint ett_camel_T_callAcceptedSpecificInfo = -1;
714 static gint ett_camel_T_oAbandonSpecificInfo = -1;
715 static gint ett_camel_T_oChangeOfPositionSpecificInfo = -1;
716 static gint ett_camel_T_tChangeOfPositionSpecificInfo = -1;
717 static gint ett_camel_EventSpecificInformationSMS = -1;
718 static gint ett_camel_T_o_smsFailureSpecificInfo = -1;
719 static gint ett_camel_T_o_smsSubmissionSpecificInfo = -1;
720 static gint ett_camel_T_t_smsFailureSpecificInfo = -1;
721 static gint ett_camel_T_t_smsDeliverySpecificInfo = -1;
722 static gint ett_camel_Extensions = -1;
723 static gint ett_camel_ExtensionField = -1;
724 static gint ett_camel_ForwardServiceInteractionInd = -1;
725 static gint ett_camel_GapCriteria = -1;
726 static gint ett_camel_GapIndicators = -1;
727 static gint ett_camel_GapOnService = -1;
728 static gint ett_camel_GapTreatment = -1;
729 static gint ett_camel_GenericNumbers = -1;
730 static gint ett_camel_GPRS_QoS = -1;
731 static gint ett_camel_GPRS_QoS_Extension = -1;
732 static gint ett_camel_GPRSEvent = -1;
733 static gint ett_camel_GPRSEventSpecificInformation = -1;
734 static gint ett_camel_T_attachChangeOfPositionSpecificInformation = -1;
735 static gint ett_camel_T_pdp_ContextchangeOfPositionSpecificInformation = -1;
736 static gint ett_camel_T_detachSpecificInformation = -1;
737 static gint ett_camel_T_disconnectSpecificInformation = -1;
738 static gint ett_camel_T_pDPContextEstablishmentSpecificInformation = -1;
739 static gint ett_camel_T_pDPContextEstablishmentAcknowledgementSpecificInformation = -1;
740 static gint ett_camel_InbandInfo = -1;
741 static gint ett_camel_InformationToSend = -1;
742 static gint ett_camel_LegOrCallSegment = -1;
743 static gint ett_camel_LocationInformationGPRS = -1;
744 static gint ett_camel_MessageID = -1;
745 static gint ett_camel_T_text = -1;
746 static gint ett_camel_SEQUENCE_SIZE_1_bound__numOfMessageIDs_OF_Integer4 = -1;
747 static gint ett_camel_T_variableMessage = -1;
748 static gint ett_camel_SEQUENCE_SIZE_1_5_OF_VariablePart = -1;
749 static gint ett_camel_MetDPCriteriaList = -1;
750 static gint ett_camel_MetDPCriterion = -1;
751 static gint ett_camel_MetDPCriterionAlt = -1;
752 static gint ett_camel_MidCallControlInfo = -1;
753 static gint ett_camel_QualityOfService = -1;
754 static gint ett_camel_ReceivingSideID = -1;
755 static gint ett_camel_RequestedInformationList = -1;
756 static gint ett_camel_RequestedInformationTypeList = -1;
757 static gint ett_camel_RequestedInformation = -1;
758 static gint ett_camel_RequestedInformationValue = -1;
759 static gint ett_camel_SendingSideID = -1;
760 static gint ett_camel_ServiceInteractionIndicatorsTwo = -1;
761 static gint ett_camel_SMSEvent = -1;
762 static gint ett_camel_TimeIfTariffSwitch = -1;
763 static gint ett_camel_TimeInformation = -1;
764 static gint ett_camel_Tone = -1;
765 static gint ett_camel_TransferredVolume = -1;
766 static gint ett_camel_T_volumeIfTariffSwitch = -1;
767 static gint ett_camel_TransferredVolumeRollOver = -1;
768 static gint ett_camel_T_rO_VolumeIfTariffSwitch = -1;
769 static gint ett_camel_VariablePart = -1;
770 static gint ett_camel_PAR_cancelFailed = -1;
771 static gint ett_camel_CAP_GPRS_ReferenceNumber = -1;
772 static gint ett_camel_PlayAnnouncementArg = -1;
773 static gint ett_camel_PromptAndCollectUserInformationArg = -1;
774 static gint ett_camel_ReceivedInformationArg = -1;
775 static gint ett_camel_SpecializedResourceReportArg = -1;
776 static gint ett_camel_ApplyChargingArg = -1;
777 static gint ett_camel_AssistRequestInstructionsArg = -1;
778 static gint ett_camel_CallGapArg = -1;
779 static gint ett_camel_CallInformationReportArg = -1;
780 static gint ett_camel_CallInformationRequestArg = -1;
781 static gint ett_camel_CancelArg = -1;
782 static gint ett_camel_CollectInformationArg = -1;
783 static gint ett_camel_ConnectArg = -1;
784 static gint ett_camel_ConnectToResourceArg = -1;
785 static gint ett_camel_T_resourceAddress = -1;
786 static gint ett_camel_ContinueWithArgumentArg = -1;
787 static gint ett_camel_ContinueWithArgumentArgExtension = -1;
788 static gint ett_camel_DisconnectForwardConnectionWithArgumentArg = -1;
789 static gint ett_camel_DisconnectLegArg = -1;
790 static gint ett_camel_EntityReleasedArg = -1;
791 static gint ett_camel_EstablishTemporaryConnectionArg = -1;
792 static gint ett_camel_EventReportBCSMArg = -1;
793 static gint ett_camel_InitialDPArg = -1;
794 static gint ett_camel_InitialDPArgExtension = -1;
795 static gint ett_camel_InitiateCallAttemptArg = -1;
796 static gint ett_camel_InitiateCallAttemptRes = -1;
797 static gint ett_camel_MoveLegArg = -1;
798 static gint ett_camel_PlayToneArg = -1;
799 static gint ett_camel_ReleaseCallArg = -1;
800 static gint ett_camel_AllCallSegmentsWithExtension = -1;
801 static gint ett_camel_RequestReportBCSMEventArg = -1;
802 static gint ett_camel_SEQUENCE_SIZE_1_bound__numOfBCSMEvents_OF_BCSMEvent = -1;
803 static gint ett_camel_ResetTimerArg = -1;
804 static gint ett_camel_SendChargingInformationArg = -1;
805 static gint ett_camel_SplitLegArg = -1;
806 static gint ett_camel_ApplyChargingGPRSArg = -1;
807 static gint ett_camel_ApplyChargingReportGPRSArg = -1;
808 static gint ett_camel_CancelGPRSArg = -1;
809 static gint ett_camel_ConnectGPRSArg = -1;
810 static gint ett_camel_ContinueGPRSArg = -1;
811 static gint ett_camel_EntityReleasedGPRSArg = -1;
812 static gint ett_camel_EventReportGPRSArg = -1;
813 static gint ett_camel_InitialDPGPRSArg = -1;
814 static gint ett_camel_ReleaseGPRSArg = -1;
815 static gint ett_camel_RequestReportGPRSEventArg = -1;
816 static gint ett_camel_SEQUENCE_SIZE_1_bound__numOfGPRSEvents_OF_GPRSEvent = -1;
817 static gint ett_camel_ResetTimerGPRSArg = -1;
818 static gint ett_camel_SendChargingInformationGPRSArg = -1;
819 static gint ett_camel_ConnectSMSArg = -1;
820 static gint ett_camel_EventReportSMSArg = -1;
821 static gint ett_camel_InitialDPSMSArg = -1;
822 static gint ett_camel_RequestReportSMSEventArg = -1;
823 static gint ett_camel_SEQUENCE_SIZE_1_bound__numOfSMSEvents_OF_SMSEvent = -1;
824 static gint ett_camel_ResetTimerSMSArg = -1;
825 static gint ett_camel_EstablishTemporaryConnectionArgV2 = -1;
826 static gint ett_camel_SEQUENCE_SIZE_1_numOfExtensions_OF_ExtensionField = -1;
827 static gint ett_camel_InitialDPArgExtensionV2 = -1;
828 static gint ett_camel_NACarrierInformation = -1;
829 static gint ett_camel_NA_Info = -1;
830 static gint ett_camel_CAMEL_AChBillingChargingCharacteristicsV2 = -1;
831 static gint ett_camel_T_timeDurationCharging_01 = -1;
832 static gint ett_camel_ReleaseIfDurationExceeded = -1;
833 static gint ett_camel_Code = -1;
834 static gint ett_camel_ROS = -1;
835 static gint ett_camel_Invoke = -1;
836 static gint ett_camel_T_linkedId = -1;
837 static gint ett_camel_ReturnResult = -1;
838 static gint ett_camel_T_result = -1;
839 static gint ett_camel_ReturnError = -1;
840 static gint ett_camel_Reject = -1;
841 static gint ett_camel_T_problem = -1;
842 static gint ett_camel_InvokeId = -1;
843 
844 /*--- End of included file: packet-camel-ett.c ---*/
845 #line 146 "./asn1/camel/packet-camel-template.c"
846 
847 static expert_field ei_camel_unknown_invokeData = EI_INIT;
848 static expert_field ei_camel_unknown_returnResultData = EI_INIT;
849 static expert_field ei_camel_unknown_returnErrorData = EI_INIT;
850 
851 /* Preference settings default */
852 #define MAX_SSN 254
853 static range_t *global_ssn_range;
854 static dissector_handle_t  camel_handle;
855 static dissector_handle_t  camel_v1_handle;
856 static dissector_handle_t  camel_v2_handle;
857 static dissector_handle_t  camel_v3_handle;
858 static dissector_handle_t  camel_v4_handle;
859 
860 /* Global variables */
861 
862 static guint8 PDPTypeOrganization;
863 static guint8 PDPTypeNumber;
864 const char *camel_obj_id = NULL;
865 gboolean is_ExtensionField =FALSE;
866 
867 /* Global hash tables*/
868 static wmem_map_t *srt_calls = NULL;
869 static guint32 camelsrt_global_SessionId=1;
870 
871 static int camel_opcode_type;
872 #define CAMEL_OPCODE_INVOKE        1
873 #define CAMEL_OPCODE_RETURN_RESULT 2
874 #define CAMEL_OPCODE_RETURN_ERROR  3
875 #define CAMEL_OPCODE_REJECT        4
876 
877 static const value_string camel_Component_vals[] = {
878   {   1, "invoke" },
879   {   2, "returnResultLast" },
880   {   3, "returnError" },
881   {   4, "reject" },
882   { 0, NULL }
883 };
884 
885 const value_string  camelSRTtype_naming[]= {
886   { CAMELSRT_SESSION,         "TCAP_Session" },
887   { CAMELSRT_VOICE_INITIALDP, "InialDP/Continue" },
888   { CAMELSRT_VOICE_ACR1,      "Slice1_ACR/ACH" },
889   { CAMELSRT_VOICE_ACR2,      "Slice2_ACR/ACH" },
890   { CAMELSRT_VOICE_ACR3,      "Slice3_ACR/ACH" },
891   { CAMELSRT_VOICE_DISC,      "EvtRepBSCM/Release" },
892   { CAMELSRT_SMS_INITIALDP,   "InitialDP/ContinueSMS" },
893   { CAMELSRT_GPRS_INITIALDP,  "InitialDP/ContinueGPRS" },
894   { CAMELSRT_GPRS_REPORT,     "EvtRepGPRS/ContinueGPRS" },
895   { 0,NULL}
896 };
897 
898 #define EUROPEAN_DATE 1
899 #define AMERICAN_DATE 2
900 #define CAMEL_DATE_AND_TIME_LEN 20 /* 2*5 + 4 + 5 + 1 (HH:MM:SS;mm/dd/yyyy) */
901 
902 static const enum_val_t date_options[] = {
903   { "european",         "DD/MM/YYYY",       EUROPEAN_DATE },
904   { "american",        "MM/DD/YYYY",        AMERICAN_DATE },
905   { NULL, NULL, 0 }
906 };
907 
908 static const value_string digit_value[] = {
909   { 0,  "0"},
910   { 1,  "1"},
911   { 2,  "2"},
912   { 3,  "3"},
913   { 4,  "4"},
914   { 5,  "5"},
915   { 6,  "6"},
916   { 7,  "7"},
917   { 8,  "8"},
918   { 9,  "9"},
919   { 10, "spare"},
920   { 11, "spare"},
921   { 12, "spare"},
922   { 13, "spare"},
923   { 0,  NULL}
924 
925 };
926 
927 
928 #if 0
929 static const value_string camel_nature_of_addr_indicator_values[] = {
930   {   0x00,  "unknown" },
931   {   0x01,  "International Number" },
932   {   0x02,  "National Significant Number" },
933   {   0x03,  "Network Specific Number" },
934   {   0x04,  "Subscriber Number" },
935   {   0x05,  "Reserved" },
936   {   0x06,  "Abbreviated Number" },
937   {   0x07,  "Reserved for extension" },
938   { 0, NULL }
939 };
940 static const value_string camel_number_plan_values[] = {
941   {   0x00,  "unknown" },
942   {   0x01,  "ISDN/Telephony Numbering (Rec ITU-T E.164)" },
943   {   0x02,  "spare" },
944   {   0x03,  "Data Numbering (ITU-T Rec. X.121)" },
945   {   0x04,  "Telex Numbering (ITU-T Rec. F.69)" },
946   {   0x05,  "spare" },
947   {   0x06,  "Land Mobile Numbering (ITU-T Rec. E.212)" },
948   {   0x07,  "spare" },
949   {   0x08,  "National Numbering" },
950   {   0x09,  "Private Numbering" },
951   {   0x0f,  "Reserved for extension" },
952   { 0, NULL }
953 };
954 #endif
955 
956 /* End includes from old" packet-camel.c */
957 
958 static const value_string camel_RP_Cause_values[] = {
959   { 1, "Unassigned (unallocated) number" },
960   { 8, "Operator determined barring" },
961   { 10, "Call barred" },
962   { 11, "Reserved" },
963   { 21, "Short message transfer rejected" },
964   { 27, "Destination out of order" },
965   { 28, "Unidentified subscriber" },
966   { 29, "Facility Rejected" },
967   { 30, "Unknown subscriber" },
968   { 38, "Network out of order" },
969   { 41, "Temporary failure" },
970   { 42, "Congestion" },
971   { 47, "Resources unavailable, unspecified" },
972   { 50, "Requested facility not subscribed" },
973   { 69, "Requested facility not implemented" },
974   { 81, "Invalid short message transfer reference value" },
975   { 95, "Semantically incorrect message" },
976   { 96, "Invalid mandatory information" },
977   { 97, " Message Type non-existent or not implemented" },
978   { 98, "Message not compatible with short message protocol state" },
979   { 99, "Information element non existent or not implemented" },
980   { 111, "Protocol error, unspecified" },
981   { 127, "Interworking, unspecified" },
982   { 22,"Memory capacity exceeded" },
983   { 0, NULL }
984 };
985 
986 static const value_string camel_holdTreatmentIndicator_values[] = {
987   {   0x01,  "acceptHoldRequest" },
988   {   0x02,  "rejectHoldRequest" },
989   { 0, NULL }
990 };
991 static const value_string camel_cwTreatmentIndicator_values[] = {
992   {   0x01,  "acceptCw" },
993   {   0x02,  "rejectCw" },
994   { 0, NULL }
995 };
996 static const value_string camel_ectTreatmentIndicator_values[] = {
997   {   0x01,  "acceptEctRequest" },
998   {   0x02,  "rejectEctRequest" },
999   { 0, NULL }
1000 };
1001 
1002 
1003 /*--- Included file: packet-camel-val.h ---*/
1004 #line 1 "./asn1/camel/packet-camel-val.h"
1005 #define tc_Messages                    "0.0.17.773.2.1.3"
1006 #define tc_NotationExtensions          "0.0.17.775.2.4.1"
1007 #define ros_InformationObjects         "2.4.5.0"
1008 #define datatypes                      "0.4.0.0.1.3.52.7"
1009 #define errortypes                     "0.4.0.0.1.3.51.7"
1010 #define operationcodes                 "0.4.0.0.1.3.53.7"
1011 #define errorcodes                     "0.4.0.0.1.3.57.7"
1012 #define classes                        "0.4.0.0.1.3.54.7"
1013 #define gsmSSF_gsmSCF_Operations       "0.4.0.0.1.3.101.7"
1014 #define gsmSSF_gsmSCF_Protocol         "0.4.0.0.1.3.102.7"
1015 #define gsmSCF_gsmSRF_Operations       "0.4.0.0.1.3.103.7"
1016 #define gsmSCF_gsmSRF_Protocol         "0.4.0.0.1.3.104.7"
1017 #define sms_Operations                 "0.4.0.0.1.3.105.7"
1018 #define smsSSF_gsmSCF_Protocol         "0.4.0.0.1.3.106.7"
1019 #define gprsSSF_gsmSCF_Operations      "0.4.0.0.1.3.107.7"
1020 #define gprsSSF_gsmSCF_Protocol        "0.4.0.0.1.3.108.7"
1021 #define id_CAP                         "0.4.0.0.1.22"
1022 #define id_CAP3                        "0.4.0.0.1.20"
1023 #define id_CAPOE                       "0.4.0.0.1.23"
1024 #define id_CAP3OE                      "0.4.0.0.1.21"
1025 #define id_ac                          id_CAP".3"
1026 #define id_acE                         id_CAPOE".3"
1027 #define id_ac3E                        id_CAP3OE".3"
1028 #define id_as                          id_CAP".5"
1029 #define id_asE                         id_CAPOE".5"
1030 #define id_rosObject                   id_CAP".25"
1031 #define id_contract                    id_CAP".26"
1032 #define id_contract3                   id_CAP3".26"
1033 #define id_contractE                   id_CAPOE".26"
1034 #define id_package                     id_CAP".27"
1035 #define id_packageE                    id_CAPOE".27"
1036 #define id_rosObject_gsmSCF            id_rosObject".4"
1037 #define id_rosObject_gsmSSF            id_rosObject".5"
1038 #define id_rosObject_gsmSRF            id_rosObject".6"
1039 #define id_rosObject_gprsSSF           id_rosObject".7"
1040 #define id_rosObject_smsSSF_V3         id_rosObject".8"
1041 #define id_rosObject_smsSSF_V4         id_rosObject".9"
1042 #define id_ac_CAP_gsmSSF_scfGenericAC  id_acE".4"
1043 #define id_ac_CAP_gsmSSF_scfAssistHandoffAC id_acE".6"
1044 #define id_ac_CAP_scf_gsmSSFGenericAC  id_acE".8"
1045 #define id_ac_gsmSRF_gsmSCF            id_ac".14"
1046 #define id_ac_CAP_gprsSSF_gsmSCF_AC    id_ac3E".50"
1047 #define id_ac_CAP_gsmSCF_gprsSSF_AC    id_ac3E".51"
1048 #define id_ac_cap3_sms_AC              id_ac3E".61"
1049 #define id_ac_cap4_sms_AC              id_acE".61"
1050 #define id_CAPSsfToScfGeneric          id_contractE".3"
1051 #define id_CAPAssistHandoffssfToScf    id_contractE".5"
1052 #define id_CAPScfToSsfGeneric          id_contractE".6"
1053 #define id_contract_gsmSRF_gsmSCF      id_contract".13"
1054 #define id_capGprsSsfTogsmScf          id_contract".14"
1055 #define id_capGsmScfToGprsSsf          id_contract".15"
1056 #define id_cap3SmsSsfTogsmScf          id_contract3".16"
1057 #define id_cap4SmsSsfTogsmScf          id_contract".16"
1058 #define id_package_scfActivation       id_package".11"
1059 #define id_package_gsmSRF_scfActivationOfAssist id_package".15"
1060 #define id_package_assistConnectionEstablishment id_package".16"
1061 #define id_package_genericDisconnectResource id_package".17"
1062 #define id_package_nonAssistedConnectionEstablishment id_package".18"
1063 #define id_package_connect             id_package".19"
1064 #define id_package_callHandling        id_packageE".20"
1065 #define id_package_bcsmEventHandling   id_package".21"
1066 #define id_package_ssfCallProcessing   id_packageE".24"
1067 #define id_package_scfCallInitiation   id_package".25"
1068 #define id_package_timer               id_package".26"
1069 #define id_package_billing             id_package".27"
1070 #define id_package_charging            id_package".28"
1071 #define id_package_trafficManagement   id_package".29"
1072 #define id_package_callReport          id_package".32"
1073 #define id_package_signallingControl   id_package".33"
1074 #define id_package_activityTest        id_package".34"
1075 #define id_package_cancel              id_packageE".36"
1076 #define id_package_cphResponse         id_package".37"
1077 #define id_package_exceptionInform     id_package".38"
1078 #define id_package_playTone            id_package".39"
1079 #define id_package_specializedResourceControl id_package".42"
1080 #define id_package_gsmSRF_scfCancel    id_package".43"
1081 #define id_package_gprsContinue        id_package".49"
1082 #define id_package_gprsExceptionInformation id_package".50"
1083 #define id_package_gprsScfActivation   id_package".51"
1084 #define id_package_gprsConnect         id_package".52"
1085 #define id_package_gprsRelease         id_package".53"
1086 #define id_package_gprsEventHandling   id_package".54"
1087 #define id_package_gprsTimer           id_package".55"
1088 #define id_package_gprsBilling         id_package".56"
1089 #define id_package_gprsCharging        id_package".57"
1090 #define id_package_gprsActivityTest    id_package".58"
1091 #define id_package_gprsCancel          id_package".59"
1092 #define id_package_gprsChargeAdvice    id_package".60"
1093 #define id_package_smsActivation       id_package".61"
1094 #define id_package_smsConnect          id_package".62"
1095 #define id_package_smsContinue         id_package".63"
1096 #define id_package_smsRelease          id_package".64"
1097 #define id_package_smsEventHandling    id_package".65"
1098 #define id_package_smsBilling          id_package".66"
1099 #define id_package_smsTimer            id_package".67"
1100 #define id_as_gsmSSF_scfGenericAS      id_asE".4"
1101 #define id_as_assistHandoff_gsmSSF_scfAS id_asE".6"
1102 #define id_as_scf_gsmSSFGenericAS      id_asE".7"
1103 #define id_as_basic_gsmSRF_gsmSCF      id_as".14"
1104 #define id_as_gprsSSF_gsmSCF_AS        id_as".50"
1105 #define id_as_gsmSCF_gprsSSF_AS        id_as".51"
1106 #define id_as_smsSSF_gsmSCF_AS         id_as".61"
1107 #define leg1                           0x01
1108 #define leg2                           0x02
1109 #define maxSMS_AddressStringLength     11
1110 #define numOfInfoItems                 4
1111 #define errcode_canceled               0
1112 #define errcode_cancelFailed           1
1113 #define errcode_eTCFailed              3
1114 #define errcode_improperCallerResponse 4
1115 #define errcode_missingCustomerRecord  6
1116 #define errcode_missingParameter       7
1117 #define errcode_parameterOutOfRange    8
1118 #define errcode_requestedInfoError     10
1119 #define errcode_systemFailure          11
1120 #define errcode_taskRefused            12
1121 #define errcode_unavailableResource    13
1122 #define errcode_unexpectedComponentSequence 14
1123 #define errcode_unexpectedDataValue    15
1124 #define errcode_unexpectedParameter    16
1125 #define errcode_unknownLegID           17
1126 #define errcode_unknownPDPID           50
1127 #define errcode_unknownCSID            51
1128 #define opcode_initialDP               0
1129 #define opcode_assistRequestInstructions 16
1130 #define opcode_establishTemporaryConnection 17
1131 #define opcode_disconnectForwardConnection 18
1132 #define opcode_dFCWithArgument         86
1133 #define opcode_connectToResource       19
1134 #define opcode_connect                 20
1135 #define opcode_releaseCall             22
1136 #define opcode_requestReportBCSMEvent  23
1137 #define opcode_eventReportBCSM         24
1138 #define opcode_collectInformation      27
1139 #define opcode_continue                31
1140 #define opcode_initiateCallAttempt     32
1141 #define opcode_resetTimer              33
1142 #define opcode_furnishChargingInformation 34
1143 #define opcode_applyCharging           35
1144 #define opcode_applyChargingReport     36
1145 #define opcode_callGap                 41
1146 #define opcode_callInformationReport   44
1147 #define opcode_callInformationRequest  45
1148 #define opcode_sendChargingInformation 46
1149 #define opcode_playAnnouncement        47
1150 #define opcode_promptAndCollectUserInformation 48
1151 #define opcode_specializedResourceReport 49
1152 #define opcode_cancel                  53
1153 #define opcode_activityTest            55
1154 #define opcode_continueWithArgument    88
1155 #define opcode_disconnectLeg           90
1156 #define opcode_moveLeg                 93
1157 #define opcode_splitLeg                95
1158 #define opcode_entityReleased          96
1159 #define opcode_playTone                97
1160 #define opcode_initialDPSMS            60
1161 #define opcode_furnishChargingInformationSMS 61
1162 #define opcode_connectSMS              62
1163 #define opcode_requestReportSMSEvent   63
1164 #define opcode_eventReportSMS          64
1165 #define opcode_continueSMS             65
1166 #define opcode_releaseSMS              66
1167 #define opcode_resetTimerSMS           67
1168 #define opcode_activityTestGPRS        70
1169 #define opcode_applyChargingGPRS       71
1170 #define opcode_applyChargingReportGPRS 72
1171 #define opcode_cancelGPRS              73
1172 #define opcode_connectGPRS             74
1173 #define opcode_continueGPRS            75
1174 #define opcode_entityReleasedGPRS      76
1175 #define opcode_furnishChargingInformationGPRS 77
1176 #define opcode_initialDPGPRS           78
1177 #define opcode_releaseGPRS             79
1178 #define opcode_eventReportGPRS         80
1179 #define opcode_requestReportGPRSEvent  81
1180 #define opcode_resetTimerGPRS          82
1181 #define opcode_sendChargingInformationGPRS 83
1182 #define id_CAP_GPRS_ReferenceNumber    "0.4.0.0.1.1.5.2"
1183 #define id_CAP_U_ABORT_Reason          "0.4.0.0.1.1.2.2"
1184 #define noInvokeId                     NULL
1185 
1186 /*--- End of included file: packet-camel-val.h ---*/
1187 #line 303 "./asn1/camel/packet-camel-template.c"
1188 
1189 
1190 /*--- Included file: packet-camel-table.c ---*/
1191 #line 1 "./asn1/camel/packet-camel-table.c"
1192 
1193 /* CAMEL OPERATIONS */
1194 const value_string camel_opr_code_strings[] = {
1195 	{ opcode_playAnnouncement, "playAnnouncement" },
1196 	{ opcode_promptAndCollectUserInformation, "promptAndCollectUserInformation" },
1197 	{ opcode_specializedResourceReport, "specializedResourceReport" },
1198 	{ opcode_activityTest, "activityTest" },
1199 	{ opcode_applyCharging, "applyCharging" },
1200 	{ opcode_applyChargingReport, "applyChargingReport" },
1201 	{ opcode_assistRequestInstructions, "assistRequestInstructions" },
1202 	{ opcode_callGap, "callGap" },
1203 	{ opcode_callInformationReport, "callInformationReport" },
1204 	{ opcode_callInformationRequest, "callInformationRequest" },
1205 	{ opcode_cancel, "cancel" },
1206 	{ opcode_collectInformation, "collectInformation" },
1207 	{ opcode_connect, "connect" },
1208 	{ opcode_connectToResource, "connectToResource" },
1209 	{ opcode_continue, "continue" },
1210 	{ opcode_continueWithArgument, "continueWithArgument" },
1211 	{ opcode_disconnectForwardConnection, "disconnectForwardConnection" },
1212 	{ opcode_dFCWithArgument, "disconnectForwardConnectionWithArgument" },
1213 	{ opcode_disconnectLeg, "disconnectLeg" },
1214 	{ opcode_entityReleased, "entityReleased" },
1215 	{ opcode_establishTemporaryConnection, "establishTemporaryConnection" },
1216 	{ opcode_eventReportBCSM, "eventReportBCSM" },
1217 	{ opcode_furnishChargingInformation, "furnishChargingInformation" },
1218 	{ opcode_initialDP, "initialDP" },
1219 	{ opcode_initiateCallAttempt, "initiateCallAttempt" },
1220 	{ opcode_moveLeg, "moveLeg" },
1221 	{ opcode_playTone, "playTone" },
1222 	{ opcode_releaseCall, "releaseCall" },
1223 	{ opcode_requestReportBCSMEvent, "requestReportBCSMEvent" },
1224 	{ opcode_resetTimer, "resetTimer" },
1225 	{ opcode_sendChargingInformation, "sendChargingInformation" },
1226 	{ opcode_splitLeg, "splitLeg" },
1227 	{ opcode_activityTestGPRS, "activityTestGPRS" },
1228 	{ opcode_applyChargingGPRS, "applyChargingGPRS" },
1229 	{ opcode_applyChargingReportGPRS, "applyChargingReportGPRS" },
1230 	{ opcode_cancelGPRS, "cancelGPRS" },
1231 	{ opcode_connectGPRS, "connectGPRS" },
1232 	{ opcode_continueGPRS, "continueGPRS" },
1233 	{ opcode_entityReleasedGPRS, "entityReleasedGPRS" },
1234 	{ opcode_eventReportGPRS, "eventReportGPRS" },
1235 	{ opcode_furnishChargingInformationGPRS, "furnishChargingInformationGPRS" },
1236 	{ opcode_initialDPGPRS, "initialDPGPRS" },
1237 	{ opcode_releaseGPRS, "releaseGPRS" },
1238 	{ opcode_requestReportGPRSEvent, "requestReportGPRSEvent" },
1239 	{ opcode_resetTimerGPRS, "resetTimerGPRS" },
1240 	{ opcode_sendChargingInformationGPRS, "sendChargingInformationGPRS" },
1241 	{ opcode_connectSMS, "connectSMS" },
1242 	{ opcode_continueSMS, "continueSMS" },
1243 	{ opcode_eventReportSMS, "eventReportSMS" },
1244 	{ opcode_furnishChargingInformationSMS, "furnishChargingInformationSMS" },
1245 	{ opcode_initialDPSMS, "initialDPSMS" },
1246 	{ opcode_releaseSMS, "releaseSMS" },
1247 	{ opcode_requestReportSMSEvent, "requestReportSMSEvent" },
1248 	{ opcode_resetTimerSMS, "resetTimerSMS" },
1249   { 0, NULL }
1250 };
1251 
1252 
1253 /* CAMEL ERRORS */
1254 static const value_string camel_err_code_string_vals[] = {
1255 	{ errcode_canceled, "canceled" },
1256 	{ errcode_cancelFailed, "cancelFailed" },
1257 	{ errcode_eTCFailed, "eTCFailed" },
1258 	{ errcode_improperCallerResponse, "improperCallerResponse" },
1259 	{ errcode_missingCustomerRecord, "missingCustomerRecord" },
1260 	{ errcode_missingParameter, "missingParameter" },
1261 	{ errcode_parameterOutOfRange, "parameterOutOfRange" },
1262 	{ errcode_requestedInfoError, "requestedInfoError" },
1263 	{ errcode_systemFailure, "systemFailure" },
1264 	{ errcode_taskRefused, "taskRefused" },
1265 	{ errcode_unavailableResource, "unavailableResource" },
1266 	{ errcode_unexpectedComponentSequence, "unexpectedComponentSequence" },
1267 	{ errcode_unexpectedDataValue, "unexpectedDataValue" },
1268 	{ errcode_unexpectedParameter, "unexpectedParameter" },
1269 	{ errcode_unknownLegID, "unknownLegID" },
1270 	{ errcode_unknownCSID, "unknownCSID" },
1271 	{ errcode_unknownPDPID, "unknownPDPID" },
1272   { 0, NULL }
1273 };
1274 
1275 
1276 /*--- End of included file: packet-camel-table.c ---*/
1277 #line 305 "./asn1/camel/packet-camel-template.c"
1278 
1279 /*
1280  * DEBUG fonctions
1281  */
1282 
1283 #undef DEBUG_CAMELSRT
1284 /* #define DEBUG_CAMELSRT */
1285 
1286 #ifdef DEBUG_CAMELSRT
1287 #include <stdio.h>
1288 #include <stdarg.h>
1289 static guint debug_level = 99;
1290 
dbg(guint level,char * fmt,...)1291 static void dbg(guint level, char *fmt, ...) {
1292   va_list ap;
1293 
1294   if (level > debug_level) return;
1295   va_start(ap,fmt);
1296   vfprintf(stderr, fmt, ap);
1297   va_end(ap);
1298 }
1299 #endif
1300 
1301 static void
camelstat_init(struct register_srt * srt _U_,GArray * srt_array)1302 camelstat_init(struct register_srt* srt _U_, GArray* srt_array)
1303 {
1304   srt_stat_table *camel_srt_table;
1305   gchar* tmp_str;
1306   guint32 i;
1307 
1308   camel_srt_table = init_srt_table("CAMEL Commands", NULL, srt_array, NB_CAMELSRT_CATEGORY, NULL, NULL, NULL);
1309   for (i = 0; i < NB_CAMELSRT_CATEGORY; i++)
1310   {
1311     tmp_str = val_to_str_wmem(NULL,i,camelSRTtype_naming,"Unknown (%d)");
1312     init_srt_table_row(camel_srt_table, i, tmp_str);
1313     wmem_free(NULL, tmp_str);
1314   }
1315 }
1316 
1317 static tap_packet_status
camelstat_packet(void * pcamel,packet_info * pinfo,epan_dissect_t * edt _U_,const void * psi)1318 camelstat_packet(void *pcamel, packet_info *pinfo, epan_dissect_t *edt _U_, const void *psi)
1319 {
1320   guint idx = 0;
1321   srt_stat_table *camel_srt_table;
1322   const struct camelsrt_info_t * pi=(const struct camelsrt_info_t *)psi;
1323   srt_data_t *data = (srt_data_t *)pcamel;
1324   int i;
1325 
1326   for (i=1; i<NB_CAMELSRT_CATEGORY; i++) {
1327     if ( pi->bool_msginfo[i] &&
1328          pi->msginfo[i].is_delta_time
1329          && pi->msginfo[i].request_available
1330          && !pi->msginfo[i].is_duplicate )
1331     {
1332       camel_srt_table = g_array_index(data->srt_array, srt_stat_table*, idx);
1333       add_srt_table_data(camel_srt_table, i, &pi->msginfo[i].req_time, pinfo);
1334     }
1335   } /* category */
1336   return TAP_PACKET_REDRAW;
1337 }
1338 
1339 
camel_number_to_char(int number)1340 static char camel_number_to_char(int number)
1341 {
1342   if (number < 10)
1343     return (char) (number + 48 ); /* this is ASCII specific */
1344   else
1345     return (char) (number + 55 );
1346 }
1347 
1348 /*
1349  * 24.011 8.2.5.4
1350  */
1351 static guint8
dissect_RP_cause_ie(tvbuff_t * tvb,guint32 offset,_U_ guint len,proto_tree * tree,int hf_cause_value,guint8 * cause_value)1352 dissect_RP_cause_ie(tvbuff_t *tvb, guint32 offset, _U_ guint len,
1353                     proto_tree *tree, int hf_cause_value, guint8 *cause_value)
1354 {
1355   guint8 oct;
1356   guint32 curr_offset;
1357 
1358   curr_offset = offset;
1359   oct = tvb_get_guint8(tvb, curr_offset);
1360 
1361   *cause_value = oct & 0x7f;
1362 
1363   proto_tree_add_uint(tree, hf_cause_value, tvb, curr_offset, 1, oct);
1364   curr_offset++;
1365 
1366   if ((oct & 0x80)) {
1367     oct = tvb_get_guint8(tvb, curr_offset);
1368     proto_tree_add_uint_format(tree, hf_cause_value,
1369                                tvb, curr_offset, 1, oct,
1370                                "Diagnostic : %u", oct);
1371     curr_offset++;
1372   }
1373   return(curr_offset - offset);
1374 }
1375 
1376 static int dissect_camel_InitialDPArgExtensionV2(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
1377 
1378 
1379 /*--- Included file: packet-camel-fn.c ---*/
1380 #line 1 "./asn1/camel/packet-camel-fn.c"
1381 
1382 
1383 static int
dissect_camel_AccessPointName(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1384 dissect_camel_AccessPointName(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1385 
1386   tvbuff_t   *parameter_tvb;
1387   proto_tree *subtree;
1388 
1389   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1390                                        &parameter_tvb);
1391 
1392 
1393   if (!parameter_tvb)
1394     return offset;
1395   subtree = proto_item_add_subtree(actx->created_item, ett_camel_AccessPointName);
1396   de_sm_apn(parameter_tvb, subtree, actx->pinfo, 0, tvb_reported_length(parameter_tvb), NULL, 0);
1397 
1398   return offset;
1399 }
1400 
1401 
1402 
1403 static int
dissect_camel_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_)1404 dissect_camel_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_) {
1405  tvbuff_t	*parameter_tvb;
1406  proto_tree *subtree;
1407 
1408   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1409                                        &parameter_tvb);
1410 
1411  if (!parameter_tvb)
1412 	return offset;
1413  subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_AChBillingChargingCharacteristics);
1414  if((camel_ver == 2)||(camel_ver == 1)){
1415 	return  dissect_camel_CAMEL_AChBillingChargingCharacteristicsV2(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_AChBillingChargingCharacteristics);
1416  }
1417  dissect_camel_CAMEL_AChBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_AChBillingChargingCharacteristics);
1418 
1419 
1420   return offset;
1421 }
1422 
1423 
1424 
1425 static int
dissect_camel_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_)1426 dissect_camel_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_) {
1427   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1428                                                 NULL);
1429 
1430   return offset;
1431 }
1432 
1433 
1434 static const value_string camel_AChChargingAddress_vals[] = {
1435   {   2, "legID" },
1436   {  50, "srfConnection" },
1437   { 0, NULL }
1438 };
1439 
1440 static const ber_choice_t AChChargingAddress_choice[] = {
1441   {   2, &hf_camel_legID         , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_inap_LegID },
1442   {  50, &hf_camel_srfConnection , BER_CLASS_CON, 50, BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
1443   { 0, NULL, 0, 0, 0, NULL }
1444 };
1445 
1446 static int
dissect_camel_AChChargingAddress(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1447 dissect_camel_AChChargingAddress(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_choice(actx, tree, tvb, offset,
1449                                  AChChargingAddress_choice, hf_index, ett_camel_AChChargingAddress,
1450                                  NULL);
1451 
1452   return offset;
1453 }
1454 
1455 
1456 
1457 static int
dissect_camel_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_)1458 dissect_camel_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_) {
1459 /*
1460 * Digits {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
1461 *	bound.&minDigitsLength .. bound.&maxDigitsLength))
1462 *-- Indicates the address signalling digits.
1463 *-- Refer to ETSI EN 300 356 1 [23] Generic Number & Generic Digits parameters for encoding.
1464 *-- The coding of the subfields 'NumberQualifier' in Generic Number and 'TypeOfDigits' in
1465 *-- Generic Digits are irrelevant to the CAP;
1466 *-- the ASN.1 tags are sufficient to identify the parameter.
1467 *-- The ISUP format does not allow to exclude these subfields,
1468 *-- therefore the value is network operator specific.
1469 *--
1470 *-- The following parameters shall use Generic Number:
1471 *--  - AdditionalCallingPartyNumber for InitialDP
1472 *--  - AssistingSSPIPRoutingAddress for EstablishTemporaryConnection
1473 *--  - CorrelationID for AssistRequestInstructions
1474 *--  - CalledAddressValue for all occurrences, CallingAddressValue for all occurrences.
1475 *--
1476 *-- The following parameters shall use Generic Digits:
1477 *--  - CorrelationID in EstablishTemporaryConnection
1478 *--  - number in VariablePart
1479 *--  - digitsResponse in ReceivedInformationArg
1480 *--	- midCallEvents in oMidCallSpecificInfo and tMidCallSpecificInfo
1481 *--
1482 *-- In the digitsResponse and midCallevents, the digits may also include the '*', '#',
1483 *-- a, b, c and d digits by using the IA5 character encoding scheme. If the BCD even or
1484 *-- BCD odd encoding scheme is used, then the following encoding shall be applied for the
1485 *-- non-decimal characters: 1011 (*), 1100 (#).
1486 *--
1487 *-- AssistingSSPIPRoutingAddress in EstablishTemporaryConnection and CorrelationID in
1488 *-- AssistRequestInstructions may contain a Hex B digit as address signal. Refer to
1489 *-- Annex A.6 for the usage of the Hex B digit.
1490 *--
1491 *-- Note that when CorrelationID is transported in Generic Digits, then the digits shall
1492 *-- always be BCD encoded.
1493 */
1494  tvbuff_t	*parameter_tvb;
1495  proto_tree *subtree;
1496  gint ett = -1;
1497  gboolean digits = FALSE;
1498 
1499   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1500                                        &parameter_tvb);
1501 
1502   if (!parameter_tvb)
1503 	return offset;
1504 
1505   if (hf_index == hf_camel_calledAddressValue) {
1506 	ett = ett_camel_calledAddressValue;
1507   } else if (hf_index == hf_camel_callingAddressValue) {
1508 	ett = ett_camel_callingAddressValue;
1509   } else if (hf_index == hf_camel_additionalCallingPartyNumber) {
1510 	ett = ett_camel_additionalcallingpartynumber;
1511   } else if (hf_index == hf_camel_assistingSSPIPRoutingAddress) {
1512 	ett = ett_camel_assistingSSPIPRoutingAddress;
1513   } else if (hf_index == hf_camel_correlationID) {
1514 	ett = ett_camel_correlationID;
1515 	digits = (opcode == opcode_establishTemporaryConnection) ? TRUE : FALSE;
1516   } else if (hf_index == hf_camel_dTMFDigitsCompleted) {
1517 	ett = ett_camel_dTMFDigitsCompleted;
1518 	digits = TRUE;
1519   } else if (hf_index == hf_camel_dTMFDigitsTimeOut) {
1520 	ett = ett_camel_dTMFDigitsTimeOut;
1521 	digits = TRUE;
1522   } else if (hf_index == hf_camel_number) {
1523 	ett = ett_camel_number;
1524 	digits = TRUE;
1525   } else if (hf_index == hf_camel_digitsResponse) {
1526 	ett = ett_camel_digitsResponse;
1527 	digits = TRUE;
1528   }
1529 
1530   subtree = proto_item_add_subtree(actx->created_item, ett);
1531   if (digits) {
1532 	dissect_isup_generic_digits_parameter(parameter_tvb, subtree, NULL);
1533   } else {
1534 	dissect_isup_generic_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
1535   }
1536 
1537 
1538   return offset;
1539 }
1540 
1541 
1542 
1543 static int
dissect_camel_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_)1544 dissect_camel_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_) {
1545   offset = dissect_camel_Digits(implicit_tag, tvb, offset, actx, tree, hf_index);
1546 
1547   return offset;
1548 }
1549 
1550 
1551 
1552 static int
dissect_camel_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_)1553 dissect_camel_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_) {
1554   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1555                                        NULL);
1556 
1557   return offset;
1558 }
1559 
1560 
1561 
1562 static int
dissect_camel_INTEGER_0_8191(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1563 dissect_camel_INTEGER_0_8191(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1564   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1565                                                 NULL);
1566 
1567   return offset;
1568 }
1569 
1570 
1571 static const ber_sequence_t CAI_GSM0224_sequence[] = {
1572   { &hf_camel_e1            , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_8191 },
1573   { &hf_camel_e2            , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_8191 },
1574   { &hf_camel_e3            , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_8191 },
1575   { &hf_camel_e4            , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_8191 },
1576   { &hf_camel_e5            , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_8191 },
1577   { &hf_camel_e6            , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_8191 },
1578   { &hf_camel_e7            , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_8191 },
1579   { NULL, 0, 0, 0, NULL }
1580 };
1581 
1582 static int
dissect_camel_CAI_GSM0224(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1583 dissect_camel_CAI_GSM0224(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1584   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1585                                    CAI_GSM0224_sequence, hf_index, ett_camel_CAI_GSM0224);
1586 
1587   return offset;
1588 }
1589 
1590 
1591 
1592 static int
dissect_camel_INTEGER_1_86400(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1593 dissect_camel_INTEGER_1_86400(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1594   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1595                                                 NULL);
1596 
1597   return offset;
1598 }
1599 
1600 
1601 static const ber_sequence_t AOCSubsequent_sequence[] = {
1602   { &hf_camel_cAI_GSM0224   , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_CAI_GSM0224 },
1603   { &hf_camel_aocSubsequent_tariffSwitchInterval, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_86400 },
1604   { NULL, 0, 0, 0, NULL }
1605 };
1606 
1607 static int
dissect_camel_AOCSubsequent(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 dissect_camel_AOCSubsequent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1609   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1610                                    AOCSubsequent_sequence, hf_index, ett_camel_AOCSubsequent);
1611 
1612   return offset;
1613 }
1614 
1615 
1616 static const ber_sequence_t AOCBeforeAnswer_sequence[] = {
1617   { &hf_camel_aOCInitial    , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_CAI_GSM0224 },
1618   { &hf_camel_aOCSubsequent , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AOCSubsequent },
1619   { NULL, 0, 0, 0, NULL }
1620 };
1621 
1622 static int
dissect_camel_AOCBeforeAnswer(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1623 dissect_camel_AOCBeforeAnswer(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1624   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1625                                    AOCBeforeAnswer_sequence, hf_index, ett_camel_AOCBeforeAnswer);
1626 
1627   return offset;
1628 }
1629 
1630 
1631 static const ber_sequence_t AOCGPRS_sequence[] = {
1632   { &hf_camel_aOCInitial    , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_CAI_GSM0224 },
1633   { &hf_camel_aOCSubsequent , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AOCSubsequent },
1634   { NULL, 0, 0, 0, NULL }
1635 };
1636 
1637 static int
dissect_camel_AOCGPRS(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1638 dissect_camel_AOCGPRS(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1639   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1640                                    AOCGPRS_sequence, hf_index, ett_camel_AOCGPRS);
1641 
1642   return offset;
1643 }
1644 
1645 
1646 static const value_string camel_AppendFreeFormatData_vals[] = {
1647   {   0, "overwrite" },
1648   {   1, "append" },
1649   { 0, NULL }
1650 };
1651 
1652 
1653 static int
dissect_camel_AppendFreeFormatData(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 dissect_camel_AppendFreeFormatData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1655   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1656                                   NULL);
1657 
1658   return offset;
1659 }
1660 
1661 
1662 
1663 static int
dissect_camel_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_)1664 dissect_camel_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_) {
1665   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1666                                                 NULL);
1667 
1668   return offset;
1669 }
1670 
1671 
1672 
1673 static int
dissect_camel_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_)1674 dissect_camel_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_) {
1675   offset = dissect_camel_Digits(implicit_tag, tvb, offset, actx, tree, hf_index);
1676 
1677   return offset;
1678 }
1679 
1680 
1681 
1682 static int
dissect_camel_BOOLEAN(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1683 dissect_camel_BOOLEAN(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1684   offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL);
1685 
1686   return offset;
1687 }
1688 
1689 
1690 
1691 static int
dissect_camel_INTEGER_1_1200(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1692 dissect_camel_INTEGER_1_1200(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1693   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1694                                                 NULL);
1695 
1696   return offset;
1697 }
1698 
1699 
1700 
1701 static int
dissect_camel_INTEGER_1_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_)1702 dissect_camel_INTEGER_1_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_) {
1703   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1704                                                 NULL);
1705 
1706   return offset;
1707 }
1708 
1709 
1710 
1711 static int
dissect_camel_INTEGER_1_20(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1712 dissect_camel_INTEGER_1_20(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1713   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1714                                                 NULL);
1715 
1716   return offset;
1717 }
1718 
1719 
1720 static const ber_sequence_t Burst_sequence[] = {
1721   { &hf_camel_numberOfBursts, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_3 },
1722   { &hf_camel_burstInterval , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_1200 },
1723   { &hf_camel_numberOfTonesInBurst, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_3 },
1724   { &hf_camel_burstToneDuration, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_20 },
1725   { &hf_camel_toneInterval  , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_20 },
1726   { NULL, 0, 0, 0, NULL }
1727 };
1728 
1729 static int
dissect_camel_Burst(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 dissect_camel_Burst(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1731   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1732                                    Burst_sequence, hf_index, ett_camel_Burst);
1733 
1734   return offset;
1735 }
1736 
1737 
1738 static const ber_sequence_t BurstList_sequence[] = {
1739   { &hf_camel_warningPeriod , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_1200 },
1740   { &hf_camel_bursts        , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_Burst },
1741   { NULL, 0, 0, 0, NULL }
1742 };
1743 
1744 static int
dissect_camel_BurstList(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1745 dissect_camel_BurstList(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1746   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1747                                    BurstList_sequence, hf_index, ett_camel_BurstList);
1748 
1749   return offset;
1750 }
1751 
1752 
1753 static const value_string camel_AudibleIndicator_vals[] = {
1754   {   0, "tone" },
1755   {   1, "burstList" },
1756   { 0, NULL }
1757 };
1758 
1759 static const ber_choice_t AudibleIndicator_choice[] = {
1760   {   0, &hf_camel_audibleIndicatorTone, BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_NOOWNTAG, dissect_camel_BOOLEAN },
1761   {   1, &hf_camel_burstList     , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_BurstList },
1762   { 0, NULL, 0, 0, 0, NULL }
1763 };
1764 
1765 static int
dissect_camel_AudibleIndicator(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1766 dissect_camel_AudibleIndicator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1767   offset = dissect_ber_choice(actx, tree, tvb, offset,
1768                                  AudibleIndicator_choice, hf_index, ett_camel_AudibleIndicator,
1769                                  NULL);
1770 
1771   return offset;
1772 }
1773 
1774 
1775 
1776 static int
dissect_camel_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_)1777 dissect_camel_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_) {
1778   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1779                                        NULL);
1780 
1781   return offset;
1782 }
1783 
1784 
1785 static const ber_sequence_t BackwardServiceInteractionInd_sequence[] = {
1786   { &hf_camel_conferenceTreatmentIndicator, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1 },
1787   { &hf_camel_callCompletionTreatmentIndicator, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1 },
1788   { NULL, 0, 0, 0, NULL }
1789 };
1790 
1791 static int
dissect_camel_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_)1792 dissect_camel_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_) {
1793   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1794                                    BackwardServiceInteractionInd_sequence, hf_index, ett_camel_BackwardServiceInteractionInd);
1795 
1796   return offset;
1797 }
1798 
1799 
1800 static const ber_sequence_t GapOnService_sequence[] = {
1801   { &hf_camel_serviceKey    , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_ServiceKey },
1802   { NULL, 0, 0, 0, NULL }
1803 };
1804 
1805 static int
dissect_camel_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_)1806 dissect_camel_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_) {
1807   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1808                                    GapOnService_sequence, hf_index, ett_camel_GapOnService);
1809 
1810   return offset;
1811 }
1812 
1813 
1814 static const ber_sequence_t T_calledAddressAndService_sequence[] = {
1815   { &hf_camel_calledAddressValue, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_Digits },
1816   { &hf_camel_serviceKey    , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_ServiceKey },
1817   { NULL, 0, 0, 0, NULL }
1818 };
1819 
1820 static int
dissect_camel_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_)1821 dissect_camel_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_) {
1822   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1823                                    T_calledAddressAndService_sequence, hf_index, ett_camel_T_calledAddressAndService);
1824 
1825   return offset;
1826 }
1827 
1828 
1829 static const ber_sequence_t T_callingAddressAndService_sequence[] = {
1830   { &hf_camel_callingAddressValue, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_Digits },
1831   { &hf_camel_serviceKey    , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_ServiceKey },
1832   { NULL, 0, 0, 0, NULL }
1833 };
1834 
1835 static int
dissect_camel_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_)1836 dissect_camel_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_) {
1837   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1838                                    T_callingAddressAndService_sequence, hf_index, ett_camel_T_callingAddressAndService);
1839 
1840   return offset;
1841 }
1842 
1843 
1844 static const value_string camel_BasicGapCriteria_vals[] = {
1845   {   0, "calledAddressValue" },
1846   {   2, "gapOnService" },
1847   {  29, "calledAddressAndService" },
1848   {  30, "callingAddressAndService" },
1849   { 0, NULL }
1850 };
1851 
1852 static const ber_choice_t BasicGapCriteria_choice[] = {
1853   {   0, &hf_camel_calledAddressValue, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_Digits },
1854   {   2, &hf_camel_gapOnService  , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_GapOnService },
1855   {  29, &hf_camel_calledAddressAndService, BER_CLASS_CON, 29, BER_FLAGS_IMPLTAG, dissect_camel_T_calledAddressAndService },
1856   {  30, &hf_camel_callingAddressAndService, BER_CLASS_CON, 30, BER_FLAGS_IMPLTAG, dissect_camel_T_callingAddressAndService },
1857   { 0, NULL, 0, 0, 0, NULL }
1858 };
1859 
1860 static int
dissect_camel_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_)1861 dissect_camel_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_) {
1862   offset = dissect_ber_choice(actx, tree, tvb, offset,
1863                                  BasicGapCriteria_choice, hf_index, ett_camel_BasicGapCriteria,
1864                                  NULL);
1865 
1866   return offset;
1867 }
1868 
1869 
1870 static const value_string camel_EventTypeBCSM_vals[] = {
1871   {   2, "collectedInfo" },
1872   {   3, "analyzedInformation" },
1873   {   4, "routeSelectFailure" },
1874   {   5, "oCalledPartyBusy" },
1875   {   6, "oNoAnswer" },
1876   {   7, "oAnswer" },
1877   {   8, "oMidCall" },
1878   {   9, "oDisconnect" },
1879   {  10, "oAbandon" },
1880   {  12, "termAttemptAuthorized" },
1881   {  13, "tBusy" },
1882   {  14, "tNoAnswer" },
1883   {  15, "tAnswer" },
1884   {  16, "tMidCall" },
1885   {  17, "tDisconnect" },
1886   {  18, "tAbandon" },
1887   {  19, "oTermSeized" },
1888   {  27, "callAccepted" },
1889   {  50, "oChangeOfPosition" },
1890   {  51, "tChangeOfPosition" },
1891   {  52, "oServiceChange" },
1892   {  53, "tServiceChange" },
1893   { 0, NULL }
1894 };
1895 
1896 
1897 static int
dissect_camel_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_)1898 dissect_camel_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_) {
1899   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1900                                   NULL);
1901 
1902   return offset;
1903 }
1904 
1905 
1906 static const value_string camel_MonitorMode_vals[] = {
1907   {   0, "interrupted" },
1908   {   1, "notifyAndContinue" },
1909   {   2, "transparent" },
1910   { 0, NULL }
1911 };
1912 
1913 
1914 static int
dissect_camel_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_)1915 dissect_camel_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_) {
1916   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1917                                   NULL);
1918 
1919   return offset;
1920 }
1921 
1922 
1923 
1924 static int
dissect_camel_INTEGER_1_30(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1925 dissect_camel_INTEGER_1_30(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 
1934 static int
dissect_camel_OCTET_STRING_SIZE_1_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_)1935 dissect_camel_OCTET_STRING_SIZE_1_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_) {
1936   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
1937                                        NULL);
1938 
1939   return offset;
1940 }
1941 
1942 
1943 
1944 static int
dissect_camel_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_)1945 dissect_camel_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_) {
1946   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1947                                                 NULL);
1948 
1949   return offset;
1950 }
1951 
1952 
1953 static const ber_sequence_t MidCallControlInfo_sequence[] = {
1954   { &hf_camel_minimumNumberOfDigits, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_30 },
1955   { &hf_camel_maximumNumberOfDigits, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_30 },
1956   { &hf_camel_endOfReplyDigit, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1_2 },
1957   { &hf_camel_cancelDigit   , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1_2 },
1958   { &hf_camel_startDigit    , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1_2 },
1959   { &hf_camel_interDigitTimeout, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_127 },
1960   { NULL, 0, 0, 0, NULL }
1961 };
1962 
1963 static int
dissect_camel_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_)1964 dissect_camel_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_) {
1965   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1966                                    MidCallControlInfo_sequence, hf_index, ett_camel_MidCallControlInfo);
1967 
1968   return offset;
1969 }
1970 
1971 
1972 
1973 static int
dissect_camel_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_)1974 dissect_camel_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_) {
1975   offset = dissect_ber_null(implicit_tag, actx, tree, tvb, offset, hf_index);
1976 
1977   return offset;
1978 }
1979 
1980 
1981 static const ber_sequence_t ChangeOfLocationAlt_sequence[] = {
1982   { NULL, 0, 0, 0, NULL }
1983 };
1984 
1985 static int
dissect_camel_ChangeOfLocationAlt(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)1986 dissect_camel_ChangeOfLocationAlt(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1987   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1988                                    ChangeOfLocationAlt_sequence, hf_index, ett_camel_ChangeOfLocationAlt);
1989 
1990   return offset;
1991 }
1992 
1993 
1994 static const value_string camel_ChangeOfLocation_vals[] = {
1995   {   0, "cellGlobalId" },
1996   {   1, "serviceAreaId" },
1997   {   2, "locationAreaId" },
1998   {   3, "inter-SystemHandOver" },
1999   {   4, "inter-PLMNHandOver" },
2000   {   5, "inter-MSCHandOver" },
2001   {   6, "changeOfLocationAlt" },
2002   { 0, NULL }
2003 };
2004 
2005 static const ber_choice_t ChangeOfLocation_choice[] = {
2006   {   0, &hf_camel_cellGlobalId  , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_gsm_map_CellGlobalIdOrServiceAreaIdFixedLength },
2007   {   1, &hf_camel_serviceAreaId , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_gsm_map_CellGlobalIdOrServiceAreaIdFixedLength },
2008   {   2, &hf_camel_locationAreaId, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_gsm_map_LAIFixedLength },
2009   {   3, &hf_camel_inter_SystemHandOver, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
2010   {   4, &hf_camel_inter_PLMNHandOver, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
2011   {   5, &hf_camel_inter_MSCHandOver, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
2012   {   6, &hf_camel_changeOfLocationAlt, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_camel_ChangeOfLocationAlt },
2013   { 0, NULL, 0, 0, 0, NULL }
2014 };
2015 
2016 static int
dissect_camel_ChangeOfLocation(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2017 dissect_camel_ChangeOfLocation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2018   offset = dissect_ber_choice(actx, tree, tvb, offset,
2019                                  ChangeOfLocation_choice, hf_index, ett_camel_ChangeOfLocation,
2020                                  NULL);
2021 
2022   return offset;
2023 }
2024 
2025 
2026 static const ber_sequence_t ChangeOfPositionControlInfo_sequence_of[1] = {
2027   { &hf_camel_ChangeOfPositionControlInfo_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_ChangeOfLocation },
2028 };
2029 
2030 static int
dissect_camel_ChangeOfPositionControlInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2031 dissect_camel_ChangeOfPositionControlInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2032   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
2033                                       ChangeOfPositionControlInfo_sequence_of, hf_index, ett_camel_ChangeOfPositionControlInfo);
2034 
2035   return offset;
2036 }
2037 
2038 
2039 
2040 static int
dissect_camel_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_)2041 dissect_camel_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_) {
2042   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2043                                                 NULL);
2044 
2045   return offset;
2046 }
2047 
2048 
2049 static const ber_sequence_t DpSpecificCriteriaAlt_sequence[] = {
2050   { &hf_camel_changeOfPositionControlInfo, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_ChangeOfPositionControlInfo },
2051   { &hf_camel_numberOfDigits, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NumberOfDigits },
2052   { &hf_camel_interDigitTimeout, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_127 },
2053   { NULL, 0, 0, 0, NULL }
2054 };
2055 
2056 static int
dissect_camel_DpSpecificCriteriaAlt(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 dissect_camel_DpSpecificCriteriaAlt(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2058   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2059                                    DpSpecificCriteriaAlt_sequence, hf_index, ett_camel_DpSpecificCriteriaAlt);
2060 
2061   return offset;
2062 }
2063 
2064 
2065 static const value_string camel_DpSpecificCriteria_vals[] = {
2066   {   1, "applicationTimer" },
2067   {   2, "midCallControlInfo" },
2068   {   3, "dpSpecificCriteriaAlt" },
2069   { 0, NULL }
2070 };
2071 
2072 static const ber_choice_t DpSpecificCriteria_choice[] = {
2073   {   1, &hf_camel_applicationTimer, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_ApplicationTimer },
2074   {   2, &hf_camel_midCallControlInfo, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_MidCallControlInfo },
2075   {   3, &hf_camel_dpSpecificCriteriaAlt, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_camel_DpSpecificCriteriaAlt },
2076   { 0, NULL, 0, 0, 0, NULL }
2077 };
2078 
2079 static int
dissect_camel_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_)2080 dissect_camel_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_) {
2081   offset = dissect_ber_choice(actx, tree, tvb, offset,
2082                                  DpSpecificCriteria_choice, hf_index, ett_camel_DpSpecificCriteria,
2083                                  NULL);
2084 
2085   return offset;
2086 }
2087 
2088 
2089 static const ber_sequence_t BCSMEvent_sequence[] = {
2090   { &hf_camel_eventTypeBCSM , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_EventTypeBCSM },
2091   { &hf_camel_monitorMode   , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_MonitorMode },
2092   { &hf_camel_legID         , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_LegID },
2093   { &hf_camel_dpSpecificCriteria, BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_DpSpecificCriteria },
2094   { &hf_camel_automaticRearm, BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
2095   { NULL, 0, 0, 0, NULL }
2096 };
2097 
2098 static int
dissect_camel_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_)2099 dissect_camel_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_) {
2100   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2101                                    BCSMEvent_sequence, hf_index, ett_camel_BCSMEvent);
2102 
2103   return offset;
2104 }
2105 
2106 
2107 
2108 static int
dissect_camel_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_)2109 dissect_camel_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_) {
2110 
2111 tvbuff_t *parameter_tvb;
2112 guint8 Cause_value;
2113 proto_tree *subtree;
2114 
2115   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2116                                        &parameter_tvb);
2117 
2118 
2119  if (!parameter_tvb)
2120 	return offset;
2121  subtree = proto_item_add_subtree(actx->created_item, ett_camel_cause);
2122 
2123  dissect_q931_cause_ie(parameter_tvb, 0, tvb_reported_length_remaining(parameter_tvb,0), subtree, hf_camel_cause_indicator, &Cause_value, isup_parameter_type_value);
2124 
2125   return offset;
2126 }
2127 
2128 
2129 static const ber_sequence_t BCSM_Failure_sequence[] = {
2130   { &hf_camel_legID         , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_LegID },
2131   { &hf_camel_cause         , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Cause },
2132   { NULL, 0, 0, 0, NULL }
2133 };
2134 
2135 static int
dissect_camel_BCSM_Failure(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2136 dissect_camel_BCSM_Failure(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2137   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2138                                    BCSM_Failure_sequence, hf_index, ett_camel_BCSM_Failure);
2139 
2140   return offset;
2141 }
2142 
2143 
2144 
2145 static int
dissect_camel_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_)2146 dissect_camel_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_) {
2147  tvbuff_t	*parameter_tvb;
2148 
2149   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2150                                        &parameter_tvb);
2151 
2152 
2153  if (!parameter_tvb)
2154 	return offset;
2155 
2156  dissect_q931_bearer_capability_ie(parameter_tvb, 0, tvb_reported_length_remaining(parameter_tvb,0), tree);
2157 
2158   return offset;
2159 }
2160 
2161 
2162 static const value_string camel_BearerCapability_vals[] = {
2163   {   0, "bearerCap" },
2164   { 0, NULL }
2165 };
2166 
2167 static const ber_choice_t BearerCapability_choice[] = {
2168   {   0, &hf_camel_bearerCap     , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_bearerCap },
2169   { 0, NULL, 0, 0, 0, NULL }
2170 };
2171 
2172 static int
dissect_camel_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_)2173 dissect_camel_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_) {
2174   offset = dissect_ber_choice(actx, tree, tvb, offset,
2175                                  BearerCapability_choice, hf_index, ett_camel_BearerCapability,
2176                                  NULL);
2177 
2178   return offset;
2179 }
2180 
2181 
2182 
2183 static int
dissect_camel_CalledPartyBCDNumber(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2184 dissect_camel_CalledPartyBCDNumber(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 /* See 3GPP TS 29.078
2186  * and 3GPP TS 24.008, section 10.5.4.7
2187  * Indicates the Called Party Number, including service selection information.
2188  * Refer to 3GPP TS 24.008 [9] for encoding.
2189  * This data type carries only the 'type of number', 'numbering plan
2190  * identification' and 'number digit' fields defined in 3GPP TS 24.008 [9];
2191  * it does not carry the 'called party BCD number IEI' or 'length of called
2192  * party BCD number contents'.
2193  * In the context of the DestinationSubscriberNumber field in ConnectSMSArg or
2194  * InitialDPSMSArg, a CalledPartyBCDNumber may also contain an alphanumeric
2195  * character string. In this case, type-of-number '101'B is used, in accordance
2196  * with 3GPP TS 23.040 [6]. The address is coded in accordance with the
2197  * GSM 7-bit default alphabet definition and the SMS packing rules
2198  * as specified in 3GPP TS 23.038 [15] in this case.
2199  */
2200  tvbuff_t	*parameter_tvb;
2201  proto_tree *subtree;
2202 
2203   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2204                                        &parameter_tvb);
2205 
2206 
2207  if (!parameter_tvb)
2208 	return offset;
2209  subtree = proto_item_add_subtree(actx->created_item, ett_camel_calledpartybcdnumber);
2210  de_cld_party_bcd_num(parameter_tvb, subtree, actx->pinfo, 0, tvb_reported_length(parameter_tvb), NULL, 0);
2211 
2212 
2213   return offset;
2214 }
2215 
2216 
2217 
2218 static int
dissect_camel_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_)2219 dissect_camel_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_) {
2220   tvbuff_t *parameter_tvb;
2221   proto_tree *subtree;
2222 
2223   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2224                                        &parameter_tvb);
2225 
2226 
2227  if (!parameter_tvb)
2228 	return offset;
2229 
2230  subtree = proto_item_add_subtree(actx->created_item, ett_camel_calledpartybcdnumber);
2231  dissect_isup_called_party_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
2232 
2233   return offset;
2234 }
2235 
2236 
2237 
2238 static int
dissect_camel_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_)2239 dissect_camel_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_) {
2240   tvbuff_t *parameter_tvb;
2241   proto_tree *subtree;
2242 
2243   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2244                                        &parameter_tvb);
2245 
2246 
2247  if (!parameter_tvb)
2248 	return offset;
2249 
2250 subtree = proto_item_add_subtree(actx->created_item, ett_camel_callingpartynumber);
2251 dissect_isup_calling_party_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
2252 
2253   return offset;
2254 }
2255 
2256 
2257 
2258 static int
dissect_camel_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_)2259 dissect_camel_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_) {
2260  tvbuff_t	*parameter_tvb;
2261  proto_tree *subtree;
2262 
2263   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2264                                        &parameter_tvb);
2265 
2266  if (!parameter_tvb)
2267 	return offset;
2268  subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_CallResult);
2269  dissect_camel_CAMEL_CallResult(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_CallResult);
2270 
2271 
2272   return offset;
2273 }
2274 
2275 
2276 static const ber_sequence_t CallSegmentFailure_sequence[] = {
2277   { &hf_camel_callSegmentID , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
2278   { &hf_camel_cause         , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Cause },
2279   { NULL, 0, 0, 0, NULL }
2280 };
2281 
2282 static int
dissect_camel_CallSegmentFailure(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2283 dissect_camel_CallSegmentFailure(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2284   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2285                                    CallSegmentFailure_sequence, hf_index, ett_camel_CallSegmentFailure);
2286 
2287   return offset;
2288 }
2289 
2290 
2291 
2292 static int
dissect_camel_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_)2293 dissect_camel_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_) {
2294   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2295                                                 NULL);
2296 
2297   return offset;
2298 }
2299 
2300 
2301 static const ber_sequence_t CallSegmentToCancel_sequence[] = {
2302   { &hf_camel_invokeID      , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_InvokeID },
2303   { &hf_camel_callSegmentID , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
2304   { NULL, 0, 0, 0, NULL }
2305 };
2306 
2307 static int
dissect_camel_CallSegmentToCancel(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2308 dissect_camel_CallSegmentToCancel(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2309   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2310                                    CallSegmentToCancel_sequence, hf_index, ett_camel_CallSegmentToCancel);
2311 
2312   return offset;
2313 }
2314 
2315 
2316 
2317 static int
dissect_camel_INTEGER_1_864000(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2318 dissect_camel_INTEGER_1_864000(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2319   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2320                                                 NULL);
2321 
2322   return offset;
2323 }
2324 
2325 
2326 
2327 static int
dissect_camel_T_audibleIndicator(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2328 dissect_camel_T_audibleIndicator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2329   if (tvb_reported_length_remaining(tvb,offset) < 2)
2330 	offset = dissect_camel_BOOLEAN(TRUE, tvb, offset, actx , tree, hf_camel_audibleIndicatorTone);
2331   else
2332   offset = dissect_camel_AudibleIndicator(implicit_tag, tvb, offset, actx, tree, hf_index);
2333 
2334 
2335 
2336   return offset;
2337 }
2338 
2339 
2340 
2341 static int
dissect_camel_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_)2342 dissect_camel_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_) {
2343 
2344   if (is_ExtensionField){
2345 	hf_index = hf_camel_extension_code_local;
2346   }else if (camel_opcode_type == CAMEL_OPCODE_RETURN_ERROR){
2347 	hf_index = hf_camel_error_code_local;
2348   }
2349     offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2350                                                 &opcode);
2351 
2352   if (is_ExtensionField == FALSE){
2353 	if (camel_opcode_type == CAMEL_OPCODE_RETURN_ERROR){
2354 	  errorCode = opcode;
2355 	  col_append_str(actx->pinfo->cinfo, COL_INFO,
2356 	      val_to_str(errorCode, camel_err_code_string_vals, "Unknown CAMEL error (%u)"));
2357 	  col_append_str(actx->pinfo->cinfo, COL_INFO, " ");
2358 	  col_set_fence(actx->pinfo->cinfo, COL_INFO);
2359 	}else{
2360 	  col_append_str(actx->pinfo->cinfo, COL_INFO,
2361 	     val_to_str(opcode, camel_opr_code_strings, "Unknown CAMEL (%u)"));
2362 	  col_append_str(actx->pinfo->cinfo, COL_INFO, " ");
2363 	  col_set_fence(actx->pinfo->cinfo, COL_INFO);
2364 	}
2365 	gp_camelsrt_info->opcode=opcode;
2366   }
2367 
2368   return offset;
2369 }
2370 
2371 
2372 
2373 static int
dissect_camel_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_)2374 dissect_camel_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_) {
2375   offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_index, &camel_obj_id);
2376 
2377   return offset;
2378 }
2379 
2380 
2381 static const value_string camel_Code_vals[] = {
2382   {   0, "local" },
2383   {   1, "global" },
2384   { 0, NULL }
2385 };
2386 
2387 static const ber_choice_t Code_choice[] = {
2388   {   0, &hf_camel_local         , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_camel_T_local },
2389   {   1, &hf_camel_global        , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_camel_T_global },
2390   { 0, NULL, 0, 0, 0, NULL }
2391 };
2392 
2393 static int
dissect_camel_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_)2394 dissect_camel_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_) {
2395   offset = dissect_ber_choice(actx, tree, tvb, offset,
2396                                  Code_choice, hf_index, ett_camel_Code,
2397                                  NULL);
2398 
2399   return offset;
2400 }
2401 
2402 
2403 
2404 static int
dissect_camel_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_)2405 dissect_camel_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_) {
2406   /*XXX handle local form here */
2407   if(camel_obj_id){
2408     offset=call_ber_oid_callback(camel_obj_id, tvb, offset, actx->pinfo, tree, NULL);
2409   }
2410   is_ExtensionField = FALSE;
2411 
2412 
2413   return offset;
2414 }
2415 
2416 
2417 static const ber_sequence_t ExtensionField_sequence[] = {
2418   { &hf_camel_type          , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_Code },
2419   { &hf_camel_criticality   , BER_CLASS_UNI, BER_UNI_TAG_ENUMERATED, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_inap_CriticalityType },
2420   { &hf_camel_value         , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_T_value },
2421   { NULL, 0, 0, 0, NULL }
2422 };
2423 
2424 static int
dissect_camel_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_)2425 dissect_camel_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_) {
2426 	camel_obj_id = NULL;
2427 	is_ExtensionField =TRUE;
2428 
2429   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2430                                    ExtensionField_sequence, hf_index, ett_camel_ExtensionField);
2431 
2432   return offset;
2433 }
2434 
2435 
2436 static const ber_sequence_t Extensions_sequence_of[1] = {
2437   { &hf_camel_Extensions_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_camel_ExtensionField },
2438 };
2439 
2440 static int
dissect_camel_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_)2441 dissect_camel_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_) {
2442   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
2443                                       Extensions_sequence_of, hf_index, ett_camel_Extensions);
2444 
2445   return offset;
2446 }
2447 
2448 
2449 static const ber_sequence_t T_timeDurationCharging_sequence[] = {
2450   { &hf_camel_maxCallPeriodDuration, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_864000 },
2451   { &hf_camel_releaseIfdurationExceeded, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
2452   { &hf_camel_timeDurationCharging_tariffSwitchInterval, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_86400 },
2453   { &hf_camel_audibleIndicator, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_T_audibleIndicator },
2454   { &hf_camel_extensions    , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
2455   { NULL, 0, 0, 0, NULL }
2456 };
2457 
2458 static int
dissect_camel_T_timeDurationCharging(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2459 dissect_camel_T_timeDurationCharging(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2460   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2461                                    T_timeDurationCharging_sequence, hf_index, ett_camel_T_timeDurationCharging);
2462 
2463   return offset;
2464 }
2465 
2466 
2467 static const value_string camel_CAMEL_AChBillingChargingCharacteristics_vals[] = {
2468   {   0, "timeDurationCharging" },
2469   { 0, NULL }
2470 };
2471 
2472 static const ber_choice_t CAMEL_AChBillingChargingCharacteristics_choice[] = {
2473   {   0, &hf_camel_timeDurationCharging, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_timeDurationCharging },
2474   { 0, NULL, 0, 0, 0, NULL }
2475 };
2476 
2477 static int
dissect_camel_CAMEL_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_)2478 dissect_camel_CAMEL_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_) {
2479   offset = dissect_ber_choice(actx, tree, tvb, offset,
2480                                  CAMEL_AChBillingChargingCharacteristics_choice, hf_index, ett_camel_CAMEL_AChBillingChargingCharacteristics,
2481                                  NULL);
2482 
2483   return offset;
2484 }
2485 
2486 
2487 
2488 static int
dissect_camel_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_)2489 dissect_camel_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_) {
2490   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2491                                        NULL);
2492 
2493   return offset;
2494 }
2495 
2496 
2497 static const value_string camel_ReceivingSideID_vals[] = {
2498   {   1, "receivingSideID" },
2499   { 0, NULL }
2500 };
2501 
2502 static const ber_choice_t ReceivingSideID_choice[] = {
2503   {   1, &hf_camel_receivingSideID, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_LegType },
2504   { 0, NULL, 0, 0, 0, NULL }
2505 };
2506 
2507 static int
dissect_camel_ReceivingSideID(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2508 dissect_camel_ReceivingSideID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2509   offset = dissect_ber_choice(actx, tree, tvb, offset,
2510                                  ReceivingSideID_choice, hf_index, ett_camel_ReceivingSideID,
2511                                  NULL);
2512 
2513   return offset;
2514 }
2515 
2516 
2517 
2518 static int
dissect_camel_TimeIfNoTariffSwitch(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2519 dissect_camel_TimeIfNoTariffSwitch(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2520   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2521                                                 NULL);
2522 
2523   return offset;
2524 }
2525 
2526 
2527 
2528 static int
dissect_camel_INTEGER_0_864000(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2529 dissect_camel_INTEGER_0_864000(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 static const ber_sequence_t TimeIfTariffSwitch_sequence[] = {
2538   { &hf_camel_timeSinceTariffSwitch, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_864000 },
2539   { &hf_camel_timeIfTariffSwitch_tariffSwitchInterval, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_864000 },
2540   { NULL, 0, 0, 0, NULL }
2541 };
2542 
2543 static int
dissect_camel_TimeIfTariffSwitch(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2544 dissect_camel_TimeIfTariffSwitch(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2545   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2546                                    TimeIfTariffSwitch_sequence, hf_index, ett_camel_TimeIfTariffSwitch);
2547 
2548   return offset;
2549 }
2550 
2551 
2552 static const value_string camel_TimeInformation_vals[] = {
2553   {   0, "timeIfNoTariffSwitch" },
2554   {   1, "timeIfTariffSwitch" },
2555   { 0, NULL }
2556 };
2557 
2558 static const ber_choice_t TimeInformation_choice[] = {
2559   {   0, &hf_camel_timeIfNoTariffSwitch, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_TimeIfNoTariffSwitch },
2560   {   1, &hf_camel_timeIfTariffSwitch, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_TimeIfTariffSwitch },
2561   { 0, NULL, 0, 0, 0, NULL }
2562 };
2563 
2564 static int
dissect_camel_TimeInformation(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 dissect_camel_TimeInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2566   offset = dissect_ber_choice(actx, tree, tvb, offset,
2567                                  TimeInformation_choice, hf_index, ett_camel_TimeInformation,
2568                                  NULL);
2569 
2570   return offset;
2571 }
2572 
2573 
2574 static const ber_sequence_t T_timeDurationChargingResult_sequence[] = {
2575   { &hf_camel_timeDurationChargingResultpartyToCharge, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_ReceivingSideID },
2576   { &hf_camel_timeInformation, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_TimeInformation },
2577   { &hf_camel_legActive     , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
2578   { &hf_camel_callLegReleasedAtTcpExpiry, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
2579   { &hf_camel_extensions    , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
2580   { &hf_camel_aChChargingAddress, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_AChChargingAddress },
2581   { NULL, 0, 0, 0, NULL }
2582 };
2583 
2584 static int
dissect_camel_T_timeDurationChargingResult(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 dissect_camel_T_timeDurationChargingResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2586   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2587                                    T_timeDurationChargingResult_sequence, hf_index, ett_camel_T_timeDurationChargingResult);
2588 
2589   return offset;
2590 }
2591 
2592 
2593 static const value_string camel_CAMEL_CallResult_vals[] = {
2594   {   0, "timeDurationChargingResult" },
2595   { 0, NULL }
2596 };
2597 
2598 static const ber_choice_t CAMEL_CallResult_choice[] = {
2599   {   0, &hf_camel_timeDurationChargingResult, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_timeDurationChargingResult },
2600   { 0, NULL, 0, 0, 0, NULL }
2601 };
2602 
2603 static int
dissect_camel_CAMEL_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_)2604 dissect_camel_CAMEL_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_) {
2605   offset = dissect_ber_choice(actx, tree, tvb, offset,
2606                                  CAMEL_CallResult_choice, hf_index, ett_camel_CAMEL_CallResult,
2607                                  NULL);
2608 
2609   return offset;
2610 }
2611 
2612 
2613 
2614 static int
dissect_camel_OCTET_STRING_SIZE_bound__minFCIBillingChargingDataLength_bound__maxFCIBillingChargingDataLength(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 dissect_camel_OCTET_STRING_SIZE_bound__minFCIBillingChargingDataLength_bound__maxFCIBillingChargingDataLength(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2616   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2617                                        NULL);
2618 
2619   return offset;
2620 }
2621 
2622 
2623 static const value_string camel_SendingSideID_vals[] = {
2624   {   0, "sendingSideID" },
2625   { 0, NULL }
2626 };
2627 
2628 static const ber_choice_t SendingSideID_choice[] = {
2629   {   0, &hf_camel_sendingSideID , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_LegType },
2630   { 0, NULL, 0, 0, 0, NULL }
2631 };
2632 
2633 static int
dissect_camel_SendingSideID(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2634 dissect_camel_SendingSideID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2635   offset = dissect_ber_choice(actx, tree, tvb, offset,
2636                                  SendingSideID_choice, hf_index, ett_camel_SendingSideID,
2637                                  NULL);
2638 
2639   return offset;
2640 }
2641 
2642 
2643 static const ber_sequence_t T_fci_fCIBCCCAMELsequence1_sequence[] = {
2644   { &hf_camel_freeFormatData, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_bound__minFCIBillingChargingDataLength_bound__maxFCIBillingChargingDataLength },
2645   { &hf_camel_fCIBCCCAMELsequence1partyToCharge, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_SendingSideID },
2646   { &hf_camel_appendFreeFormatData, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AppendFreeFormatData },
2647   { NULL, 0, 0, 0, NULL }
2648 };
2649 
2650 static int
dissect_camel_T_fci_fCIBCCCAMELsequence1(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2651 dissect_camel_T_fci_fCIBCCCAMELsequence1(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2652   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2653                                    T_fci_fCIBCCCAMELsequence1_sequence, hf_index, ett_camel_T_fci_fCIBCCCAMELsequence1);
2654 
2655   return offset;
2656 }
2657 
2658 
2659 static const value_string camel_CAMEL_FCIBillingChargingCharacteristics_vals[] = {
2660   {   0, "fCIBCCCAMELsequence1" },
2661   { 0, NULL }
2662 };
2663 
2664 static const ber_choice_t CAMEL_FCIBillingChargingCharacteristics_choice[] = {
2665   {   0, &hf_camel_fci_fCIBCCCAMELsequence1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_fci_fCIBCCCAMELsequence1 },
2666   { 0, NULL, 0, 0, 0, NULL }
2667 };
2668 
2669 static int
dissect_camel_CAMEL_FCIBillingChargingCharacteristics(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 dissect_camel_CAMEL_FCIBillingChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2671   offset = dissect_ber_choice(actx, tree, tvb, offset,
2672                                  CAMEL_FCIBillingChargingCharacteristics_choice, hf_index, ett_camel_CAMEL_FCIBillingChargingCharacteristics,
2673                                  NULL);
2674 
2675   return offset;
2676 }
2677 
2678 
2679 
2680 static int
dissect_camel_PDPID(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2681 dissect_camel_PDPID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2682   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2683                                        NULL);
2684 
2685   return offset;
2686 }
2687 
2688 
2689 static const ber_sequence_t T_fciGPRS_fCIBCCCAMELsequence1_sequence[] = {
2690   { &hf_camel_freeFormatData, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_bound__minFCIBillingChargingDataLength_bound__maxFCIBillingChargingDataLength },
2691   { &hf_camel_pDPID         , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPID },
2692   { &hf_camel_appendFreeFormatData, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AppendFreeFormatData },
2693   { NULL, 0, 0, 0, NULL }
2694 };
2695 
2696 static int
dissect_camel_T_fciGPRS_fCIBCCCAMELsequence1(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2697 dissect_camel_T_fciGPRS_fCIBCCCAMELsequence1(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_sequence(implicit_tag, actx, tree, tvb, offset,
2699                                    T_fciGPRS_fCIBCCCAMELsequence1_sequence, hf_index, ett_camel_T_fciGPRS_fCIBCCCAMELsequence1);
2700 
2701   return offset;
2702 }
2703 
2704 
2705 static const ber_sequence_t CAMEL_FCIGPRSBillingChargingCharacteristics_sequence[] = {
2706   { &hf_camel_fciGPRS_fCIBCCCAMELsequence1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_fciGPRS_fCIBCCCAMELsequence1 },
2707   { NULL, 0, 0, 0, NULL }
2708 };
2709 
2710 static int
dissect_camel_CAMEL_FCIGPRSBillingChargingCharacteristics(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2711 dissect_camel_CAMEL_FCIGPRSBillingChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2712   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2713                                    CAMEL_FCIGPRSBillingChargingCharacteristics_sequence, hf_index, ett_camel_CAMEL_FCIGPRSBillingChargingCharacteristics);
2714 
2715   return offset;
2716 }
2717 
2718 
2719 static const ber_sequence_t T_fciSMS_fCIBCCCAMELsequence1_sequence[] = {
2720   { &hf_camel_freeFormatData, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_bound__minFCIBillingChargingDataLength_bound__maxFCIBillingChargingDataLength },
2721   { &hf_camel_appendFreeFormatData, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AppendFreeFormatData },
2722   { NULL, 0, 0, 0, NULL }
2723 };
2724 
2725 static int
dissect_camel_T_fciSMS_fCIBCCCAMELsequence1(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2726 dissect_camel_T_fciSMS_fCIBCCCAMELsequence1(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2727   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2728                                    T_fciSMS_fCIBCCCAMELsequence1_sequence, hf_index, ett_camel_T_fciSMS_fCIBCCCAMELsequence1);
2729 
2730   return offset;
2731 }
2732 
2733 
2734 static const value_string camel_CAMEL_FCISMSBillingChargingCharacteristics_vals[] = {
2735   {   0, "fCIBCCCAMELsequence1" },
2736   { 0, NULL }
2737 };
2738 
2739 static const ber_choice_t CAMEL_FCISMSBillingChargingCharacteristics_choice[] = {
2740   {   0, &hf_camel_fciSMS_fCIBCCCAMELsequence1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_fciSMS_fCIBCCCAMELsequence1 },
2741   { 0, NULL, 0, 0, 0, NULL }
2742 };
2743 
2744 static int
dissect_camel_CAMEL_FCISMSBillingChargingCharacteristics(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2745 dissect_camel_CAMEL_FCISMSBillingChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2746   offset = dissect_ber_choice(actx, tree, tvb, offset,
2747                                  CAMEL_FCISMSBillingChargingCharacteristics_choice, hf_index, ett_camel_CAMEL_FCISMSBillingChargingCharacteristics,
2748                                  NULL);
2749 
2750   return offset;
2751 }
2752 
2753 
2754 static const ber_sequence_t CAMEL_SCIBillingChargingCharacteristicsAlt_sequence[] = {
2755   { NULL, 0, 0, 0, NULL }
2756 };
2757 
2758 static int
dissect_camel_CAMEL_SCIBillingChargingCharacteristicsAlt(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2759 dissect_camel_CAMEL_SCIBillingChargingCharacteristicsAlt(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2760   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2761                                    CAMEL_SCIBillingChargingCharacteristicsAlt_sequence, hf_index, ett_camel_CAMEL_SCIBillingChargingCharacteristicsAlt);
2762 
2763   return offset;
2764 }
2765 
2766 
2767 static const value_string camel_CAMEL_SCIBillingChargingCharacteristics_vals[] = {
2768   {   0, "aOCBeforeAnswer" },
2769   {   1, "aOCAfterAnswer" },
2770   {   2, "aOC-extension" },
2771   { 0, NULL }
2772 };
2773 
2774 static const ber_choice_t CAMEL_SCIBillingChargingCharacteristics_choice[] = {
2775   {   0, &hf_camel_aOCBeforeAnswer, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_AOCBeforeAnswer },
2776   {   1, &hf_camel_aOCAfterAnswer, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_AOCSubsequent },
2777   {   2, &hf_camel_aOC_extension , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_CAMEL_SCIBillingChargingCharacteristicsAlt },
2778   { 0, NULL, 0, 0, 0, NULL }
2779 };
2780 
2781 static int
dissect_camel_CAMEL_SCIBillingChargingCharacteristics(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2782 dissect_camel_CAMEL_SCIBillingChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2783   offset = dissect_ber_choice(actx, tree, tvb, offset,
2784                                  CAMEL_SCIBillingChargingCharacteristics_choice, hf_index, ett_camel_CAMEL_SCIBillingChargingCharacteristics,
2785                                  NULL);
2786 
2787   return offset;
2788 }
2789 
2790 
2791 static const ber_sequence_t CAMEL_SCIGPRSBillingChargingCharacteristics_sequence[] = {
2792   { &hf_camel_aOCGPRS       , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_AOCGPRS },
2793   { &hf_camel_pDPID         , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPID },
2794   { NULL, 0, 0, 0, NULL }
2795 };
2796 
2797 static int
dissect_camel_CAMEL_SCIGPRSBillingChargingCharacteristics(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 dissect_camel_CAMEL_SCIGPRSBillingChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2799   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2800                                    CAMEL_SCIGPRSBillingChargingCharacteristics_sequence, hf_index, ett_camel_CAMEL_SCIGPRSBillingChargingCharacteristics);
2801 
2802   return offset;
2803 }
2804 
2805 
2806 
2807 static int
dissect_camel_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_)2808 dissect_camel_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_) {
2809   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2810                                        NULL);
2811 
2812   return offset;
2813 }
2814 
2815 
2816 static const value_string camel_CGEncountered_vals[] = {
2817   {   0, "noCGencountered" },
2818   {   1, "manualCGencountered" },
2819   {   2, "scpOverload" },
2820   { 0, NULL }
2821 };
2822 
2823 
2824 static int
dissect_camel_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_)2825 dissect_camel_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_) {
2826   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2827                                   NULL);
2828 
2829   return offset;
2830 }
2831 
2832 
2833 
2834 static int
dissect_camel_ChargeIndicator(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2835 dissect_camel_ChargeIndicator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2836   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2837                                        NULL);
2838 
2839   return offset;
2840 }
2841 
2842 
2843 
2844 static int
dissect_camel_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_)2845 dissect_camel_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_) {
2846   tvbuff_t *parameter_tvb;
2847   proto_tree *subtree;
2848 
2849   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
2850                                        &parameter_tvb);
2851 
2852 
2853  if (!parameter_tvb)
2854         return offset;
2855 
2856 subtree = proto_item_add_subtree(actx->created_item, ett_camel_locationnumber);
2857 dissect_isup_location_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
2858 
2859   return offset;
2860 }
2861 
2862 
2863 
2864 static int
dissect_camel_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_)2865 dissect_camel_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_) {
2866   offset = dissect_camel_LocationNumber(implicit_tag, tvb, offset, actx, tree, hf_index);
2867 
2868   return offset;
2869 }
2870 
2871 
2872 
2873 static int
dissect_camel_INTEGER_1_4294967295(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2874 dissect_camel_INTEGER_1_4294967295(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2875   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2876                                                 NULL);
2877 
2878   return offset;
2879 }
2880 
2881 
2882 static const value_string camel_ChargingCharacteristics_vals[] = {
2883   {   0, "maxTransferredVolume" },
2884   {   1, "maxElapsedTime" },
2885   { 0, NULL }
2886 };
2887 
2888 static const ber_choice_t ChargingCharacteristics_choice[] = {
2889   {   0, &hf_camel_maxTransferredVolume, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_4294967295 },
2890   {   1, &hf_camel_maxElapsedTime, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_86400 },
2891   { 0, NULL, 0, 0, 0, NULL }
2892 };
2893 
2894 static int
dissect_camel_ChargingCharacteristics(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2895 dissect_camel_ChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2896   offset = dissect_ber_choice(actx, tree, tvb, offset,
2897                                  ChargingCharacteristics_choice, hf_index, ett_camel_ChargingCharacteristics,
2898                                  NULL);
2899 
2900   return offset;
2901 }
2902 
2903 
2904 
2905 static int
dissect_camel_INTEGER_0_4294967295(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2906 dissect_camel_INTEGER_0_4294967295(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2907   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2908                                                 NULL);
2909 
2910   return offset;
2911 }
2912 
2913 
2914 static const ber_sequence_t T_volumeIfTariffSwitch_sequence[] = {
2915   { &hf_camel_volumeSinceLastTariffSwitch, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_4294967295 },
2916   { &hf_camel_volumeTariffSwitchInterval, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_4294967295 },
2917   { NULL, 0, 0, 0, NULL }
2918 };
2919 
2920 static int
dissect_camel_T_volumeIfTariffSwitch(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2921 dissect_camel_T_volumeIfTariffSwitch(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2922   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2923                                    T_volumeIfTariffSwitch_sequence, hf_index, ett_camel_T_volumeIfTariffSwitch);
2924 
2925   return offset;
2926 }
2927 
2928 
2929 static const value_string camel_TransferredVolume_vals[] = {
2930   {   0, "volumeIfNoTariffSwitch" },
2931   {   1, "volumeIfTariffSwitch" },
2932   { 0, NULL }
2933 };
2934 
2935 static const ber_choice_t TransferredVolume_choice[] = {
2936   {   0, &hf_camel_volumeIfNoTariffSwitch, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_4294967295 },
2937   {   1, &hf_camel_volumeIfTariffSwitch, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_T_volumeIfTariffSwitch },
2938   { 0, NULL, 0, 0, 0, NULL }
2939 };
2940 
2941 static int
dissect_camel_TransferredVolume(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2942 dissect_camel_TransferredVolume(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2943   offset = dissect_ber_choice(actx, tree, tvb, offset,
2944                                  TransferredVolume_choice, hf_index, ett_camel_TransferredVolume,
2945                                  NULL);
2946 
2947   return offset;
2948 }
2949 
2950 
2951 
2952 static int
dissect_camel_INTEGER_0_86400(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2953 dissect_camel_INTEGER_0_86400(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2954   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
2955                                                 NULL);
2956 
2957   return offset;
2958 }
2959 
2960 
2961 static const ber_sequence_t T_timeGPRSIfTariffSwitch_sequence[] = {
2962   { &hf_camel_timeGPRSSinceLastTariffSwitch, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_86400 },
2963   { &hf_camel_timeGPRSTariffSwitchInterval, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_86400 },
2964   { NULL, 0, 0, 0, NULL }
2965 };
2966 
2967 static int
dissect_camel_T_timeGPRSIfTariffSwitch(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2968 dissect_camel_T_timeGPRSIfTariffSwitch(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2969   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
2970                                    T_timeGPRSIfTariffSwitch_sequence, hf_index, ett_camel_T_timeGPRSIfTariffSwitch);
2971 
2972   return offset;
2973 }
2974 
2975 
2976 static const value_string camel_ElapsedTime_vals[] = {
2977   {   0, "timeGPRSIfNoTariffSwitch" },
2978   {   1, "timeGPRSIfTariffSwitch" },
2979   { 0, NULL }
2980 };
2981 
2982 static const ber_choice_t ElapsedTime_choice[] = {
2983   {   0, &hf_camel_timeGPRSIfNoTariffSwitch, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_86400 },
2984   {   1, &hf_camel_timeGPRSIfTariffSwitch, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_T_timeGPRSIfTariffSwitch },
2985   { 0, NULL, 0, 0, 0, NULL }
2986 };
2987 
2988 static int
dissect_camel_ElapsedTime(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)2989 dissect_camel_ElapsedTime(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2990   offset = dissect_ber_choice(actx, tree, tvb, offset,
2991                                  ElapsedTime_choice, hf_index, ett_camel_ElapsedTime,
2992                                  NULL);
2993 
2994   return offset;
2995 }
2996 
2997 
2998 static const value_string camel_ChargingResult_vals[] = {
2999   {   0, "transferredVolume" },
3000   {   1, "elapsedTime" },
3001   { 0, NULL }
3002 };
3003 
3004 static const ber_choice_t ChargingResult_choice[] = {
3005   {   0, &hf_camel_transferredVolume, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_TransferredVolume },
3006   {   1, &hf_camel_elapsedTime   , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_ElapsedTime },
3007   { 0, NULL, 0, 0, 0, NULL }
3008 };
3009 
3010 static int
dissect_camel_ChargingResult(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3011 dissect_camel_ChargingResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3012   offset = dissect_ber_choice(actx, tree, tvb, offset,
3013                                  ChargingResult_choice, hf_index, ett_camel_ChargingResult,
3014                                  NULL);
3015 
3016   return offset;
3017 }
3018 
3019 
3020 
3021 static int
dissect_camel_INTEGER_0_255(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3022 dissect_camel_INTEGER_0_255(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3023   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
3024                                                 NULL);
3025 
3026   return offset;
3027 }
3028 
3029 
3030 static const ber_sequence_t T_rO_VolumeIfTariffSwitch_sequence[] = {
3031   { &hf_camel_rO_VolumeSinceLastTariffSwitch, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_255 },
3032   { &hf_camel_rO_VolumeTariffSwitchInterval, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_255 },
3033   { NULL, 0, 0, 0, NULL }
3034 };
3035 
3036 static int
dissect_camel_T_rO_VolumeIfTariffSwitch(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3037 dissect_camel_T_rO_VolumeIfTariffSwitch(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3038   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3039                                    T_rO_VolumeIfTariffSwitch_sequence, hf_index, ett_camel_T_rO_VolumeIfTariffSwitch);
3040 
3041   return offset;
3042 }
3043 
3044 
3045 static const value_string camel_TransferredVolumeRollOver_vals[] = {
3046   {   0, "rO-VolumeIfNoTariffSwitch" },
3047   {   1, "rO-VolumeIfTariffSwitch" },
3048   { 0, NULL }
3049 };
3050 
3051 static const ber_choice_t TransferredVolumeRollOver_choice[] = {
3052   {   0, &hf_camel_rO_VolumeIfNoTariffSwitch, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_255 },
3053   {   1, &hf_camel_rO_VolumeIfTariffSwitch, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_T_rO_VolumeIfTariffSwitch },
3054   { 0, NULL, 0, 0, 0, NULL }
3055 };
3056 
3057 static int
dissect_camel_TransferredVolumeRollOver(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3058 dissect_camel_TransferredVolumeRollOver(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3059   offset = dissect_ber_choice(actx, tree, tvb, offset,
3060                                  TransferredVolumeRollOver_choice, hf_index, ett_camel_TransferredVolumeRollOver,
3061                                  NULL);
3062 
3063   return offset;
3064 }
3065 
3066 
3067 static const ber_sequence_t T_rO_TimeGPRSIfTariffSwitch_sequence[] = {
3068   { &hf_camel_rO_TimeGPRSSinceLastTariffSwitch, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_255 },
3069   { &hf_camel_rO_TimeGPRSTariffSwitchInterval, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_255 },
3070   { NULL, 0, 0, 0, NULL }
3071 };
3072 
3073 static int
dissect_camel_T_rO_TimeGPRSIfTariffSwitch(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3074 dissect_camel_T_rO_TimeGPRSIfTariffSwitch(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3075   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3076                                    T_rO_TimeGPRSIfTariffSwitch_sequence, hf_index, ett_camel_T_rO_TimeGPRSIfTariffSwitch);
3077 
3078   return offset;
3079 }
3080 
3081 
3082 static const value_string camel_ElapsedTimeRollOver_vals[] = {
3083   {   0, "rO-TimeGPRSIfNoTariffSwitch" },
3084   {   1, "rO-TimeGPRSIfTariffSwitch" },
3085   { 0, NULL }
3086 };
3087 
3088 static const ber_choice_t ElapsedTimeRollOver_choice[] = {
3089   {   0, &hf_camel_rO_TimeGPRSIfNoTariffSwitch, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_255 },
3090   {   1, &hf_camel_rO_TimeGPRSIfTariffSwitch, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_T_rO_TimeGPRSIfTariffSwitch },
3091   { 0, NULL, 0, 0, 0, NULL }
3092 };
3093 
3094 static int
dissect_camel_ElapsedTimeRollOver(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3095 dissect_camel_ElapsedTimeRollOver(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3096   offset = dissect_ber_choice(actx, tree, tvb, offset,
3097                                  ElapsedTimeRollOver_choice, hf_index, ett_camel_ElapsedTimeRollOver,
3098                                  NULL);
3099 
3100   return offset;
3101 }
3102 
3103 
3104 static const value_string camel_ChargingRollOver_vals[] = {
3105   {   0, "transferredVolumeRollOver" },
3106   {   1, "elapsedTimeRollOver" },
3107   { 0, NULL }
3108 };
3109 
3110 static const ber_choice_t ChargingRollOver_choice[] = {
3111   {   0, &hf_camel_transferredVolumeRollOver, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_TransferredVolumeRollOver },
3112   {   1, &hf_camel_elapsedTimeRollOver, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_ElapsedTimeRollOver },
3113   { 0, NULL, 0, 0, 0, NULL }
3114 };
3115 
3116 static int
dissect_camel_ChargingRollOver(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3117 dissect_camel_ChargingRollOver(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3118   offset = dissect_ber_choice(actx, tree, tvb, offset,
3119                                  ChargingRollOver_choice, hf_index, ett_camel_ChargingRollOver,
3120                                  NULL);
3121 
3122   return offset;
3123 }
3124 
3125 
3126 static const value_string camel_ErrorTreatment_vals[] = {
3127   {   0, "stdErrorAndInfo" },
3128   {   1, "help" },
3129   {   2, "repeatPrompt" },
3130   { 0, NULL }
3131 };
3132 
3133 
3134 static int
dissect_camel_ErrorTreatment(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3135 dissect_camel_ErrorTreatment(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3136   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
3137                                   NULL);
3138 
3139   return offset;
3140 }
3141 
3142 
3143 static const ber_sequence_t CollectedDigits_sequence[] = {
3144   { &hf_camel_minimumNbOfDigits, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_30 },
3145   { &hf_camel_maximumNbOfDigits, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_30 },
3146   { &hf_camel_endOfReplyDigit, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1_2 },
3147   { &hf_camel_cancelDigit   , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1_2 },
3148   { &hf_camel_startDigit    , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1_2 },
3149   { &hf_camel_firstDigitTimeOut, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_127 },
3150   { &hf_camel_interDigitTimeOut, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_127 },
3151   { &hf_camel_errorTreatment, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ErrorTreatment },
3152   { &hf_camel_interruptableAnnInd, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
3153   { &hf_camel_voiceInformation, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
3154   { &hf_camel_voiceBack     , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
3155   { NULL, 0, 0, 0, NULL }
3156 };
3157 
3158 static int
dissect_camel_CollectedDigits(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3159 dissect_camel_CollectedDigits(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3160   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3161                                    CollectedDigits_sequence, hf_index, ett_camel_CollectedDigits);
3162 
3163   return offset;
3164 }
3165 
3166 
3167 static const value_string camel_CollectedInfo_vals[] = {
3168   {   0, "collectedDigits" },
3169   { 0, NULL }
3170 };
3171 
3172 static const ber_choice_t CollectedInfo_choice[] = {
3173   {   0, &hf_camel_collectedDigits, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_CollectedDigits },
3174   { 0, NULL, 0, 0, 0, NULL }
3175 };
3176 
3177 static int
dissect_camel_CollectedInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3178 dissect_camel_CollectedInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3179   offset = dissect_ber_choice(actx, tree, tvb, offset,
3180                                  CollectedInfo_choice, hf_index, ett_camel_CollectedInfo,
3181                                  NULL);
3182 
3183   return offset;
3184 }
3185 
3186 
3187 static const value_string camel_ConnectedNumberTreatmentInd_vals[] = {
3188   {   0, "noINImpact" },
3189   {   1, "presentationRestricted" },
3190   {   2, "presentCalledINNumber" },
3191   {   3, "presentCallINNumberRestricted" },
3192   { 0, NULL }
3193 };
3194 
3195 
3196 static int
dissect_camel_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_)3197 dissect_camel_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_) {
3198   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
3199                                   NULL);
3200 
3201   return offset;
3202 }
3203 
3204 
3205 static const value_string camel_ControlType_vals[] = {
3206   {   0, "sCPOverloaded" },
3207   {   1, "manuallyInitiated" },
3208   { 0, NULL }
3209 };
3210 
3211 
3212 static int
dissect_camel_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_)3213 dissect_camel_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_) {
3214   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
3215                                   NULL);
3216 
3217   return offset;
3218 }
3219 
3220 
3221 
3222 static int
dissect_camel_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_)3223 dissect_camel_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_) {
3224   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
3225                                        NULL);
3226 
3227   return offset;
3228 }
3229 
3230 
3231 static const ber_sequence_t CompoundCriteria_sequence[] = {
3232   { &hf_camel_basicGapCriteria, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_BasicGapCriteria },
3233   { &hf_camel_scfID         , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ScfID },
3234   { NULL, 0, 0, 0, NULL }
3235 };
3236 
3237 static int
dissect_camel_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_)3238 dissect_camel_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_) {
3239   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3240                                    CompoundCriteria_sequence, hf_index, ett_camel_CompoundCriteria);
3241 
3242   return offset;
3243 }
3244 
3245 
3246 
3247 static int
dissect_camel_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_)3248 dissect_camel_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_) {
3249   offset = dissect_camel_Digits(implicit_tag, tvb, offset, actx, tree, hf_index);
3250 
3251   return offset;
3252 }
3253 
3254 
3255 
3256 static int
dissect_camel_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_)3257 dissect_camel_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_) {
3258 
3259 
3260 /*
3261 * date_option = 1 european dd:mm:yyyy
3262 * date_option = 2 american mm:dd:yyyy
3263 */
3264 
3265 /*
3266 * Output should be HH:MM:SS;dd/mm/yyyy
3267 * if european is selected, and HH:MM:SS;mm/dd/yyyy
3268 * otherwise.
3269 */
3270 
3271   guint8 digit_pair;
3272   guint8 i = 0, curr_offset;
3273   char camel_time[CAMEL_DATE_AND_TIME_LEN];
3274   char c[CAMEL_DATE_AND_TIME_LEN]; /*temporary container*/
3275 
3276   /* 2 digits per octet, 7 octets total + 5 delimiters */
3277 
3278   for (curr_offset = 0; curr_offset < 7 ; curr_offset++)
3279   /*Loop to extract date*/
3280   {
3281       digit_pair = tvb_get_guint8(tvb, curr_offset);
3282 
3283       proto_tree_add_uint(tree,
3284                           hf_digit,
3285                           tvb,
3286                           curr_offset,
3287                           1,
3288                           digit_pair & 0x0F);
3289 
3290       proto_tree_add_uint(tree,
3291                           hf_digit,
3292                           tvb,
3293                           curr_offset,
3294                           1,
3295                           digit_pair >>4);
3296 
3297 
3298       c[i] = camel_number_to_char( digit_pair & 0x0F);
3299       i++;
3300       c[i] = camel_number_to_char( digit_pair >>4);
3301       i++;
3302   }
3303 
3304   /* Pretty print date */
3305   /* XXX - Should we use sprintf here instead of assembling the string by
3306    * hand? */
3307 
3308   camel_time[0] = c[8];
3309   camel_time[1] = c[9];
3310   camel_time[2] = ':';
3311   camel_time[3] = c[10];
3312   camel_time[4] = c[11];
3313   camel_time[5] = ':';
3314   camel_time[6] = c[12];
3315   camel_time[7] = c[13];
3316   camel_time[8] = ';';
3317   if ( EUROPEAN_DATE == date_format) /*european*/
3318   {
3319     camel_time[9] = c[6]; /*day*/
3320     camel_time[10] = c[7];
3321     camel_time[11] = '/';
3322     camel_time[12] = c[4]; /*month*/
3323     camel_time[13] = c[5];
3324   }
3325   else /*american*/
3326   {
3327     camel_time[9] = c[4]; /*month*/
3328     camel_time[10] = c[5];
3329     camel_time[11] = '/';
3330     camel_time[12] = c[6]; /*day*/
3331     camel_time[13] = c[7];
3332   }
3333   camel_time[14] = '/';
3334   camel_time[15] = c[0];
3335   camel_time[16] = c[1];
3336   camel_time[17] = c[2];
3337   camel_time[18] = c[3];
3338 
3339   camel_time[CAMEL_DATE_AND_TIME_LEN - 1] = '\0';
3340 
3341 /*start = 0, length = 7*/
3342 
3343   proto_tree_add_string(tree,
3344 		      hf_index,
3345 		      tvb,
3346 		      0,
3347 		      7,
3348 		      camel_time);
3349 
3350   return 7; /* 7  octets eaten*/
3351 
3352   return offset;
3353 }
3354 
3355 
3356 static const ber_sequence_t DestinationRoutingAddress_sequence_of[1] = {
3357   { &hf_camel_DestinationRoutingAddress_item, BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_camel_CalledPartyNumber },
3358 };
3359 
3360 static int
dissect_camel_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_)3361 dissect_camel_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_) {
3362   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
3363                                       DestinationRoutingAddress_sequence_of, hf_index, ett_camel_DestinationRoutingAddress);
3364 
3365   return offset;
3366 }
3367 
3368 
3369 static const value_string camel_InitiatorOfServiceChange_vals[] = {
3370   {   0, "a-side" },
3371   {   1, "b-side" },
3372   { 0, NULL }
3373 };
3374 
3375 
3376 static int
dissect_camel_InitiatorOfServiceChange(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3377 dissect_camel_InitiatorOfServiceChange(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3378   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
3379                                   NULL);
3380 
3381   return offset;
3382 }
3383 
3384 
3385 static const value_string camel_NatureOfServiceChange_vals[] = {
3386   {   0, "userInitiated" },
3387   {   1, "networkInitiated" },
3388   { 0, NULL }
3389 };
3390 
3391 
3392 static int
dissect_camel_NatureOfServiceChange(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3393 dissect_camel_NatureOfServiceChange(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3394   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
3395                                   NULL);
3396 
3397   return offset;
3398 }
3399 
3400 
3401 static const ber_sequence_t T_oServiceChangeSpecificInfo_sequence[] = {
3402   { &hf_camel_ext_basicServiceCode, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_Ext_BasicServiceCode },
3403   { &hf_camel_initiatorOfServiceChange, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_InitiatorOfServiceChange },
3404   { &hf_camel_natureOfServiceChange, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NatureOfServiceChange },
3405   { NULL, 0, 0, 0, NULL }
3406 };
3407 
3408 static int
dissect_camel_T_oServiceChangeSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3409 dissect_camel_T_oServiceChangeSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3410   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3411                                    T_oServiceChangeSpecificInfo_sequence, hf_index, ett_camel_T_oServiceChangeSpecificInfo);
3412 
3413   return offset;
3414 }
3415 
3416 
3417 static const ber_sequence_t T_tServiceChangeSpecificInfo_sequence[] = {
3418   { &hf_camel_ext_basicServiceCode, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_Ext_BasicServiceCode },
3419   { &hf_camel_initiatorOfServiceChange, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_InitiatorOfServiceChange },
3420   { &hf_camel_natureOfServiceChange, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NatureOfServiceChange },
3421   { NULL, 0, 0, 0, NULL }
3422 };
3423 
3424 static int
dissect_camel_T_tServiceChangeSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3425 dissect_camel_T_tServiceChangeSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3426   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3427                                    T_tServiceChangeSpecificInfo_sequence, hf_index, ett_camel_T_tServiceChangeSpecificInfo);
3428 
3429   return offset;
3430 }
3431 
3432 
3433 static const ber_sequence_t T_collectedInfoSpecificInfo_sequence[] = {
3434   { &hf_camel_calledPartyNumber, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CalledPartyNumber },
3435   { NULL, 0, 0, 0, NULL }
3436 };
3437 
3438 static int
dissect_camel_T_collectedInfoSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3439 dissect_camel_T_collectedInfoSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3440   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3441                                    T_collectedInfoSpecificInfo_sequence, hf_index, ett_camel_T_collectedInfoSpecificInfo);
3442 
3443   return offset;
3444 }
3445 
3446 
3447 static const ber_sequence_t DpSpecificInfoAlt_sequence[] = {
3448   { &hf_camel_oServiceChangeSpecificInfo, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_oServiceChangeSpecificInfo },
3449   { &hf_camel_tServiceChangeSpecificInfo, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_T_tServiceChangeSpecificInfo },
3450   { &hf_camel_collectedInfoSpecificInfo, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_T_collectedInfoSpecificInfo },
3451   { NULL, 0, 0, 0, NULL }
3452 };
3453 
3454 static int
dissect_camel_DpSpecificInfoAlt(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3455 dissect_camel_DpSpecificInfoAlt(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3456   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3457                                    DpSpecificInfoAlt_sequence, hf_index, ett_camel_DpSpecificInfoAlt);
3458 
3459   return offset;
3460 }
3461 
3462 
3463 
3464 static int
dissect_camel_T_pDPTypeOrganization(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3465 dissect_camel_T_pDPTypeOrganization(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3466 
3467  tvbuff_t	*parameter_tvb;
3468 
3469   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
3470                                        &parameter_tvb);
3471 
3472 
3473  if (!parameter_tvb)
3474 	return offset;
3475  PDPTypeOrganization  = (tvb_get_guint8(parameter_tvb,0) &0x0f);
3476 
3477   return offset;
3478 }
3479 
3480 
3481 
3482 static int
dissect_camel_T_pDPTypeNumber(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3483 dissect_camel_T_pDPTypeNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3484 
3485  tvbuff_t	*parameter_tvb;
3486  proto_tree *subtree;
3487 
3488   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
3489                                        &parameter_tvb);
3490 
3491 
3492  if (!parameter_tvb)
3493 	return offset;
3494  PDPTypeNumber = tvb_get_guint8(parameter_tvb,0);
3495  subtree = proto_item_add_subtree(actx->created_item, ett_camel_pdptypenumber);
3496  switch (PDPTypeOrganization){
3497  case 0: /* ETSI */
3498 	proto_tree_add_item(subtree, hf_camel_PDPTypeNumber_etsi, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
3499 	break;
3500  case 1: /* IETF */
3501 	proto_tree_add_item(subtree, hf_camel_PDPTypeNumber_ietf, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
3502 	break;
3503  default:
3504 	break;
3505  }
3506 
3507   return offset;
3508 }
3509 
3510 
3511 
3512 static int
dissect_camel_T_pDPAddress(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3513 dissect_camel_T_pDPAddress(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3514 
3515  tvbuff_t	*parameter_tvb;
3516  proto_tree *subtree;
3517 
3518   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
3519                                        &parameter_tvb);
3520 
3521 
3522  if (!parameter_tvb)
3523 	return offset;
3524  subtree = proto_item_add_subtree(actx->created_item, ett_camel_pdptypenumber);
3525  switch (PDPTypeOrganization){
3526  case 0: /* ETSI */
3527 	break;
3528  case 1: /* IETF */
3529 	switch(PDPTypeNumber){
3530 	case 0x21: /* IPv4 */
3531 		proto_tree_add_item(subtree, hf_camel_PDPAddress_IPv4, parameter_tvb, 0, tvb_reported_length(parameter_tvb), ENC_BIG_ENDIAN);
3532 		break;
3533 	case 0x57: /* IPv6 */
3534 		proto_tree_add_item(subtree, hf_camel_PDPAddress_IPv6, parameter_tvb, 0, tvb_reported_length(parameter_tvb), ENC_NA);
3535 		break;
3536 	default:
3537 		break;
3538 	}
3539  default:
3540 	break;
3541 
3542  }
3543 
3544   return offset;
3545 }
3546 
3547 
3548 static const ber_sequence_t EndUserAddress_sequence[] = {
3549   { &hf_camel_pDPTypeOrganization, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_pDPTypeOrganization },
3550   { &hf_camel_pDPTypeNumber , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_T_pDPTypeNumber },
3551   { &hf_camel_pDPAddress    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_T_pDPAddress },
3552   { NULL, 0, 0, 0, NULL }
3553 };
3554 
3555 static int
dissect_camel_EndUserAddress(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3556 dissect_camel_EndUserAddress(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3557   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3558                                    EndUserAddress_sequence, hf_index, ett_camel_EndUserAddress);
3559 
3560   return offset;
3561 }
3562 
3563 
3564 static const ber_sequence_t T_routeSelectFailureSpecificInfo_sequence[] = {
3565   { &hf_camel_routeSelectfailureCause, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Cause },
3566   { NULL, 0, 0, 0, NULL }
3567 };
3568 
3569 static int
dissect_camel_T_routeSelectFailureSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3570 dissect_camel_T_routeSelectFailureSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3571   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3572                                    T_routeSelectFailureSpecificInfo_sequence, hf_index, ett_camel_T_routeSelectFailureSpecificInfo);
3573 
3574   return offset;
3575 }
3576 
3577 
3578 static const ber_sequence_t T_oCalledPartyBusySpecificInfo_sequence[] = {
3579   { &hf_camel_busyCause     , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Cause },
3580   { NULL, 0, 0, 0, NULL }
3581 };
3582 
3583 static int
dissect_camel_T_oCalledPartyBusySpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3584 dissect_camel_T_oCalledPartyBusySpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3585   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3586                                    T_oCalledPartyBusySpecificInfo_sequence, hf_index, ett_camel_T_oCalledPartyBusySpecificInfo);
3587 
3588   return offset;
3589 }
3590 
3591 
3592 static const ber_sequence_t T_oNoAnswerSpecificInfo_sequence[] = {
3593   { NULL, 0, 0, 0, NULL }
3594 };
3595 
3596 static int
dissect_camel_T_oNoAnswerSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3597 dissect_camel_T_oNoAnswerSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3598   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3599                                    T_oNoAnswerSpecificInfo_sequence, hf_index, ett_camel_T_oNoAnswerSpecificInfo);
3600 
3601   return offset;
3602 }
3603 
3604 
3605 static const ber_sequence_t T_oAnswerSpecificInfo_sequence[] = {
3606   { &hf_camel_destinationAddress, BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CalledPartyNumber },
3607   { &hf_camel_or_Call       , BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3608   { &hf_camel_forwardedCall , BER_CLASS_CON, 52, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3609   { &hf_camel_chargeIndicator, BER_CLASS_CON, 53, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ChargeIndicator },
3610   { &hf_camel_ext_basicServiceCode, BER_CLASS_CON, 54, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_Ext_BasicServiceCode },
3611   { &hf_camel_ext_basicServiceCode2, BER_CLASS_CON, 55, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_Ext_BasicServiceCode },
3612   { NULL, 0, 0, 0, NULL }
3613 };
3614 
3615 static int
dissect_camel_T_oAnswerSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3616 dissect_camel_T_oAnswerSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3617   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3618                                    T_oAnswerSpecificInfo_sequence, hf_index, ett_camel_T_oAnswerSpecificInfo);
3619 
3620   return offset;
3621 }
3622 
3623 
3624 static const value_string camel_T_omidCallEvents_vals[] = {
3625   {   3, "dTMFDigitsCompleted" },
3626   {   4, "dTMFDigitsTimeOut" },
3627   { 0, NULL }
3628 };
3629 
3630 static const ber_choice_t T_omidCallEvents_choice[] = {
3631   {   3, &hf_camel_dTMFDigitsCompleted, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_camel_Digits },
3632   {   4, &hf_camel_dTMFDigitsTimeOut, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_camel_Digits },
3633   { 0, NULL, 0, 0, 0, NULL }
3634 };
3635 
3636 static int
dissect_camel_T_omidCallEvents(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3637 dissect_camel_T_omidCallEvents(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3638   offset = dissect_ber_choice(actx, tree, tvb, offset,
3639                                  T_omidCallEvents_choice, hf_index, ett_camel_T_omidCallEvents,
3640                                  NULL);
3641 
3642   return offset;
3643 }
3644 
3645 
3646 static const ber_sequence_t T_oMidCallSpecificInfo_sequence[] = {
3647   { &hf_camel_omidCallEvents, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_T_omidCallEvents },
3648   { NULL, 0, 0, 0, NULL }
3649 };
3650 
3651 static int
dissect_camel_T_oMidCallSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3652 dissect_camel_T_oMidCallSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3653   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3654                                    T_oMidCallSpecificInfo_sequence, hf_index, ett_camel_T_oMidCallSpecificInfo);
3655 
3656   return offset;
3657 }
3658 
3659 
3660 static const ber_sequence_t T_oDisconnectSpecificInfo_sequence[] = {
3661   { &hf_camel_releaseCause  , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Cause },
3662   { NULL, 0, 0, 0, NULL }
3663 };
3664 
3665 static int
dissect_camel_T_oDisconnectSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3666 dissect_camel_T_oDisconnectSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3667   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3668                                    T_oDisconnectSpecificInfo_sequence, hf_index, ett_camel_T_oDisconnectSpecificInfo);
3669 
3670   return offset;
3671 }
3672 
3673 
3674 static const ber_sequence_t T_tBusySpecificInfo_sequence[] = {
3675   { &hf_camel_busyCause     , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Cause },
3676   { &hf_camel_callForwarded , BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3677   { &hf_camel_routeNotPermitted, BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3678   { &hf_camel_forwardingDestinationNumber, BER_CLASS_CON, 52, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CalledPartyNumber },
3679   { NULL, 0, 0, 0, NULL }
3680 };
3681 
3682 static int
dissect_camel_T_tBusySpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3683 dissect_camel_T_tBusySpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3684   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3685                                    T_tBusySpecificInfo_sequence, hf_index, ett_camel_T_tBusySpecificInfo);
3686 
3687   return offset;
3688 }
3689 
3690 
3691 static const ber_sequence_t T_tNoAnswerSpecificInfo_sequence[] = {
3692   { &hf_camel_callForwarded , BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3693   { &hf_camel_forwardingDestinationNumber, BER_CLASS_CON, 52, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CalledPartyNumber },
3694   { NULL, 0, 0, 0, NULL }
3695 };
3696 
3697 static int
dissect_camel_T_tNoAnswerSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3698 dissect_camel_T_tNoAnswerSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3699   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3700                                    T_tNoAnswerSpecificInfo_sequence, hf_index, ett_camel_T_tNoAnswerSpecificInfo);
3701 
3702   return offset;
3703 }
3704 
3705 
3706 static const ber_sequence_t T_tAnswerSpecificInfo_sequence[] = {
3707   { &hf_camel_destinationAddress, BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CalledPartyNumber },
3708   { &hf_camel_or_Call       , BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3709   { &hf_camel_forwardedCall , BER_CLASS_CON, 52, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3710   { &hf_camel_chargeIndicator, BER_CLASS_CON, 53, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ChargeIndicator },
3711   { &hf_camel_ext_basicServiceCode, BER_CLASS_CON, 54, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_Ext_BasicServiceCode },
3712   { &hf_camel_ext_basicServiceCode2, BER_CLASS_CON, 55, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_Ext_BasicServiceCode },
3713   { NULL, 0, 0, 0, NULL }
3714 };
3715 
3716 static int
dissect_camel_T_tAnswerSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3717 dissect_camel_T_tAnswerSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3718   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3719                                    T_tAnswerSpecificInfo_sequence, hf_index, ett_camel_T_tAnswerSpecificInfo);
3720 
3721   return offset;
3722 }
3723 
3724 
3725 static const value_string camel_T_tmidCallEvents_vals[] = {
3726   {   3, "dTMFDigitsCompleted" },
3727   {   4, "dTMFDigitsTimeOut" },
3728   { 0, NULL }
3729 };
3730 
3731 static const ber_choice_t T_tmidCallEvents_choice[] = {
3732   {   3, &hf_camel_dTMFDigitsCompleted, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_camel_Digits },
3733   {   4, &hf_camel_dTMFDigitsTimeOut, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_camel_Digits },
3734   { 0, NULL, 0, 0, 0, NULL }
3735 };
3736 
3737 static int
dissect_camel_T_tmidCallEvents(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3738 dissect_camel_T_tmidCallEvents(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3739   offset = dissect_ber_choice(actx, tree, tvb, offset,
3740                                  T_tmidCallEvents_choice, hf_index, ett_camel_T_tmidCallEvents,
3741                                  NULL);
3742 
3743   return offset;
3744 }
3745 
3746 
3747 static const ber_sequence_t T_tMidCallSpecificInfo_sequence[] = {
3748   { &hf_camel_tmidCallEvents, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_T_tmidCallEvents },
3749   { NULL, 0, 0, 0, NULL }
3750 };
3751 
3752 static int
dissect_camel_T_tMidCallSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3753 dissect_camel_T_tMidCallSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3754   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3755                                    T_tMidCallSpecificInfo_sequence, hf_index, ett_camel_T_tMidCallSpecificInfo);
3756 
3757   return offset;
3758 }
3759 
3760 
3761 static const ber_sequence_t T_tDisconnectSpecificInfo_sequence[] = {
3762   { &hf_camel_releaseCause  , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Cause },
3763   { NULL, 0, 0, 0, NULL }
3764 };
3765 
3766 static int
dissect_camel_T_tDisconnectSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3767 dissect_camel_T_tDisconnectSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3768   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3769                                    T_tDisconnectSpecificInfo_sequence, hf_index, ett_camel_T_tDisconnectSpecificInfo);
3770 
3771   return offset;
3772 }
3773 
3774 
3775 static const ber_sequence_t T_oTermSeizedSpecificInfo_sequence[] = {
3776   { &hf_camel_locationInformation, BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_LocationInformation },
3777   { NULL, 0, 0, 0, NULL }
3778 };
3779 
3780 static int
dissect_camel_T_oTermSeizedSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3781 dissect_camel_T_oTermSeizedSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3782   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3783                                    T_oTermSeizedSpecificInfo_sequence, hf_index, ett_camel_T_oTermSeizedSpecificInfo);
3784 
3785   return offset;
3786 }
3787 
3788 
3789 static const ber_sequence_t T_callAcceptedSpecificInfo_sequence[] = {
3790   { &hf_camel_locationInformation, BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_LocationInformation },
3791   { NULL, 0, 0, 0, NULL }
3792 };
3793 
3794 static int
dissect_camel_T_callAcceptedSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3795 dissect_camel_T_callAcceptedSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3796   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3797                                    T_callAcceptedSpecificInfo_sequence, hf_index, ett_camel_T_callAcceptedSpecificInfo);
3798 
3799   return offset;
3800 }
3801 
3802 
3803 static const ber_sequence_t T_oAbandonSpecificInfo_sequence[] = {
3804   { &hf_camel_routeNotPermitted, BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3805   { NULL, 0, 0, 0, NULL }
3806 };
3807 
3808 static int
dissect_camel_T_oAbandonSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3809 dissect_camel_T_oAbandonSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3810   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3811                                    T_oAbandonSpecificInfo_sequence, hf_index, ett_camel_T_oAbandonSpecificInfo);
3812 
3813   return offset;
3814 }
3815 
3816 
3817 static const ber_sequence_t MetDPCriterionAlt_sequence[] = {
3818   { NULL, 0, 0, 0, NULL }
3819 };
3820 
3821 static int
dissect_camel_MetDPCriterionAlt(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3822 dissect_camel_MetDPCriterionAlt(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3823   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3824                                    MetDPCriterionAlt_sequence, hf_index, ett_camel_MetDPCriterionAlt);
3825 
3826   return offset;
3827 }
3828 
3829 
3830 static const value_string camel_MetDPCriterion_vals[] = {
3831   {   0, "enteringCellGlobalId" },
3832   {   1, "leavingCellGlobalId" },
3833   {   2, "enteringServiceAreaId" },
3834   {   3, "leavingServiceAreaId" },
3835   {   4, "enteringLocationAreaId" },
3836   {   5, "leavingLocationAreaId" },
3837   {   6, "inter-SystemHandOverToUMTS" },
3838   {   7, "inter-SystemHandOverToGSM" },
3839   {   8, "inter-PLMNHandOver" },
3840   {   9, "inter-MSCHandOver" },
3841   {  10, "metDPCriterionAlt" },
3842   { 0, NULL }
3843 };
3844 
3845 static const ber_choice_t MetDPCriterion_choice[] = {
3846   {   0, &hf_camel_enteringCellGlobalId, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_gsm_map_CellGlobalIdOrServiceAreaIdFixedLength },
3847   {   1, &hf_camel_leavingCellGlobalId, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_gsm_map_CellGlobalIdOrServiceAreaIdFixedLength },
3848   {   2, &hf_camel_enteringServiceAreaId, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_gsm_map_CellGlobalIdOrServiceAreaIdFixedLength },
3849   {   3, &hf_camel_leavingServiceAreaId, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_gsm_map_CellGlobalIdOrServiceAreaIdFixedLength },
3850   {   4, &hf_camel_enteringLocationAreaId, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_gsm_map_LAIFixedLength },
3851   {   5, &hf_camel_leavingLocationAreaId, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_gsm_map_LAIFixedLength },
3852   {   6, &hf_camel_inter_SystemHandOverToUMTS, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3853   {   7, &hf_camel_inter_SystemHandOverToGSM, BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3854   {   8, &hf_camel_inter_PLMNHandOver, BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3855   {   9, &hf_camel_inter_MSCHandOver, BER_CLASS_CON, 9, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
3856   {  10, &hf_camel_metDPCriterionAlt, BER_CLASS_CON, 10, BER_FLAGS_IMPLTAG, dissect_camel_MetDPCriterionAlt },
3857   { 0, NULL, 0, 0, 0, NULL }
3858 };
3859 
3860 static int
dissect_camel_MetDPCriterion(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3861 dissect_camel_MetDPCriterion(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3862   offset = dissect_ber_choice(actx, tree, tvb, offset,
3863                                  MetDPCriterion_choice, hf_index, ett_camel_MetDPCriterion,
3864                                  NULL);
3865 
3866   return offset;
3867 }
3868 
3869 
3870 static const ber_sequence_t MetDPCriteriaList_sequence_of[1] = {
3871   { &hf_camel_MetDPCriteriaList_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_MetDPCriterion },
3872 };
3873 
3874 static int
dissect_camel_MetDPCriteriaList(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3875 dissect_camel_MetDPCriteriaList(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3876   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
3877                                       MetDPCriteriaList_sequence_of, hf_index, ett_camel_MetDPCriteriaList);
3878 
3879   return offset;
3880 }
3881 
3882 
3883 static const ber_sequence_t T_oChangeOfPositionSpecificInfo_sequence[] = {
3884   { &hf_camel_locationInformation, BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_LocationInformation },
3885   { &hf_camel_metDPCriteriaList, BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_MetDPCriteriaList },
3886   { NULL, 0, 0, 0, NULL }
3887 };
3888 
3889 static int
dissect_camel_T_oChangeOfPositionSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3890 dissect_camel_T_oChangeOfPositionSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3891   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3892                                    T_oChangeOfPositionSpecificInfo_sequence, hf_index, ett_camel_T_oChangeOfPositionSpecificInfo);
3893 
3894   return offset;
3895 }
3896 
3897 
3898 static const ber_sequence_t T_tChangeOfPositionSpecificInfo_sequence[] = {
3899   { &hf_camel_locationInformation, BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_LocationInformation },
3900   { &hf_camel_metDPCriteriaList, BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_MetDPCriteriaList },
3901   { NULL, 0, 0, 0, NULL }
3902 };
3903 
3904 static int
dissect_camel_T_tChangeOfPositionSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3905 dissect_camel_T_tChangeOfPositionSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3906   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3907                                    T_tChangeOfPositionSpecificInfo_sequence, hf_index, ett_camel_T_tChangeOfPositionSpecificInfo);
3908 
3909   return offset;
3910 }
3911 
3912 
3913 static const value_string camel_EventSpecificInformationBCSM_vals[] = {
3914   {   2, "routeSelectFailureSpecificInfo" },
3915   {   3, "oCalledPartyBusySpecificInfo" },
3916   {   4, "oNoAnswerSpecificInfo" },
3917   {   5, "oAnswerSpecificInfo" },
3918   {   6, "oMidCallSpecificInfo" },
3919   {   7, "oDisconnectSpecificInfo" },
3920   {   8, "tBusySpecificInfo" },
3921   {   9, "tNoAnswerSpecificInfo" },
3922   {  10, "tAnswerSpecificInfo" },
3923   {  11, "tMidCallSpecificInfo" },
3924   {  12, "tDisconnectSpecificInfo" },
3925   {  13, "oTermSeizedSpecificInfo" },
3926   {  20, "callAcceptedSpecificInfo" },
3927   {  21, "oAbandonSpecificInfo" },
3928   {  50, "oChangeOfPositionSpecificInfo" },
3929   {  51, "tChangeOfPositionSpecificInfo" },
3930   {  52, "dpSpecificInfoAlt" },
3931   { 0, NULL }
3932 };
3933 
3934 static const ber_choice_t EventSpecificInformationBCSM_choice[] = {
3935   {   2, &hf_camel_routeSelectFailureSpecificInfo, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_T_routeSelectFailureSpecificInfo },
3936   {   3, &hf_camel_oCalledPartyBusySpecificInfo, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_camel_T_oCalledPartyBusySpecificInfo },
3937   {   4, &hf_camel_oNoAnswerSpecificInfo, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_camel_T_oNoAnswerSpecificInfo },
3938   {   5, &hf_camel_oAnswerSpecificInfo, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_camel_T_oAnswerSpecificInfo },
3939   {   6, &hf_camel_oMidCallSpecificInfo, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_camel_T_oMidCallSpecificInfo },
3940   {   7, &hf_camel_oDisconnectSpecificInfo, BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_camel_T_oDisconnectSpecificInfo },
3941   {   8, &hf_camel_tBusySpecificInfo, BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_camel_T_tBusySpecificInfo },
3942   {   9, &hf_camel_tNoAnswerSpecificInfo, BER_CLASS_CON, 9, BER_FLAGS_IMPLTAG, dissect_camel_T_tNoAnswerSpecificInfo },
3943   {  10, &hf_camel_tAnswerSpecificInfo, BER_CLASS_CON, 10, BER_FLAGS_IMPLTAG, dissect_camel_T_tAnswerSpecificInfo },
3944   {  11, &hf_camel_tMidCallSpecificInfo, BER_CLASS_CON, 11, BER_FLAGS_IMPLTAG, dissect_camel_T_tMidCallSpecificInfo },
3945   {  12, &hf_camel_tDisconnectSpecificInfo, BER_CLASS_CON, 12, BER_FLAGS_IMPLTAG, dissect_camel_T_tDisconnectSpecificInfo },
3946   {  13, &hf_camel_oTermSeizedSpecificInfo, BER_CLASS_CON, 13, BER_FLAGS_IMPLTAG, dissect_camel_T_oTermSeizedSpecificInfo },
3947   {  20, &hf_camel_callAcceptedSpecificInfo, BER_CLASS_CON, 20, BER_FLAGS_IMPLTAG, dissect_camel_T_callAcceptedSpecificInfo },
3948   {  21, &hf_camel_oAbandonSpecificInfo, BER_CLASS_CON, 21, BER_FLAGS_IMPLTAG, dissect_camel_T_oAbandonSpecificInfo },
3949   {  50, &hf_camel_oChangeOfPositionSpecificInfo, BER_CLASS_CON, 50, BER_FLAGS_IMPLTAG, dissect_camel_T_oChangeOfPositionSpecificInfo },
3950   {  51, &hf_camel_tChangeOfPositionSpecificInfo, BER_CLASS_CON, 51, BER_FLAGS_IMPLTAG, dissect_camel_T_tChangeOfPositionSpecificInfo },
3951   {  52, &hf_camel_dpSpecificInfoAlt, BER_CLASS_CON, 52, BER_FLAGS_IMPLTAG, dissect_camel_DpSpecificInfoAlt },
3952   { 0, NULL, 0, 0, 0, NULL }
3953 };
3954 
3955 static int
dissect_camel_EventSpecificInformationBCSM(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3956 dissect_camel_EventSpecificInformationBCSM(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3957   offset = dissect_ber_choice(actx, tree, tvb, offset,
3958                                  EventSpecificInformationBCSM_choice, hf_index, ett_camel_EventSpecificInformationBCSM,
3959                                  NULL);
3960 
3961   return offset;
3962 }
3963 
3964 
3965 static const value_string camel_MO_SMSCause_vals[] = {
3966   {   0, "systemFailure" },
3967   {   1, "unexpectedDataValue" },
3968   {   2, "facilityNotSupported" },
3969   {   3, "sM-DeliveryFailure" },
3970   {   4, "releaseFromRadioInterface" },
3971   { 0, NULL }
3972 };
3973 
3974 
3975 static int
dissect_camel_MO_SMSCause(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3976 dissect_camel_MO_SMSCause(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3977   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
3978                                   NULL);
3979 
3980   return offset;
3981 }
3982 
3983 
3984 static const ber_sequence_t T_o_smsFailureSpecificInfo_sequence[] = {
3985   { &hf_camel_mo_smsfailureCause, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_MO_SMSCause },
3986   { NULL, 0, 0, 0, NULL }
3987 };
3988 
3989 static int
dissect_camel_T_o_smsFailureSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)3990 dissect_camel_T_o_smsFailureSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
3991   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
3992                                    T_o_smsFailureSpecificInfo_sequence, hf_index, ett_camel_T_o_smsFailureSpecificInfo);
3993 
3994   return offset;
3995 }
3996 
3997 
3998 static const ber_sequence_t T_o_smsSubmissionSpecificInfo_sequence[] = {
3999   { NULL, 0, 0, 0, NULL }
4000 };
4001 
4002 static int
dissect_camel_T_o_smsSubmissionSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4003 dissect_camel_T_o_smsSubmissionSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4004   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4005                                    T_o_smsSubmissionSpecificInfo_sequence, hf_index, ett_camel_T_o_smsSubmissionSpecificInfo);
4006 
4007   return offset;
4008 }
4009 
4010 
4011 
4012 static int
dissect_camel_MT_SMSCause(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4013 dissect_camel_MT_SMSCause(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4014   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4015                                        NULL);
4016 
4017   return offset;
4018 }
4019 
4020 
4021 static const ber_sequence_t T_t_smsFailureSpecificInfo_sequence[] = {
4022   { &hf_camel_t_smsfailureCause, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_MT_SMSCause },
4023   { NULL, 0, 0, 0, NULL }
4024 };
4025 
4026 static int
dissect_camel_T_t_smsFailureSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4027 dissect_camel_T_t_smsFailureSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4028   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4029                                    T_t_smsFailureSpecificInfo_sequence, hf_index, ett_camel_T_t_smsFailureSpecificInfo);
4030 
4031   return offset;
4032 }
4033 
4034 
4035 static const ber_sequence_t T_t_smsDeliverySpecificInfo_sequence[] = {
4036   { NULL, 0, 0, 0, NULL }
4037 };
4038 
4039 static int
dissect_camel_T_t_smsDeliverySpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4040 dissect_camel_T_t_smsDeliverySpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4041   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4042                                    T_t_smsDeliverySpecificInfo_sequence, hf_index, ett_camel_T_t_smsDeliverySpecificInfo);
4043 
4044   return offset;
4045 }
4046 
4047 
4048 static const value_string camel_EventSpecificInformationSMS_vals[] = {
4049   {   0, "o-smsFailureSpecificInfo" },
4050   {   1, "o-smsSubmissionSpecificInfo" },
4051   {   2, "t-smsFailureSpecificInfo" },
4052   {   3, "t-smsDeliverySpecificInfo" },
4053   { 0, NULL }
4054 };
4055 
4056 static const ber_choice_t EventSpecificInformationSMS_choice[] = {
4057   {   0, &hf_camel_o_smsFailureSpecificInfo, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_o_smsFailureSpecificInfo },
4058   {   1, &hf_camel_o_smsSubmissionSpecificInfo, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_T_o_smsSubmissionSpecificInfo },
4059   {   2, &hf_camel_t_smsFailureSpecificInfo, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_T_t_smsFailureSpecificInfo },
4060   {   3, &hf_camel_t_smsDeliverySpecificInfo, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_camel_T_t_smsDeliverySpecificInfo },
4061   { 0, NULL, 0, 0, 0, NULL }
4062 };
4063 
4064 static int
dissect_camel_EventSpecificInformationSMS(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4065 dissect_camel_EventSpecificInformationSMS(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4066   offset = dissect_ber_choice(actx, tree, tvb, offset,
4067                                  EventSpecificInformationSMS_choice, hf_index, ett_camel_EventSpecificInformationSMS,
4068                                  NULL);
4069 
4070   return offset;
4071 }
4072 
4073 
4074 static const value_string camel_EventTypeSMS_vals[] = {
4075   {   1, "sms-CollectedInfo" },
4076   {   2, "o-smsFailure" },
4077   {   3, "o-smsSubmission" },
4078   {  11, "sms-DeliveryRequested" },
4079   {  12, "t-smsFailure" },
4080   {  13, "t-smsDelivery" },
4081   { 0, NULL }
4082 };
4083 
4084 
4085 static int
dissect_camel_EventTypeSMS(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4086 dissect_camel_EventTypeSMS(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4087   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
4088                                   NULL);
4089 
4090   return offset;
4091 }
4092 
4093 
4094 
4095 static int
dissect_camel_FCIBillingChargingCharacteristics(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4096 dissect_camel_FCIBillingChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4097  tvbuff_t	*parameter_tvb;
4098  proto_tree *subtree;
4099 
4100   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4101                                        &parameter_tvb);
4102 
4103  if (!parameter_tvb)
4104 	return offset;
4105  subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_FCIBillingChargingCharacteristics);
4106  dissect_camel_CAMEL_FCIBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_FCIBillingChargingCharacteristics);
4107 
4108 
4109   return offset;
4110 }
4111 
4112 
4113 
4114 static int
dissect_camel_FCIGPRSBillingChargingCharacteristics(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4115 dissect_camel_FCIGPRSBillingChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4116  tvbuff_t	*parameter_tvb;
4117  proto_tree *subtree;
4118 
4119   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4120                                        &parameter_tvb);
4121 
4122  if (!parameter_tvb)
4123 	return offset;
4124  subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_FCIGPRSBillingChargingCharacteristics);
4125  dissect_camel_CAMEL_FCIGPRSBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_FCIGPRSBillingChargingCharacteristics);
4126 
4127 
4128   return offset;
4129 }
4130 
4131 
4132 
4133 static int
dissect_camel_FCISMSBillingChargingCharacteristics(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4134 dissect_camel_FCISMSBillingChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4135  tvbuff_t	*parameter_tvb;
4136  proto_tree *subtree;
4137 
4138   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4139                                        &parameter_tvb);
4140 
4141  if (!parameter_tvb)
4142 	return offset;
4143  subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_FCISMSBillingChargingCharacteristics);
4144  dissect_camel_CAMEL_FCISMSBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_FCISMSBillingChargingCharacteristics);
4145 
4146 
4147   return offset;
4148 }
4149 
4150 
4151 static const ber_sequence_t ForwardServiceInteractionInd_sequence[] = {
4152   { &hf_camel_conferenceTreatmentIndicator, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1 },
4153   { &hf_camel_callDiversionTreatmentIndicator, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1 },
4154   { &hf_camel_callingPartyRestrictionIndicator, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1 },
4155   { NULL, 0, 0, 0, NULL }
4156 };
4157 
4158 static int
dissect_camel_ForwardServiceInteractionInd(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4159 dissect_camel_ForwardServiceInteractionInd(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4160   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4161                                    ForwardServiceInteractionInd_sequence, hf_index, ett_camel_ForwardServiceInteractionInd);
4162 
4163   return offset;
4164 }
4165 
4166 
4167 static const value_string camel_GapCriteria_vals[] = {
4168   {   0, "basicGapCriteria" },
4169   {   1, "compoundGapCriteria" },
4170   { 0, NULL }
4171 };
4172 
4173 static const ber_choice_t GapCriteria_choice[] = {
4174   {   0, &hf_camel_basicGapCriteria, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_camel_BasicGapCriteria },
4175   {   1, &hf_camel_compoundGapCriteria, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_camel_CompoundCriteria },
4176   { 0, NULL, 0, 0, 0, NULL }
4177 };
4178 
4179 static int
dissect_camel_GapCriteria(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4180 dissect_camel_GapCriteria(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4181   offset = dissect_ber_choice(actx, tree, tvb, offset,
4182                                  GapCriteria_choice, hf_index, ett_camel_GapCriteria,
4183                                  NULL);
4184 
4185   return offset;
4186 }
4187 
4188 
4189 static const ber_sequence_t GapIndicators_sequence[] = {
4190   { &hf_camel_gapIndicatorsDuration, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Duration },
4191   { &hf_camel_gapInterval   , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_Interval },
4192   { NULL, 0, 0, 0, NULL }
4193 };
4194 
4195 static int
dissect_camel_GapIndicators(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4196 dissect_camel_GapIndicators(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4197   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4198                                    GapIndicators_sequence, hf_index, ett_camel_GapIndicators);
4199 
4200   return offset;
4201 }
4202 
4203 
4204 
4205 static int
dissect_camel_IA5String_SIZE_bound__minMessageContentLength_bound__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_)4206 dissect_camel_IA5String_SIZE_bound__minMessageContentLength_bound__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_) {
4207   offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_IA5String,
4208                                             actx, tree, tvb, offset, hf_index,
4209                                             NULL);
4210 
4211   return offset;
4212 }
4213 
4214 
4215 
4216 static int
dissect_camel_OCTET_STRING_SIZE_bound__minAttributesLength_bound__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_)4217 dissect_camel_OCTET_STRING_SIZE_bound__minAttributesLength_bound__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_) {
4218   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4219                                        NULL);
4220 
4221   return offset;
4222 }
4223 
4224 
4225 static const ber_sequence_t T_text_sequence[] = {
4226   { &hf_camel_messageContent, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_IA5String_SIZE_bound__minMessageContentLength_bound__maxMessageContentLength },
4227   { &hf_camel_attributes    , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_bound__minAttributesLength_bound__maxAttributesLength },
4228   { NULL, 0, 0, 0, NULL }
4229 };
4230 
4231 static int
dissect_camel_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_)4232 dissect_camel_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_) {
4233   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4234                                    T_text_sequence, hf_index, ett_camel_T_text);
4235 
4236   return offset;
4237 }
4238 
4239 
4240 static const ber_sequence_t SEQUENCE_SIZE_1_bound__numOfMessageIDs_OF_Integer4_sequence_of[1] = {
4241   { &hf_camel_elementaryMessageIDs_item, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_inap_Integer4 },
4242 };
4243 
4244 static int
dissect_camel_SEQUENCE_SIZE_1_bound__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_)4245 dissect_camel_SEQUENCE_SIZE_1_bound__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_) {
4246   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
4247                                       SEQUENCE_SIZE_1_bound__numOfMessageIDs_OF_Integer4_sequence_of, hf_index, ett_camel_SEQUENCE_SIZE_1_bound__numOfMessageIDs_OF_Integer4);
4248 
4249   return offset;
4250 }
4251 
4252 
4253 
4254 static int
dissect_camel_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_)4255 dissect_camel_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_) {
4256   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4257                                        NULL);
4258 
4259   return offset;
4260 }
4261 
4262 
4263 
4264 static int
dissect_camel_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_)4265 dissect_camel_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_) {
4266   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4267                                        NULL);
4268 
4269   return offset;
4270 }
4271 
4272 
4273 static const value_string camel_VariablePart_vals[] = {
4274   {   0, "integer" },
4275   {   1, "number" },
4276   {   2, "time" },
4277   {   3, "date" },
4278   {   4, "price" },
4279   { 0, NULL }
4280 };
4281 
4282 static const ber_choice_t VariablePart_choice[] = {
4283   {   0, &hf_camel_integer       , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
4284   {   1, &hf_camel_number        , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_Digits },
4285   {   2, &hf_camel_time          , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_2 },
4286   {   3, &hf_camel_date          , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_4 },
4287   {   4, &hf_camel_price         , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_4 },
4288   { 0, NULL, 0, 0, 0, NULL }
4289 };
4290 
4291 static int
dissect_camel_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_)4292 dissect_camel_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_) {
4293   offset = dissect_ber_choice(actx, tree, tvb, offset,
4294                                  VariablePart_choice, hf_index, ett_camel_VariablePart,
4295                                  NULL);
4296 
4297   return offset;
4298 }
4299 
4300 
4301 static const ber_sequence_t SEQUENCE_SIZE_1_5_OF_VariablePart_sequence_of[1] = {
4302   { &hf_camel_variableParts_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_VariablePart },
4303 };
4304 
4305 static int
dissect_camel_SEQUENCE_SIZE_1_5_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_)4306 dissect_camel_SEQUENCE_SIZE_1_5_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_) {
4307   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
4308                                       SEQUENCE_SIZE_1_5_OF_VariablePart_sequence_of, hf_index, ett_camel_SEQUENCE_SIZE_1_5_OF_VariablePart);
4309 
4310   return offset;
4311 }
4312 
4313 
4314 static const ber_sequence_t T_variableMessage_sequence[] = {
4315   { &hf_camel_elementaryMessageID, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
4316   { &hf_camel_variableParts , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_SEQUENCE_SIZE_1_5_OF_VariablePart },
4317   { NULL, 0, 0, 0, NULL }
4318 };
4319 
4320 static int
dissect_camel_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_)4321 dissect_camel_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_) {
4322   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4323                                    T_variableMessage_sequence, hf_index, ett_camel_T_variableMessage);
4324 
4325   return offset;
4326 }
4327 
4328 
4329 static const value_string camel_MessageID_vals[] = {
4330   {   0, "elementaryMessageID" },
4331   {   1, "text" },
4332   {  29, "elementaryMessageIDs" },
4333   {  30, "variableMessage" },
4334   { 0, NULL }
4335 };
4336 
4337 static const ber_choice_t MessageID_choice[] = {
4338   {   0, &hf_camel_elementaryMessageID, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
4339   {   1, &hf_camel_text          , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_T_text },
4340   {  29, &hf_camel_elementaryMessageIDs, BER_CLASS_CON, 29, BER_FLAGS_IMPLTAG, dissect_camel_SEQUENCE_SIZE_1_bound__numOfMessageIDs_OF_Integer4 },
4341   {  30, &hf_camel_variableMessage, BER_CLASS_CON, 30, BER_FLAGS_IMPLTAG, dissect_camel_T_variableMessage },
4342   { 0, NULL, 0, 0, 0, NULL }
4343 };
4344 
4345 static int
dissect_camel_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_)4346 dissect_camel_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_) {
4347   offset = dissect_ber_choice(actx, tree, tvb, offset,
4348                                  MessageID_choice, hf_index, ett_camel_MessageID,
4349                                  NULL);
4350 
4351   return offset;
4352 }
4353 
4354 
4355 
4356 static int
dissect_camel_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_)4357 dissect_camel_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_) {
4358   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
4359                                                 NULL);
4360 
4361   return offset;
4362 }
4363 
4364 
4365 static const ber_sequence_t InbandInfo_sequence[] = {
4366   { &hf_camel_messageID     , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_MessageID },
4367   { &hf_camel_numberOfRepetitions, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_127 },
4368   { &hf_camel_inbandInfoDuration, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_32767 },
4369   { &hf_camel_interval      , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_32767 },
4370   { NULL, 0, 0, 0, NULL }
4371 };
4372 
4373 static int
dissect_camel_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_)4374 dissect_camel_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_) {
4375   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4376                                    InbandInfo_sequence, hf_index, ett_camel_InbandInfo);
4377 
4378   return offset;
4379 }
4380 
4381 
4382 static const ber_sequence_t Tone_sequence[] = {
4383   { &hf_camel_toneID        , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
4384   { &hf_camel_toneDuration  , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
4385   { NULL, 0, 0, 0, NULL }
4386 };
4387 
4388 static int
dissect_camel_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_)4389 dissect_camel_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_) {
4390   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4391                                    Tone_sequence, hf_index, ett_camel_Tone);
4392 
4393   return offset;
4394 }
4395 
4396 
4397 static const value_string camel_InformationToSend_vals[] = {
4398   {   0, "inbandInfo" },
4399   {   1, "tone" },
4400   { 0, NULL }
4401 };
4402 
4403 static const ber_choice_t InformationToSend_choice[] = {
4404   {   0, &hf_camel_inbandInfo    , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_InbandInfo },
4405   {   1, &hf_camel_tone          , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_Tone },
4406   { 0, NULL, 0, 0, 0, NULL }
4407 };
4408 
4409 static int
dissect_camel_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_)4410 dissect_camel_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_) {
4411   offset = dissect_ber_choice(actx, tree, tvb, offset,
4412                                  InformationToSend_choice, hf_index, ett_camel_InformationToSend,
4413                                  NULL);
4414 
4415   return offset;
4416 }
4417 
4418 
4419 static const value_string camel_GapTreatment_vals[] = {
4420   {   0, "informationToSend" },
4421   {   1, "releaseCause" },
4422   { 0, NULL }
4423 };
4424 
4425 static const ber_choice_t GapTreatment_choice[] = {
4426   {   0, &hf_camel_informationToSend, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_InformationToSend },
4427   {   1, &hf_camel_releaseCause  , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_Cause },
4428   { 0, NULL, 0, 0, 0, NULL }
4429 };
4430 
4431 static int
dissect_camel_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_)4432 dissect_camel_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_) {
4433   offset = dissect_ber_choice(actx, tree, tvb, offset,
4434                                  GapTreatment_choice, hf_index, ett_camel_GapTreatment,
4435                                  NULL);
4436 
4437   return offset;
4438 }
4439 
4440 
4441 
4442 static int
dissect_camel_GenericNumber(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4443 dissect_camel_GenericNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4444   tvbuff_t *parameter_tvb;
4445 
4446   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4447                                        &parameter_tvb);
4448 
4449 
4450  if (!parameter_tvb)
4451         return offset;
4452 
4453 dissect_isup_generic_number_parameter(parameter_tvb, actx->pinfo, tree, NULL);
4454 
4455   return offset;
4456 }
4457 
4458 
4459 static const ber_sequence_t GenericNumbers_set_of[1] = {
4460   { &hf_camel_GenericNumbers_item, BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_camel_GenericNumber },
4461 };
4462 
4463 static int
dissect_camel_GenericNumbers(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4464 dissect_camel_GenericNumbers(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4465   offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
4466                                  GenericNumbers_set_of, hf_index, ett_camel_GenericNumbers);
4467 
4468   return offset;
4469 }
4470 
4471 
4472 static const value_string camel_GPRS_QoS_vals[] = {
4473   {   0, "short-QoS-format" },
4474   {   1, "long-QoS-format" },
4475   { 0, NULL }
4476 };
4477 
4478 static const ber_choice_t GPRS_QoS_choice[] = {
4479   {   0, &hf_camel_short_QoS_format, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_QoS_Subscribed },
4480   {   1, &hf_camel_long_QoS_format, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_Ext_QoS_Subscribed },
4481   { 0, NULL, 0, 0, 0, NULL }
4482 };
4483 
4484 static int
dissect_camel_GPRS_QoS(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4485 dissect_camel_GPRS_QoS(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4486   offset = dissect_ber_choice(actx, tree, tvb, offset,
4487                                  GPRS_QoS_choice, hf_index, ett_camel_GPRS_QoS,
4488                                  NULL);
4489 
4490   return offset;
4491 }
4492 
4493 
4494 static const ber_sequence_t GPRS_QoS_Extension_sequence[] = {
4495   { &hf_camel_supplement_to_long_QoS_format, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_Ext2_QoS_Subscribed },
4496   { &hf_camel_additionalSupplement, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_Ext3_QoS_Subscribed },
4497   { NULL, 0, 0, 0, NULL }
4498 };
4499 
4500 static int
dissect_camel_GPRS_QoS_Extension(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4501 dissect_camel_GPRS_QoS_Extension(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4502   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4503                                    GPRS_QoS_Extension_sequence, hf_index, ett_camel_GPRS_QoS_Extension);
4504 
4505   return offset;
4506 }
4507 
4508 
4509 
4510 static int
dissect_camel_GPRSCause(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4511 dissect_camel_GPRSCause(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4512   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4513                                        NULL);
4514 
4515   return offset;
4516 }
4517 
4518 
4519 static const value_string camel_GPRSEventType_vals[] = {
4520   {   1, "attach" },
4521   {   2, "attachChangeOfPosition" },
4522   {   3, "detached" },
4523   {  11, "pdp-ContextEstablishment" },
4524   {  12, "pdp-ContextEstablishmentAcknowledgement" },
4525   {  13, "disonnect" },
4526   {  14, "pdp-ContextChangeOfPosition" },
4527   { 0, NULL }
4528 };
4529 
4530 
4531 static int
dissect_camel_GPRSEventType(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4532 dissect_camel_GPRSEventType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4533   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
4534                                   NULL);
4535 
4536   return offset;
4537 }
4538 
4539 
4540 static const ber_sequence_t GPRSEvent_sequence[] = {
4541   { &hf_camel_gPRSEventType , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_GPRSEventType },
4542   { &hf_camel_monitorMode   , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_MonitorMode },
4543   { NULL, 0, 0, 0, NULL }
4544 };
4545 
4546 static int
dissect_camel_GPRSEvent(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4547 dissect_camel_GPRSEvent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4548   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4549                                    GPRSEvent_sequence, hf_index, ett_camel_GPRSEvent);
4550 
4551   return offset;
4552 }
4553 
4554 
4555 
4556 static int
dissect_camel_T_cellGlobalIdOrServiceAreaIdOrLAI(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4557 dissect_camel_T_cellGlobalIdOrServiceAreaIdOrLAI(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4558 	proto_tree *subtree;
4559 	int start_offset;
4560 
4561  start_offset = offset;
4562   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4563                                        NULL);
4564 
4565 
4566  subtree = proto_item_add_subtree(actx->created_item, ett_camel_pdptypenumber);
4567 
4568  if (tvb_reported_length_remaining(tvb,start_offset) == 7){
4569 	dissect_gsm_map_CellGlobalIdOrServiceAreaIdFixedLength(TRUE, tvb, start_offset, actx, subtree, hf_camel_cellGlobalIdOrServiceAreaIdFixedLength);
4570  }else{
4571 	dissect_gsm_map_LAIFixedLength(TRUE, tvb, start_offset, actx, subtree, hf_camel_locationAreaId);
4572  }
4573 
4574   return offset;
4575 }
4576 
4577 
4578 
4579 static int
dissect_camel_UserCSGInformation(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4580 dissect_camel_UserCSGInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4581   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4582                                        NULL);
4583 
4584   return offset;
4585 }
4586 
4587 
4588 static const ber_sequence_t LocationInformationGPRS_sequence[] = {
4589   { &hf_camel_cellGlobalIdOrServiceAreaIdOrLAI, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_T_cellGlobalIdOrServiceAreaIdOrLAI },
4590   { &hf_camel_routeingAreaIdentity, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_RAIdentity },
4591   { &hf_camel_geographicalInformation, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_GeographicalInformation },
4592   { &hf_camel_sgsn_Number   , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ISDN_AddressString },
4593   { &hf_camel_selectedLSAIdentity, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_LSAIdentity },
4594   { &hf_camel_extensionContainer, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ExtensionContainer },
4595   { &hf_camel_sai_Present   , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
4596   { &hf_camel_userCSGInformation, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_UserCSGInformation },
4597   { NULL, 0, 0, 0, NULL }
4598 };
4599 
4600 static int
dissect_camel_LocationInformationGPRS(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4601 dissect_camel_LocationInformationGPRS(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4602   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4603                                    LocationInformationGPRS_sequence, hf_index, ett_camel_LocationInformationGPRS);
4604 
4605   return offset;
4606 }
4607 
4608 
4609 static const ber_sequence_t T_attachChangeOfPositionSpecificInformation_sequence[] = {
4610   { &hf_camel_locationInformationGPRS, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_LocationInformationGPRS },
4611   { NULL, 0, 0, 0, NULL }
4612 };
4613 
4614 static int
dissect_camel_T_attachChangeOfPositionSpecificInformation(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4615 dissect_camel_T_attachChangeOfPositionSpecificInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4616   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4617                                    T_attachChangeOfPositionSpecificInformation_sequence, hf_index, ett_camel_T_attachChangeOfPositionSpecificInformation);
4618 
4619   return offset;
4620 }
4621 
4622 
4623 static const ber_sequence_t QualityOfService_sequence[] = {
4624   { &hf_camel_requested_QoS , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_GPRS_QoS },
4625   { &hf_camel_subscribed_QoS, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_GPRS_QoS },
4626   { &hf_camel_negotiated_QoS, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_GPRS_QoS },
4627   { &hf_camel_requested_QoS_Extension, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_GPRS_QoS_Extension },
4628   { &hf_camel_subscribed_QoS_Extension, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_GPRS_QoS_Extension },
4629   { &hf_camel_negotiated_QoS_Extension, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_GPRS_QoS_Extension },
4630   { NULL, 0, 0, 0, NULL }
4631 };
4632 
4633 static int
dissect_camel_QualityOfService(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4634 dissect_camel_QualityOfService(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4635   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4636                                    QualityOfService_sequence, hf_index, ett_camel_QualityOfService);
4637 
4638   return offset;
4639 }
4640 
4641 
4642 
4643 static int
dissect_camel_TimeAndTimezone(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4644 dissect_camel_TimeAndTimezone(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4645   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4646                                        NULL);
4647 
4648   return offset;
4649 }
4650 
4651 
4652 static const ber_sequence_t T_pdp_ContextchangeOfPositionSpecificInformation_sequence[] = {
4653   { &hf_camel_accessPointName, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AccessPointName },
4654   { &hf_camel_chargingID    , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_GPRSChargingID },
4655   { &hf_camel_locationInformationGPRS, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_LocationInformationGPRS },
4656   { &hf_camel_endUserAddress, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_EndUserAddress },
4657   { &hf_camel_qualityOfService, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_QualityOfService },
4658   { &hf_camel_timeAndTimeZone, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TimeAndTimezone },
4659   { &hf_camel_gGSNAddress   , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_GSN_Address },
4660   { NULL, 0, 0, 0, NULL }
4661 };
4662 
4663 static int
dissect_camel_T_pdp_ContextchangeOfPositionSpecificInformation(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4664 dissect_camel_T_pdp_ContextchangeOfPositionSpecificInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4665   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4666                                    T_pdp_ContextchangeOfPositionSpecificInformation_sequence, hf_index, ett_camel_T_pdp_ContextchangeOfPositionSpecificInformation);
4667 
4668   return offset;
4669 }
4670 
4671 
4672 static const value_string camel_InitiatingEntity_vals[] = {
4673   {   0, "mobileStation" },
4674   {   1, "sgsn" },
4675   {   2, "hlr" },
4676   {   3, "ggsn" },
4677   { 0, NULL }
4678 };
4679 
4680 
4681 static int
dissect_camel_InitiatingEntity(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4682 dissect_camel_InitiatingEntity(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4683   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
4684                                   NULL);
4685 
4686   return offset;
4687 }
4688 
4689 
4690 static const ber_sequence_t T_detachSpecificInformation_sequence[] = {
4691   { &hf_camel_initiatingEntity, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_InitiatingEntity },
4692   { &hf_camel_routeingAreaUpdate, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
4693   { NULL, 0, 0, 0, NULL }
4694 };
4695 
4696 static int
dissect_camel_T_detachSpecificInformation(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4697 dissect_camel_T_detachSpecificInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4698   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4699                                    T_detachSpecificInformation_sequence, hf_index, ett_camel_T_detachSpecificInformation);
4700 
4701   return offset;
4702 }
4703 
4704 
4705 static const ber_sequence_t T_disconnectSpecificInformation_sequence[] = {
4706   { &hf_camel_initiatingEntity, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_InitiatingEntity },
4707   { &hf_camel_routeingAreaUpdate, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
4708   { NULL, 0, 0, 0, NULL }
4709 };
4710 
4711 static int
dissect_camel_T_disconnectSpecificInformation(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4712 dissect_camel_T_disconnectSpecificInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4713   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4714                                    T_disconnectSpecificInformation_sequence, hf_index, ett_camel_T_disconnectSpecificInformation);
4715 
4716   return offset;
4717 }
4718 
4719 
4720 static const value_string camel_PDPInitiationType_vals[] = {
4721   {   0, "mSInitiated" },
4722   {   1, "networkInitiated" },
4723   { 0, NULL }
4724 };
4725 
4726 
4727 static int
dissect_camel_PDPInitiationType(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4728 dissect_camel_PDPInitiationType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4729   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
4730                                   NULL);
4731 
4732   return offset;
4733 }
4734 
4735 
4736 static const ber_sequence_t T_pDPContextEstablishmentSpecificInformation_sequence[] = {
4737   { &hf_camel_accessPointName, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AccessPointName },
4738   { &hf_camel_endUserAddress, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_EndUserAddress },
4739   { &hf_camel_qualityOfService, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_QualityOfService },
4740   { &hf_camel_locationInformationGPRS, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_LocationInformationGPRS },
4741   { &hf_camel_timeAndTimeZone, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TimeAndTimezone },
4742   { &hf_camel_pDPInitiationType, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPInitiationType },
4743   { &hf_camel_secondaryPDP_context, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
4744   { NULL, 0, 0, 0, NULL }
4745 };
4746 
4747 static int
dissect_camel_T_pDPContextEstablishmentSpecificInformation(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4748 dissect_camel_T_pDPContextEstablishmentSpecificInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4749   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4750                                    T_pDPContextEstablishmentSpecificInformation_sequence, hf_index, ett_camel_T_pDPContextEstablishmentSpecificInformation);
4751 
4752   return offset;
4753 }
4754 
4755 
4756 static const ber_sequence_t T_pDPContextEstablishmentAcknowledgementSpecificInformation_sequence[] = {
4757   { &hf_camel_accessPointName, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AccessPointName },
4758   { &hf_camel_chargingID    , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_GPRSChargingID },
4759   { &hf_camel_endUserAddress, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_EndUserAddress },
4760   { &hf_camel_qualityOfService, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_QualityOfService },
4761   { &hf_camel_locationInformationGPRS, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_LocationInformationGPRS },
4762   { &hf_camel_timeAndTimeZone, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TimeAndTimezone },
4763   { &hf_camel_gGSNAddress   , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_GSN_Address },
4764   { NULL, 0, 0, 0, NULL }
4765 };
4766 
4767 static int
dissect_camel_T_pDPContextEstablishmentAcknowledgementSpecificInformation(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4768 dissect_camel_T_pDPContextEstablishmentAcknowledgementSpecificInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4769   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4770                                    T_pDPContextEstablishmentAcknowledgementSpecificInformation_sequence, hf_index, ett_camel_T_pDPContextEstablishmentAcknowledgementSpecificInformation);
4771 
4772   return offset;
4773 }
4774 
4775 
4776 static const value_string camel_GPRSEventSpecificInformation_vals[] = {
4777   {   0, "attachChangeOfPositionSpecificInformation" },
4778   {   1, "pdp-ContextchangeOfPositionSpecificInformation" },
4779   {   2, "detachSpecificInformation" },
4780   {   3, "disconnectSpecificInformation" },
4781   {   4, "pDPContextEstablishmentSpecificInformation" },
4782   {   5, "pDPContextEstablishmentAcknowledgementSpecificInformation" },
4783   { 0, NULL }
4784 };
4785 
4786 static const ber_choice_t GPRSEventSpecificInformation_choice[] = {
4787   {   0, &hf_camel_attachChangeOfPositionSpecificInformation, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_attachChangeOfPositionSpecificInformation },
4788   {   1, &hf_camel_pdp_ContextchangeOfPositionSpecificInformation, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_T_pdp_ContextchangeOfPositionSpecificInformation },
4789   {   2, &hf_camel_detachSpecificInformation, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_T_detachSpecificInformation },
4790   {   3, &hf_camel_disconnectSpecificInformation, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_camel_T_disconnectSpecificInformation },
4791   {   4, &hf_camel_pDPContextEstablishmentSpecificInformation, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_camel_T_pDPContextEstablishmentSpecificInformation },
4792   {   5, &hf_camel_pDPContextEstablishmentAcknowledgementSpecificInformation, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_camel_T_pDPContextEstablishmentAcknowledgementSpecificInformation },
4793   { 0, NULL, 0, 0, 0, NULL }
4794 };
4795 
4796 static int
dissect_camel_GPRSEventSpecificInformation(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4797 dissect_camel_GPRSEventSpecificInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4798   offset = dissect_ber_choice(actx, tree, tvb, offset,
4799                                  GPRSEventSpecificInformation_choice, hf_index, ett_camel_GPRSEventSpecificInformation,
4800                                  NULL);
4801 
4802   return offset;
4803 }
4804 
4805 
4806 
4807 static int
dissect_camel_IPRoutingAddress(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4808 dissect_camel_IPRoutingAddress(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4809   offset = dissect_camel_CalledPartyNumber(implicit_tag, tvb, offset, actx, tree, hf_index);
4810 
4811   return offset;
4812 }
4813 
4814 
4815 
4816 static int
dissect_camel_IPSSPCapabilities(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4817 dissect_camel_IPSSPCapabilities(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4818   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4819                                        NULL);
4820 
4821   return offset;
4822 }
4823 
4824 
4825 static const value_string camel_LegOrCallSegment_vals[] = {
4826   {   0, "callSegmentID" },
4827   {   1, "legID" },
4828   { 0, NULL }
4829 };
4830 
4831 static const ber_choice_t LegOrCallSegment_choice[] = {
4832   {   0, &hf_camel_callSegmentID , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
4833   {   1, &hf_camel_legID         , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_inap_LegID },
4834   { 0, NULL, 0, 0, 0, NULL }
4835 };
4836 
4837 static int
dissect_camel_LegOrCallSegment(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4838 dissect_camel_LegOrCallSegment(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4839   offset = dissect_ber_choice(actx, tree, tvb, offset,
4840                                  LegOrCallSegment_choice, hf_index, ett_camel_LegOrCallSegment,
4841                                  NULL);
4842 
4843   return offset;
4844 }
4845 
4846 
4847 
4848 static int
dissect_camel_LowLayerCompatibility(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4849 dissect_camel_LowLayerCompatibility(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4850   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4851                                        NULL);
4852 
4853   return offset;
4854 }
4855 
4856 
4857 
4858 static int
dissect_camel_NAOliInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4859 dissect_camel_NAOliInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4860   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4861                                        NULL);
4862 
4863   return offset;
4864 }
4865 
4866 
4867 
4868 static int
dissect_camel_OCSIApplicable(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4869 dissect_camel_OCSIApplicable(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4870   offset = dissect_ber_null(implicit_tag, actx, tree, tvb, offset, hf_index);
4871 
4872   return offset;
4873 }
4874 
4875 
4876 
4877 static int
dissect_camel_OriginalCalledPartyID(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4878 dissect_camel_OriginalCalledPartyID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4879 
4880  tvbuff_t	*parameter_tvb;
4881  proto_tree	*subtree;
4882 
4883   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4884                                        &parameter_tvb);
4885 
4886 
4887  if (!parameter_tvb)
4888 	return offset;
4889  subtree = proto_item_add_subtree(actx->created_item, ett_camel_originalcalledpartyid);
4890  dissect_isup_original_called_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
4891 
4892   return offset;
4893 }
4894 
4895 
4896 
4897 static int
dissect_camel_RedirectingPartyID(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4898 dissect_camel_RedirectingPartyID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4899 
4900  tvbuff_t	*parameter_tvb;
4901  proto_tree	*subtree;
4902 
4903   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
4904                                        &parameter_tvb);
4905 
4906 
4907  if (!parameter_tvb)
4908 	return offset;
4909  subtree = proto_item_add_subtree(actx->created_item, ett_camel_redirectingpartyid);
4910  dissect_isup_redirecting_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
4911 
4912   return offset;
4913 }
4914 
4915 
4916 static const value_string camel_RequestedInformationType_vals[] = {
4917   {   0, "callAttemptElapsedTime" },
4918   {   1, "callStopTime" },
4919   {   2, "callConnectedElapsedTime" },
4920   {  30, "releaseCause" },
4921   { 0, NULL }
4922 };
4923 
4924 
4925 static int
dissect_camel_RequestedInformationType(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4926 dissect_camel_RequestedInformationType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4927   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
4928                                   NULL);
4929 
4930   return offset;
4931 }
4932 
4933 
4934 static const value_string camel_RequestedInformationValue_vals[] = {
4935   {   0, "callAttemptElapsedTimeValue" },
4936   {   1, "callStopTimeValue" },
4937   {   2, "callConnectedElapsedTimeValue" },
4938   {  30, "releaseCauseValue" },
4939   { 0, NULL }
4940 };
4941 
4942 static const ber_choice_t RequestedInformationValue_choice[] = {
4943   {   0, &hf_camel_callAttemptElapsedTimeValue, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_0_255 },
4944   {   1, &hf_camel_callStopTimeValue, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_DateAndTime },
4945   {   2, &hf_camel_callConnectedElapsedTimeValue, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
4946   {  30, &hf_camel_releaseCauseValue, BER_CLASS_CON, 30, BER_FLAGS_IMPLTAG, dissect_camel_Cause },
4947   { 0, NULL, 0, 0, 0, NULL }
4948 };
4949 
4950 static int
dissect_camel_RequestedInformationValue(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4951 dissect_camel_RequestedInformationValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4952   offset = dissect_ber_choice(actx, tree, tvb, offset,
4953                                  RequestedInformationValue_choice, hf_index, ett_camel_RequestedInformationValue,
4954                                  NULL);
4955 
4956   return offset;
4957 }
4958 
4959 
4960 static const ber_sequence_t RequestedInformation_sequence[] = {
4961   { &hf_camel_requestedInformationType, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_RequestedInformationType },
4962   { &hf_camel_requestedInformationValue, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_RequestedInformationValue },
4963   { NULL, 0, 0, 0, NULL }
4964 };
4965 
4966 static int
dissect_camel_RequestedInformation(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4967 dissect_camel_RequestedInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4968   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
4969                                    RequestedInformation_sequence, hf_index, ett_camel_RequestedInformation);
4970 
4971   return offset;
4972 }
4973 
4974 
4975 static const ber_sequence_t RequestedInformationList_sequence_of[1] = {
4976   { &hf_camel_RequestedInformationList_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_camel_RequestedInformation },
4977 };
4978 
4979 static int
dissect_camel_RequestedInformationList(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4980 dissect_camel_RequestedInformationList(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4981   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
4982                                       RequestedInformationList_sequence_of, hf_index, ett_camel_RequestedInformationList);
4983 
4984   return offset;
4985 }
4986 
4987 
4988 static const ber_sequence_t RequestedInformationTypeList_sequence_of[1] = {
4989   { &hf_camel_RequestedInformationTypeList_item, BER_CLASS_UNI, BER_UNI_TAG_ENUMERATED, BER_FLAGS_NOOWNTAG, dissect_camel_RequestedInformationType },
4990 };
4991 
4992 static int
dissect_camel_RequestedInformationTypeList(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)4993 dissect_camel_RequestedInformationTypeList(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
4994   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
4995                                       RequestedInformationTypeList_sequence_of, hf_index, ett_camel_RequestedInformationTypeList);
4996 
4997   return offset;
4998 }
4999 
5000 
5001 
5002 static int
dissect_camel_RPCause(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5003 dissect_camel_RPCause(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5004 
5005 tvbuff_t *parameter_tvb;
5006 guint8 Cause_value;
5007 proto_tree *subtree;
5008 
5009   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
5010                                        &parameter_tvb);
5011 
5012 
5013  if (!parameter_tvb)
5014 	return offset;
5015  subtree = proto_item_add_subtree(actx->created_item, ett_camel_RPcause);
5016 
5017  dissect_RP_cause_ie(parameter_tvb, 0, tvb_reported_length_remaining(parameter_tvb,0), subtree, hf_camel_RP_Cause, &Cause_value);
5018 
5019   return offset;
5020 }
5021 
5022 
5023 
5024 static int
dissect_camel_SCIBillingChargingCharacteristics(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5025 dissect_camel_SCIBillingChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5026  tvbuff_t	*parameter_tvb;
5027  proto_tree *subtree;
5028 
5029   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
5030                                        &parameter_tvb);
5031 
5032  if (!parameter_tvb)
5033 	return offset;
5034  subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_SCIBillingChargingCharacteristics);
5035  dissect_camel_CAMEL_SCIBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_SCIBillingChargingCharacteristics);
5036 
5037 
5038   return offset;
5039 }
5040 
5041 
5042 
5043 static int
dissect_camel_SCIGPRSBillingChargingCharacteristics(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5044 dissect_camel_SCIGPRSBillingChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5045  tvbuff_t	*parameter_tvb;
5046  proto_tree *subtree;
5047 
5048   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
5049                                        &parameter_tvb);
5050 
5051  if (!parameter_tvb)
5052 	return offset;
5053  subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_SCIGPRSBillingChargingCharacteristics);
5054  dissect_camel_CAMEL_SCIGPRSBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_SCIGPRSBillingChargingCharacteristics);
5055 
5056 
5057   return offset;
5058 }
5059 
5060 
5061 static const ber_sequence_t ServiceInteractionIndicatorsTwo_sequence[] = {
5062   { &hf_camel_forwardServiceInteractionInd, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ForwardServiceInteractionInd },
5063   { &hf_camel_backwardServiceInteractionInd, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BackwardServiceInteractionInd },
5064   { &hf_camel_bothwayThroughConnectionInd, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_BothwayThroughConnectionInd },
5065   { &hf_camel_connectedNumberTreatmentInd, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ConnectedNumberTreatmentInd },
5066   { &hf_camel_nonCUGCall    , BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5067   { &hf_camel_holdTreatmentIndicator, BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1 },
5068   { &hf_camel_cwTreatmentIndicator, BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1 },
5069   { &hf_camel_ectTreatmentIndicator, BER_CLASS_CON, 52, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCTET_STRING_SIZE_1 },
5070   { NULL, 0, 0, 0, NULL }
5071 };
5072 
5073 static int
dissect_camel_ServiceInteractionIndicatorsTwo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5074 dissect_camel_ServiceInteractionIndicatorsTwo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5075   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5076                                    ServiceInteractionIndicatorsTwo_sequence, hf_index, ett_camel_ServiceInteractionIndicatorsTwo);
5077 
5078   return offset;
5079 }
5080 
5081 
5082 
5083 static int
dissect_camel_SGSNCapabilities(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5084 dissect_camel_SGSNCapabilities(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5085   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
5086                                        NULL);
5087 
5088   return offset;
5089 }
5090 
5091 
5092 
5093 static int
dissect_camel_SMS_AddressString(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5094 dissect_camel_SMS_AddressString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5095   offset = dissect_gsm_map_AddressString(implicit_tag, tvb, offset, actx, tree, hf_index);
5096 
5097   return offset;
5098 }
5099 
5100 
5101 static const ber_sequence_t SMSEvent_sequence[] = {
5102   { &hf_camel_eventTypeSMS  , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_EventTypeSMS },
5103   { &hf_camel_monitorMode   , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_MonitorMode },
5104   { NULL, 0, 0, 0, NULL }
5105 };
5106 
5107 static int
dissect_camel_SMSEvent(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5108 dissect_camel_SMSEvent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5109   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5110                                    SMSEvent_sequence, hf_index, ett_camel_SMSEvent);
5111 
5112   return offset;
5113 }
5114 
5115 
5116 static const value_string camel_TimerID_vals[] = {
5117   {   0, "tssf" },
5118   { 0, NULL }
5119 };
5120 
5121 
5122 static int
dissect_camel_TimerID(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5123 dissect_camel_TimerID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5124   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
5125                                   NULL);
5126 
5127   return offset;
5128 }
5129 
5130 
5131 
5132 static int
dissect_camel_TimerValue(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5133 dissect_camel_TimerValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5134   offset = dissect_inap_Integer4(implicit_tag, tvb, offset, actx, tree, hf_index);
5135 
5136   return offset;
5137 }
5138 
5139 
5140 
5141 static int
dissect_camel_TPDataCodingScheme(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5142 dissect_camel_TPDataCodingScheme(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5143   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
5144                                        NULL);
5145 
5146   return offset;
5147 }
5148 
5149 
5150 
5151 static int
dissect_camel_TPProtocolIdentifier(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5152 dissect_camel_TPProtocolIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5153   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
5154                                        NULL);
5155 
5156   return offset;
5157 }
5158 
5159 
5160 
5161 static int
dissect_camel_TPShortMessageSpecificInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5162 dissect_camel_TPShortMessageSpecificInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5163   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
5164                                        NULL);
5165 
5166   return offset;
5167 }
5168 
5169 
5170 
5171 static int
dissect_camel_TPValidityPeriod(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5172 dissect_camel_TPValidityPeriod(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5173   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
5174                                        NULL);
5175 
5176   return offset;
5177 }
5178 
5179 
5180 static const value_string camel_UnavailableNetworkResource_vals[] = {
5181   {   0, "unavailableResources" },
5182   {   1, "componentFailure" },
5183   {   2, "basicCallProcessingException" },
5184   {   3, "resourceStatusFailure" },
5185   {   4, "endUserFailure" },
5186   { 0, NULL }
5187 };
5188 
5189 
5190 static int
dissect_camel_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_)5191 dissect_camel_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_) {
5192   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
5193                                   NULL);
5194 
5195   return offset;
5196 }
5197 
5198 
5199 static const value_string camel_T_par_cancelFailedProblem_vals[] = {
5200   {   0, "unknownOperation" },
5201   {   1, "tooLate" },
5202   {   2, "operationNotCancellable" },
5203   { 0, NULL }
5204 };
5205 
5206 
5207 static int
dissect_camel_T_par_cancelFailedProblem(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5208 dissect_camel_T_par_cancelFailedProblem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5209   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
5210                                   NULL);
5211 
5212   return offset;
5213 }
5214 
5215 
5216 static const ber_sequence_t PAR_cancelFailed_sequence[] = {
5217   { &hf_camel_par_cancelFailedProblem, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_par_cancelFailedProblem },
5218   { &hf_camel_operation     , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_InvokeID },
5219   { NULL, 0, 0, 0, NULL }
5220 };
5221 
5222 static int
dissect_camel_PAR_cancelFailed(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5223 dissect_camel_PAR_cancelFailed(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5224   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5225                                    PAR_cancelFailed_sequence, hf_index, ett_camel_PAR_cancelFailed);
5226 
5227   return offset;
5228 }
5229 
5230 
5231 static const value_string camel_PAR_requestedInfoError_vals[] = {
5232   {   1, "unknownRequestedInfo" },
5233   {   2, "requestedInfoNotAvailable" },
5234   { 0, NULL }
5235 };
5236 
5237 
5238 static int
dissect_camel_PAR_requestedInfoError(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5239 dissect_camel_PAR_requestedInfoError(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5240   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
5241                                   NULL);
5242 
5243   return offset;
5244 }
5245 
5246 
5247 static const value_string camel_PAR_taskRefused_vals[] = {
5248   {   0, "generic" },
5249   {   1, "unobtainable" },
5250   {   2, "congestion" },
5251   { 0, NULL }
5252 };
5253 
5254 
5255 static int
dissect_camel_PAR_taskRefused(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5256 dissect_camel_PAR_taskRefused(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5257   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
5258                                   NULL);
5259 
5260   return offset;
5261 }
5262 
5263 
5264 static const ber_sequence_t CAP_GPRS_ReferenceNumber_sequence[] = {
5265   { &hf_camel_destinationReference, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
5266   { &hf_camel_originationReference, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_Integer4 },
5267   { NULL, 0, 0, 0, NULL }
5268 };
5269 
5270 static int
dissect_camel_CAP_GPRS_ReferenceNumber(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5271 dissect_camel_CAP_GPRS_ReferenceNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5272   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5273                                    CAP_GPRS_ReferenceNumber_sequence, hf_index, ett_camel_CAP_GPRS_ReferenceNumber);
5274 
5275   return offset;
5276 }
5277 
5278 
5279 static const ber_sequence_t PlayAnnouncementArg_sequence[] = {
5280   { &hf_camel_informationToSend, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_InformationToSend },
5281   { &hf_camel_disconnectFromIPForbidden, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
5282   { &hf_camel_requestAnnouncementCompleteNotification, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
5283   { &hf_camel_extensions    , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5284   { &hf_camel_callSegmentID , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
5285   { &hf_camel_requestAnnouncementStartedNotification, BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
5286   { NULL, 0, 0, 0, NULL }
5287 };
5288 
5289 static int
dissect_camel_PlayAnnouncementArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5290 dissect_camel_PlayAnnouncementArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5291   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5292                                    PlayAnnouncementArg_sequence, hf_index, ett_camel_PlayAnnouncementArg);
5293 
5294   return offset;
5295 }
5296 
5297 
5298 static const ber_sequence_t PromptAndCollectUserInformationArg_sequence[] = {
5299   { &hf_camel_collectedInfo , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_CollectedInfo },
5300   { &hf_camel_disconnectFromIPForbidden, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
5301   { &hf_camel_informationToSend, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_InformationToSend },
5302   { &hf_camel_extensions    , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5303   { &hf_camel_callSegmentID , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
5304   { &hf_camel_requestAnnouncementStartedNotification, BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
5305   { NULL, 0, 0, 0, NULL }
5306 };
5307 
5308 static int
dissect_camel_PromptAndCollectUserInformationArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5309 dissect_camel_PromptAndCollectUserInformationArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5310   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5311                                    PromptAndCollectUserInformationArg_sequence, hf_index, ett_camel_PromptAndCollectUserInformationArg);
5312 
5313   return offset;
5314 }
5315 
5316 
5317 static const value_string camel_ReceivedInformationArg_vals[] = {
5318   {   0, "digitsResponse" },
5319   { 0, NULL }
5320 };
5321 
5322 static const ber_choice_t ReceivedInformationArg_choice[] = {
5323   {   0, &hf_camel_digitsResponse, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_Digits },
5324   { 0, NULL, 0, 0, 0, NULL }
5325 };
5326 
5327 static int
dissect_camel_ReceivedInformationArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5328 dissect_camel_ReceivedInformationArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5329   offset = dissect_ber_choice(actx, tree, tvb, offset,
5330                                  ReceivedInformationArg_choice, hf_index, ett_camel_ReceivedInformationArg,
5331                                  NULL);
5332 
5333   return offset;
5334 }
5335 
5336 
5337 static const value_string camel_SpecializedResourceReportArg_vals[] = {
5338   {  50, "allAnnouncementsComplete" },
5339   {  51, "firstAnnouncementStarted" },
5340   { 0, NULL }
5341 };
5342 
5343 static const ber_choice_t SpecializedResourceReportArg_choice[] = {
5344   {  50, &hf_camel_allAnnouncementsComplete, BER_CLASS_CON, 50, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5345   {  51, &hf_camel_firstAnnouncementStarted, BER_CLASS_CON, 51, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5346   { 0, NULL, 0, 0, 0, NULL }
5347 };
5348 
5349 static int
dissect_camel_SpecializedResourceReportArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5350 dissect_camel_SpecializedResourceReportArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5351   if (camel_ver < 4) {
5352     return dissect_camel_SpecializedResourceReportArgV23(implicit_tag, tvb, offset, actx, tree, hf_camel_allAnnouncementsComplete);
5353   }
5354   offset = dissect_ber_choice(actx, tree, tvb, offset,
5355                                  SpecializedResourceReportArg_choice, hf_index, ett_camel_SpecializedResourceReportArg,
5356                                  NULL);
5357 
5358 
5359 
5360   return offset;
5361 }
5362 
5363 
5364 static const ber_sequence_t ApplyChargingArg_sequence[] = {
5365   { &hf_camel_aChBillingChargingCharacteristics, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_AChBillingChargingCharacteristics },
5366   { &hf_camel_partyToCharge , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_SendingSideID },
5367   { &hf_camel_extensions    , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5368   { &hf_camel_aChChargingAddress, BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_AChChargingAddress },
5369   { &hf_camel_iTXcharging   , BER_CLASS_CON, 64, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
5370   { NULL, 0, 0, 0, NULL }
5371 };
5372 
5373 static int
dissect_camel_ApplyChargingArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5374 dissect_camel_ApplyChargingArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5375   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5376                                    ApplyChargingArg_sequence, hf_index, ett_camel_ApplyChargingArg);
5377 
5378   return offset;
5379 }
5380 
5381 
5382 
5383 static int
dissect_camel_ApplyChargingReportArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5384 dissect_camel_ApplyChargingReportArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5385   offset = dissect_camel_CallResult(implicit_tag, tvb, offset, actx, tree, hf_index);
5386 
5387   return offset;
5388 }
5389 
5390 
5391 static const ber_sequence_t AssistRequestInstructionsArg_sequence[] = {
5392   { &hf_camel_correlationID , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_CorrelationID },
5393   { &hf_camel_iPSSPCapabilities, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_IPSSPCapabilities },
5394   { &hf_camel_extensions    , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5395   { NULL, 0, 0, 0, NULL }
5396 };
5397 
5398 static int
dissect_camel_AssistRequestInstructionsArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5399 dissect_camel_AssistRequestInstructionsArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5400   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5401                                    AssistRequestInstructionsArg_sequence, hf_index, ett_camel_AssistRequestInstructionsArg);
5402 
5403   return offset;
5404 }
5405 
5406 
5407 static const ber_sequence_t CallGapArg_sequence[] = {
5408   { &hf_camel_gapCriteria   , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_GapCriteria },
5409   { &hf_camel_gapIndicators , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_GapIndicators },
5410   { &hf_camel_controlType   , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ControlType },
5411   { &hf_camel_gapTreatment  , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_GapTreatment },
5412   { &hf_camel_extensions    , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5413   { NULL, 0, 0, 0, NULL }
5414 };
5415 
5416 static int
dissect_camel_CallGapArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5417 dissect_camel_CallGapArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5418   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5419                                    CallGapArg_sequence, hf_index, ett_camel_CallGapArg);
5420 
5421   return offset;
5422 }
5423 
5424 
5425 static const ber_sequence_t CallInformationReportArg_sequence[] = {
5426   { &hf_camel_requestedInformationList, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_RequestedInformationList },
5427   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5428   { &hf_camel_legID_01      , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_ReceivingSideID },
5429   { NULL, 0, 0, 0, NULL }
5430 };
5431 
5432 static int
dissect_camel_CallInformationReportArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5433 dissect_camel_CallInformationReportArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5434   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5435                                    CallInformationReportArg_sequence, hf_index, ett_camel_CallInformationReportArg);
5436 
5437   return offset;
5438 }
5439 
5440 
5441 static const ber_sequence_t CallInformationRequestArg_sequence[] = {
5442   { &hf_camel_requestedInformationTypeList, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_RequestedInformationTypeList },
5443   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5444   { &hf_camel_legID_02      , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_SendingSideID },
5445   { NULL, 0, 0, 0, NULL }
5446 };
5447 
5448 static int
dissect_camel_CallInformationRequestArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5449 dissect_camel_CallInformationRequestArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5450   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5451                                    CallInformationRequestArg_sequence, hf_index, ett_camel_CallInformationRequestArg);
5452 
5453   return offset;
5454 }
5455 
5456 
5457 static const value_string camel_CancelArg_vals[] = {
5458   {   0, "invokeID" },
5459   {   1, "allRequests" },
5460   {   2, "callSegmentToCancel" },
5461   { 0, NULL }
5462 };
5463 
5464 static const ber_choice_t CancelArg_choice[] = {
5465   {   0, &hf_camel_invokeID      , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_InvokeID },
5466   {   1, &hf_camel_allRequests   , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5467   {   2, &hf_camel_callSegmentToCancel, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentToCancel },
5468   { 0, NULL, 0, 0, 0, NULL }
5469 };
5470 
5471 static int
dissect_camel_CancelArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5472 dissect_camel_CancelArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5473   offset = dissect_ber_choice(actx, tree, tvb, offset,
5474                                  CancelArg_choice, hf_index, ett_camel_CancelArg,
5475                                  NULL);
5476 
5477   return offset;
5478 }
5479 
5480 
5481 static const ber_sequence_t CollectInformationArg_sequence[] = {
5482   { &hf_camel_extensions    , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5483   { NULL, 0, 0, 0, NULL }
5484 };
5485 
5486 static int
dissect_camel_CollectInformationArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5487 dissect_camel_CollectInformationArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5488   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5489                                    CollectInformationArg_sequence, hf_index, ett_camel_CollectInformationArg);
5490 
5491   return offset;
5492 }
5493 
5494 
5495 static const ber_sequence_t ConnectArg_sequence[] = {
5496   { &hf_camel_destinationRoutingAddress, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_DestinationRoutingAddress },
5497   { &hf_camel_alertingPattern, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AlertingPattern },
5498   { &hf_camel_originalCalledPartyID, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OriginalCalledPartyID },
5499   { &hf_camel_extensions    , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5500   { &hf_camel_carrier       , BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Carrier },
5501   { &hf_camel_callingPartysCategory, BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_CallingPartysCategory },
5502   { &hf_camel_redirectingPartyID, BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_RedirectingPartyID },
5503   { &hf_camel_redirectionInformation, BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_RedirectionInformation },
5504   { &hf_camel_genericNumbers, BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_GenericNumbers },
5505   { &hf_camel_serviceInteractionIndicatorsTwo, BER_CLASS_CON, 15, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ServiceInteractionIndicatorsTwo },
5506   { &hf_camel_chargeNumber  , BER_CLASS_CON, 19, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ChargeNumber },
5507   { &hf_camel_legToBeConnected, BER_CLASS_CON, 21, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_LegID },
5508   { &hf_camel_cug_Interlock , BER_CLASS_CON, 31, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_CUG_Interlock },
5509   { &hf_camel_cug_OutgoingAccess, BER_CLASS_CON, 32, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5510   { &hf_camel_suppressionOfAnnouncement, BER_CLASS_CON, 55, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ch_SuppressionOfAnnouncement },
5511   { &hf_camel_oCSIApplicable, BER_CLASS_CON, 56, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OCSIApplicable },
5512   { &hf_camel_naOliInfo     , BER_CLASS_CON, 57, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NAOliInfo },
5513   { &hf_camel_bor_InterrogationRequested, BER_CLASS_CON, 58, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5514   { &hf_camel_suppress_N_CSI, BER_CLASS_CON, 59, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5515   { NULL, 0, 0, 0, NULL }
5516 };
5517 
5518 static int
dissect_camel_ConnectArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5519 dissect_camel_ConnectArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5520   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5521                                    ConnectArg_sequence, hf_index, ett_camel_ConnectArg);
5522 
5523   return offset;
5524 }
5525 
5526 
5527 static const value_string camel_T_resourceAddress_vals[] = {
5528   {   0, "ipRoutingAddress" },
5529   {   3, "none" },
5530   { 0, NULL }
5531 };
5532 
5533 static const ber_choice_t T_resourceAddress_choice[] = {
5534   {   0, &hf_camel_ipRoutingAddress, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_IPRoutingAddress },
5535   {   3, &hf_camel_none          , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5536   { 0, NULL, 0, 0, 0, NULL }
5537 };
5538 
5539 static int
dissect_camel_T_resourceAddress(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5540 dissect_camel_T_resourceAddress(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5541   offset = dissect_ber_choice(actx, tree, tvb, offset,
5542                                  T_resourceAddress_choice, hf_index, ett_camel_T_resourceAddress,
5543                                  NULL);
5544 
5545   return offset;
5546 }
5547 
5548 
5549 static const ber_sequence_t ConnectToResourceArg_sequence[] = {
5550   { &hf_camel_resourceAddress, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_T_resourceAddress },
5551   { &hf_camel_extensions    , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5552   { &hf_camel_serviceInteractionIndicatorsTwo, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ServiceInteractionIndicatorsTwo },
5553   { &hf_camel_callSegmentID , BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
5554   { NULL, 0, 0, 0, NULL }
5555 };
5556 
5557 static int
dissect_camel_ConnectToResourceArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5558 dissect_camel_ConnectToResourceArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5559   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5560                                    ConnectToResourceArg_sequence, hf_index, ett_camel_ConnectToResourceArg);
5561 
5562   return offset;
5563 }
5564 
5565 
5566 static const ber_sequence_t ContinueWithArgumentArgExtension_sequence[] = {
5567   { &hf_camel_suppress_D_CSI, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5568   { &hf_camel_suppress_N_CSI, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5569   { &hf_camel_suppressOutgoingCallBarring, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5570   { &hf_camel_legOrCallSegment, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_LegOrCallSegment },
5571   { NULL, 0, 0, 0, NULL }
5572 };
5573 
5574 static int
dissect_camel_ContinueWithArgumentArgExtension(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5575 dissect_camel_ContinueWithArgumentArgExtension(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5576   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5577                                    ContinueWithArgumentArgExtension_sequence, hf_index, ett_camel_ContinueWithArgumentArgExtension);
5578 
5579   return offset;
5580 }
5581 
5582 
5583 static const ber_sequence_t ContinueWithArgumentArg_sequence[] = {
5584   { &hf_camel_alertingPattern, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AlertingPattern },
5585   { &hf_camel_extensions    , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5586   { &hf_camel_serviceInteractionIndicatorsTwo, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ServiceInteractionIndicatorsTwo },
5587   { &hf_camel_callingPartysCategory, BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_CallingPartysCategory },
5588   { &hf_camel_genericNumbers, BER_CLASS_CON, 16, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_GenericNumbers },
5589   { &hf_camel_cug_Interlock , BER_CLASS_CON, 17, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_CUG_Interlock },
5590   { &hf_camel_cug_OutgoingAccess, BER_CLASS_CON, 18, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5591   { &hf_camel_chargeNumber  , BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ChargeNumber },
5592   { &hf_camel_carrier       , BER_CLASS_CON, 52, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Carrier },
5593   { &hf_camel_suppressionOfAnnouncement, BER_CLASS_CON, 55, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ch_SuppressionOfAnnouncement },
5594   { &hf_camel_naOliInfo     , BER_CLASS_CON, 56, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NAOliInfo },
5595   { &hf_camel_bor_InterrogationRequested, BER_CLASS_CON, 57, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5596   { &hf_camel_suppress_O_CSI, BER_CLASS_CON, 58, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5597   { &hf_camel_continueWithArgumentArgExtension, BER_CLASS_CON, 59, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ContinueWithArgumentArgExtension },
5598   { NULL, 0, 0, 0, NULL }
5599 };
5600 
5601 static int
dissect_camel_ContinueWithArgumentArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5602 dissect_camel_ContinueWithArgumentArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5603   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5604                                    ContinueWithArgumentArg_sequence, hf_index, ett_camel_ContinueWithArgumentArg);
5605 
5606   return offset;
5607 }
5608 
5609 
5610 static const ber_sequence_t DisconnectForwardConnectionWithArgumentArg_sequence[] = {
5611   { &hf_camel_callSegmentID , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
5612   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5613   { NULL, 0, 0, 0, NULL }
5614 };
5615 
5616 static int
dissect_camel_DisconnectForwardConnectionWithArgumentArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5617 dissect_camel_DisconnectForwardConnectionWithArgumentArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5618   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5619                                    DisconnectForwardConnectionWithArgumentArg_sequence, hf_index, ett_camel_DisconnectForwardConnectionWithArgumentArg);
5620 
5621   return offset;
5622 }
5623 
5624 
5625 static const ber_sequence_t DisconnectLegArg_sequence[] = {
5626   { &hf_camel_legToBeReleased, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_LegID },
5627   { &hf_camel_releaseCause  , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Cause },
5628   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5629   { NULL, 0, 0, 0, NULL }
5630 };
5631 
5632 static int
dissect_camel_DisconnectLegArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5633 dissect_camel_DisconnectLegArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5634   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5635                                    DisconnectLegArg_sequence, hf_index, ett_camel_DisconnectLegArg);
5636 
5637   return offset;
5638 }
5639 
5640 
5641 static const value_string camel_EntityReleasedArg_vals[] = {
5642   {   0, "callSegmentFailure" },
5643   {   1, "bCSM-Failure" },
5644   { 0, NULL }
5645 };
5646 
5647 static const ber_choice_t EntityReleasedArg_choice[] = {
5648   {   0, &hf_camel_callSegmentFailure, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentFailure },
5649   {   1, &hf_camel_bCSM_Failure  , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_BCSM_Failure },
5650   { 0, NULL, 0, 0, 0, NULL }
5651 };
5652 
5653 static int
dissect_camel_EntityReleasedArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5654 dissect_camel_EntityReleasedArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5655   offset = dissect_ber_choice(actx, tree, tvb, offset,
5656                                  EntityReleasedArg_choice, hf_index, ett_camel_EntityReleasedArg,
5657                                  NULL);
5658 
5659   return offset;
5660 }
5661 
5662 
5663 static const ber_sequence_t EstablishTemporaryConnectionArg_sequence[] = {
5664   { &hf_camel_assistingSSPIPRoutingAddress, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_AssistingSSPIPRoutingAddress },
5665   { &hf_camel_correlationID , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CorrelationID },
5666   { &hf_camel_scfID         , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ScfID },
5667   { &hf_camel_extensions    , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5668   { &hf_camel_carrier       , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Carrier },
5669   { &hf_camel_serviceInteractionIndicatorsTwo, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ServiceInteractionIndicatorsTwo },
5670   { &hf_camel_callSegmentID , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
5671   { &hf_camel_naOliInfo     , BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NAOliInfo },
5672   { &hf_camel_chargeNumber  , BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ChargeNumber },
5673   { &hf_camel_originalCalledPartyID, BER_CLASS_CON, 52, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OriginalCalledPartyID },
5674   { &hf_camel_callingPartyNumber, BER_CLASS_CON, 53, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallingPartyNumber },
5675   { NULL, 0, 0, 0, NULL }
5676 };
5677 
5678 static int
dissect_camel_EstablishTemporaryConnectionArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5679 dissect_camel_EstablishTemporaryConnectionArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5680 
5681   if(camel_ver==2){
5682     return dissect_camel_EstablishTemporaryConnectionArgV2(implicit_tag, tvb, offset, actx, tree, hf_index);
5683   }
5684   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5685                                    EstablishTemporaryConnectionArg_sequence, hf_index, ett_camel_EstablishTemporaryConnectionArg);
5686 
5687 
5688 
5689   return offset;
5690 }
5691 
5692 
5693 static const ber_sequence_t EventReportBCSMArg_sequence[] = {
5694   { &hf_camel_eventTypeBCSM , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_EventTypeBCSM },
5695   { &hf_camel_eventSpecificInformationBCSM, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_EventSpecificInformationBCSM },
5696   { &hf_camel_legID_01      , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_ReceivingSideID },
5697   { &hf_camel_miscCallInfo  , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_MiscCallInfo },
5698   { &hf_camel_extensions    , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5699   { NULL, 0, 0, 0, NULL }
5700 };
5701 
5702 static int
dissect_camel_EventReportBCSMArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5703 dissect_camel_EventReportBCSMArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5704   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5705                                    EventReportBCSMArg_sequence, hf_index, ett_camel_EventReportBCSMArg);
5706 
5707   return offset;
5708 }
5709 
5710 
5711 
5712 static int
dissect_camel_FurnishChargingInformationArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5713 dissect_camel_FurnishChargingInformationArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5714   offset = dissect_camel_FCIBillingChargingCharacteristics(implicit_tag, tvb, offset, actx, tree, hf_index);
5715 
5716   return offset;
5717 }
5718 
5719 
5720 static const ber_sequence_t InitialDPArgExtension_sequence[] = {
5721   { &hf_camel_gmscAddress   , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ISDN_AddressString },
5722   { &hf_camel_forwardingDestinationNumber, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CalledPartyNumber },
5723   { &hf_camel_ms_Classmark2 , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_MS_Classmark2 },
5724   { &hf_camel_iMEI          , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_IMEI },
5725   { &hf_camel_supportedCamelPhases, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_SupportedCamelPhases },
5726   { &hf_camel_offeredCamel4Functionalities, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_OfferedCamel4Functionalities },
5727   { &hf_camel_bearerCapability2, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_BearerCapability },
5728   { &hf_camel_ext_basicServiceCode2, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_Ext_BasicServiceCode },
5729   { &hf_camel_highLayerCompatibility2, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_HighLayerCompatibility },
5730   { &hf_camel_lowLayerCompatibility, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_LowLayerCompatibility },
5731   { &hf_camel_lowLayerCompatibility2, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_LowLayerCompatibility },
5732   { &hf_camel_enhancedDialledServicesAllowed, BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5733   { &hf_camel_uu_Data       , BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ch_UU_Data },
5734   { &hf_camel_collectInformationAllowed, BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5735   { &hf_camel_releaseCallArgExtensionAllowed, BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5736   { NULL, 0, 0, 0, NULL }
5737 };
5738 
5739 static int
dissect_camel_InitialDPArgExtension(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5740 dissect_camel_InitialDPArgExtension(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5741 
5742 if((camel_ver == 2)||(camel_ver == 1)){
5743 	return dissect_camel_InitialDPArgExtensionV2(implicit_tag, tvb, offset, actx, tree, hf_index);
5744 }
5745 
5746   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5747                                    InitialDPArgExtension_sequence, hf_index, ett_camel_InitialDPArgExtension);
5748 
5749 
5750 
5751   return offset;
5752 }
5753 
5754 
5755 static const ber_sequence_t InitialDPArg_sequence[] = {
5756   { &hf_camel_serviceKey    , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_ServiceKey },
5757   { &hf_camel_calledPartyNumber, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CalledPartyNumber },
5758   { &hf_camel_callingPartyNumber, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallingPartyNumber },
5759   { &hf_camel_callingPartysCategory, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_CallingPartysCategory },
5760   { &hf_camel_cGEncountered , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CGEncountered },
5761   { &hf_camel_iPSSPCapabilities, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_IPSSPCapabilities },
5762   { &hf_camel_locationNumber, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_LocationNumber },
5763   { &hf_camel_originalCalledPartyID, BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_OriginalCalledPartyID },
5764   { &hf_camel_extensions    , BER_CLASS_CON, 15, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5765   { &hf_camel_highLayerCompatibility, BER_CLASS_CON, 23, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_HighLayerCompatibility },
5766   { &hf_camel_additionalCallingPartyNumber, BER_CLASS_CON, 25, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AdditionalCallingPartyNumber },
5767   { &hf_camel_bearerCapability, BER_CLASS_CON, 27, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_BearerCapability },
5768   { &hf_camel_eventTypeBCSM , BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_EventTypeBCSM },
5769   { &hf_camel_redirectingPartyID, BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_RedirectingPartyID },
5770   { &hf_camel_redirectionInformation, BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_RedirectionInformation },
5771   { &hf_camel_cause         , BER_CLASS_CON, 17, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Cause },
5772   { &hf_camel_serviceInteractionIndicatorsTwo, BER_CLASS_CON, 32, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ServiceInteractionIndicatorsTwo },
5773   { &hf_camel_carrier       , BER_CLASS_CON, 37, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Carrier },
5774   { &hf_camel_cug_Index     , BER_CLASS_CON, 45, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_CUG_Index },
5775   { &hf_camel_cug_Interlock , BER_CLASS_CON, 46, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_CUG_Interlock },
5776   { &hf_camel_cug_OutgoingAccess, BER_CLASS_CON, 47, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5777   { &hf_camel_iMSI          , BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_IMSI },
5778   { &hf_camel_subscriberState, BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_SubscriberState },
5779   { &hf_camel_locationInformation, BER_CLASS_CON, 52, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_LocationInformation },
5780   { &hf_camel_ext_basicServiceCode, BER_CLASS_CON, 53, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_Ext_BasicServiceCode },
5781   { &hf_camel_callReferenceNumber, BER_CLASS_CON, 54, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ch_CallReferenceNumber },
5782   { &hf_camel_mscAddress    , BER_CLASS_CON, 55, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ISDN_AddressString },
5783   { &hf_camel_calledPartyBCDNumber, BER_CLASS_CON, 56, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CalledPartyBCDNumber },
5784   { &hf_camel_timeAndTimezone, BER_CLASS_CON, 57, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TimeAndTimezone },
5785   { &hf_camel_callForwardingSS_Pending, BER_CLASS_CON, 58, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5786   { &hf_camel_initialDPArgExtension, BER_CLASS_CON, 59, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_InitialDPArgExtension },
5787   { NULL, 0, 0, 0, NULL }
5788 };
5789 
5790 static int
dissect_camel_InitialDPArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5791 dissect_camel_InitialDPArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5792   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5793                                    InitialDPArg_sequence, hf_index, ett_camel_InitialDPArg);
5794 
5795   return offset;
5796 }
5797 
5798 
5799 static const ber_sequence_t InitiateCallAttemptArg_sequence[] = {
5800   { &hf_camel_destinationRoutingAddress, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_DestinationRoutingAddress },
5801   { &hf_camel_extensions    , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5802   { &hf_camel_legToBeCreated, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_LegID },
5803   { &hf_camel_newCallSegment, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
5804   { &hf_camel_callingPartyNumber, BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallingPartyNumber },
5805   { &hf_camel_callReferenceNumber, BER_CLASS_CON, 51, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ch_CallReferenceNumber },
5806   { &hf_camel_gsmSCFAddress , BER_CLASS_CON, 52, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ISDN_AddressString },
5807   { &hf_camel_suppress_T_CSI, BER_CLASS_CON, 53, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5808   { NULL, 0, 0, 0, NULL }
5809 };
5810 
5811 static int
dissect_camel_InitiateCallAttemptArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5812 dissect_camel_InitiateCallAttemptArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5813   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5814                                    InitiateCallAttemptArg_sequence, hf_index, ett_camel_InitiateCallAttemptArg);
5815 
5816   return offset;
5817 }
5818 
5819 
5820 static const ber_sequence_t InitiateCallAttemptRes_sequence[] = {
5821   { &hf_camel_supportedCamelPhases, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_SupportedCamelPhases },
5822   { &hf_camel_offeredCamel4Functionalities, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_OfferedCamel4Functionalities },
5823   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5824   { &hf_camel_releaseCallArgExtensionAllowed, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
5825   { NULL, 0, 0, 0, NULL }
5826 };
5827 
5828 static int
dissect_camel_InitiateCallAttemptRes(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5829 dissect_camel_InitiateCallAttemptRes(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5830   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5831                                    InitiateCallAttemptRes_sequence, hf_index, ett_camel_InitiateCallAttemptRes);
5832 
5833   return offset;
5834 }
5835 
5836 
5837 static const ber_sequence_t MoveLegArg_sequence[] = {
5838   { &hf_camel_legIDToMove   , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_LegID },
5839   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5840   { NULL, 0, 0, 0, NULL }
5841 };
5842 
5843 static int
dissect_camel_MoveLegArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5844 dissect_camel_MoveLegArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5845   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5846                                    MoveLegArg_sequence, hf_index, ett_camel_MoveLegArg);
5847 
5848   return offset;
5849 }
5850 
5851 
5852 static const ber_sequence_t PlayToneArg_sequence[] = {
5853   { &hf_camel_legOrCallSegment, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_LegOrCallSegment },
5854   { &hf_camel_bursts        , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_Burst },
5855   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5856   { NULL, 0, 0, 0, NULL }
5857 };
5858 
5859 static int
dissect_camel_PlayToneArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5860 dissect_camel_PlayToneArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5861   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5862                                    PlayToneArg_sequence, hf_index, ett_camel_PlayToneArg);
5863 
5864   return offset;
5865 }
5866 
5867 
5868 
5869 static int
dissect_camel_AllCallSegments(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5870 dissect_camel_AllCallSegments(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5871   offset = dissect_camel_Cause(implicit_tag, tvb, offset, actx, tree, hf_index);
5872 
5873   return offset;
5874 }
5875 
5876 
5877 static const ber_sequence_t AllCallSegmentsWithExtension_sequence[] = {
5878   { &hf_camel_allCallSegments, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_AllCallSegments },
5879   { &hf_camel_extensions    , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5880   { NULL, 0, 0, 0, NULL }
5881 };
5882 
5883 static int
dissect_camel_AllCallSegmentsWithExtension(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5884 dissect_camel_AllCallSegmentsWithExtension(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5885   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5886                                    AllCallSegmentsWithExtension_sequence, hf_index, ett_camel_AllCallSegmentsWithExtension);
5887 
5888   return offset;
5889 }
5890 
5891 
5892 static const value_string camel_ReleaseCallArg_vals[] = {
5893   {   0, "allCallSegments" },
5894   {   1, "allCallSegmentsWithExtension" },
5895   { 0, NULL }
5896 };
5897 
5898 static const ber_choice_t ReleaseCallArg_choice[] = {
5899   {   0, &hf_camel_allCallSegments, BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_camel_AllCallSegments },
5900   {   1, &hf_camel_allCallSegmentsWithExtension, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_AllCallSegmentsWithExtension },
5901   { 0, NULL, 0, 0, 0, NULL }
5902 };
5903 
5904 static int
dissect_camel_ReleaseCallArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5905 dissect_camel_ReleaseCallArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5906   offset = dissect_ber_choice(actx, tree, tvb, offset,
5907                                  ReleaseCallArg_choice, hf_index, ett_camel_ReleaseCallArg,
5908                                  NULL);
5909 
5910   return offset;
5911 }
5912 
5913 
5914 static const ber_sequence_t SEQUENCE_SIZE_1_bound__numOfBCSMEvents_OF_BCSMEvent_sequence_of[1] = {
5915   { &hf_camel_bcsmEvents_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_camel_BCSMEvent },
5916 };
5917 
5918 static int
dissect_camel_SEQUENCE_SIZE_1_bound__numOfBCSMEvents_OF_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_)5919 dissect_camel_SEQUENCE_SIZE_1_bound__numOfBCSMEvents_OF_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_) {
5920   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
5921                                       SEQUENCE_SIZE_1_bound__numOfBCSMEvents_OF_BCSMEvent_sequence_of, hf_index, ett_camel_SEQUENCE_SIZE_1_bound__numOfBCSMEvents_OF_BCSMEvent);
5922 
5923   return offset;
5924 }
5925 
5926 
5927 static const ber_sequence_t RequestReportBCSMEventArg_sequence[] = {
5928   { &hf_camel_bcsmEvents    , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_SEQUENCE_SIZE_1_bound__numOfBCSMEvents_OF_BCSMEvent },
5929   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5930   { NULL, 0, 0, 0, NULL }
5931 };
5932 
5933 static int
dissect_camel_RequestReportBCSMEventArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5934 dissect_camel_RequestReportBCSMEventArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5935   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5936                                    RequestReportBCSMEventArg_sequence, hf_index, ett_camel_RequestReportBCSMEventArg);
5937 
5938   return offset;
5939 }
5940 
5941 
5942 static const ber_sequence_t ResetTimerArg_sequence[] = {
5943   { &hf_camel_timerID       , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TimerID },
5944   { &hf_camel_timervalue    , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_TimerValue },
5945   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5946   { &hf_camel_callSegmentID , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
5947   { NULL, 0, 0, 0, NULL }
5948 };
5949 
5950 static int
dissect_camel_ResetTimerArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5951 dissect_camel_ResetTimerArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5952   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5953                                    ResetTimerArg_sequence, hf_index, ett_camel_ResetTimerArg);
5954 
5955   return offset;
5956 }
5957 
5958 
5959 static const ber_sequence_t SendChargingInformationArg_sequence[] = {
5960   { &hf_camel_sCIBillingChargingCharacteristics, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_SCIBillingChargingCharacteristics },
5961   { &hf_camel_partyToCharge , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_SendingSideID },
5962   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5963   { NULL, 0, 0, 0, NULL }
5964 };
5965 
5966 static int
dissect_camel_SendChargingInformationArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5967 dissect_camel_SendChargingInformationArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5968   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5969                                    SendChargingInformationArg_sequence, hf_index, ett_camel_SendChargingInformationArg);
5970 
5971   return offset;
5972 }
5973 
5974 
5975 static const ber_sequence_t SplitLegArg_sequence[] = {
5976   { &hf_camel_legToBeSplit  , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_LegID },
5977   { &hf_camel_newCallSegment, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CallSegmentID },
5978   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
5979   { NULL, 0, 0, 0, NULL }
5980 };
5981 
5982 static int
dissect_camel_SplitLegArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5983 dissect_camel_SplitLegArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
5984   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
5985                                    SplitLegArg_sequence, hf_index, ett_camel_SplitLegArg);
5986 
5987   return offset;
5988 }
5989 
5990 
5991 static const ber_sequence_t ApplyChargingGPRSArg_sequence[] = {
5992   { &hf_camel_chargingCharacteristics, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_ChargingCharacteristics },
5993   { &hf_camel_applyChargingGPRS_tariffSwitchInterval, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_86400 },
5994   { &hf_camel_pDPID         , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPID },
5995   { NULL, 0, 0, 0, NULL }
5996 };
5997 
5998 static int
dissect_camel_ApplyChargingGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)5999 dissect_camel_ApplyChargingGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6000   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6001                                    ApplyChargingGPRSArg_sequence, hf_index, ett_camel_ApplyChargingGPRSArg);
6002 
6003   return offset;
6004 }
6005 
6006 
6007 static const ber_sequence_t ApplyChargingReportGPRSArg_sequence[] = {
6008   { &hf_camel_chargingResult, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_ChargingResult },
6009   { &hf_camel_qualityOfService, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_QualityOfService },
6010   { &hf_camel_active        , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_BOOLEAN },
6011   { &hf_camel_pDPID         , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPID },
6012   { &hf_camel_chargingRollOver, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_ChargingRollOver },
6013   { NULL, 0, 0, 0, NULL }
6014 };
6015 
6016 static int
dissect_camel_ApplyChargingReportGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6017 dissect_camel_ApplyChargingReportGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6018   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6019                                    ApplyChargingReportGPRSArg_sequence, hf_index, ett_camel_ApplyChargingReportGPRSArg);
6020 
6021   return offset;
6022 }
6023 
6024 
6025 static const ber_sequence_t CancelGPRSArg_sequence[] = {
6026   { &hf_camel_pDPID         , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPID },
6027   { NULL, 0, 0, 0, NULL }
6028 };
6029 
6030 static int
dissect_camel_CancelGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6031 dissect_camel_CancelGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6032   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6033                                    CancelGPRSArg_sequence, hf_index, ett_camel_CancelGPRSArg);
6034 
6035   return offset;
6036 }
6037 
6038 
6039 static const ber_sequence_t ConnectGPRSArg_sequence[] = {
6040   { &hf_camel_accessPointName, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_AccessPointName },
6041   { &hf_camel_pdpID         , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPID },
6042   { NULL, 0, 0, 0, NULL }
6043 };
6044 
6045 static int
dissect_camel_ConnectGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6046 dissect_camel_ConnectGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6047   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6048                                    ConnectGPRSArg_sequence, hf_index, ett_camel_ConnectGPRSArg);
6049 
6050   return offset;
6051 }
6052 
6053 
6054 static const ber_sequence_t ContinueGPRSArg_sequence[] = {
6055   { &hf_camel_pDPID         , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPID },
6056   { NULL, 0, 0, 0, NULL }
6057 };
6058 
6059 static int
dissect_camel_ContinueGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6060 dissect_camel_ContinueGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6061   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6062                                    ContinueGPRSArg_sequence, hf_index, ett_camel_ContinueGPRSArg);
6063 
6064   return offset;
6065 }
6066 
6067 
6068 static const ber_sequence_t EntityReleasedGPRSArg_sequence[] = {
6069   { &hf_camel_gPRSCause     , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_GPRSCause },
6070   { &hf_camel_pDPID         , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPID },
6071   { NULL, 0, 0, 0, NULL }
6072 };
6073 
6074 static int
dissect_camel_EntityReleasedGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6075 dissect_camel_EntityReleasedGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6076   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6077                                    EntityReleasedGPRSArg_sequence, hf_index, ett_camel_EntityReleasedGPRSArg);
6078 
6079   return offset;
6080 }
6081 
6082 
6083 static const ber_sequence_t EventReportGPRSArg_sequence[] = {
6084   { &hf_camel_gPRSEventType , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_GPRSEventType },
6085   { &hf_camel_miscGPRSInfo  , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_MiscCallInfo },
6086   { &hf_camel_gPRSEventSpecificInformation, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_GPRSEventSpecificInformation },
6087   { &hf_camel_pDPID         , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPID },
6088   { NULL, 0, 0, 0, NULL }
6089 };
6090 
6091 static int
dissect_camel_EventReportGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6092 dissect_camel_EventReportGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6093   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6094                                    EventReportGPRSArg_sequence, hf_index, ett_camel_EventReportGPRSArg);
6095 
6096   return offset;
6097 }
6098 
6099 
6100 
6101 static int
dissect_camel_FurnishChargingInformationGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6102 dissect_camel_FurnishChargingInformationGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6103   offset = dissect_camel_FCIGPRSBillingChargingCharacteristics(implicit_tag, tvb, offset, actx, tree, hf_index);
6104 
6105   return offset;
6106 }
6107 
6108 
6109 static const ber_sequence_t InitialDPGPRSArg_sequence[] = {
6110   { &hf_camel_serviceKey    , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_ServiceKey },
6111   { &hf_camel_gPRSEventType , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_GPRSEventType },
6112   { &hf_camel_mSISDN        , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_gsm_map_ISDN_AddressString },
6113   { &hf_camel_iMSI          , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_gsm_map_IMSI },
6114   { &hf_camel_timeAndTimeZone, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_camel_TimeAndTimezone },
6115   { &hf_camel_gPRSMSClass   , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_GPRSMSClass },
6116   { &hf_camel_endUserAddress, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_EndUserAddress },
6117   { &hf_camel_qualityOfService, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_QualityOfService },
6118   { &hf_camel_accessPointName, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_AccessPointName },
6119   { &hf_camel_routeingAreaIdentity, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_RAIdentity },
6120   { &hf_camel_chargingID    , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_GPRSChargingID },
6121   { &hf_camel_sGSNCapabilities, BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_SGSNCapabilities },
6122   { &hf_camel_locationInformationGPRS, BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_LocationInformationGPRS },
6123   { &hf_camel_pDPInitiationType, BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPInitiationType },
6124   { &hf_camel_extensions    , BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
6125   { &hf_camel_gGSNAddress   , BER_CLASS_CON, 15, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_GSN_Address },
6126   { &hf_camel_secondaryPDP_context, BER_CLASS_CON, 16, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NULL },
6127   { &hf_camel_iMEI          , BER_CLASS_CON, 17, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_IMEI },
6128   { NULL, 0, 0, 0, NULL }
6129 };
6130 
6131 static int
dissect_camel_InitialDPGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6132 dissect_camel_InitialDPGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6133   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6134                                    InitialDPGPRSArg_sequence, hf_index, ett_camel_InitialDPGPRSArg);
6135 
6136   return offset;
6137 }
6138 
6139 
6140 static const ber_sequence_t ReleaseGPRSArg_sequence[] = {
6141   { &hf_camel_gprsCause     , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_GPRSCause },
6142   { &hf_camel_pDPID         , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPID },
6143   { NULL, 0, 0, 0, NULL }
6144 };
6145 
6146 static int
dissect_camel_ReleaseGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6147 dissect_camel_ReleaseGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6148   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6149                                    ReleaseGPRSArg_sequence, hf_index, ett_camel_ReleaseGPRSArg);
6150 
6151   return offset;
6152 }
6153 
6154 
6155 static const ber_sequence_t SEQUENCE_SIZE_1_bound__numOfGPRSEvents_OF_GPRSEvent_sequence_of[1] = {
6156   { &hf_camel_gPRSEvent_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_camel_GPRSEvent },
6157 };
6158 
6159 static int
dissect_camel_SEQUENCE_SIZE_1_bound__numOfGPRSEvents_OF_GPRSEvent(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6160 dissect_camel_SEQUENCE_SIZE_1_bound__numOfGPRSEvents_OF_GPRSEvent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6161   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
6162                                       SEQUENCE_SIZE_1_bound__numOfGPRSEvents_OF_GPRSEvent_sequence_of, hf_index, ett_camel_SEQUENCE_SIZE_1_bound__numOfGPRSEvents_OF_GPRSEvent);
6163 
6164   return offset;
6165 }
6166 
6167 
6168 static const ber_sequence_t RequestReportGPRSEventArg_sequence[] = {
6169   { &hf_camel_gPRSEvent     , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_SEQUENCE_SIZE_1_bound__numOfGPRSEvents_OF_GPRSEvent },
6170   { &hf_camel_pDPID         , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_PDPID },
6171   { NULL, 0, 0, 0, NULL }
6172 };
6173 
6174 static int
dissect_camel_RequestReportGPRSEventArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6175 dissect_camel_RequestReportGPRSEventArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6176   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6177                                    RequestReportGPRSEventArg_sequence, hf_index, ett_camel_RequestReportGPRSEventArg);
6178 
6179   return offset;
6180 }
6181 
6182 
6183 static const ber_sequence_t ResetTimerGPRSArg_sequence[] = {
6184   { &hf_camel_timerID       , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TimerID },
6185   { &hf_camel_timervalue    , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_TimerValue },
6186   { NULL, 0, 0, 0, NULL }
6187 };
6188 
6189 static int
dissect_camel_ResetTimerGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6190 dissect_camel_ResetTimerGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6191   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6192                                    ResetTimerGPRSArg_sequence, hf_index, ett_camel_ResetTimerGPRSArg);
6193 
6194   return offset;
6195 }
6196 
6197 
6198 static const ber_sequence_t SendChargingInformationGPRSArg_sequence[] = {
6199   { &hf_camel_sCIGPRSBillingChargingCharacteristics, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_SCIGPRSBillingChargingCharacteristics },
6200   { NULL, 0, 0, 0, NULL }
6201 };
6202 
6203 static int
dissect_camel_SendChargingInformationGPRSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6204 dissect_camel_SendChargingInformationGPRSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6205   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6206                                    SendChargingInformationGPRSArg_sequence, hf_index, ett_camel_SendChargingInformationGPRSArg);
6207 
6208   return offset;
6209 }
6210 
6211 
6212 static const ber_sequence_t ConnectSMSArg_sequence[] = {
6213   { &hf_camel_callingPartysNumber, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_SMS_AddressString },
6214   { &hf_camel_destinationSubscriberNumber, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CalledPartyBCDNumber },
6215   { &hf_camel_sMSCAddress   , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ISDN_AddressString },
6216   { &hf_camel_extensions    , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
6217   { NULL, 0, 0, 0, NULL }
6218 };
6219 
6220 static int
dissect_camel_ConnectSMSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6221 dissect_camel_ConnectSMSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6222   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6223                                    ConnectSMSArg_sequence, hf_index, ett_camel_ConnectSMSArg);
6224 
6225   return offset;
6226 }
6227 
6228 
6229 static const ber_sequence_t EventReportSMSArg_sequence[] = {
6230   { &hf_camel_eventTypeSMS  , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_EventTypeSMS },
6231   { &hf_camel_eventSpecificInformationSMS, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_EventSpecificInformationSMS },
6232   { &hf_camel_miscCallInfo  , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_inap_MiscCallInfo },
6233   { &hf_camel_extensions    , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
6234   { NULL, 0, 0, 0, NULL }
6235 };
6236 
6237 static int
dissect_camel_EventReportSMSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6238 dissect_camel_EventReportSMSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6239   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6240                                    EventReportSMSArg_sequence, hf_index, ett_camel_EventReportSMSArg);
6241 
6242   return offset;
6243 }
6244 
6245 
6246 
6247 static int
dissect_camel_FurnishChargingInformationSMSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6248 dissect_camel_FurnishChargingInformationSMSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6249   offset = dissect_camel_FCISMSBillingChargingCharacteristics(implicit_tag, tvb, offset, actx, tree, hf_index);
6250 
6251   return offset;
6252 }
6253 
6254 
6255 static const ber_sequence_t InitialDPSMSArg_sequence[] = {
6256   { &hf_camel_serviceKey    , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inap_ServiceKey },
6257   { &hf_camel_destinationSubscriberNumber, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CalledPartyBCDNumber },
6258   { &hf_camel_callingPartyNumber_01, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_SMS_AddressString },
6259   { &hf_camel_eventTypeSMS  , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_EventTypeSMS },
6260   { &hf_camel_iMSI          , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_IMSI },
6261   { &hf_camel_locationInformationMSC, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_LocationInformation },
6262   { &hf_camel_locationInformationGPRS, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_LocationInformationGPRS },
6263   { &hf_camel_sMSCAddress   , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ISDN_AddressString },
6264   { &hf_camel_timeAndTimezone, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TimeAndTimezone },
6265   { &hf_camel_tPShortMessageSpecificInfo, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TPShortMessageSpecificInfo },
6266   { &hf_camel_tPProtocolIdentifier, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TPProtocolIdentifier },
6267   { &hf_camel_tPDataCodingScheme, BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TPDataCodingScheme },
6268   { &hf_camel_tPValidityPeriod, BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TPValidityPeriod },
6269   { &hf_camel_extensions    , BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
6270   { &hf_camel_smsReferenceNumber, BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ch_CallReferenceNumber },
6271   { &hf_camel_mscAddress    , BER_CLASS_CON, 15, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ISDN_AddressString },
6272   { &hf_camel_sgsn_Number   , BER_CLASS_CON, 16, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ISDN_AddressString },
6273   { &hf_camel_ms_Classmark2 , BER_CLASS_CON, 17, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_MS_Classmark2 },
6274   { &hf_camel_gPRSMSClass   , BER_CLASS_CON, 18, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ms_GPRSMSClass },
6275   { &hf_camel_iMEI          , BER_CLASS_CON, 19, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_IMEI },
6276   { &hf_camel_calledPartyNumber_01, BER_CLASS_CON, 20, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ISDN_AddressString },
6277   { NULL, 0, 0, 0, NULL }
6278 };
6279 
6280 static int
dissect_camel_InitialDPSMSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6281 dissect_camel_InitialDPSMSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6282   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6283                                    InitialDPSMSArg_sequence, hf_index, ett_camel_InitialDPSMSArg);
6284 
6285   return offset;
6286 }
6287 
6288 
6289 
6290 static int
dissect_camel_ReleaseSMSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6291 dissect_camel_ReleaseSMSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6292   offset = dissect_camel_RPCause(implicit_tag, tvb, offset, actx, tree, hf_index);
6293 
6294   return offset;
6295 }
6296 
6297 
6298 static const ber_sequence_t SEQUENCE_SIZE_1_bound__numOfSMSEvents_OF_SMSEvent_sequence_of[1] = {
6299   { &hf_camel_sMSEvents_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_camel_SMSEvent },
6300 };
6301 
6302 static int
dissect_camel_SEQUENCE_SIZE_1_bound__numOfSMSEvents_OF_SMSEvent(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6303 dissect_camel_SEQUENCE_SIZE_1_bound__numOfSMSEvents_OF_SMSEvent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6304   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
6305                                       SEQUENCE_SIZE_1_bound__numOfSMSEvents_OF_SMSEvent_sequence_of, hf_index, ett_camel_SEQUENCE_SIZE_1_bound__numOfSMSEvents_OF_SMSEvent);
6306 
6307   return offset;
6308 }
6309 
6310 
6311 static const ber_sequence_t RequestReportSMSEventArg_sequence[] = {
6312   { &hf_camel_sMSEvents     , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_SEQUENCE_SIZE_1_bound__numOfSMSEvents_OF_SMSEvent },
6313   { &hf_camel_extensions    , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
6314   { NULL, 0, 0, 0, NULL }
6315 };
6316 
6317 static int
dissect_camel_RequestReportSMSEventArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6318 dissect_camel_RequestReportSMSEventArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6319   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6320                                    RequestReportSMSEventArg_sequence, hf_index, ett_camel_RequestReportSMSEventArg);
6321 
6322   return offset;
6323 }
6324 
6325 
6326 static const ber_sequence_t ResetTimerSMSArg_sequence[] = {
6327   { &hf_camel_timerID       , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_TimerID },
6328   { &hf_camel_timervalue    , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_TimerValue },
6329   { &hf_camel_extensions    , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_Extensions },
6330   { NULL, 0, 0, 0, NULL }
6331 };
6332 
6333 static int
dissect_camel_ResetTimerSMSArg(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6334 dissect_camel_ResetTimerSMSArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6335   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6336                                    ResetTimerSMSArg_sequence, hf_index, ett_camel_ResetTimerSMSArg);
6337 
6338   return offset;
6339 }
6340 
6341 
6342 static const value_string camel_CAP_U_ABORT_REASON_vals[] = {
6343   {   1, "no-reason-given" },
6344   {   2, "application-timer-expired" },
6345   {   3, "not-allowed-procedures" },
6346   {   4, "abnormal-processing" },
6347   {   5, "congestion" },
6348   {   6, "invalid-reference" },
6349   {   7, "missing-reference" },
6350   {   8, "overlapping-dialogue" },
6351   { 0, NULL }
6352 };
6353 
6354 
6355 static int
dissect_camel_CAP_U_ABORT_REASON(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6356 dissect_camel_CAP_U_ABORT_REASON(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6357   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
6358                                   NULL);
6359 
6360   return offset;
6361 }
6362 
6363 
6364 static const ber_sequence_t SEQUENCE_SIZE_1_numOfExtensions_OF_ExtensionField_sequence_of[1] = {
6365   { &hf_camel_extensions_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_camel_ExtensionField },
6366 };
6367 
6368 static int
dissect_camel_SEQUENCE_SIZE_1_numOfExtensions_OF_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_)6369 dissect_camel_SEQUENCE_SIZE_1_numOfExtensions_OF_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_) {
6370   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
6371                                       SEQUENCE_SIZE_1_numOfExtensions_OF_ExtensionField_sequence_of, hf_index, ett_camel_SEQUENCE_SIZE_1_numOfExtensions_OF_ExtensionField);
6372 
6373   return offset;
6374 }
6375 
6376 
6377 
6378 static int
dissect_camel_NACarrierSelectionInfo(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6379 dissect_camel_NACarrierSelectionInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6380   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
6381                                        NULL);
6382 
6383   return offset;
6384 }
6385 
6386 
6387 static const ber_sequence_t NACarrierInformation_sequence[] = {
6388   { &hf_camel_naCarrierId   , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_NAEA_CIC },
6389   { &hf_camel_naCICSelectionType, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NACarrierSelectionInfo },
6390   { NULL, 0, 0, 0, NULL }
6391 };
6392 
6393 static int
dissect_camel_NACarrierInformation(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6394 dissect_camel_NACarrierInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6395   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6396                                    NACarrierInformation_sequence, hf_index, ett_camel_NACarrierInformation);
6397 
6398   return offset;
6399 }
6400 
6401 
6402 
6403 static int
dissect_camel_NAChargeNumber(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6404 dissect_camel_NAChargeNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6405   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
6406                                        NULL);
6407 
6408   return offset;
6409 }
6410 
6411 
6412 static const ber_sequence_t NA_Info_sequence[] = {
6413   { &hf_camel_naCarrierInformation, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NACarrierInformation },
6414   { &hf_camel_naOliInfo     , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NAOliInfo },
6415   { &hf_camel_naChargeNumber, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NAChargeNumber },
6416   { NULL, 0, 0, 0, NULL }
6417 };
6418 
6419 static int
dissect_camel_NA_Info(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6420 dissect_camel_NA_Info(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6421   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6422                                    NA_Info_sequence, hf_index, ett_camel_NA_Info);
6423 
6424   return offset;
6425 }
6426 
6427 
6428 static const ber_sequence_t EstablishTemporaryConnectionArgV2_sequence[] = {
6429   { &hf_camel_assistingSSPIPRoutingAddress, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_AssistingSSPIPRoutingAddress },
6430   { &hf_camel_correlationID , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_CorrelationID },
6431   { &hf_camel_scfID         , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ScfID },
6432   { &hf_camel_extensions_01 , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_SEQUENCE_SIZE_1_numOfExtensions_OF_ExtensionField },
6433   { &hf_camel_serviceInteractionIndicatorsTwo, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ServiceInteractionIndicatorsTwo },
6434   { &hf_camel_na_info       , BER_CLASS_CON, 50, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NA_Info },
6435   { NULL, 0, 0, 0, NULL }
6436 };
6437 
6438 static int
dissect_camel_EstablishTemporaryConnectionArgV2(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6439 dissect_camel_EstablishTemporaryConnectionArgV2(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6440   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6441                                    EstablishTemporaryConnectionArgV2_sequence, hf_index, ett_camel_EstablishTemporaryConnectionArgV2);
6442 
6443   return offset;
6444 }
6445 
6446 
6447 static const ber_sequence_t InitialDPArgExtensionV2_sequence[] = {
6448   { &hf_camel_naCarrierInformation, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_NACarrierInformation },
6449   { &hf_camel_gmscAddress   , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_gsm_map_ISDN_AddressString },
6450   { NULL, 0, 0, 0, NULL }
6451 };
6452 
6453 static int
dissect_camel_InitialDPArgExtensionV2(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6454 dissect_camel_InitialDPArgExtensionV2(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6455   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6456                                    InitialDPArgExtensionV2_sequence, hf_index, ett_camel_InitialDPArgExtensionV2);
6457 
6458   return offset;
6459 }
6460 
6461 
6462 static const ber_sequence_t ReleaseIfDurationExceeded_sequence[] = {
6463   { &hf_camel_tone_01       , BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_camel_BOOLEAN },
6464   { &hf_camel_extensions_01 , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_SEQUENCE_SIZE_1_numOfExtensions_OF_ExtensionField },
6465   { NULL, 0, 0, 0, NULL }
6466 };
6467 
6468 static int
dissect_camel_ReleaseIfDurationExceeded(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6469 dissect_camel_ReleaseIfDurationExceeded(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6470   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6471                                    ReleaseIfDurationExceeded_sequence, hf_index, ett_camel_ReleaseIfDurationExceeded);
6472 
6473   return offset;
6474 }
6475 
6476 
6477 static const ber_sequence_t T_timeDurationCharging_01_sequence[] = {
6478   { &hf_camel_maxCallPeriodDuration, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_864000 },
6479   { &hf_camel_releaseIfdurationExceeded_01, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_ReleaseIfDurationExceeded },
6480   { &hf_camel_tariffSwitchInterval, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_camel_INTEGER_1_86400 },
6481   { NULL, 0, 0, 0, NULL }
6482 };
6483 
6484 static int
dissect_camel_T_timeDurationCharging_01(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6485 dissect_camel_T_timeDurationCharging_01(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6486   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6487                                    T_timeDurationCharging_01_sequence, hf_index, ett_camel_T_timeDurationCharging_01);
6488 
6489   return offset;
6490 }
6491 
6492 
6493 static const ber_choice_t CAMEL_AChBillingChargingCharacteristicsV2_choice[] = {
6494   {   0, &hf_camel_timeDurationCharging_01, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_timeDurationCharging_01 },
6495   { 0, NULL, 0, 0, 0, NULL }
6496 };
6497 
6498 static int
dissect_camel_CAMEL_AChBillingChargingCharacteristicsV2(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6499 dissect_camel_CAMEL_AChBillingChargingCharacteristicsV2(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6500   offset = dissect_ber_choice(actx, tree, tvb, offset,
6501                                  CAMEL_AChBillingChargingCharacteristicsV2_choice, hf_index, ett_camel_CAMEL_AChBillingChargingCharacteristicsV2,
6502                                  NULL);
6503 
6504   return offset;
6505 }
6506 
6507 
6508 
6509 static int
dissect_camel_SpecializedResourceReportArgV23(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6510 dissect_camel_SpecializedResourceReportArgV23(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6511   offset = dissect_ber_null(implicit_tag, actx, tree, tvb, offset, hf_index);
6512 
6513   return offset;
6514 }
6515 
6516 
6517 
6518 static int
dissect_camel_INTEGER(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6519 dissect_camel_INTEGER(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6520   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
6521                                                 NULL);
6522 
6523   return offset;
6524 }
6525 
6526 
6527 static const value_string camel_InvokeId_vals[] = {
6528   {   0, "present" },
6529   {   1, "absent" },
6530   { 0, NULL }
6531 };
6532 
6533 static const ber_choice_t InvokeId_choice[] = {
6534   {   0, &hf_camel_present       , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_camel_INTEGER },
6535   {   1, &hf_camel_absent        , BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_camel_NULL },
6536   { 0, NULL, 0, 0, 0, NULL }
6537 };
6538 
6539 static int
dissect_camel_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_)6540 dissect_camel_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_) {
6541   offset = dissect_ber_choice(actx, tree, tvb, offset,
6542                                  InvokeId_choice, hf_index, ett_camel_InvokeId,
6543                                  NULL);
6544 
6545   return offset;
6546 }
6547 
6548 
6549 
6550 static int
dissect_camel_InvokeId_present(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6551 dissect_camel_InvokeId_present(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6552   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
6553                                                 NULL);
6554 
6555   return offset;
6556 }
6557 
6558 
6559 
6560 static int
dissect_camel_T_linkedIdPresent(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6561 dissect_camel_T_linkedIdPresent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6562   offset = dissect_camel_InvokeId_present(implicit_tag, tvb, offset, actx, tree, hf_index);
6563 
6564   return offset;
6565 }
6566 
6567 
6568 static const value_string camel_T_linkedId_vals[] = {
6569   {   0, "present" },
6570   {   1, "absent" },
6571   { 0, NULL }
6572 };
6573 
6574 static const ber_choice_t T_linkedId_choice[] = {
6575   {   0, &hf_camel_linkedIdPresent, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_T_linkedIdPresent },
6576   {   1, &hf_camel_absent        , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_NULL },
6577   { 0, NULL, 0, 0, 0, NULL }
6578 };
6579 
6580 static int
dissect_camel_T_linkedId(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6581 dissect_camel_T_linkedId(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6582   offset = dissect_ber_choice(actx, tree, tvb, offset,
6583                                  T_linkedId_choice, hf_index, ett_camel_T_linkedId,
6584                                  NULL);
6585 
6586   return offset;
6587 }
6588 
6589 
6590 
6591 static int
dissect_camel_T_argument(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6592 dissect_camel_T_argument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6593 	offset = dissect_invokeData(tree, tvb, offset, actx);
6594 
6595 
6596   return offset;
6597 }
6598 
6599 
6600 static const ber_sequence_t Invoke_sequence[] = {
6601   { &hf_camel_invokeId      , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_InvokeId },
6602   { &hf_camel_linkedId      , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_T_linkedId },
6603   { &hf_camel_opcode        , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_Code },
6604   { &hf_camel_argument      , BER_CLASS_ANY, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_camel_T_argument },
6605   { NULL, 0, 0, 0, NULL }
6606 };
6607 
6608 static int
dissect_camel_Invoke(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6609 dissect_camel_Invoke(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6610   camel_opcode_type=CAMEL_OPCODE_INVOKE;
6611 
6612   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6613                                    Invoke_sequence, hf_index, ett_camel_Invoke);
6614 
6615   return offset;
6616 }
6617 
6618 
6619 
6620 static int
dissect_camel_ResultArgument(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6621 dissect_camel_ResultArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6622 	offset = dissect_returnResultData(tree, tvb, offset, actx);
6623 
6624 
6625   return offset;
6626 }
6627 
6628 
6629 static const ber_sequence_t T_result_sequence[] = {
6630   { &hf_camel_opcode        , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_Code },
6631   { &hf_camel_resultArgument, BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_camel_ResultArgument },
6632   { NULL, 0, 0, 0, NULL }
6633 };
6634 
6635 static int
dissect_camel_T_result(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6636 dissect_camel_T_result(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6637   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6638                                    T_result_sequence, hf_index, ett_camel_T_result);
6639 
6640   return offset;
6641 }
6642 
6643 
6644 static const ber_sequence_t ReturnResult_sequence[] = {
6645   { &hf_camel_invokeId      , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_InvokeId },
6646   { &hf_camel_result        , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_camel_T_result },
6647   { NULL, 0, 0, 0, NULL }
6648 };
6649 
6650 static int
dissect_camel_ReturnResult(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6651 dissect_camel_ReturnResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6652   camel_opcode_type=CAMEL_OPCODE_RETURN_RESULT;
6653 
6654   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6655                                    ReturnResult_sequence, hf_index, ett_camel_ReturnResult);
6656 
6657   return offset;
6658 }
6659 
6660 
6661 
6662 static int
dissect_camel_T_parameter(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6663 dissect_camel_T_parameter(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6664 	offset = dissect_returnErrorData(tree, tvb, offset, actx);
6665 
6666 
6667 
6668   return offset;
6669 }
6670 
6671 
6672 static const ber_sequence_t ReturnError_sequence[] = {
6673   { &hf_camel_invokeId      , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_InvokeId },
6674   { &hf_camel_errcode       , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_Code },
6675   { &hf_camel_parameter     , BER_CLASS_ANY, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_camel_T_parameter },
6676   { NULL, 0, 0, 0, NULL }
6677 };
6678 
6679 static int
dissect_camel_ReturnError(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6680 dissect_camel_ReturnError(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6681   camel_opcode_type=CAMEL_OPCODE_RETURN_ERROR;
6682 
6683   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6684                                    ReturnError_sequence, hf_index, ett_camel_ReturnError);
6685 
6686   return offset;
6687 }
6688 
6689 
6690 static const value_string camel_GeneralProblem_vals[] = {
6691   {   0, "unrecognizedPDU" },
6692   {   1, "mistypedPDU" },
6693   {   2, "badlyStructuredPDU" },
6694   { 0, NULL }
6695 };
6696 
6697 
6698 static int
dissect_camel_GeneralProblem(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6699 dissect_camel_GeneralProblem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6700   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
6701                                                 NULL);
6702 
6703   return offset;
6704 }
6705 
6706 
6707 static const value_string camel_InvokeProblem_vals[] = {
6708   {   0, "duplicateInvocation" },
6709   {   1, "unrecognizedOperation" },
6710   {   2, "mistypedArgument" },
6711   {   3, "resourceLimitation" },
6712   {   4, "releaseInProgress" },
6713   {   5, "unrecognizedLinkedId" },
6714   {   6, "linkedResponseUnexpected" },
6715   {   7, "unexpectedLinkedOperation" },
6716   { 0, NULL }
6717 };
6718 
6719 
6720 static int
dissect_camel_InvokeProblem(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6721 dissect_camel_InvokeProblem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6722   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
6723                                                 NULL);
6724 
6725   return offset;
6726 }
6727 
6728 
6729 static const value_string camel_ReturnResultProblem_vals[] = {
6730   {   0, "unrecognizedInvocation" },
6731   {   1, "resultResponseUnexpected" },
6732   {   2, "mistypedResult" },
6733   { 0, NULL }
6734 };
6735 
6736 
6737 static int
dissect_camel_ReturnResultProblem(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6738 dissect_camel_ReturnResultProblem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6739   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
6740                                                 NULL);
6741 
6742   return offset;
6743 }
6744 
6745 
6746 static const value_string camel_ReturnErrorProblem_vals[] = {
6747   {   0, "unrecognizedInvocation" },
6748   {   1, "errorResponseUnexpected" },
6749   {   2, "unrecognizedError" },
6750   {   3, "unexpectedError" },
6751   {   4, "mistypedParameter" },
6752   { 0, NULL }
6753 };
6754 
6755 
6756 static int
dissect_camel_ReturnErrorProblem(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6757 dissect_camel_ReturnErrorProblem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6758   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
6759                                                 NULL);
6760 
6761   return offset;
6762 }
6763 
6764 
6765 static const value_string camel_T_problem_vals[] = {
6766   {   0, "general" },
6767   {   1, "invoke" },
6768   {   2, "returnResult" },
6769   {   3, "returnError" },
6770   { 0, NULL }
6771 };
6772 
6773 static const ber_choice_t T_problem_choice[] = {
6774   {   0, &hf_camel_general       , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_camel_GeneralProblem },
6775   {   1, &hf_camel_invokeProblem , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_InvokeProblem },
6776   {   2, &hf_camel_problemReturnResult, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_ReturnResultProblem },
6777   {   3, &hf_camel_returnErrorProblem, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_camel_ReturnErrorProblem },
6778   { 0, NULL, 0, 0, 0, NULL }
6779 };
6780 
6781 static int
dissect_camel_T_problem(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6782 dissect_camel_T_problem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6783   offset = dissect_ber_choice(actx, tree, tvb, offset,
6784                                  T_problem_choice, hf_index, ett_camel_T_problem,
6785                                  NULL);
6786 
6787   return offset;
6788 }
6789 
6790 
6791 static const ber_sequence_t Reject_sequence[] = {
6792   { &hf_camel_invokeId      , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_InvokeId },
6793   { &hf_camel_problem       , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_camel_T_problem },
6794   { NULL, 0, 0, 0, NULL }
6795 };
6796 
6797 static int
dissect_camel_Reject(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6798 dissect_camel_Reject(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6799   camel_opcode_type=CAMEL_OPCODE_REJECT;
6800 
6801 
6802   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
6803                                    Reject_sequence, hf_index, ett_camel_Reject);
6804 
6805   return offset;
6806 }
6807 
6808 
6809 static const ber_choice_t ROS_choice[] = {
6810   {   1, &hf_camel_invoke        , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camel_Invoke },
6811   {   2, &hf_camel_returnResult  , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_camel_ReturnResult },
6812   {   3, &hf_camel_returnError   , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_camel_ReturnError },
6813   {   4, &hf_camel_reject        , BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_camel_Reject },
6814   { 0, NULL, 0, 0, 0, NULL }
6815 };
6816 
6817 static int
dissect_camel_ROS(gboolean implicit_tag _U_,tvbuff_t * tvb _U_,int offset _U_,asn1_ctx_t * actx _U_,proto_tree * tree _U_,int hf_index _U_)6818 dissect_camel_ROS(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
6819   offset = dissect_ber_choice(actx, tree, tvb, offset,
6820                                  ROS_choice, hf_index, ett_camel_ROS,
6821                                  NULL);
6822 
6823   return offset;
6824 }
6825 
6826 /*--- PDUs ---*/
6827 
dissect_PAR_cancelFailed_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6828 static int dissect_PAR_cancelFailed_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6829   int offset = 0;
6830   asn1_ctx_t asn1_ctx;
6831   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6832   offset = dissect_camel_PAR_cancelFailed(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_PAR_cancelFailed_PDU);
6833   return offset;
6834 }
dissect_PAR_requestedInfoError_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6835 static int dissect_PAR_requestedInfoError_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6836   int offset = 0;
6837   asn1_ctx_t asn1_ctx;
6838   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6839   offset = dissect_camel_PAR_requestedInfoError(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_PAR_requestedInfoError_PDU);
6840   return offset;
6841 }
dissect_UnavailableNetworkResource_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6842 static int dissect_UnavailableNetworkResource_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6843   int offset = 0;
6844   asn1_ctx_t asn1_ctx;
6845   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6846   offset = dissect_camel_UnavailableNetworkResource(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_UnavailableNetworkResource_PDU);
6847   return offset;
6848 }
dissect_PAR_taskRefused_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6849 static int dissect_PAR_taskRefused_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6850   int offset = 0;
6851   asn1_ctx_t asn1_ctx;
6852   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6853   offset = dissect_camel_PAR_taskRefused(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_PAR_taskRefused_PDU);
6854   return offset;
6855 }
dissect_CAP_GPRS_ReferenceNumber_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6856 static int dissect_CAP_GPRS_ReferenceNumber_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6857   int offset = 0;
6858   asn1_ctx_t asn1_ctx;
6859   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6860   offset = dissect_camel_CAP_GPRS_ReferenceNumber(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_CAP_GPRS_ReferenceNumber_PDU);
6861   return offset;
6862 }
dissect_PlayAnnouncementArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6863 static int dissect_PlayAnnouncementArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6864   int offset = 0;
6865   asn1_ctx_t asn1_ctx;
6866   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6867   offset = dissect_camel_PlayAnnouncementArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_PlayAnnouncementArg_PDU);
6868   return offset;
6869 }
dissect_PromptAndCollectUserInformationArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6870 static int dissect_PromptAndCollectUserInformationArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6871   int offset = 0;
6872   asn1_ctx_t asn1_ctx;
6873   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6874   offset = dissect_camel_PromptAndCollectUserInformationArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_PromptAndCollectUserInformationArg_PDU);
6875   return offset;
6876 }
dissect_ReceivedInformationArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6877 static int dissect_ReceivedInformationArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6878   int offset = 0;
6879   asn1_ctx_t asn1_ctx;
6880   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6881   offset = dissect_camel_ReceivedInformationArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ReceivedInformationArg_PDU);
6882   return offset;
6883 }
dissect_SpecializedResourceReportArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6884 static int dissect_SpecializedResourceReportArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6885   int offset = 0;
6886   asn1_ctx_t asn1_ctx;
6887   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6888   offset = dissect_camel_SpecializedResourceReportArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_SpecializedResourceReportArg_PDU);
6889   return offset;
6890 }
dissect_ApplyChargingArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6891 static int dissect_ApplyChargingArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6892   int offset = 0;
6893   asn1_ctx_t asn1_ctx;
6894   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6895   offset = dissect_camel_ApplyChargingArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ApplyChargingArg_PDU);
6896   return offset;
6897 }
dissect_ApplyChargingReportArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6898 static int dissect_ApplyChargingReportArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6899   int offset = 0;
6900   asn1_ctx_t asn1_ctx;
6901   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6902   offset = dissect_camel_ApplyChargingReportArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ApplyChargingReportArg_PDU);
6903   return offset;
6904 }
dissect_AssistRequestInstructionsArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6905 static int dissect_AssistRequestInstructionsArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6906   int offset = 0;
6907   asn1_ctx_t asn1_ctx;
6908   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6909   offset = dissect_camel_AssistRequestInstructionsArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_AssistRequestInstructionsArg_PDU);
6910   return offset;
6911 }
dissect_CallGapArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6912 static int dissect_CallGapArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6913   int offset = 0;
6914   asn1_ctx_t asn1_ctx;
6915   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6916   offset = dissect_camel_CallGapArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_CallGapArg_PDU);
6917   return offset;
6918 }
dissect_CallInformationReportArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6919 static int dissect_CallInformationReportArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6920   int offset = 0;
6921   asn1_ctx_t asn1_ctx;
6922   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6923   offset = dissect_camel_CallInformationReportArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_CallInformationReportArg_PDU);
6924   return offset;
6925 }
dissect_CallInformationRequestArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6926 static int dissect_CallInformationRequestArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6927   int offset = 0;
6928   asn1_ctx_t asn1_ctx;
6929   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6930   offset = dissect_camel_CallInformationRequestArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_CallInformationRequestArg_PDU);
6931   return offset;
6932 }
dissect_CancelArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6933 static int dissect_CancelArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6934   int offset = 0;
6935   asn1_ctx_t asn1_ctx;
6936   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6937   offset = dissect_camel_CancelArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_CancelArg_PDU);
6938   return offset;
6939 }
dissect_CollectInformationArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6940 static int dissect_CollectInformationArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6941   int offset = 0;
6942   asn1_ctx_t asn1_ctx;
6943   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6944   offset = dissect_camel_CollectInformationArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_CollectInformationArg_PDU);
6945   return offset;
6946 }
dissect_ConnectArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6947 static int dissect_ConnectArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6948   int offset = 0;
6949   asn1_ctx_t asn1_ctx;
6950   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6951   offset = dissect_camel_ConnectArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ConnectArg_PDU);
6952   return offset;
6953 }
dissect_ConnectToResourceArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6954 static int dissect_ConnectToResourceArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6955   int offset = 0;
6956   asn1_ctx_t asn1_ctx;
6957   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6958   offset = dissect_camel_ConnectToResourceArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ConnectToResourceArg_PDU);
6959   return offset;
6960 }
dissect_ContinueWithArgumentArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6961 static int dissect_ContinueWithArgumentArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6962   int offset = 0;
6963   asn1_ctx_t asn1_ctx;
6964   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6965   offset = dissect_camel_ContinueWithArgumentArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ContinueWithArgumentArg_PDU);
6966   return offset;
6967 }
dissect_DisconnectForwardConnectionWithArgumentArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6968 static int dissect_DisconnectForwardConnectionWithArgumentArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6969   int offset = 0;
6970   asn1_ctx_t asn1_ctx;
6971   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6972   offset = dissect_camel_DisconnectForwardConnectionWithArgumentArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_DisconnectForwardConnectionWithArgumentArg_PDU);
6973   return offset;
6974 }
dissect_DisconnectLegArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6975 static int dissect_DisconnectLegArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6976   int offset = 0;
6977   asn1_ctx_t asn1_ctx;
6978   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6979   offset = dissect_camel_DisconnectLegArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_DisconnectLegArg_PDU);
6980   return offset;
6981 }
dissect_EntityReleasedArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6982 static int dissect_EntityReleasedArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6983   int offset = 0;
6984   asn1_ctx_t asn1_ctx;
6985   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6986   offset = dissect_camel_EntityReleasedArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_EntityReleasedArg_PDU);
6987   return offset;
6988 }
dissect_EstablishTemporaryConnectionArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6989 static int dissect_EstablishTemporaryConnectionArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6990   int offset = 0;
6991   asn1_ctx_t asn1_ctx;
6992   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
6993   offset = dissect_camel_EstablishTemporaryConnectionArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_EstablishTemporaryConnectionArg_PDU);
6994   return offset;
6995 }
dissect_EventReportBCSMArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)6996 static int dissect_EventReportBCSMArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
6997   int offset = 0;
6998   asn1_ctx_t asn1_ctx;
6999   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7000   offset = dissect_camel_EventReportBCSMArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_EventReportBCSMArg_PDU);
7001   return offset;
7002 }
dissect_FurnishChargingInformationArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7003 static int dissect_FurnishChargingInformationArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7004   int offset = 0;
7005   asn1_ctx_t asn1_ctx;
7006   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7007   offset = dissect_camel_FurnishChargingInformationArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_FurnishChargingInformationArg_PDU);
7008   return offset;
7009 }
dissect_InitialDPArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7010 static int dissect_InitialDPArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7011   int offset = 0;
7012   asn1_ctx_t asn1_ctx;
7013   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7014   offset = dissect_camel_InitialDPArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_InitialDPArg_PDU);
7015   return offset;
7016 }
dissect_InitiateCallAttemptArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7017 static int dissect_InitiateCallAttemptArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7018   int offset = 0;
7019   asn1_ctx_t asn1_ctx;
7020   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7021   offset = dissect_camel_InitiateCallAttemptArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_InitiateCallAttemptArg_PDU);
7022   return offset;
7023 }
dissect_InitiateCallAttemptRes_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7024 static int dissect_InitiateCallAttemptRes_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7025   int offset = 0;
7026   asn1_ctx_t asn1_ctx;
7027   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7028   offset = dissect_camel_InitiateCallAttemptRes(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_InitiateCallAttemptRes_PDU);
7029   return offset;
7030 }
dissect_MoveLegArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7031 static int dissect_MoveLegArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7032   int offset = 0;
7033   asn1_ctx_t asn1_ctx;
7034   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7035   offset = dissect_camel_MoveLegArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_MoveLegArg_PDU);
7036   return offset;
7037 }
dissect_PlayToneArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7038 static int dissect_PlayToneArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7039   int offset = 0;
7040   asn1_ctx_t asn1_ctx;
7041   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7042   offset = dissect_camel_PlayToneArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_PlayToneArg_PDU);
7043   return offset;
7044 }
dissect_ReleaseCallArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7045 static int dissect_ReleaseCallArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7046   int offset = 0;
7047   asn1_ctx_t asn1_ctx;
7048   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7049   offset = dissect_camel_ReleaseCallArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ReleaseCallArg_PDU);
7050   return offset;
7051 }
dissect_RequestReportBCSMEventArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7052 static int dissect_RequestReportBCSMEventArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7053   int offset = 0;
7054   asn1_ctx_t asn1_ctx;
7055   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7056   offset = dissect_camel_RequestReportBCSMEventArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_RequestReportBCSMEventArg_PDU);
7057   return offset;
7058 }
dissect_ResetTimerArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7059 static int dissect_ResetTimerArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7060   int offset = 0;
7061   asn1_ctx_t asn1_ctx;
7062   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7063   offset = dissect_camel_ResetTimerArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ResetTimerArg_PDU);
7064   return offset;
7065 }
dissect_SendChargingInformationArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7066 static int dissect_SendChargingInformationArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7067   int offset = 0;
7068   asn1_ctx_t asn1_ctx;
7069   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7070   offset = dissect_camel_SendChargingInformationArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_SendChargingInformationArg_PDU);
7071   return offset;
7072 }
dissect_SplitLegArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7073 static int dissect_SplitLegArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7074   int offset = 0;
7075   asn1_ctx_t asn1_ctx;
7076   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7077   offset = dissect_camel_SplitLegArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_SplitLegArg_PDU);
7078   return offset;
7079 }
dissect_ApplyChargingGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7080 static int dissect_ApplyChargingGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7081   int offset = 0;
7082   asn1_ctx_t asn1_ctx;
7083   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7084   offset = dissect_camel_ApplyChargingGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ApplyChargingGPRSArg_PDU);
7085   return offset;
7086 }
dissect_ApplyChargingReportGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7087 static int dissect_ApplyChargingReportGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7088   int offset = 0;
7089   asn1_ctx_t asn1_ctx;
7090   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7091   offset = dissect_camel_ApplyChargingReportGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ApplyChargingReportGPRSArg_PDU);
7092   return offset;
7093 }
dissect_CancelGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7094 static int dissect_CancelGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7095   int offset = 0;
7096   asn1_ctx_t asn1_ctx;
7097   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7098   offset = dissect_camel_CancelGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_CancelGPRSArg_PDU);
7099   return offset;
7100 }
dissect_ConnectGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7101 static int dissect_ConnectGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7102   int offset = 0;
7103   asn1_ctx_t asn1_ctx;
7104   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7105   offset = dissect_camel_ConnectGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ConnectGPRSArg_PDU);
7106   return offset;
7107 }
dissect_ContinueGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7108 static int dissect_ContinueGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7109   int offset = 0;
7110   asn1_ctx_t asn1_ctx;
7111   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7112   offset = dissect_camel_ContinueGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ContinueGPRSArg_PDU);
7113   return offset;
7114 }
dissect_EntityReleasedGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7115 static int dissect_EntityReleasedGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7116   int offset = 0;
7117   asn1_ctx_t asn1_ctx;
7118   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7119   offset = dissect_camel_EntityReleasedGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_EntityReleasedGPRSArg_PDU);
7120   return offset;
7121 }
dissect_EventReportGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7122 static int dissect_EventReportGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7123   int offset = 0;
7124   asn1_ctx_t asn1_ctx;
7125   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7126   offset = dissect_camel_EventReportGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_EventReportGPRSArg_PDU);
7127   return offset;
7128 }
dissect_FurnishChargingInformationGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7129 static int dissect_FurnishChargingInformationGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7130   int offset = 0;
7131   asn1_ctx_t asn1_ctx;
7132   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7133   offset = dissect_camel_FurnishChargingInformationGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_FurnishChargingInformationGPRSArg_PDU);
7134   return offset;
7135 }
dissect_InitialDPGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7136 static int dissect_InitialDPGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7137   int offset = 0;
7138   asn1_ctx_t asn1_ctx;
7139   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7140   offset = dissect_camel_InitialDPGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_InitialDPGPRSArg_PDU);
7141   return offset;
7142 }
dissect_ReleaseGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7143 static int dissect_ReleaseGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7144   int offset = 0;
7145   asn1_ctx_t asn1_ctx;
7146   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7147   offset = dissect_camel_ReleaseGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ReleaseGPRSArg_PDU);
7148   return offset;
7149 }
dissect_RequestReportGPRSEventArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7150 static int dissect_RequestReportGPRSEventArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7151   int offset = 0;
7152   asn1_ctx_t asn1_ctx;
7153   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7154   offset = dissect_camel_RequestReportGPRSEventArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_RequestReportGPRSEventArg_PDU);
7155   return offset;
7156 }
dissect_ResetTimerGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7157 static int dissect_ResetTimerGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7158   int offset = 0;
7159   asn1_ctx_t asn1_ctx;
7160   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7161   offset = dissect_camel_ResetTimerGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ResetTimerGPRSArg_PDU);
7162   return offset;
7163 }
dissect_SendChargingInformationGPRSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7164 static int dissect_SendChargingInformationGPRSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7165   int offset = 0;
7166   asn1_ctx_t asn1_ctx;
7167   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7168   offset = dissect_camel_SendChargingInformationGPRSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_SendChargingInformationGPRSArg_PDU);
7169   return offset;
7170 }
dissect_ConnectSMSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7171 static int dissect_ConnectSMSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7172   int offset = 0;
7173   asn1_ctx_t asn1_ctx;
7174   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7175   offset = dissect_camel_ConnectSMSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ConnectSMSArg_PDU);
7176   return offset;
7177 }
dissect_EventReportSMSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7178 static int dissect_EventReportSMSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7179   int offset = 0;
7180   asn1_ctx_t asn1_ctx;
7181   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7182   offset = dissect_camel_EventReportSMSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_EventReportSMSArg_PDU);
7183   return offset;
7184 }
dissect_FurnishChargingInformationSMSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7185 static int dissect_FurnishChargingInformationSMSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7186   int offset = 0;
7187   asn1_ctx_t asn1_ctx;
7188   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7189   offset = dissect_camel_FurnishChargingInformationSMSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_FurnishChargingInformationSMSArg_PDU);
7190   return offset;
7191 }
dissect_InitialDPSMSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7192 static int dissect_InitialDPSMSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7193   int offset = 0;
7194   asn1_ctx_t asn1_ctx;
7195   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7196   offset = dissect_camel_InitialDPSMSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_InitialDPSMSArg_PDU);
7197   return offset;
7198 }
dissect_ReleaseSMSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7199 static int dissect_ReleaseSMSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7200   int offset = 0;
7201   asn1_ctx_t asn1_ctx;
7202   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7203   offset = dissect_camel_ReleaseSMSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ReleaseSMSArg_PDU);
7204   return offset;
7205 }
dissect_RequestReportSMSEventArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7206 static int dissect_RequestReportSMSEventArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7207   int offset = 0;
7208   asn1_ctx_t asn1_ctx;
7209   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7210   offset = dissect_camel_RequestReportSMSEventArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_RequestReportSMSEventArg_PDU);
7211   return offset;
7212 }
dissect_ResetTimerSMSArg_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7213 static int dissect_ResetTimerSMSArg_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7214   int offset = 0;
7215   asn1_ctx_t asn1_ctx;
7216   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7217   offset = dissect_camel_ResetTimerSMSArg(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_ResetTimerSMSArg_PDU);
7218   return offset;
7219 }
dissect_CAP_U_ABORT_REASON_PDU(tvbuff_t * tvb _U_,packet_info * pinfo _U_,proto_tree * tree _U_,void * data _U_)7220 static int dissect_CAP_U_ABORT_REASON_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
7221   int offset = 0;
7222   asn1_ctx_t asn1_ctx;
7223   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
7224   offset = dissect_camel_CAP_U_ABORT_REASON(FALSE, tvb, offset, &asn1_ctx, tree, hf_camel_CAP_U_ABORT_REASON_PDU);
7225   return offset;
7226 }
7227 
7228 
7229 /*--- End of included file: packet-camel-fn.c ---*/
7230 #line 406 "./asn1/camel/packet-camel-template.c"
7231 
7232 
7233 /*--- Included file: packet-camel-table2.c ---*/
7234 #line 1 "./asn1/camel/packet-camel-table2.c"
7235 
dissect_invokeData(proto_tree * tree,tvbuff_t * tvb,int offset,asn1_ctx_t * actx)7236 static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx) {
7237 
7238   switch(opcode){
7239     case opcode_playAnnouncement:  /* playAnnouncement */
7240       offset= dissect_PlayAnnouncementArg_PDU(tvb, actx->pinfo , tree , NULL);
7241       break;
7242     case opcode_promptAndCollectUserInformation:  /* promptAndCollectUserInformation */
7243       offset= dissect_PromptAndCollectUserInformationArg_PDU(tvb, actx->pinfo , tree , NULL);
7244       break;
7245     case opcode_specializedResourceReport:  /* specializedResourceReport */
7246       offset= dissect_SpecializedResourceReportArg_PDU(tvb, actx->pinfo , tree , NULL);
7247       break;
7248     case opcode_applyCharging:  /* applyCharging */
7249       offset= dissect_ApplyChargingArg_PDU(tvb, actx->pinfo , tree , NULL);
7250       break;
7251     case opcode_applyChargingReport:  /* applyChargingReport */
7252       offset= dissect_ApplyChargingReportArg_PDU(tvb, actx->pinfo , tree , NULL);
7253       break;
7254     case opcode_assistRequestInstructions:  /* assistRequestInstructions */
7255       offset= dissect_AssistRequestInstructionsArg_PDU(tvb, actx->pinfo , tree , NULL);
7256       break;
7257     case opcode_callGap:  /* callGap */
7258       offset= dissect_CallGapArg_PDU(tvb, actx->pinfo , tree , NULL);
7259       break;
7260     case opcode_callInformationReport:  /* callInformationReport */
7261       offset= dissect_CallInformationReportArg_PDU(tvb, actx->pinfo , tree , NULL);
7262       break;
7263     case opcode_callInformationRequest:  /* callInformationRequest */
7264       offset= dissect_CallInformationRequestArg_PDU(tvb, actx->pinfo , tree , NULL);
7265       break;
7266     case opcode_cancel:  /* cancel */
7267       offset= dissect_CancelArg_PDU(tvb, actx->pinfo , tree , NULL);
7268       break;
7269     case opcode_collectInformation:  /* collectInformation */
7270       offset= dissect_CollectInformationArg_PDU(tvb, actx->pinfo , tree , NULL);
7271       break;
7272     case opcode_connect:  /* connect */
7273       offset= dissect_ConnectArg_PDU(tvb, actx->pinfo , tree , NULL);
7274       break;
7275     case opcode_connectToResource:  /* connectToResource */
7276       offset= dissect_ConnectToResourceArg_PDU(tvb, actx->pinfo , tree , NULL);
7277       break;
7278     case opcode_continueWithArgument:  /* continueWithArgument */
7279       offset= dissect_ContinueWithArgumentArg_PDU(tvb, actx->pinfo , tree , NULL);
7280       break;
7281     case opcode_dFCWithArgument:  /* disconnectForwardConnectionWithArgument */
7282       offset= dissect_DisconnectForwardConnectionWithArgumentArg_PDU(tvb, actx->pinfo , tree , NULL);
7283       break;
7284     case opcode_disconnectLeg:  /* disconnectLeg */
7285       offset= dissect_DisconnectLegArg_PDU(tvb, actx->pinfo , tree , NULL);
7286       break;
7287     case opcode_entityReleased:  /* entityReleased */
7288       offset= dissect_EntityReleasedArg_PDU(tvb, actx->pinfo , tree , NULL);
7289       break;
7290     case opcode_establishTemporaryConnection:  /* establishTemporaryConnection */
7291       offset= dissect_EstablishTemporaryConnectionArg_PDU(tvb, actx->pinfo , tree , NULL);
7292       break;
7293     case opcode_eventReportBCSM:  /* eventReportBCSM */
7294       offset= dissect_EventReportBCSMArg_PDU(tvb, actx->pinfo , tree , NULL);
7295       break;
7296     case opcode_furnishChargingInformation:  /* furnishChargingInformation */
7297       offset= dissect_FurnishChargingInformationArg_PDU(tvb, actx->pinfo , tree , NULL);
7298       break;
7299     case opcode_initialDP:  /* initialDP */
7300       offset= dissect_InitialDPArg_PDU(tvb, actx->pinfo , tree , NULL);
7301       break;
7302     case opcode_initiateCallAttempt:  /* initiateCallAttempt */
7303       offset= dissect_InitiateCallAttemptArg_PDU(tvb, actx->pinfo , tree , NULL);
7304       break;
7305     case opcode_moveLeg:  /* moveLeg */
7306       offset= dissect_MoveLegArg_PDU(tvb, actx->pinfo , tree , NULL);
7307       break;
7308     case opcode_playTone:  /* playTone */
7309       offset= dissect_PlayToneArg_PDU(tvb, actx->pinfo , tree , NULL);
7310       break;
7311     case opcode_releaseCall:  /* releaseCall */
7312       offset= dissect_ReleaseCallArg_PDU(tvb, actx->pinfo , tree , NULL);
7313       break;
7314     case opcode_requestReportBCSMEvent:  /* requestReportBCSMEvent */
7315       offset= dissect_RequestReportBCSMEventArg_PDU(tvb, actx->pinfo , tree , NULL);
7316       break;
7317     case opcode_resetTimer:  /* resetTimer */
7318       offset= dissect_ResetTimerArg_PDU(tvb, actx->pinfo , tree , NULL);
7319       break;
7320     case opcode_sendChargingInformation:  /* sendChargingInformation */
7321       offset= dissect_SendChargingInformationArg_PDU(tvb, actx->pinfo , tree , NULL);
7322       break;
7323     case opcode_splitLeg:  /* splitLeg */
7324       offset= dissect_SplitLegArg_PDU(tvb, actx->pinfo , tree , NULL);
7325       break;
7326     case opcode_applyChargingGPRS:  /* applyChargingGPRS */
7327       offset= dissect_ApplyChargingGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7328       break;
7329     case opcode_applyChargingReportGPRS:  /* applyChargingReportGPRS */
7330       offset= dissect_ApplyChargingReportGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7331       break;
7332     case opcode_cancelGPRS:  /* cancelGPRS */
7333       offset= dissect_CancelGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7334       break;
7335     case opcode_connectGPRS:  /* connectGPRS */
7336       offset= dissect_ConnectGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7337       break;
7338     case opcode_continueGPRS:  /* continueGPRS */
7339       offset= dissect_ContinueGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7340       break;
7341     case opcode_entityReleasedGPRS:  /* entityReleasedGPRS */
7342       offset= dissect_EntityReleasedGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7343       break;
7344     case opcode_eventReportGPRS:  /* eventReportGPRS */
7345       offset= dissect_EventReportGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7346       break;
7347     case opcode_furnishChargingInformationGPRS:  /* furnishChargingInformationGPRS */
7348       offset= dissect_FurnishChargingInformationGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7349       break;
7350     case opcode_initialDPGPRS:  /* initialDPGPRS */
7351       offset= dissect_InitialDPGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7352       break;
7353     case opcode_releaseGPRS:  /* releaseGPRS */
7354       offset= dissect_ReleaseGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7355       break;
7356     case opcode_requestReportGPRSEvent:  /* requestReportGPRSEvent */
7357       offset= dissect_RequestReportGPRSEventArg_PDU(tvb, actx->pinfo , tree , NULL);
7358       break;
7359     case opcode_resetTimerGPRS:  /* resetTimerGPRS */
7360       offset= dissect_ResetTimerGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7361       break;
7362     case opcode_sendChargingInformationGPRS:  /* sendChargingInformationGPRS */
7363       offset= dissect_SendChargingInformationGPRSArg_PDU(tvb, actx->pinfo , tree , NULL);
7364       break;
7365     case opcode_connectSMS:  /* connectSMS */
7366       offset= dissect_ConnectSMSArg_PDU(tvb, actx->pinfo , tree , NULL);
7367       break;
7368     case opcode_eventReportSMS:  /* eventReportSMS */
7369       offset= dissect_EventReportSMSArg_PDU(tvb, actx->pinfo , tree , NULL);
7370       break;
7371     case opcode_furnishChargingInformationSMS:  /* furnishChargingInformationSMS */
7372       offset= dissect_FurnishChargingInformationSMSArg_PDU(tvb, actx->pinfo , tree , NULL);
7373       break;
7374     case opcode_initialDPSMS:  /* initialDPSMS */
7375       offset= dissect_InitialDPSMSArg_PDU(tvb, actx->pinfo , tree , NULL);
7376       break;
7377     case opcode_releaseSMS:  /* releaseSMS */
7378       offset= dissect_ReleaseSMSArg_PDU(tvb, actx->pinfo , tree , NULL);
7379       break;
7380     case opcode_requestReportSMSEvent:  /* requestReportSMSEvent */
7381       offset= dissect_RequestReportSMSEventArg_PDU(tvb, actx->pinfo , tree , NULL);
7382       break;
7383     case opcode_resetTimerSMS:  /* resetTimerSMS */
7384       offset= dissect_ResetTimerSMSArg_PDU(tvb, actx->pinfo , tree , NULL);
7385       break;
7386     default:
7387       proto_tree_add_expert_format(tree, actx->pinfo, &ei_camel_unknown_invokeData,
7388                                    tvb, offset, -1, "Unknown invokeData %d", opcode);
7389       /* todo call the asn.1 dissector */
7390       break;
7391   }
7392   return offset;
7393 }
7394 
7395 
dissect_returnResultData(proto_tree * tree,tvbuff_t * tvb,int offset,asn1_ctx_t * actx)7396 static int dissect_returnResultData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx) {
7397 
7398   switch(opcode){
7399     case opcode_promptAndCollectUserInformation:  /* promptAndCollectUserInformation */
7400 	  offset= dissect_ReceivedInformationArg_PDU(tvb, actx->pinfo , tree , NULL);
7401       break;
7402     case opcode_initiateCallAttempt:  /* initiateCallAttempt */
7403 	  offset= dissect_InitiateCallAttemptRes_PDU(tvb, actx->pinfo , tree , NULL);
7404       break;
7405   default:
7406     proto_tree_add_expert_format(tree, actx->pinfo, &ei_camel_unknown_returnResultData,
7407 	                             tvb, offset, -1, "Unknown returnResultData %d",opcode);
7408   }
7409   return offset;
7410 }
7411 
7412 
dissect_returnErrorData(proto_tree * tree,tvbuff_t * tvb,int offset,asn1_ctx_t * actx)7413 static int dissect_returnErrorData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx) {
7414 
7415   switch(errorCode) {
7416     case errcode_cancelFailed:  /* cancelFailed */
7417       dissect_PAR_cancelFailed_PDU(tvb, actx->pinfo , tree , NULL);
7418       break;
7419     case errcode_requestedInfoError:  /* requestedInfoError */
7420       dissect_PAR_requestedInfoError_PDU(tvb, actx->pinfo , tree , NULL);
7421       break;
7422     case errcode_systemFailure:  /* systemFailure */
7423       dissect_UnavailableNetworkResource_PDU(tvb, actx->pinfo , tree , NULL);
7424       break;
7425     case errcode_taskRefused:  /* taskRefused */
7426       dissect_PAR_taskRefused_PDU(tvb, actx->pinfo , tree , NULL);
7427       break;
7428   default:
7429     proto_tree_add_expert_format(tree, actx->pinfo, &ei_camel_unknown_returnErrorData,
7430                                  tvb, offset, -1, "Unknown returnErrorData %d",errorCode);
7431   }
7432   return offset;
7433 }
7434 
7435 
7436 /*--- End of included file: packet-camel-table2.c ---*/
7437 #line 408 "./asn1/camel/packet-camel-template.c"
7438 
7439 /*
7440  * Functions needed for Hash-Table
7441  */
7442 
7443 /* compare 2 keys */
7444 static gint
camelsrt_call_equal(gconstpointer k1,gconstpointer k2)7445 camelsrt_call_equal(gconstpointer k1, gconstpointer k2)
7446 {
7447   const struct camelsrt_call_info_key_t *key1 = (const struct camelsrt_call_info_key_t *) k1;
7448   const struct camelsrt_call_info_key_t *key2 = (const struct camelsrt_call_info_key_t *) k2;
7449 
7450   return (key1->SessionIdKey == key2->SessionIdKey) ;
7451 }
7452 
7453 /* calculate a hash key */
7454 static guint
camelsrt_call_hash(gconstpointer k)7455 camelsrt_call_hash(gconstpointer k)
7456 {
7457   const struct camelsrt_call_info_key_t *key = (const struct camelsrt_call_info_key_t *) k;
7458   return key->SessionIdKey;
7459 }
7460 
7461 /*
7462  * Find the dialog by Key and Time
7463  */
7464 static struct camelsrt_call_t *
find_camelsrt_call(struct camelsrt_call_info_key_t * p_camelsrt_call_key)7465 find_camelsrt_call(struct camelsrt_call_info_key_t *p_camelsrt_call_key)
7466 {
7467   struct camelsrt_call_t *p_camelsrt_call = NULL;
7468   p_camelsrt_call = (struct camelsrt_call_t *)wmem_map_lookup(srt_calls, p_camelsrt_call_key);
7469 
7470 #ifdef DEBUG_CAMELSRT
7471   if(p_camelsrt_call) {
7472     dbg(10,"D%d ", p_camelsrt_call->session_id);
7473   } else {
7474     dbg(23,"Not in hash ");
7475   }
7476 #endif
7477 
7478   return p_camelsrt_call;
7479 }
7480 
7481 /*
7482  * Initialize the data per call for the Service Response Time Statistics
7483  * Data are linked to a Camel operation in a TCAP transaction
7484  */
7485 static void
raz_camelsrt_call(struct camelsrt_call_t * p_camelsrt_call)7486 raz_camelsrt_call (struct camelsrt_call_t *p_camelsrt_call)
7487 {
7488   memset(p_camelsrt_call,0,sizeof(struct camelsrt_call_t));
7489 }
7490 
7491 /*
7492  * New record to create, to identify a new transaction
7493  */
7494 static struct camelsrt_call_t *
new_camelsrt_call(struct camelsrt_call_info_key_t * p_camelsrt_call_key)7495 new_camelsrt_call(struct camelsrt_call_info_key_t *p_camelsrt_call_key)
7496 {
7497   struct camelsrt_call_info_key_t *p_new_camelsrt_call_key;
7498   struct camelsrt_call_t *p_new_camelsrt_call = NULL;
7499 
7500   /* Register the transaction in the hash table
7501      with the tcap transaction Id as main Key
7502      Once created, this entry will be updated later */
7503 
7504   p_new_camelsrt_call_key = wmem_new(wmem_file_scope(), struct camelsrt_call_info_key_t);
7505   p_new_camelsrt_call_key->SessionIdKey = p_camelsrt_call_key->SessionIdKey;
7506   p_new_camelsrt_call = wmem_new(wmem_file_scope(), struct camelsrt_call_t);
7507   raz_camelsrt_call(p_new_camelsrt_call);
7508   p_new_camelsrt_call->session_id = camelsrt_global_SessionId++;
7509 #ifdef DEBUG_CAMELSRT
7510   dbg(10,"D%d ", p_new_camelsrt_call->session_id);
7511 #endif
7512   /* store it */
7513   wmem_map_insert(srt_calls, p_new_camelsrt_call_key, p_new_camelsrt_call);
7514   return p_new_camelsrt_call;
7515 }
7516 
7517 /*
7518  * Routine called when the TAP is initialized.
7519  * so hash table are (re)created
7520  */
7521 static void
camelsrt_init_routine(void)7522 camelsrt_init_routine(void)
7523 {
7524   /* Reset the session counter */
7525   camelsrt_global_SessionId=1;
7526 
7527   /* The Display of SRT is enable
7528    * 1) For wireshark only if Persistent Stat is enable
7529    * 2) For Tshark, if the SRT handling is enable
7530    */
7531   gcamel_DisplaySRT=gcamel_PersistentSRT || gcamel_HandleSRT&gcamel_StatSRT;
7532 }
7533 
7534 
7535 /*
7536  * Update a record with the data of the Request
7537  */
7538 static void
update_camelsrt_call(struct camelsrt_call_t * p_camelsrt_call,packet_info * pinfo,guint msg_category)7539 update_camelsrt_call(struct camelsrt_call_t *p_camelsrt_call, packet_info *pinfo,
7540                      guint msg_category)
7541 {
7542   p_camelsrt_call->category[msg_category].req_num = pinfo->num;
7543   p_camelsrt_call->category[msg_category].rsp_num = 0;
7544   p_camelsrt_call->category[msg_category].responded = FALSE;
7545   p_camelsrt_call->category[msg_category].req_time = pinfo->abs_ts;
7546 }
7547 
7548 /*
7549  * Update the Camel session info, and close the session.
7550  * Then remove the associated context, if we do not have persistentSRT enable
7551  */
7552 static void
camelsrt_close_call_matching(packet_info * pinfo,struct camelsrt_info_t * p_camelsrt_info)7553 camelsrt_close_call_matching(packet_info *pinfo,
7554                              struct camelsrt_info_t *p_camelsrt_info)
7555 {
7556   struct camelsrt_call_t *p_camelsrt_call;
7557   struct camelsrt_call_info_key_t camelsrt_call_key;
7558   nstime_t delta;
7559 
7560   p_camelsrt_info->bool_msginfo[CAMELSRT_SESSION]=TRUE;
7561 #ifdef DEBUG_CAMELSRT
7562   dbg(10,"\n Session end #%u\n", pinfo->num);
7563 #endif
7564   /* look only for matching request, if matching conversation is available. */
7565   camelsrt_call_key.SessionIdKey = p_camelsrt_info->tcap_session_id;
7566 
7567 #ifdef DEBUG_CAMELSRT
7568   dbg(11,"Search key %lu ",camelsrt_call_key.SessionIdKey);
7569 #endif
7570   p_camelsrt_call = find_camelsrt_call(&camelsrt_call_key);
7571   if(p_camelsrt_call) {
7572 #ifdef DEBUG_CAMELSRT
7573     dbg(12,"Found ");
7574 #endif
7575     /* Calculate Service Response Time */
7576     nstime_delta(&delta, &pinfo->abs_ts, &p_camelsrt_call->category[CAMELSRT_SESSION].req_time);
7577     p_camelsrt_call->category[CAMELSRT_SESSION].responded = TRUE;
7578     p_camelsrt_info->msginfo[CAMELSRT_SESSION].request_available = TRUE;
7579     p_camelsrt_info->msginfo[CAMELSRT_SESSION].is_delta_time = TRUE;
7580     p_camelsrt_info->msginfo[CAMELSRT_SESSION].delta_time = delta; /* give it to tap */
7581     p_camelsrt_info->msginfo[CAMELSRT_SESSION].req_time = p_camelsrt_call->category[CAMELSRT_SESSION].req_time;
7582 
7583     if ( !gcamel_PersistentSRT ) {
7584       wmem_map_remove(srt_calls, &camelsrt_call_key);
7585 #ifdef DEBUG_CAMELSRT
7586       dbg(20,"remove hash ");
7587 #endif
7588     } else {
7589 #ifdef DEBUG_CAMELSRT
7590       dbg(20,"keep hash ");
7591 #endif
7592     }
7593   } /* call reference found */
7594 }
7595 
7596 /*
7597  * Callback function for the TCAP dissector
7598  * This callback function is used to inform the camel layer, that the session
7599  * has been Closed or Aborted by a TCAP message without Camel component
7600  * So, we can close the context for camel session, and update the stats.
7601  */
7602 static void
camelsrt_tcap_matching(tvbuff_t * tvb _U_,packet_info * pinfo,proto_tree * tree _U_,struct tcaphash_context_t * p_tcap_context)7603 camelsrt_tcap_matching(tvbuff_t *tvb _U_, packet_info *pinfo,
7604                        proto_tree *tree _U_,
7605                        struct tcaphash_context_t *p_tcap_context)
7606 {
7607   struct camelsrt_info_t *p_camelsrt_info;
7608 
7609 #ifdef DEBUG_CAMELSRT
7610   dbg(11,"Camel_CallBack ");
7611 #endif
7612   p_camelsrt_info=camelsrt_razinfo();
7613 
7614   p_camelsrt_info->tcap_context=p_tcap_context;
7615   if (p_tcap_context) {
7616 #ifdef DEBUG_CAMELSRT
7617     dbg(11,"Close TCAP ");
7618 #endif
7619     p_camelsrt_info->tcap_session_id = p_tcap_context->session_id;
7620     camelsrt_close_call_matching(pinfo, p_camelsrt_info);
7621     tap_queue_packet(camel_tap, pinfo, p_camelsrt_info);
7622   }
7623 }
7624 
7625 /*
7626  * Create the record identifiying the Camel session
7627  * As the Tcap session id given by the TCAP dissector is uniq, it will be
7628  * used as main key.
7629  */
7630 static void
camelsrt_begin_call_matching(packet_info * pinfo,struct camelsrt_info_t * p_camelsrt_info)7631 camelsrt_begin_call_matching(packet_info *pinfo,
7632                              struct camelsrt_info_t *p_camelsrt_info)
7633 {
7634   struct camelsrt_call_t *p_camelsrt_call;
7635   struct camelsrt_call_info_key_t camelsrt_call_key;
7636 
7637   p_camelsrt_info->bool_msginfo[CAMELSRT_SESSION]=TRUE;
7638 
7639   /* prepare the key data */
7640   camelsrt_call_key.SessionIdKey = p_camelsrt_info->tcap_session_id;
7641 
7642   /* look up the request */
7643 #ifdef DEBUG_CAMELSRT
7644   dbg(10,"\n Session begin #%u\n", pinfo->num);
7645   dbg(11,"Search key %lu ",camelsrt_call_key.SessionIdKey);
7646 #endif
7647   p_camelsrt_call = (struct camelsrt_call_t *)wmem_map_lookup(srt_calls, &camelsrt_call_key);
7648   if (p_camelsrt_call) {
7649     /* We have seen this request before -> do nothing */
7650 #ifdef DEBUG_CAMELSRT
7651     dbg(22,"Already seen ");
7652 #endif
7653   } else { /* p_camelsrt_call has not been found */
7654 #ifdef DEBUG_CAMELSRT
7655     dbg(10,"New key %lu ",camelsrt_call_key.SessionIdKey);
7656 #endif
7657     p_camelsrt_call = new_camelsrt_call(&camelsrt_call_key);
7658     p_camelsrt_call->tcap_context=(struct tcaphash_context_t *)p_camelsrt_info->tcap_context;
7659     update_camelsrt_call(p_camelsrt_call, pinfo,CAMELSRT_SESSION);
7660 
7661 #ifdef DEBUG_CAMELSRT
7662     dbg(11,"Update Callback ");
7663 #endif
7664     p_camelsrt_call->tcap_context->callback=camelsrt_tcap_matching;
7665   }
7666 }
7667 
7668 /*
7669  * Register the request, and try to find the response
7670  *
7671  */
7672 static void
camelsrt_request_call_matching(tvbuff_t * tvb,packet_info * pinfo,proto_tree * tree,struct camelsrt_info_t * p_camelsrt_info,guint srt_type)7673 camelsrt_request_call_matching(tvbuff_t *tvb, packet_info *pinfo,
7674                                proto_tree *tree,
7675                                struct camelsrt_info_t *p_camelsrt_info,
7676                                guint srt_type )
7677 {
7678   struct camelsrt_call_t *p_camelsrt_call;
7679   struct camelsrt_call_info_key_t camelsrt_call_key;
7680   proto_item *ti, *hidden_item;
7681 
7682 #ifdef DEBUG_CAMELSRT
7683   dbg(10,"\n %s #%u\n", val_to_str_const(srt_type, camelSRTtype_naming, "Unk"),pinfo->num);
7684 #endif
7685 
7686   /* look only for matching request, if matching conversation is available. */
7687   camelsrt_call_key.SessionIdKey = p_camelsrt_info->tcap_session_id;
7688 
7689 #ifdef DEBUG_CAMELSRT
7690   dbg(11,"Search key %lu ", camelsrt_call_key.SessionIdKey);
7691 #endif
7692   p_camelsrt_call = find_camelsrt_call(&camelsrt_call_key);
7693   if(p_camelsrt_call) {
7694 #ifdef DEBUG_CAMELSRT
7695     dbg(12,"Found ");
7696 #endif
7697     if (gcamel_DisplaySRT)
7698       proto_tree_add_uint(tree, hf_camelsrt_SessionId, tvb, 0,0, p_camelsrt_call->session_id);
7699 
7700 
7701     /* Hmm.. As there are several slices ApplyChargingReport/ApplyCharging
7702      * we will prepare the measurement for 3 slices with 3 categories */
7703     if (srt_type==CAMELSRT_VOICE_ACR1) {
7704       if (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].req_num == 0) {
7705         srt_type=CAMELSRT_VOICE_ACR1;
7706       } else  if ( (p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].req_num == 0)
7707                    && (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num != 0)
7708                    && (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num < pinfo->num) ) {
7709         srt_type=CAMELSRT_VOICE_ACR2;
7710       } else  if ( (p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].req_num == 0)
7711                    && (p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].rsp_num != 0)
7712                    && (p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].rsp_num < pinfo->num) ) {
7713         srt_type=CAMELSRT_VOICE_ACR3;
7714       } else if (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num != 0
7715                  && p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num > pinfo->num) {
7716         srt_type=CAMELSRT_VOICE_ACR1;
7717       } else  if ( p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].rsp_num != 0
7718                    && p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].rsp_num > pinfo->num) {
7719         srt_type=CAMELSRT_VOICE_ACR2;
7720       } else  if (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num != 0
7721                   && p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].rsp_num > pinfo->num) {
7722         srt_type=CAMELSRT_VOICE_ACR3;
7723       }
7724 #ifdef DEBUG_CAMELSRT
7725       dbg(70,"Request ACR %u ",srt_type);
7726       dbg(70,"ACR1 %u %u",p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].req_num, p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num);
7727       dbg(70,"ACR2 %u %u",p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].req_num, p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].rsp_num);
7728       dbg(70,"ACR3 %u %u",p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].req_num, p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].rsp_num);
7729 #endif
7730     } /* not ACR */
7731     p_camelsrt_info->bool_msginfo[srt_type]=TRUE;
7732 
7733 
7734     if (p_camelsrt_call->category[srt_type].req_num == 0) {
7735       /* We have not yet seen a request to that call, so this must be the first request
7736          remember its frame number. */
7737 #ifdef DEBUG_CAMELSRT
7738       dbg(5,"Set reqlink #%u ", pinfo->num);
7739 #endif
7740       update_camelsrt_call(p_camelsrt_call, pinfo, srt_type);
7741     } else {
7742       /* We have seen a request to this call - but was it *this* request? */
7743       if (p_camelsrt_call->category[srt_type].req_num != pinfo->num) {
7744 
7745         if (srt_type!=CAMELSRT_VOICE_DISC) {
7746           /* No, so it's a duplicate request. Mark it as such. */
7747 #ifdef DEBUG_CAMELSRT
7748           dbg(21,"Display_duplicate with req %d ", p_camelsrt_call->category[srt_type].req_num);
7749 #endif
7750           p_camelsrt_info->msginfo[srt_type].is_duplicate = TRUE;
7751           if (gcamel_DisplaySRT){
7752             hidden_item = proto_tree_add_uint(tree, hf_camelsrt_Duplicate, tvb, 0,0, 77);
7753                 proto_item_set_hidden(hidden_item);
7754           }
7755 
7756         } else {
7757           /* Ignore duplicate frame */
7758           if (pinfo->num > p_camelsrt_call->category[srt_type].req_num) {
7759             p_camelsrt_call->category[srt_type].req_num = pinfo->num;
7760 #ifdef DEBUG_CAMELSRT
7761             dbg(5,"DISC Set reqlink #%u ", pinfo->num);
7762 #endif
7763             update_camelsrt_call(p_camelsrt_call, pinfo, srt_type);
7764           } /* greater frame */
7765         } /* DISC */
7766       } /* req_num already seen */
7767     } /* req_num != 0 */
7768 
7769       /* add link to response frame, if available */
7770     if ( gcamel_DisplaySRT &&
7771          (p_camelsrt_call->category[srt_type].rsp_num != 0) &&
7772          (p_camelsrt_call->category[srt_type].req_num != 0) &&
7773          (p_camelsrt_call->category[srt_type].req_num == pinfo->num) ) {
7774 #ifdef DEBUG_CAMELSRT
7775       dbg(20,"Display_framersplink %d ",p_camelsrt_call->category[srt_type].rsp_num);
7776 #endif
7777       ti = proto_tree_add_uint_format(tree, hf_camelsrt_RequestFrame, tvb, 0, 0,
7778                                       p_camelsrt_call->category[srt_type].rsp_num,
7779                                       "Linked response %s in frame %u",
7780                                       val_to_str_const(srt_type, camelSRTtype_naming, "Unk"),
7781                                       p_camelsrt_call->category[srt_type].rsp_num);
7782       proto_item_set_generated(ti);
7783     } /* frame valid */
7784   } /* call reference */
7785 }
7786 
7787 /*
7788  * Display the delta time between two messages in a field corresponding
7789  * to the category (hf_camelsrt_DeltaTimexx).
7790  */
7791 static void
camelsrt_display_DeltaTime(proto_tree * tree,tvbuff_t * tvb,nstime_t * value_ptr,guint category)7792 camelsrt_display_DeltaTime(proto_tree *tree, tvbuff_t *tvb, nstime_t *value_ptr,
7793                            guint category)
7794 {
7795   proto_item *ti;
7796 
7797   if ( gcamel_DisplaySRT ) {
7798     switch(category) {
7799     case CAMELSRT_VOICE_INITIALDP:
7800       ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime31, tvb, 0, 0, value_ptr);
7801       proto_item_set_generated(ti);
7802       break;
7803 
7804     case CAMELSRT_VOICE_ACR1:
7805     case CAMELSRT_VOICE_ACR2:
7806     case CAMELSRT_VOICE_ACR3:
7807       ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime22, tvb, 0, 0, value_ptr);
7808       proto_item_set_generated(ti);
7809       break;
7810 
7811     case CAMELSRT_VOICE_DISC:
7812       ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime35, tvb, 0, 0, value_ptr);
7813       proto_item_set_generated(ti);
7814       break;
7815 
7816     case CAMELSRT_GPRS_INITIALDP:
7817       ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime75, tvb, 0, 0, value_ptr);
7818       proto_item_set_generated(ti);
7819       break;
7820 
7821     case CAMELSRT_GPRS_REPORT:
7822       ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime80, tvb, 0, 0, value_ptr);
7823       proto_item_set_generated(ti);
7824       break;
7825 
7826     case CAMELSRT_SMS_INITIALDP:
7827       ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime65, tvb, 0, 0, value_ptr);
7828       proto_item_set_generated(ti);
7829       break;
7830 
7831     default:
7832       break;
7833     }
7834   }
7835 }
7836 
7837 /*
7838  * Check if the received message is a response to a previous request
7839  * registered is the camel session context.
7840  */
7841 static void
camelsrt_report_call_matching(tvbuff_t * tvb,packet_info * pinfo,proto_tree * tree,struct camelsrt_info_t * p_camelsrt_info,guint srt_type)7842 camelsrt_report_call_matching(tvbuff_t *tvb, packet_info *pinfo,
7843                               proto_tree *tree,
7844                               struct camelsrt_info_t *p_camelsrt_info,
7845                               guint srt_type)
7846 {
7847   struct camelsrt_call_t *p_camelsrt_call;
7848   struct camelsrt_call_info_key_t camelsrt_call_key;
7849   nstime_t delta;
7850   proto_item *ti, *hidden_item;
7851 
7852 #ifdef DEBUG_CAMELSRT
7853   dbg(10,"\n %s #%u\n", val_to_str_const(srt_type, camelSRTtype_naming, "Unk"),pinfo->num);
7854 #endif
7855   camelsrt_call_key.SessionIdKey = p_camelsrt_info->tcap_session_id;
7856   /* look only for matching request, if matching conversation is available. */
7857 
7858 #ifdef DEBUG_CAMELSRT
7859   dbg(11,"Search key %lu ",camelsrt_call_key.SessionIdKey);
7860 #endif
7861   p_camelsrt_call = find_camelsrt_call(&camelsrt_call_key);
7862   if(p_camelsrt_call) {
7863 #ifdef DEBUG_CAMELSRT
7864     dbg(12,"Found, req=%d ",p_camelsrt_call->category[srt_type].req_num);
7865 #endif
7866     if ( gcamel_DisplaySRT )
7867       proto_tree_add_uint(tree, hf_camelsrt_SessionId, tvb, 0,0, p_camelsrt_call->session_id);
7868 
7869     if (srt_type==CAMELSRT_VOICE_ACR1) {
7870       if (p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].req_num != 0
7871           && p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].req_num < pinfo->num) {
7872         srt_type=CAMELSRT_VOICE_ACR1;
7873       } else  if ( p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].req_num != 0
7874                    && p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].req_num < pinfo->num) {
7875         srt_type=CAMELSRT_VOICE_ACR2;
7876       } else  if (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].req_num != 0
7877                   && p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].req_num < pinfo->num) {
7878         srt_type=CAMELSRT_VOICE_ACR1;
7879       }
7880 #ifdef DEBUG_CAMELSRT
7881       dbg(70,"Report ACR %u ",srt_type);
7882 #endif
7883     } /* not ACR */
7884     p_camelsrt_info->bool_msginfo[srt_type]=TRUE;
7885 
7886     if (p_camelsrt_call->category[srt_type].rsp_num == 0) {
7887       if  ( (p_camelsrt_call->category[srt_type].req_num != 0)
7888             && (pinfo->num > p_camelsrt_call->category[srt_type].req_num) ){
7889         /* We have not yet seen a response to that call, so this must be the first response;
7890            remember its frame number only if response comes after request */
7891 #ifdef DEBUG_CAMELSRT
7892         dbg(14,"Set reslink #%d req %u ",pinfo->num, p_camelsrt_call->category[srt_type].req_num);
7893 #endif
7894         p_camelsrt_call->category[srt_type].rsp_num = pinfo->num;
7895 
7896       } else {
7897 #ifdef DEBUG_CAMELSRT
7898         dbg(2,"badreslink #%u req %u ",pinfo->num, p_camelsrt_call->category[srt_type].req_num);
7899 #endif
7900       } /* req_num != 0 */
7901     } else { /* rsp_num != 0 */
7902       /* We have seen a response to this call - but was it *this* response? */
7903       if (p_camelsrt_call->category[srt_type].rsp_num != pinfo->num) {
7904         /* No, so it's a duplicate response. Mark it as such. */
7905 #ifdef DEBUG_CAMELSRT
7906         dbg(21,"Display_duplicate rsp=%d ", p_camelsrt_call->category[srt_type].rsp_num);
7907 #endif
7908         p_camelsrt_info->msginfo[srt_type].is_duplicate = TRUE;
7909         if ( gcamel_DisplaySRT ){
7910           hidden_item = proto_tree_add_uint(tree, hf_camelsrt_Duplicate, tvb, 0,0, 77);
7911           proto_item_set_hidden(hidden_item);
7912         }
7913       }
7914     } /* rsp_num != 0 */
7915 
7916     if ( (p_camelsrt_call->category[srt_type].req_num != 0) &&
7917          (p_camelsrt_call->category[srt_type].rsp_num != 0) &&
7918          (p_camelsrt_call->category[srt_type].rsp_num == pinfo->num) ) {
7919 
7920       p_camelsrt_call->category[srt_type].responded = TRUE;
7921       p_camelsrt_info->msginfo[srt_type].request_available = TRUE;
7922 #ifdef DEBUG_CAMELSRT
7923       dbg(20,"Display_frameReqlink %d ",p_camelsrt_call->category[srt_type].req_num);
7924 #endif
7925       /* Indicate the frame to which this is a reply. */
7926       if ( gcamel_DisplaySRT ) {
7927         ti = proto_tree_add_uint_format(tree, hf_camelsrt_ResponseFrame, tvb, 0, 0,
7928                                         p_camelsrt_call->category[srt_type].req_num,
7929                                         "Linked request %s in frame %u",
7930                                         val_to_str_const(srt_type, camelSRTtype_naming, "Unk"),
7931                                         p_camelsrt_call->category[srt_type].req_num);
7932         proto_item_set_generated(ti);
7933       }
7934       /* Calculate Service Response Time */
7935       nstime_delta(&delta, &pinfo->abs_ts, &p_camelsrt_call->category[srt_type].req_time);
7936 
7937       p_camelsrt_info->msginfo[srt_type].is_delta_time = TRUE;
7938       p_camelsrt_info->msginfo[srt_type].delta_time = delta; /* give it to tap */
7939       p_camelsrt_info->msginfo[srt_type].req_time = p_camelsrt_call->category[srt_type].req_time;
7940 
7941       /* display Service Response Time and make it filterable */
7942       camelsrt_display_DeltaTime(tree, tvb, &delta, srt_type);
7943 
7944     } /*req_num != 0 && not duplicate */
7945   } /* call reference found */
7946 }
7947 
7948 /*
7949  * Service Response Time analyze, called just after the camel dissector
7950  * According to the camel operation, we
7951  * - open/close a context for the camel session
7952  * - look for a request, or look for the corresponding response
7953  */
7954 void
camelsrt_call_matching(tvbuff_t * tvb,packet_info * pinfo,proto_tree * tree,struct camelsrt_info_t * p_camelsrt_info)7955 camelsrt_call_matching(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
7956                        struct camelsrt_info_t *p_camelsrt_info)
7957 {
7958 
7959 #ifdef DEBUG_CAMELSRT
7960   dbg(10,"tcap_session #%d ", p_camelsrt_info->tcap_session_id);
7961 #endif
7962 
7963   switch (p_camelsrt_info->opcode) {
7964 
7965   case 0:  /*InitialDP*/
7966     camelsrt_begin_call_matching(pinfo, p_camelsrt_info);
7967     camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
7968                                    CAMELSRT_VOICE_INITIALDP);
7969     break;
7970   case 60: /*InitialDPSMS*/
7971     camelsrt_begin_call_matching(pinfo, p_camelsrt_info);
7972     camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
7973                                    CAMELSRT_SMS_INITIALDP);
7974     break;
7975   case 78: /*InitialDPGPRS*/
7976     camelsrt_begin_call_matching(pinfo, p_camelsrt_info);
7977     camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
7978                                    CAMELSRT_GPRS_INITIALDP);
7979     break;
7980 
7981   case 23: /*RequestReportBCSMEvent*/
7982     break;
7983 
7984   case 63: /*RequestReportSMSEvent*/
7985     break;
7986 
7987   case 81: /*RequestReportGPRSEvent*/
7988     break;
7989 
7990   case 24: /*EventReportBCSMEvent*/
7991     camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
7992                                    CAMELSRT_VOICE_DISC );
7993     break;
7994 
7995   case 64: /*EventReportSMS*/
7996     /* Session has been explicity closed without TC_END */
7997     camelsrt_close_call_matching(pinfo, p_camelsrt_info);
7998     tcapsrt_close((struct tcaphash_context_t *)p_camelsrt_info->tcap_context, pinfo);
7999     break;
8000 
8001   case 80: /*EventReportGPRS*/
8002     camelsrt_begin_call_matching(pinfo, p_camelsrt_info);
8003     camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
8004                                    CAMELSRT_GPRS_REPORT);
8005     break;
8006 
8007   case 35: /*ApplyCharging*/
8008     camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
8009                                   CAMELSRT_VOICE_ACR1 );
8010     break;
8011 
8012   case 71: /*ApplyChargingGPRS*/
8013     break;
8014 
8015   case 36: /*ApplyChargingReport*/
8016     camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
8017                                    CAMELSRT_VOICE_ACR1 );
8018     break;
8019 
8020   case 72: /*ApplyChargingReportGPRS*/
8021     break;
8022 
8023   case 31: /*Continue*/
8024     camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
8025                                       CAMELSRT_VOICE_INITIALDP);
8026     break;
8027   case 65: /*ContinueSMS*/
8028     camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
8029                                   CAMELSRT_SMS_INITIALDP);
8030     break;
8031   case 75: /*ContinueGPRS*/
8032     camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
8033                                   CAMELSRT_GPRS_INITIALDP);
8034     camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
8035                                   CAMELSRT_GPRS_REPORT);
8036     break;
8037 
8038   case 22: /*ReleaseCall*/
8039     camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
8040                                       CAMELSRT_VOICE_DISC);
8041     /* Session has been closed by Network */
8042     camelsrt_close_call_matching(pinfo, p_camelsrt_info);
8043     break;
8044 
8045   case 66: /*ReleaseSMS*/
8046     /* Session has been closed by Network */
8047     camelsrt_close_call_matching(pinfo, p_camelsrt_info);
8048     tcapsrt_close((struct tcaphash_context_t *)p_camelsrt_info->tcap_context,pinfo);
8049     break;
8050 
8051   case 79: /*ReleaseGPRS*/
8052     /* Session has been closed by Network */
8053     camelsrt_close_call_matching(pinfo, p_camelsrt_info);
8054     break;
8055   } /* switch opcode */
8056 }
8057 
8058 /*
8059  * Initialize the Message Info used by the main dissector
8060  * Data are linked to a TCAP transaction
8061  */
8062 struct camelsrt_info_t *
camelsrt_razinfo(void)8063 camelsrt_razinfo(void)
8064 {
8065   struct camelsrt_info_t *p_camelsrt_info ;
8066 
8067   /* Global buffer for packet extraction */
8068   camelsrt_global_current++;
8069   if(camelsrt_global_current==MAX_CAMEL_INSTANCE){
8070     camelsrt_global_current=0;
8071   }
8072 
8073   p_camelsrt_info=&camelsrt_global_info[camelsrt_global_current];
8074   memset(p_camelsrt_info,0,sizeof(struct camelsrt_info_t));
8075 
8076   p_camelsrt_info->opcode=255;
8077 
8078   return p_camelsrt_info;
8079 }
8080 
8081 
8082 static guint8 camel_pdu_type = 0;
8083 static guint8 camel_pdu_size = 0;
8084 
8085 
8086 static int
dissect_camel_camelPDU(gboolean implicit_tag _U_,tvbuff_t * tvb,int offset,asn1_ctx_t * actx _U_,proto_tree * tree,int hf_index,struct tcap_private_t * p_private_tcap)8087 dissect_camel_camelPDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_,proto_tree *tree,
8088                         int hf_index, struct tcap_private_t * p_private_tcap) {
8089 
8090     opcode = 0;
8091     if (p_private_tcap != NULL){
8092         gp_camelsrt_info->tcap_context=p_private_tcap->context;
8093         if (p_private_tcap->context)
8094             gp_camelsrt_info->tcap_session_id = ( (struct tcaphash_context_t *) (p_private_tcap->context))->session_id;
8095     }
8096 
8097     camel_pdu_type = tvb_get_guint8(tvb, offset)&0x0f;
8098     /* Get the length and add 2 */
8099     camel_pdu_size = tvb_get_guint8(tvb, offset+1)+2;
8100 
8101     /* Populate the info column with PDU type*/
8102     col_add_str(actx->pinfo->cinfo, COL_INFO, val_to_str(camel_pdu_type, camel_Component_vals, "Unknown Camel (%u)"));
8103     col_append_str(actx->pinfo->cinfo, COL_INFO, " ");
8104 
8105     is_ExtensionField =FALSE;
8106     offset = dissect_camel_ROS(TRUE, tvb, offset, actx, tree, hf_index);
8107 
8108     return offset;
8109 }
8110 
8111 static int
dissect_camel_all(int version,const char * col_protocol,const char * suffix,tvbuff_t * tvb,packet_info * pinfo,proto_tree * parent_tree,void * data)8112 dissect_camel_all(int version, const char* col_protocol, const char* suffix,
8113                   tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
8114 {
8115   proto_item  *item;
8116   proto_tree  *tree = NULL, *stat_tree = NULL;
8117   struct tcap_private_t * p_private_tcap = (struct tcap_private_t*)data;
8118   asn1_ctx_t asn1_ctx;
8119   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
8120 
8121   col_set_str(pinfo->cinfo, COL_PROTOCOL, col_protocol);
8122 
8123   camel_ver = version;
8124 
8125   /* create display subtree for the protocol */
8126   if(parent_tree){
8127      item = proto_tree_add_item(parent_tree, proto_camel, tvb, 0, -1, ENC_NA);
8128      tree = proto_item_add_subtree(item, ett_camel);
8129      proto_item_append_text(item, "%s", suffix);
8130   }
8131   /* camelsrt reset counter, and initialise global pointer
8132      to store service response time related data */
8133   gp_camelsrt_info=camelsrt_razinfo();
8134 
8135   dissect_camel_camelPDU(FALSE, tvb, 0, &asn1_ctx , tree, -1, p_private_tcap);
8136 
8137   /* If a Tcap context is associated to this transaction */
8138   if (gcamel_HandleSRT &&
8139       gp_camelsrt_info->tcap_context ) {
8140     if (gcamel_DisplaySRT && tree) {
8141       stat_tree = proto_tree_add_subtree(tree, tvb, 0, 0, ett_camel_stat, NULL, "Stat");
8142     }
8143     camelsrt_call_matching(tvb, pinfo, stat_tree, gp_camelsrt_info);
8144     tap_queue_packet(camel_tap, pinfo, gp_camelsrt_info);
8145   }
8146 
8147   return tvb_captured_length(tvb);
8148 }
8149 
8150 static int
dissect_camel_v1(tvbuff_t * tvb,packet_info * pinfo,proto_tree * parent_tree,void * data)8151 dissect_camel_v1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
8152 {
8153   return dissect_camel_all(1, "Camel-v1", "-V1", tvb, pinfo, parent_tree, data);
8154 }
8155 
8156 static int
dissect_camel_v2(tvbuff_t * tvb,packet_info * pinfo,proto_tree * parent_tree,void * data)8157 dissect_camel_v2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
8158 {
8159   return dissect_camel_all(2, "Camel-v2", "-V2", tvb, pinfo, parent_tree, data);
8160 }
8161 
8162 static int
dissect_camel_v3(tvbuff_t * tvb,packet_info * pinfo,proto_tree * parent_tree,void * data)8163 dissect_camel_v3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
8164 {
8165   return dissect_camel_all(3, "Camel-v3", "-V3", tvb, pinfo, parent_tree, data);
8166 }
8167 
8168 static int
dissect_camel_v4(tvbuff_t * tvb,packet_info * pinfo,proto_tree * parent_tree,void * data)8169 dissect_camel_v4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
8170 {
8171   return dissect_camel_all(4, "Camel-v4", "-V4", tvb, pinfo, parent_tree, data);
8172 }
8173 
8174 static int
dissect_camel(tvbuff_t * tvb,packet_info * pinfo,proto_tree * parent_tree,void * data)8175 dissect_camel(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
8176 {
8177   return dissect_camel_all(4, "Camel", "", tvb, pinfo, parent_tree, data);
8178 }
8179 
8180 /* TAP STAT INFO */
8181 typedef enum
8182 {
8183   MESSAGE_TYPE_COLUMN = 0,
8184   COUNT_COLUMN
8185 } camel_stat_columns;
8186 
8187 static stat_tap_table_item camel_stat_fields[] = {{TABLE_ITEM_STRING, TAP_ALIGN_LEFT, "Message Type or Reason", "%-25s"}, {TABLE_ITEM_UINT, TAP_ALIGN_RIGHT, "Count", "%d"}};
8188 
camel_stat_init(stat_tap_table_ui * new_stat)8189 static void camel_stat_init(stat_tap_table_ui* new_stat)
8190 {
8191   const char *table_name = "CAMEL Message Counters";
8192   int num_fields = sizeof(camel_stat_fields)/sizeof(stat_tap_table_item);
8193   stat_tap_table *table;
8194   int i;
8195   stat_tap_table_item_type items[sizeof(camel_stat_fields)/sizeof(stat_tap_table_item)];
8196 
8197   table = stat_tap_find_table(new_stat, table_name);
8198   if (table) {
8199     if (new_stat->stat_tap_reset_table_cb) {
8200       new_stat->stat_tap_reset_table_cb(table);
8201     }
8202     return;
8203   }
8204 
8205   table = stat_tap_init_table(table_name, num_fields, 0, NULL);
8206   stat_tap_add_table(new_stat, table);
8207 
8208   items[MESSAGE_TYPE_COLUMN].type = TABLE_ITEM_STRING;
8209   items[COUNT_COLUMN].type = TABLE_ITEM_UINT;
8210   items[COUNT_COLUMN].value.uint_value = 0;
8211 
8212   /* Add a row for each value type */
8213   for (i = 0; i < camel_MAX_NUM_OPR_CODES; i++)
8214   {
8215     const char *ocs = try_val_to_str(i, camel_opr_code_strings);
8216     char *col_str;
8217     if (ocs) {
8218       col_str = g_strdup_printf("Request %s", ocs);
8219     } else {
8220       col_str = g_strdup_printf("Unknown op code %d", i);
8221     }
8222 
8223     items[MESSAGE_TYPE_COLUMN].value.string_value = col_str;
8224     stat_tap_init_table_row(table, i, num_fields, items);
8225   }
8226 }
8227 
8228 static tap_packet_status
camel_stat_packet(void * tapdata,packet_info * pinfo _U_,epan_dissect_t * edt _U_,const void * csi_ptr)8229 camel_stat_packet(void *tapdata, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const void *csi_ptr)
8230 {
8231   stat_data_t* stat_data = (stat_data_t*)tapdata;
8232   const struct camelsrt_info_t *csi = (const struct camelsrt_info_t *) csi_ptr;
8233   stat_tap_table* table;
8234   stat_tap_table_item_type* msg_data;
8235 
8236   table = g_array_index(stat_data->stat_tap_data->tables, stat_tap_table*, 0);
8237   if (csi->opcode >= table->num_elements)
8238     return TAP_PACKET_DONT_REDRAW;
8239   msg_data = stat_tap_get_field_data(table, csi->opcode, COUNT_COLUMN);
8240   msg_data->value.uint_value++;
8241   stat_tap_set_field_data(table, csi->opcode, COUNT_COLUMN, msg_data);
8242 
8243   return TAP_PACKET_REDRAW;
8244 }
8245 
8246 static void
camel_stat_reset(stat_tap_table * table)8247 camel_stat_reset(stat_tap_table* table)
8248 {
8249   guint element;
8250   stat_tap_table_item_type* item_data;
8251 
8252   for (element = 0; element < table->num_elements; element++)
8253   {
8254     item_data = stat_tap_get_field_data(table, element, COUNT_COLUMN);
8255     item_data->value.uint_value = 0;
8256     stat_tap_set_field_data(table, element, COUNT_COLUMN, item_data);
8257   }
8258 }
8259 
8260 static void
camel_stat_free_table_item(stat_tap_table * table _U_,guint row _U_,guint column,stat_tap_table_item_type * field_data)8261 camel_stat_free_table_item(stat_tap_table* table _U_, guint row _U_, guint column, stat_tap_table_item_type* field_data)
8262 {
8263   if (column != MESSAGE_TYPE_COLUMN) return;
8264   g_free((char*)field_data->value.string_value);
8265 }
8266 
8267 /*--- proto_reg_handoff_camel ---------------------------------------*/
range_delete_callback(guint32 ssn,gpointer ptr _U_)8268 static void range_delete_callback(guint32 ssn, gpointer ptr _U_)
8269 {
8270   if (ssn) {
8271     delete_itu_tcap_subdissector(ssn, camel_handle);
8272   }
8273 }
8274 
range_add_callback(guint32 ssn,gpointer ptr _U_)8275 static void range_add_callback(guint32 ssn, gpointer ptr _U_)
8276 {
8277   if (ssn) {
8278     add_itu_tcap_subdissector(ssn, camel_handle);
8279   }
8280 }
8281 
proto_reg_handoff_camel(void)8282 void proto_reg_handoff_camel(void) {
8283   static gboolean camel_prefs_initialized = FALSE;
8284   static range_t *ssn_range;
8285 
8286   if (!camel_prefs_initialized) {
8287 
8288     camel_prefs_initialized = TRUE;
8289 
8290     register_ber_oid_dissector_handle("0.4.0.0.1.0.50.0",camel_v1_handle, proto_camel, "CAP-v1-gsmSSF-to-gsmSCF-AC" );
8291     register_ber_oid_dissector_handle("0.4.0.0.1.0.50.1",camel_v2_handle, proto_camel, "CAP-v2-gsmSSF-to-gsmSCF-AC" );
8292     register_ber_oid_dissector_handle("0.4.0.0.1.0.51.1",camel_v2_handle, proto_camel, "CAP-v2-assist-gsmSSF-to-gsmSCF-AC" );
8293     register_ber_oid_dissector_handle("0.4.0.0.1.0.52.1",camel_v2_handle, proto_camel, "CAP-v2-gsmSRF-to-gsmSCF-AC" );
8294 
8295     /* CAMEL Phase 3 Application Context Names */
8296     register_ber_oid_dissector_handle("0.4.0.0.1.21.3.4", camel_v3_handle, proto_camel, "capssf-scfGenericAC");
8297     register_ber_oid_dissector_handle("0.4.0.0.1.21.3.6", camel_v3_handle, proto_camel, "capssf-scfAssistHandoffAC");
8298     register_ber_oid_dissector_handle("0.4.0.0.1.20.3.14", camel_v3_handle, proto_camel, "gsmSRF-gsmSCF-ac");
8299     register_ber_oid_dissector_handle("0.4.0.0.1.21.3.50", camel_v3_handle, proto_camel, "cap3-gprssf-scfAC");
8300     register_ber_oid_dissector_handle("0.4.0.0.1.21.3.51", camel_v3_handle, proto_camel, "cap3-gsmscf-gprsssfAC");
8301     register_ber_oid_dissector_handle("0.4.0.0.1.21.3.61", camel_v3_handle, proto_camel, "cap3-sms-AC");
8302 
8303     /* CAMEL Phase 4 Application Context Names */
8304     register_ber_oid_dissector_handle("0.4.0.0.1.23.3.4", camel_v4_handle, proto_camel, "capssf-scfGenericAC");
8305     register_ber_oid_dissector_handle("0.4.0.0.1.23.3.6", camel_v4_handle, proto_camel, "capssf-scfAssistHandoffAC");
8306     register_ber_oid_dissector_handle("0.4.0.0.1.23.3.8", camel_v4_handle, proto_camel, "capscf-ssfGenericAC");
8307     register_ber_oid_dissector_handle("0.4.0.0.1.22.3.14", camel_v4_handle, proto_camel, "gsmSRF-gsmSCF-ac");
8308     register_ber_oid_dissector_handle("0.4.0.0.1.23.3.61", camel_v4_handle, proto_camel, "cap4-sms-AC");
8309 
8310 
8311 
8312 /*--- Included file: packet-camel-dis-tab.c ---*/
8313 #line 1 "./asn1/camel/packet-camel-dis-tab.c"
8314   register_ber_oid_dissector("0.4.0.0.1.1.5.2", dissect_CAP_GPRS_ReferenceNumber_PDU, proto_camel, "id-CAP-GPRS-ReferenceNumber");
8315   register_ber_oid_dissector("0.4.0.0.1.1.2.2", dissect_CAP_U_ABORT_REASON_PDU, proto_camel, "id-CAP-U-ABORT-Reason");
8316 
8317 
8318 /*--- End of included file: packet-camel-dis-tab.c ---*/
8319 #line 1282 "./asn1/camel/packet-camel-template.c"
8320   } else {
8321     range_foreach(ssn_range, range_delete_callback, NULL);
8322     wmem_free(wmem_epan_scope(), ssn_range);
8323   }
8324 
8325   ssn_range = range_copy(wmem_epan_scope(), global_ssn_range);
8326 
8327   range_foreach(ssn_range, range_add_callback, NULL);
8328 
8329 }
8330 
proto_register_camel(void)8331 void proto_register_camel(void) {
8332   module_t *camel_module;
8333   /* List of fields */
8334   static hf_register_info hf[] = {
8335     { &hf_camel_extension_code_local,
8336       { "local", "camel.extension_code_local",
8337         FT_INT32, BASE_DEC, NULL, 0,
8338         "Extension local code", HFILL }},
8339         { &hf_camel_error_code_local,
8340       { "local", "camel.error_code_local",
8341         FT_INT32, BASE_DEC, VALS(camel_err_code_string_vals), 0,
8342         "ERROR code", HFILL }},
8343     { &hf_camel_cause_indicator, /* Currently not enabled */
8344       { "Cause indicator",  "camel.cause_indicator",
8345         FT_UINT8, BASE_DEC|BASE_EXT_STRING, &q850_cause_code_vals_ext, 0x7f,
8346         NULL, HFILL }},
8347     { &hf_digit,
8348       { "Digit Value",  "camel.digit_value",
8349         FT_UINT8, BASE_DEC, VALS(digit_value), 0, NULL, HFILL }},
8350     { &hf_camel_PDPTypeNumber_etsi,
8351       { "ETSI defined PDP Type Value",  "camel.PDPTypeNumber_etsi",
8352         FT_UINT8, BASE_HEX, VALS(gsm_map_etsi_defined_pdp_vals), 0,
8353         NULL, HFILL }},
8354     { &hf_camel_PDPTypeNumber_ietf,
8355       { "IETF defined PDP Type Value",  "camel.PDPTypeNumber_ietf",
8356         FT_UINT8, BASE_HEX, VALS(gsm_map_ietf_defined_pdp_vals), 0,
8357         NULL, HFILL }},
8358     { &hf_camel_PDPAddress_IPv4,
8359       { "PDPAddress IPv4",  "camel.PDPAddress_IPv4",
8360         FT_IPv4, BASE_NONE, NULL, 0,
8361         "IPAddress IPv4", HFILL }},
8362     { &hf_camel_PDPAddress_IPv6,
8363       { "PDPAddress IPv6",  "camel.PDPAddress_IPv6",
8364         FT_IPv6, BASE_NONE, NULL, 0,
8365         "IPAddress IPv6", HFILL }},
8366     { &hf_camel_cellGlobalIdOrServiceAreaIdFixedLength,
8367       { "CellGlobalIdOrServiceAreaIdFixedLength", "camel.CellGlobalIdOrServiceAreaIdFixedLength",
8368         FT_BYTES, BASE_NONE, NULL, 0,
8369         "LocationInformationGPRS/CellGlobalIdOrServiceAreaIdOrLAI", HFILL }},
8370     { &hf_camel_RP_Cause,
8371       { "RP Cause",  "camel.RP_Cause",
8372         FT_UINT8, BASE_DEC, VALS(camel_RP_Cause_values), 0x7F,
8373         "RP Cause Value", HFILL }},
8374 
8375     { &hf_camel_CAMEL_AChBillingChargingCharacteristics,
8376       { "CAMEL-AChBillingChargingCharacteristics", "camel.CAMEL_AChBillingChargingCharacteristics",
8377         FT_UINT32, BASE_DEC,  VALS(camel_CAMEL_AChBillingChargingCharacteristics_vals), 0,
8378         NULL, HFILL }},
8379 
8380     { &hf_camel_CAMEL_FCIBillingChargingCharacteristics,
8381       { "CAMEL-FCIBillingChargingCharacteristics", "camel.CAMEL_FCIBillingChargingCharacteristics",
8382         FT_UINT32, BASE_DEC, VALS(camel_CAMEL_FCIBillingChargingCharacteristics_vals), 0,
8383         NULL, HFILL }},
8384 
8385     { &hf_camel_CAMEL_FCIGPRSBillingChargingCharacteristics,
8386       { "CAMEL-FCIGPRSBillingChargingCharacteristics", "camel.CAMEL_FCIGPRSBillingChargingCharacteristics",
8387         FT_UINT32, BASE_DEC, NULL, 0,
8388         NULL, HFILL }},
8389 
8390     { &hf_camel_CAMEL_FCISMSBillingChargingCharacteristics,
8391       { "CAMEL-FCISMSBillingChargingCharacteristics", "camel.CAMEL_FCISMSBillingChargingCharacteristics",
8392         FT_UINT32, BASE_DEC, VALS(camel_CAMEL_FCISMSBillingChargingCharacteristics_vals), 0,
8393         NULL, HFILL }},
8394 
8395     { &hf_camel_CAMEL_SCIBillingChargingCharacteristics,
8396       { "CAMEL-SCIBillingChargingCharacteristics", "camel.CAMEL_SCIBillingChargingCharacteristics",
8397         FT_UINT32, BASE_DEC, VALS(camel_CAMEL_SCIBillingChargingCharacteristics_vals), 0,
8398         NULL, HFILL }},
8399 
8400     { &hf_camel_CAMEL_SCIGPRSBillingChargingCharacteristics,
8401       { "CAMEL-SCIGPRSBillingChargingCharacteristics", "camel.CAMEL_SCIGPRSBillingChargingCharacteristics",
8402         FT_UINT32, BASE_DEC, NULL, 0,
8403         "CAMEL-FSCIGPRSBillingChargingCharacteristics", HFILL }},
8404 
8405     { &hf_camel_CAMEL_CallResult,
8406       { "CAMEL-CAMEL_CallResult", "camel.CAMEL_CallResult",
8407         FT_UINT32, BASE_DEC, VALS(camel_CAMEL_CallResult_vals), 0,
8408         "CAMEL-CallResult", HFILL }},
8409 
8410   /* Camel Service Response Time */
8411     { &hf_camelsrt_SessionId,
8412       { "Session Id",
8413         "camel.srt.session_id",
8414         FT_UINT32, BASE_DEC, NULL, 0x0,
8415         NULL, HFILL }
8416     },
8417     { &hf_camelsrt_RequestNumber,
8418       { "Request Number",
8419         "camel.srt.request_number",
8420         FT_UINT64, BASE_DEC, NULL, 0x0,
8421         NULL, HFILL }
8422     },
8423     { &hf_camelsrt_Duplicate,
8424       { "Request Duplicate",
8425         "camel.srt.duplicate",
8426         FT_UINT32, BASE_DEC, NULL, 0x0,
8427         NULL, HFILL }
8428     },
8429     { &hf_camelsrt_RequestFrame,
8430       { "Requested Frame",
8431         "camel.srt.reqframe",
8432         FT_FRAMENUM, BASE_NONE, NULL, 0x0,
8433         "SRT Request Frame", HFILL }
8434     },
8435     { &hf_camelsrt_ResponseFrame,
8436       { "Response Frame",
8437         "camel.srt.rspframe",
8438         FT_FRAMENUM, BASE_NONE, NULL, 0x0,
8439         "SRT Response Frame", HFILL }
8440     },
8441     { &hf_camelsrt_DeltaTime,
8442       { "Service Response Time",
8443         "camel.srt.deltatime",
8444         FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
8445         "DeltaTime between Request and Response", HFILL }
8446     },
8447     { &hf_camelsrt_SessionTime,
8448       { "Session duration",
8449         "camel.srt.sessiontime",
8450         FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
8451         "Duration of the TCAP session", HFILL }
8452     },
8453     { &hf_camelsrt_DeltaTime31,
8454       { "Service Response Time",
8455         "camel.srt.deltatime31",
8456         FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
8457         "DeltaTime between InitialDP and Continue", HFILL }
8458     },
8459     { &hf_camelsrt_DeltaTime65,
8460       { "Service Response Time",
8461         "camel.srt.deltatime65",
8462         FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
8463         "DeltaTime between InitialDPSMS and ContinueSMS", HFILL }
8464     },
8465     { &hf_camelsrt_DeltaTime75,
8466       { "Service Response Time",
8467         "camel.srt.deltatime75",
8468         FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
8469         "DeltaTime between InitialDPGPRS and ContinueGPRS", HFILL }
8470     },
8471     { &hf_camelsrt_DeltaTime35,
8472       { "Service Response Time",
8473         "camel.srt.deltatime35",
8474         FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
8475         "DeltaTime between ApplyChargingReport and ApplyCharging", HFILL }
8476     },
8477     { &hf_camelsrt_DeltaTime22,
8478       { "Service Response Time",
8479         "camel.srt.deltatime22",
8480         FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
8481         "DeltaTime between EventReport(Disconnect) and Release Call", HFILL }
8482     },
8483     { &hf_camelsrt_DeltaTime80,
8484       { "Service Response Time",
8485         "camel.srt.deltatime80",
8486         FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
8487         "DeltaTime between EventReportGPRS and ContinueGPRS", HFILL }
8488     },
8489 
8490 #ifdef REMOVED
8491 #endif
8492 
8493 /*--- Included file: packet-camel-hfarr.c ---*/
8494 #line 1 "./asn1/camel/packet-camel-hfarr.c"
8495     { &hf_camel_PAR_cancelFailed_PDU,
8496       { "PAR-cancelFailed", "camel.PAR_cancelFailed_element",
8497         FT_NONE, BASE_NONE, NULL, 0,
8498         NULL, HFILL }},
8499     { &hf_camel_PAR_requestedInfoError_PDU,
8500       { "PAR-requestedInfoError", "camel.PAR_requestedInfoError",
8501         FT_UINT32, BASE_DEC, VALS(camel_PAR_requestedInfoError_vals), 0,
8502         NULL, HFILL }},
8503     { &hf_camel_UnavailableNetworkResource_PDU,
8504       { "UnavailableNetworkResource", "camel.UnavailableNetworkResource",
8505         FT_UINT32, BASE_DEC, VALS(camel_UnavailableNetworkResource_vals), 0,
8506         NULL, HFILL }},
8507     { &hf_camel_PAR_taskRefused_PDU,
8508       { "PAR-taskRefused", "camel.PAR_taskRefused",
8509         FT_UINT32, BASE_DEC, VALS(camel_PAR_taskRefused_vals), 0,
8510         NULL, HFILL }},
8511     { &hf_camel_CAP_GPRS_ReferenceNumber_PDU,
8512       { "CAP-GPRS-ReferenceNumber", "camel.CAP_GPRS_ReferenceNumber_element",
8513         FT_NONE, BASE_NONE, NULL, 0,
8514         NULL, HFILL }},
8515     { &hf_camel_PlayAnnouncementArg_PDU,
8516       { "PlayAnnouncementArg", "camel.PlayAnnouncementArg_element",
8517         FT_NONE, BASE_NONE, NULL, 0,
8518         NULL, HFILL }},
8519     { &hf_camel_PromptAndCollectUserInformationArg_PDU,
8520       { "PromptAndCollectUserInformationArg", "camel.PromptAndCollectUserInformationArg_element",
8521         FT_NONE, BASE_NONE, NULL, 0,
8522         NULL, HFILL }},
8523     { &hf_camel_ReceivedInformationArg_PDU,
8524       { "ReceivedInformationArg", "camel.ReceivedInformationArg",
8525         FT_UINT32, BASE_DEC, VALS(camel_ReceivedInformationArg_vals), 0,
8526         NULL, HFILL }},
8527     { &hf_camel_SpecializedResourceReportArg_PDU,
8528       { "SpecializedResourceReportArg", "camel.SpecializedResourceReportArg",
8529         FT_UINT32, BASE_DEC, VALS(camel_SpecializedResourceReportArg_vals), 0,
8530         NULL, HFILL }},
8531     { &hf_camel_ApplyChargingArg_PDU,
8532       { "ApplyChargingArg", "camel.ApplyChargingArg_element",
8533         FT_NONE, BASE_NONE, NULL, 0,
8534         NULL, HFILL }},
8535     { &hf_camel_ApplyChargingReportArg_PDU,
8536       { "ApplyChargingReportArg", "camel.ApplyChargingReportArg",
8537         FT_BYTES, BASE_NONE, NULL, 0,
8538         NULL, HFILL }},
8539     { &hf_camel_AssistRequestInstructionsArg_PDU,
8540       { "AssistRequestInstructionsArg", "camel.AssistRequestInstructionsArg_element",
8541         FT_NONE, BASE_NONE, NULL, 0,
8542         NULL, HFILL }},
8543     { &hf_camel_CallGapArg_PDU,
8544       { "CallGapArg", "camel.CallGapArg_element",
8545         FT_NONE, BASE_NONE, NULL, 0,
8546         NULL, HFILL }},
8547     { &hf_camel_CallInformationReportArg_PDU,
8548       { "CallInformationReportArg", "camel.CallInformationReportArg_element",
8549         FT_NONE, BASE_NONE, NULL, 0,
8550         NULL, HFILL }},
8551     { &hf_camel_CallInformationRequestArg_PDU,
8552       { "CallInformationRequestArg", "camel.CallInformationRequestArg_element",
8553         FT_NONE, BASE_NONE, NULL, 0,
8554         NULL, HFILL }},
8555     { &hf_camel_CancelArg_PDU,
8556       { "CancelArg", "camel.CancelArg",
8557         FT_UINT32, BASE_DEC, VALS(camel_CancelArg_vals), 0,
8558         NULL, HFILL }},
8559     { &hf_camel_CollectInformationArg_PDU,
8560       { "CollectInformationArg", "camel.CollectInformationArg_element",
8561         FT_NONE, BASE_NONE, NULL, 0,
8562         NULL, HFILL }},
8563     { &hf_camel_ConnectArg_PDU,
8564       { "ConnectArg", "camel.ConnectArg_element",
8565         FT_NONE, BASE_NONE, NULL, 0,
8566         NULL, HFILL }},
8567     { &hf_camel_ConnectToResourceArg_PDU,
8568       { "ConnectToResourceArg", "camel.ConnectToResourceArg_element",
8569         FT_NONE, BASE_NONE, NULL, 0,
8570         NULL, HFILL }},
8571     { &hf_camel_ContinueWithArgumentArg_PDU,
8572       { "ContinueWithArgumentArg", "camel.ContinueWithArgumentArg_element",
8573         FT_NONE, BASE_NONE, NULL, 0,
8574         NULL, HFILL }},
8575     { &hf_camel_DisconnectForwardConnectionWithArgumentArg_PDU,
8576       { "DisconnectForwardConnectionWithArgumentArg", "camel.DisconnectForwardConnectionWithArgumentArg_element",
8577         FT_NONE, BASE_NONE, NULL, 0,
8578         NULL, HFILL }},
8579     { &hf_camel_DisconnectLegArg_PDU,
8580       { "DisconnectLegArg", "camel.DisconnectLegArg_element",
8581         FT_NONE, BASE_NONE, NULL, 0,
8582         NULL, HFILL }},
8583     { &hf_camel_EntityReleasedArg_PDU,
8584       { "EntityReleasedArg", "camel.EntityReleasedArg",
8585         FT_UINT32, BASE_DEC, VALS(camel_EntityReleasedArg_vals), 0,
8586         NULL, HFILL }},
8587     { &hf_camel_EstablishTemporaryConnectionArg_PDU,
8588       { "EstablishTemporaryConnectionArg", "camel.EstablishTemporaryConnectionArg_element",
8589         FT_NONE, BASE_NONE, NULL, 0,
8590         NULL, HFILL }},
8591     { &hf_camel_EventReportBCSMArg_PDU,
8592       { "EventReportBCSMArg", "camel.EventReportBCSMArg_element",
8593         FT_NONE, BASE_NONE, NULL, 0,
8594         NULL, HFILL }},
8595     { &hf_camel_FurnishChargingInformationArg_PDU,
8596       { "FurnishChargingInformationArg", "camel.FurnishChargingInformationArg",
8597         FT_BYTES, BASE_NONE, NULL, 0,
8598         NULL, HFILL }},
8599     { &hf_camel_InitialDPArg_PDU,
8600       { "InitialDPArg", "camel.InitialDPArg_element",
8601         FT_NONE, BASE_NONE, NULL, 0,
8602         NULL, HFILL }},
8603     { &hf_camel_InitiateCallAttemptArg_PDU,
8604       { "InitiateCallAttemptArg", "camel.InitiateCallAttemptArg_element",
8605         FT_NONE, BASE_NONE, NULL, 0,
8606         NULL, HFILL }},
8607     { &hf_camel_InitiateCallAttemptRes_PDU,
8608       { "InitiateCallAttemptRes", "camel.InitiateCallAttemptRes_element",
8609         FT_NONE, BASE_NONE, NULL, 0,
8610         NULL, HFILL }},
8611     { &hf_camel_MoveLegArg_PDU,
8612       { "MoveLegArg", "camel.MoveLegArg_element",
8613         FT_NONE, BASE_NONE, NULL, 0,
8614         NULL, HFILL }},
8615     { &hf_camel_PlayToneArg_PDU,
8616       { "PlayToneArg", "camel.PlayToneArg_element",
8617         FT_NONE, BASE_NONE, NULL, 0,
8618         NULL, HFILL }},
8619     { &hf_camel_ReleaseCallArg_PDU,
8620       { "ReleaseCallArg", "camel.ReleaseCallArg",
8621         FT_UINT32, BASE_DEC, VALS(camel_ReleaseCallArg_vals), 0,
8622         NULL, HFILL }},
8623     { &hf_camel_RequestReportBCSMEventArg_PDU,
8624       { "RequestReportBCSMEventArg", "camel.RequestReportBCSMEventArg_element",
8625         FT_NONE, BASE_NONE, NULL, 0,
8626         NULL, HFILL }},
8627     { &hf_camel_ResetTimerArg_PDU,
8628       { "ResetTimerArg", "camel.ResetTimerArg_element",
8629         FT_NONE, BASE_NONE, NULL, 0,
8630         NULL, HFILL }},
8631     { &hf_camel_SendChargingInformationArg_PDU,
8632       { "SendChargingInformationArg", "camel.SendChargingInformationArg_element",
8633         FT_NONE, BASE_NONE, NULL, 0,
8634         NULL, HFILL }},
8635     { &hf_camel_SplitLegArg_PDU,
8636       { "SplitLegArg", "camel.SplitLegArg_element",
8637         FT_NONE, BASE_NONE, NULL, 0,
8638         NULL, HFILL }},
8639     { &hf_camel_ApplyChargingGPRSArg_PDU,
8640       { "ApplyChargingGPRSArg", "camel.ApplyChargingGPRSArg_element",
8641         FT_NONE, BASE_NONE, NULL, 0,
8642         NULL, HFILL }},
8643     { &hf_camel_ApplyChargingReportGPRSArg_PDU,
8644       { "ApplyChargingReportGPRSArg", "camel.ApplyChargingReportGPRSArg_element",
8645         FT_NONE, BASE_NONE, NULL, 0,
8646         NULL, HFILL }},
8647     { &hf_camel_CancelGPRSArg_PDU,
8648       { "CancelGPRSArg", "camel.CancelGPRSArg_element",
8649         FT_NONE, BASE_NONE, NULL, 0,
8650         NULL, HFILL }},
8651     { &hf_camel_ConnectGPRSArg_PDU,
8652       { "ConnectGPRSArg", "camel.ConnectGPRSArg_element",
8653         FT_NONE, BASE_NONE, NULL, 0,
8654         NULL, HFILL }},
8655     { &hf_camel_ContinueGPRSArg_PDU,
8656       { "ContinueGPRSArg", "camel.ContinueGPRSArg_element",
8657         FT_NONE, BASE_NONE, NULL, 0,
8658         NULL, HFILL }},
8659     { &hf_camel_EntityReleasedGPRSArg_PDU,
8660       { "EntityReleasedGPRSArg", "camel.EntityReleasedGPRSArg_element",
8661         FT_NONE, BASE_NONE, NULL, 0,
8662         NULL, HFILL }},
8663     { &hf_camel_EventReportGPRSArg_PDU,
8664       { "EventReportGPRSArg", "camel.EventReportGPRSArg_element",
8665         FT_NONE, BASE_NONE, NULL, 0,
8666         NULL, HFILL }},
8667     { &hf_camel_FurnishChargingInformationGPRSArg_PDU,
8668       { "FurnishChargingInformationGPRSArg", "camel.FurnishChargingInformationGPRSArg",
8669         FT_BYTES, BASE_NONE, NULL, 0,
8670         NULL, HFILL }},
8671     { &hf_camel_InitialDPGPRSArg_PDU,
8672       { "InitialDPGPRSArg", "camel.InitialDPGPRSArg_element",
8673         FT_NONE, BASE_NONE, NULL, 0,
8674         NULL, HFILL }},
8675     { &hf_camel_ReleaseGPRSArg_PDU,
8676       { "ReleaseGPRSArg", "camel.ReleaseGPRSArg_element",
8677         FT_NONE, BASE_NONE, NULL, 0,
8678         NULL, HFILL }},
8679     { &hf_camel_RequestReportGPRSEventArg_PDU,
8680       { "RequestReportGPRSEventArg", "camel.RequestReportGPRSEventArg_element",
8681         FT_NONE, BASE_NONE, NULL, 0,
8682         NULL, HFILL }},
8683     { &hf_camel_ResetTimerGPRSArg_PDU,
8684       { "ResetTimerGPRSArg", "camel.ResetTimerGPRSArg_element",
8685         FT_NONE, BASE_NONE, NULL, 0,
8686         NULL, HFILL }},
8687     { &hf_camel_SendChargingInformationGPRSArg_PDU,
8688       { "SendChargingInformationGPRSArg", "camel.SendChargingInformationGPRSArg_element",
8689         FT_NONE, BASE_NONE, NULL, 0,
8690         NULL, HFILL }},
8691     { &hf_camel_ConnectSMSArg_PDU,
8692       { "ConnectSMSArg", "camel.ConnectSMSArg_element",
8693         FT_NONE, BASE_NONE, NULL, 0,
8694         NULL, HFILL }},
8695     { &hf_camel_EventReportSMSArg_PDU,
8696       { "EventReportSMSArg", "camel.EventReportSMSArg_element",
8697         FT_NONE, BASE_NONE, NULL, 0,
8698         NULL, HFILL }},
8699     { &hf_camel_FurnishChargingInformationSMSArg_PDU,
8700       { "FurnishChargingInformationSMSArg", "camel.FurnishChargingInformationSMSArg",
8701         FT_BYTES, BASE_NONE, NULL, 0,
8702         NULL, HFILL }},
8703     { &hf_camel_InitialDPSMSArg_PDU,
8704       { "InitialDPSMSArg", "camel.InitialDPSMSArg_element",
8705         FT_NONE, BASE_NONE, NULL, 0,
8706         NULL, HFILL }},
8707     { &hf_camel_ReleaseSMSArg_PDU,
8708       { "ReleaseSMSArg", "camel.ReleaseSMSArg",
8709         FT_BYTES, BASE_NONE, NULL, 0,
8710         NULL, HFILL }},
8711     { &hf_camel_RequestReportSMSEventArg_PDU,
8712       { "RequestReportSMSEventArg", "camel.RequestReportSMSEventArg_element",
8713         FT_NONE, BASE_NONE, NULL, 0,
8714         NULL, HFILL }},
8715     { &hf_camel_ResetTimerSMSArg_PDU,
8716       { "ResetTimerSMSArg", "camel.ResetTimerSMSArg_element",
8717         FT_NONE, BASE_NONE, NULL, 0,
8718         NULL, HFILL }},
8719     { &hf_camel_CAP_U_ABORT_REASON_PDU,
8720       { "CAP-U-ABORT-REASON", "camel.CAP_U_ABORT_REASON",
8721         FT_UINT32, BASE_DEC, VALS(camel_CAP_U_ABORT_REASON_vals), 0,
8722         NULL, HFILL }},
8723     { &hf_camel_legID,
8724       { "legID", "camel.legID",
8725         FT_UINT32, BASE_DEC, VALS(inap_LegID_vals), 0,
8726         NULL, HFILL }},
8727     { &hf_camel_srfConnection,
8728       { "srfConnection", "camel.srfConnection",
8729         FT_UINT32, BASE_DEC, NULL, 0,
8730         "CallSegmentID", HFILL }},
8731     { &hf_camel_aOCInitial,
8732       { "aOCInitial", "camel.aOCInitial_element",
8733         FT_NONE, BASE_NONE, NULL, 0,
8734         "CAI_GSM0224", HFILL }},
8735     { &hf_camel_aOCSubsequent,
8736       { "aOCSubsequent", "camel.aOCSubsequent_element",
8737         FT_NONE, BASE_NONE, NULL, 0,
8738         NULL, HFILL }},
8739     { &hf_camel_cAI_GSM0224,
8740       { "cAI-GSM0224", "camel.cAI_GSM0224_element",
8741         FT_NONE, BASE_NONE, NULL, 0,
8742         NULL, HFILL }},
8743     { &hf_camel_aocSubsequent_tariffSwitchInterval,
8744       { "tariffSwitchInterval", "camel.tariffSwitchInterval",
8745         FT_UINT32, BASE_DEC, NULL, 0,
8746         "INTEGER_1_86400", HFILL }},
8747     { &hf_camel_audibleIndicatorTone,
8748       { "tone", "camel.tone",
8749         FT_BOOLEAN, BASE_NONE, NULL, 0,
8750         "BOOLEAN", HFILL }},
8751     { &hf_camel_burstList,
8752       { "burstList", "camel.burstList_element",
8753         FT_NONE, BASE_NONE, NULL, 0,
8754         NULL, HFILL }},
8755     { &hf_camel_conferenceTreatmentIndicator,
8756       { "conferenceTreatmentIndicator", "camel.conferenceTreatmentIndicator",
8757         FT_BYTES, BASE_NONE, NULL, 0,
8758         "OCTET_STRING_SIZE_1", HFILL }},
8759     { &hf_camel_callCompletionTreatmentIndicator,
8760       { "callCompletionTreatmentIndicator", "camel.callCompletionTreatmentIndicator",
8761         FT_BYTES, BASE_NONE, NULL, 0,
8762         "OCTET_STRING_SIZE_1", HFILL }},
8763     { &hf_camel_calledAddressValue,
8764       { "calledAddressValue", "camel.calledAddressValue",
8765         FT_BYTES, BASE_NONE, NULL, 0,
8766         "Digits", HFILL }},
8767     { &hf_camel_gapOnService,
8768       { "gapOnService", "camel.gapOnService_element",
8769         FT_NONE, BASE_NONE, NULL, 0,
8770         NULL, HFILL }},
8771     { &hf_camel_calledAddressAndService,
8772       { "calledAddressAndService", "camel.calledAddressAndService_element",
8773         FT_NONE, BASE_NONE, NULL, 0,
8774         NULL, HFILL }},
8775     { &hf_camel_serviceKey,
8776       { "serviceKey", "camel.serviceKey",
8777         FT_UINT32, BASE_DEC, NULL, 0,
8778         NULL, HFILL }},
8779     { &hf_camel_callingAddressAndService,
8780       { "callingAddressAndService", "camel.callingAddressAndService_element",
8781         FT_NONE, BASE_NONE, NULL, 0,
8782         NULL, HFILL }},
8783     { &hf_camel_callingAddressValue,
8784       { "callingAddressValue", "camel.callingAddressValue",
8785         FT_BYTES, BASE_NONE, NULL, 0,
8786         "Digits", HFILL }},
8787     { &hf_camel_eventTypeBCSM,
8788       { "eventTypeBCSM", "camel.eventTypeBCSM",
8789         FT_UINT32, BASE_DEC, VALS(camel_EventTypeBCSM_vals), 0,
8790         NULL, HFILL }},
8791     { &hf_camel_monitorMode,
8792       { "monitorMode", "camel.monitorMode",
8793         FT_UINT32, BASE_DEC, VALS(camel_MonitorMode_vals), 0,
8794         NULL, HFILL }},
8795     { &hf_camel_dpSpecificCriteria,
8796       { "dpSpecificCriteria", "camel.dpSpecificCriteria",
8797         FT_UINT32, BASE_DEC, VALS(camel_DpSpecificCriteria_vals), 0,
8798         NULL, HFILL }},
8799     { &hf_camel_automaticRearm,
8800       { "automaticRearm", "camel.automaticRearm_element",
8801         FT_NONE, BASE_NONE, NULL, 0,
8802         NULL, HFILL }},
8803     { &hf_camel_cause,
8804       { "cause", "camel.cause",
8805         FT_BYTES, BASE_NONE, NULL, 0,
8806         NULL, HFILL }},
8807     { &hf_camel_bearerCap,
8808       { "bearerCap", "camel.bearerCap",
8809         FT_BYTES, BASE_NONE, NULL, 0,
8810         NULL, HFILL }},
8811     { &hf_camel_numberOfBursts,
8812       { "numberOfBursts", "camel.numberOfBursts",
8813         FT_UINT32, BASE_DEC, NULL, 0,
8814         "INTEGER_1_3", HFILL }},
8815     { &hf_camel_burstInterval,
8816       { "burstInterval", "camel.burstInterval",
8817         FT_UINT32, BASE_DEC, NULL, 0,
8818         "INTEGER_1_1200", HFILL }},
8819     { &hf_camel_numberOfTonesInBurst,
8820       { "numberOfTonesInBurst", "camel.numberOfTonesInBurst",
8821         FT_UINT32, BASE_DEC, NULL, 0,
8822         "INTEGER_1_3", HFILL }},
8823     { &hf_camel_burstToneDuration,
8824       { "toneDuration", "camel.toneDuration",
8825         FT_UINT32, BASE_DEC, NULL, 0,
8826         "INTEGER_1_20", HFILL }},
8827     { &hf_camel_toneInterval,
8828       { "toneInterval", "camel.toneInterval",
8829         FT_UINT32, BASE_DEC, NULL, 0,
8830         "INTEGER_1_20", HFILL }},
8831     { &hf_camel_warningPeriod,
8832       { "warningPeriod", "camel.warningPeriod",
8833         FT_UINT32, BASE_DEC, NULL, 0,
8834         "INTEGER_1_1200", HFILL }},
8835     { &hf_camel_bursts,
8836       { "bursts", "camel.bursts_element",
8837         FT_NONE, BASE_NONE, NULL, 0,
8838         "Burst", HFILL }},
8839     { &hf_camel_e1,
8840       { "e1", "camel.e1",
8841         FT_UINT32, BASE_DEC, NULL, 0,
8842         "INTEGER_0_8191", HFILL }},
8843     { &hf_camel_e2,
8844       { "e2", "camel.e2",
8845         FT_UINT32, BASE_DEC, NULL, 0,
8846         "INTEGER_0_8191", HFILL }},
8847     { &hf_camel_e3,
8848       { "e3", "camel.e3",
8849         FT_UINT32, BASE_DEC, NULL, 0,
8850         "INTEGER_0_8191", HFILL }},
8851     { &hf_camel_e4,
8852       { "e4", "camel.e4",
8853         FT_UINT32, BASE_DEC, NULL, 0,
8854         "INTEGER_0_8191", HFILL }},
8855     { &hf_camel_e5,
8856       { "e5", "camel.e5",
8857         FT_UINT32, BASE_DEC, NULL, 0,
8858         "INTEGER_0_8191", HFILL }},
8859     { &hf_camel_e6,
8860       { "e6", "camel.e6",
8861         FT_UINT32, BASE_DEC, NULL, 0,
8862         "INTEGER_0_8191", HFILL }},
8863     { &hf_camel_e7,
8864       { "e7", "camel.e7",
8865         FT_UINT32, BASE_DEC, NULL, 0,
8866         "INTEGER_0_8191", HFILL }},
8867     { &hf_camel_callSegmentID,
8868       { "callSegmentID", "camel.callSegmentID",
8869         FT_UINT32, BASE_DEC, NULL, 0,
8870         NULL, HFILL }},
8871     { &hf_camel_invokeID,
8872       { "invokeID", "camel.invokeID",
8873         FT_INT32, BASE_DEC, NULL, 0,
8874         NULL, HFILL }},
8875     { &hf_camel_timeDurationCharging,
8876       { "timeDurationCharging", "camel.timeDurationCharging_element",
8877         FT_NONE, BASE_NONE, NULL, 0,
8878         NULL, HFILL }},
8879     { &hf_camel_maxCallPeriodDuration,
8880       { "maxCallPeriodDuration", "camel.maxCallPeriodDuration",
8881         FT_UINT32, BASE_DEC, NULL, 0,
8882         "INTEGER_1_864000", HFILL }},
8883     { &hf_camel_releaseIfdurationExceeded,
8884       { "releaseIfdurationExceeded", "camel.releaseIfdurationExceeded",
8885         FT_BOOLEAN, BASE_NONE, NULL, 0,
8886         "BOOLEAN", HFILL }},
8887     { &hf_camel_timeDurationCharging_tariffSwitchInterval,
8888       { "tariffSwitchInterval", "camel.tariffSwitchInterval",
8889         FT_UINT32, BASE_DEC, NULL, 0,
8890         "INTEGER_1_86400", HFILL }},
8891     { &hf_camel_audibleIndicator,
8892       { "audibleIndicator", "camel.audibleIndicator",
8893         FT_UINT32, BASE_DEC, VALS(camel_AudibleIndicator_vals), 0,
8894         NULL, HFILL }},
8895     { &hf_camel_extensions,
8896       { "extensions", "camel.extensions",
8897         FT_UINT32, BASE_DEC, NULL, 0,
8898         NULL, HFILL }},
8899     { &hf_camel_timeDurationChargingResult,
8900       { "timeDurationChargingResult", "camel.timeDurationChargingResult_element",
8901         FT_NONE, BASE_NONE, NULL, 0,
8902         NULL, HFILL }},
8903     { &hf_camel_timeDurationChargingResultpartyToCharge,
8904       { "partyToCharge", "camel.partyToCharge",
8905         FT_UINT32, BASE_DEC, VALS(camel_ReceivingSideID_vals), 0,
8906         "ReceivingSideID", HFILL }},
8907     { &hf_camel_timeInformation,
8908       { "timeInformation", "camel.timeInformation",
8909         FT_UINT32, BASE_DEC, VALS(camel_TimeInformation_vals), 0,
8910         NULL, HFILL }},
8911     { &hf_camel_legActive,
8912       { "legActive", "camel.legActive",
8913         FT_BOOLEAN, BASE_NONE, NULL, 0,
8914         "BOOLEAN", HFILL }},
8915     { &hf_camel_callLegReleasedAtTcpExpiry,
8916       { "callLegReleasedAtTcpExpiry", "camel.callLegReleasedAtTcpExpiry_element",
8917         FT_NONE, BASE_NONE, NULL, 0,
8918         NULL, HFILL }},
8919     { &hf_camel_aChChargingAddress,
8920       { "aChChargingAddress", "camel.aChChargingAddress",
8921         FT_UINT32, BASE_DEC, VALS(camel_AChChargingAddress_vals), 0,
8922         NULL, HFILL }},
8923     { &hf_camel_fci_fCIBCCCAMELsequence1,
8924       { "fCIBCCCAMELsequence1", "camel.fCIBCCCAMELsequence1_element",
8925         FT_NONE, BASE_NONE, NULL, 0,
8926         "T_fci_fCIBCCCAMELsequence1", HFILL }},
8927     { &hf_camel_freeFormatData,
8928       { "freeFormatData", "camel.freeFormatData",
8929         FT_BYTES, BASE_NONE, NULL, 0,
8930         "OCTET_STRING_SIZE_bound__minFCIBillingChargingDataLength_bound__maxFCIBillingChargingDataLength", HFILL }},
8931     { &hf_camel_fCIBCCCAMELsequence1partyToCharge,
8932       { "partyToCharge", "camel.partyToCharge",
8933         FT_UINT32, BASE_DEC, VALS(camel_SendingSideID_vals), 0,
8934         "SendingSideID", HFILL }},
8935     { &hf_camel_appendFreeFormatData,
8936       { "appendFreeFormatData", "camel.appendFreeFormatData",
8937         FT_UINT32, BASE_DEC, VALS(camel_AppendFreeFormatData_vals), 0,
8938         NULL, HFILL }},
8939     { &hf_camel_fciGPRS_fCIBCCCAMELsequence1,
8940       { "fCIBCCCAMELsequence1", "camel.fCIBCCCAMELsequence1_element",
8941         FT_NONE, BASE_NONE, NULL, 0,
8942         "T_fciGPRS_fCIBCCCAMELsequence1", HFILL }},
8943     { &hf_camel_pDPID,
8944       { "pDPID", "camel.pDPID",
8945         FT_BYTES, BASE_NONE, NULL, 0,
8946         NULL, HFILL }},
8947     { &hf_camel_fciSMS_fCIBCCCAMELsequence1,
8948       { "fCIBCCCAMELsequence1", "camel.fCIBCCCAMELsequence1_element",
8949         FT_NONE, BASE_NONE, NULL, 0,
8950         "T_fciSMS_fCIBCCCAMELsequence1", HFILL }},
8951     { &hf_camel_aOCBeforeAnswer,
8952       { "aOCBeforeAnswer", "camel.aOCBeforeAnswer_element",
8953         FT_NONE, BASE_NONE, NULL, 0,
8954         NULL, HFILL }},
8955     { &hf_camel_aOCAfterAnswer,
8956       { "aOCAfterAnswer", "camel.aOCAfterAnswer_element",
8957         FT_NONE, BASE_NONE, NULL, 0,
8958         "AOCSubsequent", HFILL }},
8959     { &hf_camel_aOC_extension,
8960       { "aOC-extension", "camel.aOC_extension_element",
8961         FT_NONE, BASE_NONE, NULL, 0,
8962         "CAMEL_SCIBillingChargingCharacteristicsAlt", HFILL }},
8963     { &hf_camel_aOCGPRS,
8964       { "aOCGPRS", "camel.aOCGPRS_element",
8965         FT_NONE, BASE_NONE, NULL, 0,
8966         NULL, HFILL }},
8967     { &hf_camel_ChangeOfPositionControlInfo_item,
8968       { "ChangeOfLocation", "camel.ChangeOfLocation",
8969         FT_UINT32, BASE_DEC, VALS(camel_ChangeOfLocation_vals), 0,
8970         NULL, HFILL }},
8971     { &hf_camel_cellGlobalId,
8972       { "cellGlobalId", "camel.cellGlobalId",
8973         FT_BYTES, BASE_NONE, NULL, 0,
8974         "CellGlobalIdOrServiceAreaIdFixedLength", HFILL }},
8975     { &hf_camel_serviceAreaId,
8976       { "serviceAreaId", "camel.serviceAreaId",
8977         FT_BYTES, BASE_NONE, NULL, 0,
8978         "CellGlobalIdOrServiceAreaIdFixedLength", HFILL }},
8979     { &hf_camel_locationAreaId,
8980       { "locationAreaId", "camel.locationAreaId",
8981         FT_BYTES, BASE_NONE, NULL, 0,
8982         "LAIFixedLength", HFILL }},
8983     { &hf_camel_inter_SystemHandOver,
8984       { "inter-SystemHandOver", "camel.inter_SystemHandOver_element",
8985         FT_NONE, BASE_NONE, NULL, 0,
8986         NULL, HFILL }},
8987     { &hf_camel_inter_PLMNHandOver,
8988       { "inter-PLMNHandOver", "camel.inter_PLMNHandOver_element",
8989         FT_NONE, BASE_NONE, NULL, 0,
8990         NULL, HFILL }},
8991     { &hf_camel_inter_MSCHandOver,
8992       { "inter-MSCHandOver", "camel.inter_MSCHandOver_element",
8993         FT_NONE, BASE_NONE, NULL, 0,
8994         NULL, HFILL }},
8995     { &hf_camel_changeOfLocationAlt,
8996       { "changeOfLocationAlt", "camel.changeOfLocationAlt_element",
8997         FT_NONE, BASE_NONE, NULL, 0,
8998         NULL, HFILL }},
8999     { &hf_camel_maxTransferredVolume,
9000       { "maxTransferredVolume", "camel.maxTransferredVolume",
9001         FT_UINT32, BASE_DEC, NULL, 0,
9002         "INTEGER_1_4294967295", HFILL }},
9003     { &hf_camel_maxElapsedTime,
9004       { "maxElapsedTime", "camel.maxElapsedTime",
9005         FT_UINT32, BASE_DEC, NULL, 0,
9006         "INTEGER_1_86400", HFILL }},
9007     { &hf_camel_transferredVolume,
9008       { "transferredVolume", "camel.transferredVolume",
9009         FT_UINT32, BASE_DEC, VALS(camel_TransferredVolume_vals), 0,
9010         NULL, HFILL }},
9011     { &hf_camel_elapsedTime,
9012       { "elapsedTime", "camel.elapsedTime",
9013         FT_UINT32, BASE_DEC, VALS(camel_ElapsedTime_vals), 0,
9014         NULL, HFILL }},
9015     { &hf_camel_transferredVolumeRollOver,
9016       { "transferredVolumeRollOver", "camel.transferredVolumeRollOver",
9017         FT_UINT32, BASE_DEC, VALS(camel_TransferredVolumeRollOver_vals), 0,
9018         NULL, HFILL }},
9019     { &hf_camel_elapsedTimeRollOver,
9020       { "elapsedTimeRollOver", "camel.elapsedTimeRollOver",
9021         FT_UINT32, BASE_DEC, VALS(camel_ElapsedTimeRollOver_vals), 0,
9022         NULL, HFILL }},
9023     { &hf_camel_minimumNbOfDigits,
9024       { "minimumNbOfDigits", "camel.minimumNbOfDigits",
9025         FT_UINT32, BASE_DEC, NULL, 0,
9026         "INTEGER_1_30", HFILL }},
9027     { &hf_camel_maximumNbOfDigits,
9028       { "maximumNbOfDigits", "camel.maximumNbOfDigits",
9029         FT_UINT32, BASE_DEC, NULL, 0,
9030         "INTEGER_1_30", HFILL }},
9031     { &hf_camel_endOfReplyDigit,
9032       { "endOfReplyDigit", "camel.endOfReplyDigit",
9033         FT_BYTES, BASE_NONE, NULL, 0,
9034         "OCTET_STRING_SIZE_1_2", HFILL }},
9035     { &hf_camel_cancelDigit,
9036       { "cancelDigit", "camel.cancelDigit",
9037         FT_BYTES, BASE_NONE, NULL, 0,
9038         "OCTET_STRING_SIZE_1_2", HFILL }},
9039     { &hf_camel_startDigit,
9040       { "startDigit", "camel.startDigit",
9041         FT_BYTES, BASE_NONE, NULL, 0,
9042         "OCTET_STRING_SIZE_1_2", HFILL }},
9043     { &hf_camel_firstDigitTimeOut,
9044       { "firstDigitTimeOut", "camel.firstDigitTimeOut",
9045         FT_UINT32, BASE_DEC, NULL, 0,
9046         "INTEGER_1_127", HFILL }},
9047     { &hf_camel_interDigitTimeOut,
9048       { "interDigitTimeOut", "camel.interDigitTimeOut",
9049         FT_UINT32, BASE_DEC, NULL, 0,
9050         "INTEGER_1_127", HFILL }},
9051     { &hf_camel_errorTreatment,
9052       { "errorTreatment", "camel.errorTreatment",
9053         FT_UINT32, BASE_DEC, VALS(camel_ErrorTreatment_vals), 0,
9054         NULL, HFILL }},
9055     { &hf_camel_interruptableAnnInd,
9056       { "interruptableAnnInd", "camel.interruptableAnnInd",
9057         FT_BOOLEAN, BASE_NONE, NULL, 0,
9058         "BOOLEAN", HFILL }},
9059     { &hf_camel_voiceInformation,
9060       { "voiceInformation", "camel.voiceInformation",
9061         FT_BOOLEAN, BASE_NONE, NULL, 0,
9062         "BOOLEAN", HFILL }},
9063     { &hf_camel_voiceBack,
9064       { "voiceBack", "camel.voiceBack",
9065         FT_BOOLEAN, BASE_NONE, NULL, 0,
9066         "BOOLEAN", HFILL }},
9067     { &hf_camel_collectedDigits,
9068       { "collectedDigits", "camel.collectedDigits_element",
9069         FT_NONE, BASE_NONE, NULL, 0,
9070         NULL, HFILL }},
9071     { &hf_camel_basicGapCriteria,
9072       { "basicGapCriteria", "camel.basicGapCriteria",
9073         FT_UINT32, BASE_DEC, VALS(camel_BasicGapCriteria_vals), 0,
9074         NULL, HFILL }},
9075     { &hf_camel_scfID,
9076       { "scfID", "camel.scfID",
9077         FT_BYTES, BASE_NONE, NULL, 0,
9078         NULL, HFILL }},
9079     { &hf_camel_DestinationRoutingAddress_item,
9080       { "CalledPartyNumber", "camel.CalledPartyNumber",
9081         FT_BYTES, BASE_NONE, NULL, 0,
9082         NULL, HFILL }},
9083     { &hf_camel_applicationTimer,
9084       { "applicationTimer", "camel.applicationTimer",
9085         FT_UINT32, BASE_DEC, NULL, 0,
9086         NULL, HFILL }},
9087     { &hf_camel_midCallControlInfo,
9088       { "midCallControlInfo", "camel.midCallControlInfo_element",
9089         FT_NONE, BASE_NONE, NULL, 0,
9090         NULL, HFILL }},
9091     { &hf_camel_dpSpecificCriteriaAlt,
9092       { "dpSpecificCriteriaAlt", "camel.dpSpecificCriteriaAlt_element",
9093         FT_NONE, BASE_NONE, NULL, 0,
9094         NULL, HFILL }},
9095     { &hf_camel_changeOfPositionControlInfo,
9096       { "changeOfPositionControlInfo", "camel.changeOfPositionControlInfo",
9097         FT_UINT32, BASE_DEC, NULL, 0,
9098         NULL, HFILL }},
9099     { &hf_camel_numberOfDigits,
9100       { "numberOfDigits", "camel.numberOfDigits",
9101         FT_UINT32, BASE_DEC, NULL, 0,
9102         NULL, HFILL }},
9103     { &hf_camel_interDigitTimeout,
9104       { "interDigitTimeout", "camel.interDigitTimeout",
9105         FT_UINT32, BASE_DEC, NULL, 0,
9106         "INTEGER_1_127", HFILL }},
9107     { &hf_camel_oServiceChangeSpecificInfo,
9108       { "oServiceChangeSpecificInfo", "camel.oServiceChangeSpecificInfo_element",
9109         FT_NONE, BASE_NONE, NULL, 0,
9110         NULL, HFILL }},
9111     { &hf_camel_ext_basicServiceCode,
9112       { "ext-basicServiceCode", "camel.ext_basicServiceCode",
9113         FT_UINT32, BASE_DEC, VALS(gsm_map_Ext_BasicServiceCode_vals), 0,
9114         NULL, HFILL }},
9115     { &hf_camel_initiatorOfServiceChange,
9116       { "initiatorOfServiceChange", "camel.initiatorOfServiceChange",
9117         FT_UINT32, BASE_DEC, VALS(camel_InitiatorOfServiceChange_vals), 0,
9118         NULL, HFILL }},
9119     { &hf_camel_natureOfServiceChange,
9120       { "natureOfServiceChange", "camel.natureOfServiceChange",
9121         FT_UINT32, BASE_DEC, VALS(camel_NatureOfServiceChange_vals), 0,
9122         NULL, HFILL }},
9123     { &hf_camel_tServiceChangeSpecificInfo,
9124       { "tServiceChangeSpecificInfo", "camel.tServiceChangeSpecificInfo_element",
9125         FT_NONE, BASE_NONE, NULL, 0,
9126         NULL, HFILL }},
9127     { &hf_camel_collectedInfoSpecificInfo,
9128       { "collectedInfoSpecificInfo", "camel.collectedInfoSpecificInfo_element",
9129         FT_NONE, BASE_NONE, NULL, 0,
9130         NULL, HFILL }},
9131     { &hf_camel_calledPartyNumber,
9132       { "calledPartyNumber", "camel.calledPartyNumber",
9133         FT_BYTES, BASE_NONE, NULL, 0,
9134         NULL, HFILL }},
9135     { &hf_camel_timeGPRSIfNoTariffSwitch,
9136       { "timeGPRSIfNoTariffSwitch", "camel.timeGPRSIfNoTariffSwitch",
9137         FT_UINT32, BASE_DEC, NULL, 0,
9138         "INTEGER_0_86400", HFILL }},
9139     { &hf_camel_timeGPRSIfTariffSwitch,
9140       { "timeGPRSIfTariffSwitch", "camel.timeGPRSIfTariffSwitch_element",
9141         FT_NONE, BASE_NONE, NULL, 0,
9142         NULL, HFILL }},
9143     { &hf_camel_timeGPRSSinceLastTariffSwitch,
9144       { "timeGPRSSinceLastTariffSwitch", "camel.timeGPRSSinceLastTariffSwitch",
9145         FT_UINT32, BASE_DEC, NULL, 0,
9146         "INTEGER_0_86400", HFILL }},
9147     { &hf_camel_timeGPRSTariffSwitchInterval,
9148       { "timeGPRSTariffSwitchInterval", "camel.timeGPRSTariffSwitchInterval",
9149         FT_UINT32, BASE_DEC, NULL, 0,
9150         "INTEGER_0_86400", HFILL }},
9151     { &hf_camel_rO_TimeGPRSIfNoTariffSwitch,
9152       { "rO-TimeGPRSIfNoTariffSwitch", "camel.rO_TimeGPRSIfNoTariffSwitch",
9153         FT_UINT32, BASE_DEC, NULL, 0,
9154         "INTEGER_0_255", HFILL }},
9155     { &hf_camel_rO_TimeGPRSIfTariffSwitch,
9156       { "rO-TimeGPRSIfTariffSwitch", "camel.rO_TimeGPRSIfTariffSwitch_element",
9157         FT_NONE, BASE_NONE, NULL, 0,
9158         NULL, HFILL }},
9159     { &hf_camel_rO_TimeGPRSSinceLastTariffSwitch,
9160       { "rO-TimeGPRSSinceLastTariffSwitch", "camel.rO_TimeGPRSSinceLastTariffSwitch",
9161         FT_UINT32, BASE_DEC, NULL, 0,
9162         "INTEGER_0_255", HFILL }},
9163     { &hf_camel_rO_TimeGPRSTariffSwitchInterval,
9164       { "rO-TimeGPRSTariffSwitchInterval", "camel.rO_TimeGPRSTariffSwitchInterval",
9165         FT_UINT32, BASE_DEC, NULL, 0,
9166         "INTEGER_0_255", HFILL }},
9167     { &hf_camel_pDPTypeOrganization,
9168       { "pDPTypeOrganization", "camel.pDPTypeOrganization",
9169         FT_BYTES, BASE_NONE, NULL, 0,
9170         NULL, HFILL }},
9171     { &hf_camel_pDPTypeNumber,
9172       { "pDPTypeNumber", "camel.pDPTypeNumber",
9173         FT_BYTES, BASE_NONE, NULL, 0,
9174         NULL, HFILL }},
9175     { &hf_camel_pDPAddress,
9176       { "pDPAddress", "camel.pDPAddress",
9177         FT_BYTES, BASE_NONE, NULL, 0,
9178         NULL, HFILL }},
9179     { &hf_camel_routeSelectFailureSpecificInfo,
9180       { "routeSelectFailureSpecificInfo", "camel.routeSelectFailureSpecificInfo_element",
9181         FT_NONE, BASE_NONE, NULL, 0,
9182         NULL, HFILL }},
9183     { &hf_camel_routeSelectfailureCause,
9184       { "failureCause", "camel.routeSelectfailureCause",
9185         FT_BYTES, BASE_NONE, NULL, 0,
9186         "Cause", HFILL }},
9187     { &hf_camel_oCalledPartyBusySpecificInfo,
9188       { "oCalledPartyBusySpecificInfo", "camel.oCalledPartyBusySpecificInfo_element",
9189         FT_NONE, BASE_NONE, NULL, 0,
9190         NULL, HFILL }},
9191     { &hf_camel_busyCause,
9192       { "busyCause", "camel.busyCause",
9193         FT_BYTES, BASE_NONE, NULL, 0,
9194         "Cause", HFILL }},
9195     { &hf_camel_oNoAnswerSpecificInfo,
9196       { "oNoAnswerSpecificInfo", "camel.oNoAnswerSpecificInfo_element",
9197         FT_NONE, BASE_NONE, NULL, 0,
9198         NULL, HFILL }},
9199     { &hf_camel_oAnswerSpecificInfo,
9200       { "oAnswerSpecificInfo", "camel.oAnswerSpecificInfo_element",
9201         FT_NONE, BASE_NONE, NULL, 0,
9202         NULL, HFILL }},
9203     { &hf_camel_destinationAddress,
9204       { "destinationAddress", "camel.destinationAddress",
9205         FT_BYTES, BASE_NONE, NULL, 0,
9206         "CalledPartyNumber", HFILL }},
9207     { &hf_camel_or_Call,
9208       { "or-Call", "camel.or_Call_element",
9209         FT_NONE, BASE_NONE, NULL, 0,
9210         NULL, HFILL }},
9211     { &hf_camel_forwardedCall,
9212       { "forwardedCall", "camel.forwardedCall_element",
9213         FT_NONE, BASE_NONE, NULL, 0,
9214         NULL, HFILL }},
9215     { &hf_camel_chargeIndicator,
9216       { "chargeIndicator", "camel.chargeIndicator",
9217         FT_BYTES, BASE_NONE, NULL, 0,
9218         NULL, HFILL }},
9219     { &hf_camel_ext_basicServiceCode2,
9220       { "ext-basicServiceCode2", "camel.ext_basicServiceCode2",
9221         FT_UINT32, BASE_DEC, VALS(gsm_map_Ext_BasicServiceCode_vals), 0,
9222         "Ext_BasicServiceCode", HFILL }},
9223     { &hf_camel_oMidCallSpecificInfo,
9224       { "oMidCallSpecificInfo", "camel.oMidCallSpecificInfo_element",
9225         FT_NONE, BASE_NONE, NULL, 0,
9226         NULL, HFILL }},
9227     { &hf_camel_omidCallEvents,
9228       { "midCallEvents", "camel.midCallEvents",
9229         FT_UINT32, BASE_DEC, VALS(camel_T_omidCallEvents_vals), 0,
9230         "T_omidCallEvents", HFILL }},
9231     { &hf_camel_dTMFDigitsCompleted,
9232       { "dTMFDigitsCompleted", "camel.dTMFDigitsCompleted",
9233         FT_BYTES, BASE_NONE, NULL, 0,
9234         "Digits", HFILL }},
9235     { &hf_camel_dTMFDigitsTimeOut,
9236       { "dTMFDigitsTimeOut", "camel.dTMFDigitsTimeOut",
9237         FT_BYTES, BASE_NONE, NULL, 0,
9238         "Digits", HFILL }},
9239     { &hf_camel_oDisconnectSpecificInfo,
9240       { "oDisconnectSpecificInfo", "camel.oDisconnectSpecificInfo_element",
9241         FT_NONE, BASE_NONE, NULL, 0,
9242         NULL, HFILL }},
9243     { &hf_camel_releaseCause,
9244       { "releaseCause", "camel.releaseCause",
9245         FT_BYTES, BASE_NONE, NULL, 0,
9246         "Cause", HFILL }},
9247     { &hf_camel_tBusySpecificInfo,
9248       { "tBusySpecificInfo", "camel.tBusySpecificInfo_element",
9249         FT_NONE, BASE_NONE, NULL, 0,
9250         NULL, HFILL }},
9251     { &hf_camel_callForwarded,
9252       { "callForwarded", "camel.callForwarded_element",
9253         FT_NONE, BASE_NONE, NULL, 0,
9254         NULL, HFILL }},
9255     { &hf_camel_routeNotPermitted,
9256       { "routeNotPermitted", "camel.routeNotPermitted_element",
9257         FT_NONE, BASE_NONE, NULL, 0,
9258         NULL, HFILL }},
9259     { &hf_camel_forwardingDestinationNumber,
9260       { "forwardingDestinationNumber", "camel.forwardingDestinationNumber",
9261         FT_BYTES, BASE_NONE, NULL, 0,
9262         "CalledPartyNumber", HFILL }},
9263     { &hf_camel_tNoAnswerSpecificInfo,
9264       { "tNoAnswerSpecificInfo", "camel.tNoAnswerSpecificInfo_element",
9265         FT_NONE, BASE_NONE, NULL, 0,
9266         NULL, HFILL }},
9267     { &hf_camel_tAnswerSpecificInfo,
9268       { "tAnswerSpecificInfo", "camel.tAnswerSpecificInfo_element",
9269         FT_NONE, BASE_NONE, NULL, 0,
9270         NULL, HFILL }},
9271     { &hf_camel_tMidCallSpecificInfo,
9272       { "tMidCallSpecificInfo", "camel.tMidCallSpecificInfo_element",
9273         FT_NONE, BASE_NONE, NULL, 0,
9274         NULL, HFILL }},
9275     { &hf_camel_tmidCallEvents,
9276       { "midCallEvents", "camel.midCallEvents",
9277         FT_UINT32, BASE_DEC, VALS(camel_T_tmidCallEvents_vals), 0,
9278         "T_tmidCallEvents", HFILL }},
9279     { &hf_camel_tDisconnectSpecificInfo,
9280       { "tDisconnectSpecificInfo", "camel.tDisconnectSpecificInfo_element",
9281         FT_NONE, BASE_NONE, NULL, 0,
9282         NULL, HFILL }},
9283     { &hf_camel_oTermSeizedSpecificInfo,
9284       { "oTermSeizedSpecificInfo", "camel.oTermSeizedSpecificInfo_element",
9285         FT_NONE, BASE_NONE, NULL, 0,
9286         NULL, HFILL }},
9287     { &hf_camel_locationInformation,
9288       { "locationInformation", "camel.locationInformation_element",
9289         FT_NONE, BASE_NONE, NULL, 0,
9290         NULL, HFILL }},
9291     { &hf_camel_callAcceptedSpecificInfo,
9292       { "callAcceptedSpecificInfo", "camel.callAcceptedSpecificInfo_element",
9293         FT_NONE, BASE_NONE, NULL, 0,
9294         NULL, HFILL }},
9295     { &hf_camel_oAbandonSpecificInfo,
9296       { "oAbandonSpecificInfo", "camel.oAbandonSpecificInfo_element",
9297         FT_NONE, BASE_NONE, NULL, 0,
9298         NULL, HFILL }},
9299     { &hf_camel_oChangeOfPositionSpecificInfo,
9300       { "oChangeOfPositionSpecificInfo", "camel.oChangeOfPositionSpecificInfo_element",
9301         FT_NONE, BASE_NONE, NULL, 0,
9302         NULL, HFILL }},
9303     { &hf_camel_metDPCriteriaList,
9304       { "metDPCriteriaList", "camel.metDPCriteriaList",
9305         FT_UINT32, BASE_DEC, NULL, 0,
9306         NULL, HFILL }},
9307     { &hf_camel_tChangeOfPositionSpecificInfo,
9308       { "tChangeOfPositionSpecificInfo", "camel.tChangeOfPositionSpecificInfo_element",
9309         FT_NONE, BASE_NONE, NULL, 0,
9310         NULL, HFILL }},
9311     { &hf_camel_dpSpecificInfoAlt,
9312       { "dpSpecificInfoAlt", "camel.dpSpecificInfoAlt_element",
9313         FT_NONE, BASE_NONE, NULL, 0,
9314         NULL, HFILL }},
9315     { &hf_camel_o_smsFailureSpecificInfo,
9316       { "o-smsFailureSpecificInfo", "camel.o_smsFailureSpecificInfo_element",
9317         FT_NONE, BASE_NONE, NULL, 0,
9318         NULL, HFILL }},
9319     { &hf_camel_mo_smsfailureCause,
9320       { "failureCause", "camel.mo-smsfailureCause",
9321         FT_UINT32, BASE_DEC, VALS(camel_MO_SMSCause_vals), 0,
9322         "MO_SMSCause", HFILL }},
9323     { &hf_camel_o_smsSubmissionSpecificInfo,
9324       { "o-smsSubmissionSpecificInfo", "camel.o_smsSubmissionSpecificInfo_element",
9325         FT_NONE, BASE_NONE, NULL, 0,
9326         NULL, HFILL }},
9327     { &hf_camel_t_smsFailureSpecificInfo,
9328       { "t-smsFailureSpecificInfo", "camel.t_smsFailureSpecificInfo_element",
9329         FT_NONE, BASE_NONE, NULL, 0,
9330         "T_t_smsFailureSpecificInfo", HFILL }},
9331     { &hf_camel_t_smsfailureCause,
9332       { "failureCause", "camel.t-smsfailureCause",
9333         FT_BYTES, BASE_NONE, NULL, 0,
9334         "MT_SMSCause", HFILL }},
9335     { &hf_camel_t_smsDeliverySpecificInfo,
9336       { "t-smsDeliverySpecificInfo", "camel.t_smsDeliverySpecificInfo_element",
9337         FT_NONE, BASE_NONE, NULL, 0,
9338         "T_t_smsDeliverySpecificInfo", HFILL }},
9339     { &hf_camel_Extensions_item,
9340       { "ExtensionField", "camel.ExtensionField_element",
9341         FT_NONE, BASE_NONE, NULL, 0,
9342         NULL, HFILL }},
9343     { &hf_camel_type,
9344       { "type", "camel.type",
9345         FT_UINT32, BASE_DEC, VALS(camel_Code_vals), 0,
9346         "Code", HFILL }},
9347     { &hf_camel_criticality,
9348       { "criticality", "camel.criticality",
9349         FT_UINT32, BASE_DEC, VALS(inap_CriticalityType_vals), 0,
9350         "CriticalityType", HFILL }},
9351     { &hf_camel_value,
9352       { "value", "camel.value_element",
9353         FT_NONE, BASE_NONE, NULL, 0,
9354         NULL, HFILL }},
9355     { &hf_camel_callDiversionTreatmentIndicator,
9356       { "callDiversionTreatmentIndicator", "camel.callDiversionTreatmentIndicator",
9357         FT_BYTES, BASE_NONE, NULL, 0,
9358         "OCTET_STRING_SIZE_1", HFILL }},
9359     { &hf_camel_callingPartyRestrictionIndicator,
9360       { "callingPartyRestrictionIndicator", "camel.callingPartyRestrictionIndicator",
9361         FT_BYTES, BASE_NONE, NULL, 0,
9362         "OCTET_STRING_SIZE_1", HFILL }},
9363     { &hf_camel_compoundGapCriteria,
9364       { "compoundGapCriteria", "camel.compoundGapCriteria_element",
9365         FT_NONE, BASE_NONE, NULL, 0,
9366         "CompoundCriteria", HFILL }},
9367     { &hf_camel_gapIndicatorsDuration,
9368       { "duration", "camel.gapIndicatorsDuration",
9369         FT_INT32, BASE_DEC, NULL, 0,
9370         NULL, HFILL }},
9371     { &hf_camel_gapInterval,
9372       { "gapInterval", "camel.gapInterval",
9373         FT_INT32, BASE_DEC, NULL, 0,
9374         "Interval", HFILL }},
9375     { &hf_camel_informationToSend,
9376       { "informationToSend", "camel.informationToSend",
9377         FT_UINT32, BASE_DEC, VALS(camel_InformationToSend_vals), 0,
9378         NULL, HFILL }},
9379     { &hf_camel_GenericNumbers_item,
9380       { "GenericNumber", "camel.GenericNumber",
9381         FT_BYTES, BASE_NONE, NULL, 0,
9382         NULL, HFILL }},
9383     { &hf_camel_short_QoS_format,
9384       { "short-QoS-format", "camel.short_QoS_format",
9385         FT_BYTES, BASE_NONE, NULL, 0,
9386         "QoS_Subscribed", HFILL }},
9387     { &hf_camel_long_QoS_format,
9388       { "long-QoS-format", "camel.long_QoS_format",
9389         FT_BYTES, BASE_NONE, NULL, 0,
9390         "Ext_QoS_Subscribed", HFILL }},
9391     { &hf_camel_supplement_to_long_QoS_format,
9392       { "supplement-to-long-QoS-format", "camel.supplement_to_long_QoS_format",
9393         FT_BYTES, BASE_NONE, NULL, 0,
9394         "Ext2_QoS_Subscribed", HFILL }},
9395     { &hf_camel_additionalSupplement,
9396       { "additionalSupplement", "camel.additionalSupplement",
9397         FT_BYTES, BASE_NONE, NULL, 0,
9398         "Ext3_QoS_Subscribed", HFILL }},
9399     { &hf_camel_gPRSEventType,
9400       { "gPRSEventType", "camel.gPRSEventType",
9401         FT_UINT32, BASE_DEC, VALS(camel_GPRSEventType_vals), 0,
9402         NULL, HFILL }},
9403     { &hf_camel_attachChangeOfPositionSpecificInformation,
9404       { "attachChangeOfPositionSpecificInformation", "camel.attachChangeOfPositionSpecificInformation_element",
9405         FT_NONE, BASE_NONE, NULL, 0,
9406         NULL, HFILL }},
9407     { &hf_camel_locationInformationGPRS,
9408       { "locationInformationGPRS", "camel.locationInformationGPRS_element",
9409         FT_NONE, BASE_NONE, NULL, 0,
9410         NULL, HFILL }},
9411     { &hf_camel_pdp_ContextchangeOfPositionSpecificInformation,
9412       { "pdp-ContextchangeOfPositionSpecificInformation", "camel.pdp_ContextchangeOfPositionSpecificInformation_element",
9413         FT_NONE, BASE_NONE, NULL, 0,
9414         NULL, HFILL }},
9415     { &hf_camel_accessPointName,
9416       { "accessPointName", "camel.accessPointName",
9417         FT_BYTES, BASE_NONE, NULL, 0,
9418         NULL, HFILL }},
9419     { &hf_camel_chargingID,
9420       { "chargingID", "camel.chargingID",
9421         FT_BYTES, BASE_NONE, NULL, 0,
9422         "GPRSChargingID", HFILL }},
9423     { &hf_camel_endUserAddress,
9424       { "endUserAddress", "camel.endUserAddress_element",
9425         FT_NONE, BASE_NONE, NULL, 0,
9426         NULL, HFILL }},
9427     { &hf_camel_qualityOfService,
9428       { "qualityOfService", "camel.qualityOfService_element",
9429         FT_NONE, BASE_NONE, NULL, 0,
9430         NULL, HFILL }},
9431     { &hf_camel_timeAndTimeZone,
9432       { "timeAndTimeZone", "camel.timeAndTimeZone",
9433         FT_BYTES, BASE_NONE, NULL, 0,
9434         NULL, HFILL }},
9435     { &hf_camel_gGSNAddress,
9436       { "gGSNAddress", "camel.gGSNAddress",
9437         FT_BYTES, BASE_NONE, NULL, 0,
9438         "GSN_Address", HFILL }},
9439     { &hf_camel_detachSpecificInformation,
9440       { "detachSpecificInformation", "camel.detachSpecificInformation_element",
9441         FT_NONE, BASE_NONE, NULL, 0,
9442         NULL, HFILL }},
9443     { &hf_camel_initiatingEntity,
9444       { "initiatingEntity", "camel.initiatingEntity",
9445         FT_UINT32, BASE_DEC, VALS(camel_InitiatingEntity_vals), 0,
9446         NULL, HFILL }},
9447     { &hf_camel_routeingAreaUpdate,
9448       { "routeingAreaUpdate", "camel.routeingAreaUpdate_element",
9449         FT_NONE, BASE_NONE, NULL, 0,
9450         NULL, HFILL }},
9451     { &hf_camel_disconnectSpecificInformation,
9452       { "disconnectSpecificInformation", "camel.disconnectSpecificInformation_element",
9453         FT_NONE, BASE_NONE, NULL, 0,
9454         NULL, HFILL }},
9455     { &hf_camel_pDPContextEstablishmentSpecificInformation,
9456       { "pDPContextEstablishmentSpecificInformation", "camel.pDPContextEstablishmentSpecificInformation_element",
9457         FT_NONE, BASE_NONE, NULL, 0,
9458         NULL, HFILL }},
9459     { &hf_camel_pDPInitiationType,
9460       { "pDPInitiationType", "camel.pDPInitiationType",
9461         FT_UINT32, BASE_DEC, VALS(camel_PDPInitiationType_vals), 0,
9462         NULL, HFILL }},
9463     { &hf_camel_secondaryPDP_context,
9464       { "secondaryPDP-context", "camel.secondaryPDP_context_element",
9465         FT_NONE, BASE_NONE, NULL, 0,
9466         NULL, HFILL }},
9467     { &hf_camel_pDPContextEstablishmentAcknowledgementSpecificInformation,
9468       { "pDPContextEstablishmentAcknowledgementSpecificInformation", "camel.pDPContextEstablishmentAcknowledgementSpecificInformation_element",
9469         FT_NONE, BASE_NONE, NULL, 0,
9470         NULL, HFILL }},
9471     { &hf_camel_messageID,
9472       { "messageID", "camel.messageID",
9473         FT_UINT32, BASE_DEC, VALS(camel_MessageID_vals), 0,
9474         NULL, HFILL }},
9475     { &hf_camel_numberOfRepetitions,
9476       { "numberOfRepetitions", "camel.numberOfRepetitions",
9477         FT_UINT32, BASE_DEC, NULL, 0,
9478         "INTEGER_1_127", HFILL }},
9479     { &hf_camel_inbandInfoDuration,
9480       { "duration", "camel.inbandInfoDuration",
9481         FT_UINT32, BASE_DEC, NULL, 0,
9482         "INTEGER_0_32767", HFILL }},
9483     { &hf_camel_interval,
9484       { "interval", "camel.interval",
9485         FT_UINT32, BASE_DEC, NULL, 0,
9486         "INTEGER_0_32767", HFILL }},
9487     { &hf_camel_inbandInfo,
9488       { "inbandInfo", "camel.inbandInfo_element",
9489         FT_NONE, BASE_NONE, NULL, 0,
9490         NULL, HFILL }},
9491     { &hf_camel_tone,
9492       { "tone", "camel.tone_element",
9493         FT_NONE, BASE_NONE, NULL, 0,
9494         NULL, HFILL }},
9495     { &hf_camel_cellGlobalIdOrServiceAreaIdOrLAI,
9496       { "cellGlobalIdOrServiceAreaIdOrLAI", "camel.cellGlobalIdOrServiceAreaIdOrLAI",
9497         FT_BYTES, BASE_NONE, NULL, 0,
9498         NULL, HFILL }},
9499     { &hf_camel_routeingAreaIdentity,
9500       { "routeingAreaIdentity", "camel.routeingAreaIdentity",
9501         FT_BYTES, BASE_NONE, NULL, 0,
9502         "RAIdentity", HFILL }},
9503     { &hf_camel_geographicalInformation,
9504       { "geographicalInformation", "camel.geographicalInformation",
9505         FT_BYTES, BASE_NONE, NULL, 0,
9506         NULL, HFILL }},
9507     { &hf_camel_sgsn_Number,
9508       { "sgsn-Number", "camel.sgsn_Number",
9509         FT_BYTES, BASE_NONE, NULL, 0,
9510         "ISDN_AddressString", HFILL }},
9511     { &hf_camel_selectedLSAIdentity,
9512       { "selectedLSAIdentity", "camel.selectedLSAIdentity",
9513         FT_BYTES, BASE_NONE, NULL, 0,
9514         "LSAIdentity", HFILL }},
9515     { &hf_camel_extensionContainer,
9516       { "extensionContainer", "camel.extensionContainer_element",
9517         FT_NONE, BASE_NONE, NULL, 0,
9518         NULL, HFILL }},
9519     { &hf_camel_sai_Present,
9520       { "sai-Present", "camel.sai_Present_element",
9521         FT_NONE, BASE_NONE, NULL, 0,
9522         NULL, HFILL }},
9523     { &hf_camel_userCSGInformation,
9524       { "userCSGInformation", "camel.userCSGInformation",
9525         FT_BYTES, BASE_NONE, NULL, 0,
9526         NULL, HFILL }},
9527     { &hf_camel_elementaryMessageID,
9528       { "elementaryMessageID", "camel.elementaryMessageID",
9529         FT_UINT32, BASE_DEC, NULL, 0,
9530         "Integer4", HFILL }},
9531     { &hf_camel_text,
9532       { "text", "camel.text_element",
9533         FT_NONE, BASE_NONE, NULL, 0,
9534         NULL, HFILL }},
9535     { &hf_camel_messageContent,
9536       { "messageContent", "camel.messageContent",
9537         FT_STRING, BASE_NONE, NULL, 0,
9538         "IA5String_SIZE_bound__minMessageContentLength_bound__maxMessageContentLength", HFILL }},
9539     { &hf_camel_attributes,
9540       { "attributes", "camel.attributes",
9541         FT_BYTES, BASE_NONE, NULL, 0,
9542         "OCTET_STRING_SIZE_bound__minAttributesLength_bound__maxAttributesLength", HFILL }},
9543     { &hf_camel_elementaryMessageIDs,
9544       { "elementaryMessageIDs", "camel.elementaryMessageIDs",
9545         FT_UINT32, BASE_DEC, NULL, 0,
9546         "SEQUENCE_SIZE_1_bound__numOfMessageIDs_OF_Integer4", HFILL }},
9547     { &hf_camel_elementaryMessageIDs_item,
9548       { "Integer4", "camel.Integer4",
9549         FT_UINT32, BASE_DEC, NULL, 0,
9550         NULL, HFILL }},
9551     { &hf_camel_variableMessage,
9552       { "variableMessage", "camel.variableMessage_element",
9553         FT_NONE, BASE_NONE, NULL, 0,
9554         NULL, HFILL }},
9555     { &hf_camel_variableParts,
9556       { "variableParts", "camel.variableParts",
9557         FT_UINT32, BASE_DEC, NULL, 0,
9558         "SEQUENCE_SIZE_1_5_OF_VariablePart", HFILL }},
9559     { &hf_camel_variableParts_item,
9560       { "VariablePart", "camel.VariablePart",
9561         FT_UINT32, BASE_DEC, VALS(camel_VariablePart_vals), 0,
9562         NULL, HFILL }},
9563     { &hf_camel_MetDPCriteriaList_item,
9564       { "MetDPCriterion", "camel.MetDPCriterion",
9565         FT_UINT32, BASE_DEC, VALS(camel_MetDPCriterion_vals), 0,
9566         NULL, HFILL }},
9567     { &hf_camel_enteringCellGlobalId,
9568       { "enteringCellGlobalId", "camel.enteringCellGlobalId",
9569         FT_BYTES, BASE_NONE, NULL, 0,
9570         "CellGlobalIdOrServiceAreaIdFixedLength", HFILL }},
9571     { &hf_camel_leavingCellGlobalId,
9572       { "leavingCellGlobalId", "camel.leavingCellGlobalId",
9573         FT_BYTES, BASE_NONE, NULL, 0,
9574         "CellGlobalIdOrServiceAreaIdFixedLength", HFILL }},
9575     { &hf_camel_enteringServiceAreaId,
9576       { "enteringServiceAreaId", "camel.enteringServiceAreaId",
9577         FT_BYTES, BASE_NONE, NULL, 0,
9578         "CellGlobalIdOrServiceAreaIdFixedLength", HFILL }},
9579     { &hf_camel_leavingServiceAreaId,
9580       { "leavingServiceAreaId", "camel.leavingServiceAreaId",
9581         FT_BYTES, BASE_NONE, NULL, 0,
9582         "CellGlobalIdOrServiceAreaIdFixedLength", HFILL }},
9583     { &hf_camel_enteringLocationAreaId,
9584       { "enteringLocationAreaId", "camel.enteringLocationAreaId",
9585         FT_BYTES, BASE_NONE, NULL, 0,
9586         "LAIFixedLength", HFILL }},
9587     { &hf_camel_leavingLocationAreaId,
9588       { "leavingLocationAreaId", "camel.leavingLocationAreaId",
9589         FT_BYTES, BASE_NONE, NULL, 0,
9590         "LAIFixedLength", HFILL }},
9591     { &hf_camel_inter_SystemHandOverToUMTS,
9592       { "inter-SystemHandOverToUMTS", "camel.inter_SystemHandOverToUMTS_element",
9593         FT_NONE, BASE_NONE, NULL, 0,
9594         NULL, HFILL }},
9595     { &hf_camel_inter_SystemHandOverToGSM,
9596       { "inter-SystemHandOverToGSM", "camel.inter_SystemHandOverToGSM_element",
9597         FT_NONE, BASE_NONE, NULL, 0,
9598         NULL, HFILL }},
9599     { &hf_camel_metDPCriterionAlt,
9600       { "metDPCriterionAlt", "camel.metDPCriterionAlt_element",
9601         FT_NONE, BASE_NONE, NULL, 0,
9602         NULL, HFILL }},
9603     { &hf_camel_minimumNumberOfDigits,
9604       { "minimumNumberOfDigits", "camel.minimumNumberOfDigits",
9605         FT_UINT32, BASE_DEC, NULL, 0,
9606         "INTEGER_1_30", HFILL }},
9607     { &hf_camel_maximumNumberOfDigits,
9608       { "maximumNumberOfDigits", "camel.maximumNumberOfDigits",
9609         FT_UINT32, BASE_DEC, NULL, 0,
9610         "INTEGER_1_30", HFILL }},
9611     { &hf_camel_requested_QoS,
9612       { "requested-QoS", "camel.requested_QoS",
9613         FT_UINT32, BASE_DEC, VALS(camel_GPRS_QoS_vals), 0,
9614         "GPRS_QoS", HFILL }},
9615     { &hf_camel_subscribed_QoS,
9616       { "subscribed-QoS", "camel.subscribed_QoS",
9617         FT_UINT32, BASE_DEC, VALS(camel_GPRS_QoS_vals), 0,
9618         "GPRS_QoS", HFILL }},
9619     { &hf_camel_negotiated_QoS,
9620       { "negotiated-QoS", "camel.negotiated_QoS",
9621         FT_UINT32, BASE_DEC, VALS(camel_GPRS_QoS_vals), 0,
9622         "GPRS_QoS", HFILL }},
9623     { &hf_camel_requested_QoS_Extension,
9624       { "requested-QoS-Extension", "camel.requested_QoS_Extension_element",
9625         FT_NONE, BASE_NONE, NULL, 0,
9626         "GPRS_QoS_Extension", HFILL }},
9627     { &hf_camel_subscribed_QoS_Extension,
9628       { "subscribed-QoS-Extension", "camel.subscribed_QoS_Extension_element",
9629         FT_NONE, BASE_NONE, NULL, 0,
9630         "GPRS_QoS_Extension", HFILL }},
9631     { &hf_camel_negotiated_QoS_Extension,
9632       { "negotiated-QoS-Extension", "camel.negotiated_QoS_Extension_element",
9633         FT_NONE, BASE_NONE, NULL, 0,
9634         "GPRS_QoS_Extension", HFILL }},
9635     { &hf_camel_receivingSideID,
9636       { "receivingSideID", "camel.receivingSideID",
9637         FT_BYTES, BASE_NONE, NULL, 0,
9638         "LegType", HFILL }},
9639     { &hf_camel_RequestedInformationList_item,
9640       { "RequestedInformation", "camel.RequestedInformation_element",
9641         FT_NONE, BASE_NONE, NULL, 0,
9642         NULL, HFILL }},
9643     { &hf_camel_RequestedInformationTypeList_item,
9644       { "RequestedInformationType", "camel.RequestedInformationType",
9645         FT_UINT32, BASE_DEC, VALS(camel_RequestedInformationType_vals), 0,
9646         NULL, HFILL }},
9647     { &hf_camel_requestedInformationType,
9648       { "requestedInformationType", "camel.requestedInformationType",
9649         FT_UINT32, BASE_DEC, VALS(camel_RequestedInformationType_vals), 0,
9650         NULL, HFILL }},
9651     { &hf_camel_requestedInformationValue,
9652       { "requestedInformationValue", "camel.requestedInformationValue",
9653         FT_UINT32, BASE_DEC, VALS(camel_RequestedInformationValue_vals), 0,
9654         NULL, HFILL }},
9655     { &hf_camel_callAttemptElapsedTimeValue,
9656       { "callAttemptElapsedTimeValue", "camel.callAttemptElapsedTimeValue",
9657         FT_UINT32, BASE_DEC, NULL, 0,
9658         "INTEGER_0_255", HFILL }},
9659     { &hf_camel_callStopTimeValue,
9660       { "callStopTimeValue", "camel.callStopTimeValue",
9661         FT_STRING, BASE_NONE, NULL, 0,
9662         "DateAndTime", HFILL }},
9663     { &hf_camel_callConnectedElapsedTimeValue,
9664       { "callConnectedElapsedTimeValue", "camel.callConnectedElapsedTimeValue",
9665         FT_UINT32, BASE_DEC, NULL, 0,
9666         "Integer4", HFILL }},
9667     { &hf_camel_releaseCauseValue,
9668       { "releaseCauseValue", "camel.releaseCauseValue",
9669         FT_BYTES, BASE_NONE, NULL, 0,
9670         "Cause", HFILL }},
9671     { &hf_camel_sendingSideID,
9672       { "sendingSideID", "camel.sendingSideID",
9673         FT_BYTES, BASE_NONE, NULL, 0,
9674         "LegType", HFILL }},
9675     { &hf_camel_forwardServiceInteractionInd,
9676       { "forwardServiceInteractionInd", "camel.forwardServiceInteractionInd_element",
9677         FT_NONE, BASE_NONE, NULL, 0,
9678         NULL, HFILL }},
9679     { &hf_camel_backwardServiceInteractionInd,
9680       { "backwardServiceInteractionInd", "camel.backwardServiceInteractionInd_element",
9681         FT_NONE, BASE_NONE, NULL, 0,
9682         NULL, HFILL }},
9683     { &hf_camel_bothwayThroughConnectionInd,
9684       { "bothwayThroughConnectionInd", "camel.bothwayThroughConnectionInd",
9685         FT_UINT32, BASE_DEC, VALS(inap_BothwayThroughConnectionInd_vals), 0,
9686         NULL, HFILL }},
9687     { &hf_camel_connectedNumberTreatmentInd,
9688       { "connectedNumberTreatmentInd", "camel.connectedNumberTreatmentInd",
9689         FT_UINT32, BASE_DEC, VALS(camel_ConnectedNumberTreatmentInd_vals), 0,
9690         NULL, HFILL }},
9691     { &hf_camel_nonCUGCall,
9692       { "nonCUGCall", "camel.nonCUGCall_element",
9693         FT_NONE, BASE_NONE, NULL, 0,
9694         NULL, HFILL }},
9695     { &hf_camel_holdTreatmentIndicator,
9696       { "holdTreatmentIndicator", "camel.holdTreatmentIndicator",
9697         FT_INT32, BASE_DEC, VALS(camel_holdTreatmentIndicator_values), 0,
9698         "OCTET_STRING_SIZE_1", HFILL }},
9699     { &hf_camel_cwTreatmentIndicator,
9700       { "cwTreatmentIndicator", "camel.cwTreatmentIndicator",
9701         FT_INT32, BASE_DEC, VALS(camel_cwTreatmentIndicator_values), 0,
9702         "OCTET_STRING_SIZE_1", HFILL }},
9703     { &hf_camel_ectTreatmentIndicator,
9704       { "ectTreatmentIndicator", "camel.ectTreatmentIndicator",
9705         FT_INT32, BASE_DEC, VALS(camel_ectTreatmentIndicator_values), 0,
9706         "OCTET_STRING_SIZE_1", HFILL }},
9707     { &hf_camel_eventTypeSMS,
9708       { "eventTypeSMS", "camel.eventTypeSMS",
9709         FT_UINT32, BASE_DEC, VALS(camel_EventTypeSMS_vals), 0,
9710         NULL, HFILL }},
9711     { &hf_camel_timeSinceTariffSwitch,
9712       { "timeSinceTariffSwitch", "camel.timeSinceTariffSwitch",
9713         FT_UINT32, BASE_DEC, NULL, 0,
9714         "INTEGER_0_864000", HFILL }},
9715     { &hf_camel_timeIfTariffSwitch_tariffSwitchInterval,
9716       { "tariffSwitchInterval", "camel.tariffSwitchInterval",
9717         FT_UINT32, BASE_DEC, NULL, 0,
9718         "INTEGER_1_864000", HFILL }},
9719     { &hf_camel_timeIfNoTariffSwitch,
9720       { "timeIfNoTariffSwitch", "camel.timeIfNoTariffSwitch",
9721         FT_UINT32, BASE_DEC, NULL, 0,
9722         NULL, HFILL }},
9723     { &hf_camel_timeIfTariffSwitch,
9724       { "timeIfTariffSwitch", "camel.timeIfTariffSwitch_element",
9725         FT_NONE, BASE_NONE, NULL, 0,
9726         NULL, HFILL }},
9727     { &hf_camel_toneID,
9728       { "toneID", "camel.toneID",
9729         FT_UINT32, BASE_DEC, NULL, 0,
9730         "Integer4", HFILL }},
9731     { &hf_camel_toneDuration,
9732       { "duration", "camel.toneDuration",
9733         FT_UINT32, BASE_DEC, NULL, 0,
9734         "Integer4", HFILL }},
9735     { &hf_camel_volumeIfNoTariffSwitch,
9736       { "volumeIfNoTariffSwitch", "camel.volumeIfNoTariffSwitch",
9737         FT_UINT32, BASE_DEC, NULL, 0,
9738         "INTEGER_0_4294967295", HFILL }},
9739     { &hf_camel_volumeIfTariffSwitch,
9740       { "volumeIfTariffSwitch", "camel.volumeIfTariffSwitch_element",
9741         FT_NONE, BASE_NONE, NULL, 0,
9742         NULL, HFILL }},
9743     { &hf_camel_volumeSinceLastTariffSwitch,
9744       { "volumeSinceLastTariffSwitch", "camel.volumeSinceLastTariffSwitch",
9745         FT_UINT32, BASE_DEC, NULL, 0,
9746         "INTEGER_0_4294967295", HFILL }},
9747     { &hf_camel_volumeTariffSwitchInterval,
9748       { "volumeTariffSwitchInterval", "camel.volumeTariffSwitchInterval",
9749         FT_UINT32, BASE_DEC, NULL, 0,
9750         "INTEGER_0_4294967295", HFILL }},
9751     { &hf_camel_rO_VolumeIfNoTariffSwitch,
9752       { "rO-VolumeIfNoTariffSwitch", "camel.rO_VolumeIfNoTariffSwitch",
9753         FT_UINT32, BASE_DEC, NULL, 0,
9754         "INTEGER_0_255", HFILL }},
9755     { &hf_camel_rO_VolumeIfTariffSwitch,
9756       { "rO-VolumeIfTariffSwitch", "camel.rO_VolumeIfTariffSwitch_element",
9757         FT_NONE, BASE_NONE, NULL, 0,
9758         NULL, HFILL }},
9759     { &hf_camel_rO_VolumeSinceLastTariffSwitch,
9760       { "rO-VolumeSinceLastTariffSwitch", "camel.rO_VolumeSinceLastTariffSwitch",
9761         FT_UINT32, BASE_DEC, NULL, 0,
9762         "INTEGER_0_255", HFILL }},
9763     { &hf_camel_rO_VolumeTariffSwitchInterval,
9764       { "rO-VolumeTariffSwitchInterval", "camel.rO_VolumeTariffSwitchInterval",
9765         FT_UINT32, BASE_DEC, NULL, 0,
9766         "INTEGER_0_255", HFILL }},
9767     { &hf_camel_integer,
9768       { "integer", "camel.integer",
9769         FT_UINT32, BASE_DEC, NULL, 0,
9770         "Integer4", HFILL }},
9771     { &hf_camel_number,
9772       { "number", "camel.number",
9773         FT_BYTES, BASE_NONE, NULL, 0,
9774         "Digits", HFILL }},
9775     { &hf_camel_time,
9776       { "time", "camel.time",
9777         FT_BYTES, BASE_NONE, NULL, 0,
9778         "OCTET_STRING_SIZE_2", HFILL }},
9779     { &hf_camel_date,
9780       { "date", "camel.date",
9781         FT_BYTES, BASE_NONE, NULL, 0,
9782         "OCTET_STRING_SIZE_4", HFILL }},
9783     { &hf_camel_price,
9784       { "price", "camel.price",
9785         FT_BYTES, BASE_NONE, NULL, 0,
9786         "OCTET_STRING_SIZE_4", HFILL }},
9787     { &hf_camel_par_cancelFailedProblem,
9788       { "problem", "camel.problem",
9789         FT_UINT32, BASE_DEC, VALS(camel_T_par_cancelFailedProblem_vals), 0,
9790         "T_par_cancelFailedProblem", HFILL }},
9791     { &hf_camel_operation,
9792       { "operation", "camel.operation",
9793         FT_INT32, BASE_DEC, NULL, 0,
9794         "InvokeID", HFILL }},
9795     { &hf_camel_destinationReference,
9796       { "destinationReference", "camel.destinationReference",
9797         FT_UINT32, BASE_DEC, NULL, 0,
9798         "Integer4", HFILL }},
9799     { &hf_camel_originationReference,
9800       { "originationReference", "camel.originationReference",
9801         FT_UINT32, BASE_DEC, NULL, 0,
9802         "Integer4", HFILL }},
9803     { &hf_camel_disconnectFromIPForbidden,
9804       { "disconnectFromIPForbidden", "camel.disconnectFromIPForbidden",
9805         FT_BOOLEAN, BASE_NONE, NULL, 0,
9806         "BOOLEAN", HFILL }},
9807     { &hf_camel_requestAnnouncementCompleteNotification,
9808       { "requestAnnouncementCompleteNotification", "camel.requestAnnouncementCompleteNotification",
9809         FT_BOOLEAN, BASE_NONE, NULL, 0,
9810         "BOOLEAN", HFILL }},
9811     { &hf_camel_requestAnnouncementStartedNotification,
9812       { "requestAnnouncementStartedNotification", "camel.requestAnnouncementStartedNotification",
9813         FT_BOOLEAN, BASE_NONE, NULL, 0,
9814         "BOOLEAN", HFILL }},
9815     { &hf_camel_collectedInfo,
9816       { "collectedInfo", "camel.collectedInfo",
9817         FT_UINT32, BASE_DEC, VALS(camel_CollectedInfo_vals), 0,
9818         NULL, HFILL }},
9819     { &hf_camel_digitsResponse,
9820       { "digitsResponse", "camel.digitsResponse",
9821         FT_BYTES, BASE_NONE, NULL, 0,
9822         "Digits", HFILL }},
9823     { &hf_camel_allAnnouncementsComplete,
9824       { "allAnnouncementsComplete", "camel.allAnnouncementsComplete_element",
9825         FT_NONE, BASE_NONE, NULL, 0,
9826         NULL, HFILL }},
9827     { &hf_camel_firstAnnouncementStarted,
9828       { "firstAnnouncementStarted", "camel.firstAnnouncementStarted_element",
9829         FT_NONE, BASE_NONE, NULL, 0,
9830         NULL, HFILL }},
9831     { &hf_camel_aChBillingChargingCharacteristics,
9832       { "aChBillingChargingCharacteristics", "camel.aChBillingChargingCharacteristics",
9833         FT_BYTES, BASE_NONE, NULL, 0,
9834         NULL, HFILL }},
9835     { &hf_camel_partyToCharge,
9836       { "partyToCharge", "camel.partyToCharge",
9837         FT_UINT32, BASE_DEC, VALS(camel_SendingSideID_vals), 0,
9838         "SendingSideID", HFILL }},
9839     { &hf_camel_iTXcharging,
9840       { "iTXcharging", "camel.iTXcharging",
9841         FT_BOOLEAN, BASE_NONE, NULL, 0,
9842         "BOOLEAN", HFILL }},
9843     { &hf_camel_correlationID,
9844       { "correlationID", "camel.correlationID",
9845         FT_BYTES, BASE_NONE, NULL, 0,
9846         NULL, HFILL }},
9847     { &hf_camel_iPSSPCapabilities,
9848       { "iPSSPCapabilities", "camel.iPSSPCapabilities",
9849         FT_BYTES, BASE_NONE, NULL, 0,
9850         NULL, HFILL }},
9851     { &hf_camel_gapCriteria,
9852       { "gapCriteria", "camel.gapCriteria",
9853         FT_UINT32, BASE_DEC, VALS(camel_GapCriteria_vals), 0,
9854         NULL, HFILL }},
9855     { &hf_camel_gapIndicators,
9856       { "gapIndicators", "camel.gapIndicators_element",
9857         FT_NONE, BASE_NONE, NULL, 0,
9858         NULL, HFILL }},
9859     { &hf_camel_controlType,
9860       { "controlType", "camel.controlType",
9861         FT_UINT32, BASE_DEC, VALS(camel_ControlType_vals), 0,
9862         NULL, HFILL }},
9863     { &hf_camel_gapTreatment,
9864       { "gapTreatment", "camel.gapTreatment",
9865         FT_UINT32, BASE_DEC, VALS(camel_GapTreatment_vals), 0,
9866         NULL, HFILL }},
9867     { &hf_camel_requestedInformationList,
9868       { "requestedInformationList", "camel.requestedInformationList",
9869         FT_UINT32, BASE_DEC, NULL, 0,
9870         NULL, HFILL }},
9871     { &hf_camel_legID_01,
9872       { "legID", "camel.legID",
9873         FT_UINT32, BASE_DEC, VALS(camel_ReceivingSideID_vals), 0,
9874         "ReceivingSideID", HFILL }},
9875     { &hf_camel_requestedInformationTypeList,
9876       { "requestedInformationTypeList", "camel.requestedInformationTypeList",
9877         FT_UINT32, BASE_DEC, NULL, 0,
9878         NULL, HFILL }},
9879     { &hf_camel_legID_02,
9880       { "legID", "camel.legID",
9881         FT_UINT32, BASE_DEC, VALS(camel_SendingSideID_vals), 0,
9882         "SendingSideID", HFILL }},
9883     { &hf_camel_allRequests,
9884       { "allRequests", "camel.allRequests_element",
9885         FT_NONE, BASE_NONE, NULL, 0,
9886         NULL, HFILL }},
9887     { &hf_camel_callSegmentToCancel,
9888       { "callSegmentToCancel", "camel.callSegmentToCancel_element",
9889         FT_NONE, BASE_NONE, NULL, 0,
9890         NULL, HFILL }},
9891     { &hf_camel_destinationRoutingAddress,
9892       { "destinationRoutingAddress", "camel.destinationRoutingAddress",
9893         FT_UINT32, BASE_DEC, NULL, 0,
9894         NULL, HFILL }},
9895     { &hf_camel_alertingPattern,
9896       { "alertingPattern", "camel.alertingPattern",
9897         FT_BYTES, BASE_NONE, NULL, 0,
9898         NULL, HFILL }},
9899     { &hf_camel_originalCalledPartyID,
9900       { "originalCalledPartyID", "camel.originalCalledPartyID",
9901         FT_BYTES, BASE_NONE, NULL, 0,
9902         NULL, HFILL }},
9903     { &hf_camel_carrier,
9904       { "carrier", "camel.carrier",
9905         FT_BYTES, BASE_NONE, NULL, 0,
9906         NULL, HFILL }},
9907     { &hf_camel_callingPartysCategory,
9908       { "callingPartysCategory", "camel.callingPartysCategory",
9909         FT_UINT16, BASE_DEC|BASE_EXT_STRING, &isup_calling_partys_category_value_ext, 0,
9910         NULL, HFILL }},
9911     { &hf_camel_redirectingPartyID,
9912       { "redirectingPartyID", "camel.redirectingPartyID",
9913         FT_BYTES, BASE_NONE, NULL, 0,
9914         NULL, HFILL }},
9915     { &hf_camel_redirectionInformation,
9916       { "redirectionInformation", "camel.redirectionInformation",
9917         FT_BYTES, BASE_NONE, NULL, 0,
9918         NULL, HFILL }},
9919     { &hf_camel_genericNumbers,
9920       { "genericNumbers", "camel.genericNumbers",
9921         FT_UINT32, BASE_DEC, NULL, 0,
9922         NULL, HFILL }},
9923     { &hf_camel_serviceInteractionIndicatorsTwo,
9924       { "serviceInteractionIndicatorsTwo", "camel.serviceInteractionIndicatorsTwo_element",
9925         FT_NONE, BASE_NONE, NULL, 0,
9926         NULL, HFILL }},
9927     { &hf_camel_chargeNumber,
9928       { "chargeNumber", "camel.chargeNumber",
9929         FT_BYTES, BASE_NONE, NULL, 0,
9930         NULL, HFILL }},
9931     { &hf_camel_legToBeConnected,
9932       { "legToBeConnected", "camel.legToBeConnected",
9933         FT_UINT32, BASE_DEC, VALS(inap_LegID_vals), 0,
9934         "LegID", HFILL }},
9935     { &hf_camel_cug_Interlock,
9936       { "cug-Interlock", "camel.cug_Interlock",
9937         FT_BYTES, BASE_NONE, NULL, 0,
9938         NULL, HFILL }},
9939     { &hf_camel_cug_OutgoingAccess,
9940       { "cug-OutgoingAccess", "camel.cug_OutgoingAccess_element",
9941         FT_NONE, BASE_NONE, NULL, 0,
9942         NULL, HFILL }},
9943     { &hf_camel_suppressionOfAnnouncement,
9944       { "suppressionOfAnnouncement", "camel.suppressionOfAnnouncement_element",
9945         FT_NONE, BASE_NONE, NULL, 0,
9946         NULL, HFILL }},
9947     { &hf_camel_oCSIApplicable,
9948       { "oCSIApplicable", "camel.oCSIApplicable_element",
9949         FT_NONE, BASE_NONE, NULL, 0,
9950         NULL, HFILL }},
9951     { &hf_camel_naOliInfo,
9952       { "naOliInfo", "camel.naOliInfo",
9953         FT_BYTES, BASE_NONE, NULL, 0,
9954         NULL, HFILL }},
9955     { &hf_camel_bor_InterrogationRequested,
9956       { "bor-InterrogationRequested", "camel.bor_InterrogationRequested_element",
9957         FT_NONE, BASE_NONE, NULL, 0,
9958         NULL, HFILL }},
9959     { &hf_camel_suppress_N_CSI,
9960       { "suppress-N-CSI", "camel.suppress_N_CSI_element",
9961         FT_NONE, BASE_NONE, NULL, 0,
9962         NULL, HFILL }},
9963     { &hf_camel_resourceAddress,
9964       { "resourceAddress", "camel.resourceAddress",
9965         FT_UINT32, BASE_DEC, VALS(camel_T_resourceAddress_vals), 0,
9966         NULL, HFILL }},
9967     { &hf_camel_ipRoutingAddress,
9968       { "ipRoutingAddress", "camel.ipRoutingAddress",
9969         FT_BYTES, BASE_NONE, NULL, 0,
9970         NULL, HFILL }},
9971     { &hf_camel_none,
9972       { "none", "camel.none_element",
9973         FT_NONE, BASE_NONE, NULL, 0,
9974         NULL, HFILL }},
9975     { &hf_camel_suppress_O_CSI,
9976       { "suppress-O-CSI", "camel.suppress_O_CSI_element",
9977         FT_NONE, BASE_NONE, NULL, 0,
9978         NULL, HFILL }},
9979     { &hf_camel_continueWithArgumentArgExtension,
9980       { "continueWithArgumentArgExtension", "camel.continueWithArgumentArgExtension_element",
9981         FT_NONE, BASE_NONE, NULL, 0,
9982         NULL, HFILL }},
9983     { &hf_camel_suppress_D_CSI,
9984       { "suppress-D-CSI", "camel.suppress_D_CSI_element",
9985         FT_NONE, BASE_NONE, NULL, 0,
9986         NULL, HFILL }},
9987     { &hf_camel_suppressOutgoingCallBarring,
9988       { "suppressOutgoingCallBarring", "camel.suppressOutgoingCallBarring_element",
9989         FT_NONE, BASE_NONE, NULL, 0,
9990         NULL, HFILL }},
9991     { &hf_camel_legOrCallSegment,
9992       { "legOrCallSegment", "camel.legOrCallSegment",
9993         FT_UINT32, BASE_DEC, VALS(camel_LegOrCallSegment_vals), 0,
9994         NULL, HFILL }},
9995     { &hf_camel_legToBeReleased,
9996       { "legToBeReleased", "camel.legToBeReleased",
9997         FT_UINT32, BASE_DEC, VALS(inap_LegID_vals), 0,
9998         "LegID", HFILL }},
9999     { &hf_camel_callSegmentFailure,
10000       { "callSegmentFailure", "camel.callSegmentFailure_element",
10001         FT_NONE, BASE_NONE, NULL, 0,
10002         NULL, HFILL }},
10003     { &hf_camel_bCSM_Failure,
10004       { "bCSM-Failure", "camel.bCSM_Failure_element",
10005         FT_NONE, BASE_NONE, NULL, 0,
10006         NULL, HFILL }},
10007     { &hf_camel_assistingSSPIPRoutingAddress,
10008       { "assistingSSPIPRoutingAddress", "camel.assistingSSPIPRoutingAddress",
10009         FT_BYTES, BASE_NONE, NULL, 0,
10010         NULL, HFILL }},
10011     { &hf_camel_callingPartyNumber,
10012       { "callingPartyNumber", "camel.callingPartyNumber",
10013         FT_BYTES, BASE_NONE, NULL, 0,
10014         NULL, HFILL }},
10015     { &hf_camel_eventSpecificInformationBCSM,
10016       { "eventSpecificInformationBCSM", "camel.eventSpecificInformationBCSM",
10017         FT_UINT32, BASE_DEC, VALS(camel_EventSpecificInformationBCSM_vals), 0,
10018         NULL, HFILL }},
10019     { &hf_camel_miscCallInfo,
10020       { "miscCallInfo", "camel.miscCallInfo_element",
10021         FT_NONE, BASE_NONE, NULL, 0,
10022         NULL, HFILL }},
10023     { &hf_camel_cGEncountered,
10024       { "cGEncountered", "camel.cGEncountered",
10025         FT_UINT32, BASE_DEC, VALS(camel_CGEncountered_vals), 0,
10026         NULL, HFILL }},
10027     { &hf_camel_locationNumber,
10028       { "locationNumber", "camel.locationNumber",
10029         FT_BYTES, BASE_NONE, NULL, 0,
10030         NULL, HFILL }},
10031     { &hf_camel_highLayerCompatibility,
10032       { "highLayerCompatibility", "camel.highLayerCompatibility",
10033         FT_BYTES, BASE_NONE, NULL, 0,
10034         NULL, HFILL }},
10035     { &hf_camel_additionalCallingPartyNumber,
10036       { "additionalCallingPartyNumber", "camel.additionalCallingPartyNumber",
10037         FT_BYTES, BASE_NONE, NULL, 0,
10038         NULL, HFILL }},
10039     { &hf_camel_bearerCapability,
10040       { "bearerCapability", "camel.bearerCapability",
10041         FT_UINT32, BASE_DEC, VALS(camel_BearerCapability_vals), 0,
10042         NULL, HFILL }},
10043     { &hf_camel_cug_Index,
10044       { "cug-Index", "camel.cug_Index",
10045         FT_UINT32, BASE_DEC, NULL, 0,
10046         NULL, HFILL }},
10047     { &hf_camel_iMSI,
10048       { "iMSI", "camel.iMSI",
10049         FT_BYTES, BASE_NONE, NULL, 0,
10050         NULL, HFILL }},
10051     { &hf_camel_subscriberState,
10052       { "subscriberState", "camel.subscriberState",
10053         FT_UINT32, BASE_DEC, VALS(gsm_map_ms_SubscriberState_vals), 0,
10054         NULL, HFILL }},
10055     { &hf_camel_callReferenceNumber,
10056       { "callReferenceNumber", "camel.callReferenceNumber",
10057         FT_BYTES, BASE_NONE, NULL, 0,
10058         NULL, HFILL }},
10059     { &hf_camel_mscAddress,
10060       { "mscAddress", "camel.mscAddress",
10061         FT_BYTES, BASE_NONE, NULL, 0,
10062         "ISDN_AddressString", HFILL }},
10063     { &hf_camel_calledPartyBCDNumber,
10064       { "calledPartyBCDNumber", "camel.calledPartyBCDNumber",
10065         FT_BYTES, BASE_NONE, NULL, 0,
10066         NULL, HFILL }},
10067     { &hf_camel_timeAndTimezone,
10068       { "timeAndTimezone", "camel.timeAndTimezone",
10069         FT_BYTES, BASE_NONE, NULL, 0,
10070         NULL, HFILL }},
10071     { &hf_camel_callForwardingSS_Pending,
10072       { "callForwardingSS-Pending", "camel.callForwardingSS_Pending_element",
10073         FT_NONE, BASE_NONE, NULL, 0,
10074         NULL, HFILL }},
10075     { &hf_camel_initialDPArgExtension,
10076       { "initialDPArgExtension", "camel.initialDPArgExtension_element",
10077         FT_NONE, BASE_NONE, NULL, 0,
10078         NULL, HFILL }},
10079     { &hf_camel_gmscAddress,
10080       { "gmscAddress", "camel.gmscAddress",
10081         FT_BYTES, BASE_NONE, NULL, 0,
10082         "ISDN_AddressString", HFILL }},
10083     { &hf_camel_ms_Classmark2,
10084       { "ms-Classmark2", "camel.ms_Classmark2",
10085         FT_BYTES, BASE_NONE, NULL, 0,
10086         NULL, HFILL }},
10087     { &hf_camel_iMEI,
10088       { "iMEI", "camel.iMEI",
10089         FT_BYTES, BASE_NONE, NULL, 0,
10090         NULL, HFILL }},
10091     { &hf_camel_supportedCamelPhases,
10092       { "supportedCamelPhases", "camel.supportedCamelPhases",
10093         FT_BYTES, BASE_NONE, NULL, 0,
10094         NULL, HFILL }},
10095     { &hf_camel_offeredCamel4Functionalities,
10096       { "offeredCamel4Functionalities", "camel.offeredCamel4Functionalities",
10097         FT_BYTES, BASE_NONE, NULL, 0,
10098         NULL, HFILL }},
10099     { &hf_camel_bearerCapability2,
10100       { "bearerCapability2", "camel.bearerCapability2",
10101         FT_UINT32, BASE_DEC, VALS(camel_BearerCapability_vals), 0,
10102         "BearerCapability", HFILL }},
10103     { &hf_camel_highLayerCompatibility2,
10104       { "highLayerCompatibility2", "camel.highLayerCompatibility2",
10105         FT_BYTES, BASE_NONE, NULL, 0,
10106         "HighLayerCompatibility", HFILL }},
10107     { &hf_camel_lowLayerCompatibility,
10108       { "lowLayerCompatibility", "camel.lowLayerCompatibility",
10109         FT_BYTES, BASE_NONE, NULL, 0,
10110         NULL, HFILL }},
10111     { &hf_camel_lowLayerCompatibility2,
10112       { "lowLayerCompatibility2", "camel.lowLayerCompatibility2",
10113         FT_BYTES, BASE_NONE, NULL, 0,
10114         "LowLayerCompatibility", HFILL }},
10115     { &hf_camel_enhancedDialledServicesAllowed,
10116       { "enhancedDialledServicesAllowed", "camel.enhancedDialledServicesAllowed_element",
10117         FT_NONE, BASE_NONE, NULL, 0,
10118         NULL, HFILL }},
10119     { &hf_camel_uu_Data,
10120       { "uu-Data", "camel.uu_Data_element",
10121         FT_NONE, BASE_NONE, NULL, 0,
10122         NULL, HFILL }},
10123     { &hf_camel_collectInformationAllowed,
10124       { "collectInformationAllowed", "camel.collectInformationAllowed_element",
10125         FT_NONE, BASE_NONE, NULL, 0,
10126         NULL, HFILL }},
10127     { &hf_camel_releaseCallArgExtensionAllowed,
10128       { "releaseCallArgExtensionAllowed", "camel.releaseCallArgExtensionAllowed_element",
10129         FT_NONE, BASE_NONE, NULL, 0,
10130         NULL, HFILL }},
10131     { &hf_camel_legToBeCreated,
10132       { "legToBeCreated", "camel.legToBeCreated",
10133         FT_UINT32, BASE_DEC, VALS(inap_LegID_vals), 0,
10134         "LegID", HFILL }},
10135     { &hf_camel_newCallSegment,
10136       { "newCallSegment", "camel.newCallSegment",
10137         FT_UINT32, BASE_DEC, NULL, 0,
10138         "CallSegmentID", HFILL }},
10139     { &hf_camel_gsmSCFAddress,
10140       { "gsmSCFAddress", "camel.gsmSCFAddress",
10141         FT_BYTES, BASE_NONE, NULL, 0,
10142         "ISDN_AddressString", HFILL }},
10143     { &hf_camel_suppress_T_CSI,
10144       { "suppress-T-CSI", "camel.suppress_T_CSI_element",
10145         FT_NONE, BASE_NONE, NULL, 0,
10146         NULL, HFILL }},
10147     { &hf_camel_legIDToMove,
10148       { "legIDToMove", "camel.legIDToMove",
10149         FT_UINT32, BASE_DEC, VALS(inap_LegID_vals), 0,
10150         "LegID", HFILL }},
10151     { &hf_camel_allCallSegments,
10152       { "allCallSegments", "camel.allCallSegments",
10153         FT_BYTES, BASE_NONE, NULL, 0,
10154         NULL, HFILL }},
10155     { &hf_camel_allCallSegmentsWithExtension,
10156       { "allCallSegmentsWithExtension", "camel.allCallSegmentsWithExtension_element",
10157         FT_NONE, BASE_NONE, NULL, 0,
10158         NULL, HFILL }},
10159     { &hf_camel_bcsmEvents,
10160       { "bcsmEvents", "camel.bcsmEvents",
10161         FT_UINT32, BASE_DEC, NULL, 0,
10162         "SEQUENCE_SIZE_1_bound__numOfBCSMEvents_OF_BCSMEvent", HFILL }},
10163     { &hf_camel_bcsmEvents_item,
10164       { "BCSMEvent", "camel.BCSMEvent_element",
10165         FT_NONE, BASE_NONE, NULL, 0,
10166         NULL, HFILL }},
10167     { &hf_camel_timerID,
10168       { "timerID", "camel.timerID",
10169         FT_UINT32, BASE_DEC, VALS(camel_TimerID_vals), 0,
10170         NULL, HFILL }},
10171     { &hf_camel_timervalue,
10172       { "timervalue", "camel.timervalue",
10173         FT_UINT32, BASE_DEC, NULL, 0,
10174         NULL, HFILL }},
10175     { &hf_camel_sCIBillingChargingCharacteristics,
10176       { "sCIBillingChargingCharacteristics", "camel.sCIBillingChargingCharacteristics",
10177         FT_BYTES, BASE_NONE, NULL, 0,
10178         NULL, HFILL }},
10179     { &hf_camel_legToBeSplit,
10180       { "legToBeSplit", "camel.legToBeSplit",
10181         FT_UINT32, BASE_DEC, VALS(inap_LegID_vals), 0,
10182         "LegID", HFILL }},
10183     { &hf_camel_chargingCharacteristics,
10184       { "chargingCharacteristics", "camel.chargingCharacteristics",
10185         FT_UINT32, BASE_DEC, VALS(camel_ChargingCharacteristics_vals), 0,
10186         NULL, HFILL }},
10187     { &hf_camel_applyChargingGPRS_tariffSwitchInterval,
10188       { "tariffSwitchInterval", "camel.tariffSwitchInterval",
10189         FT_UINT32, BASE_DEC, NULL, 0,
10190         "INTEGER_1_86400", HFILL }},
10191     { &hf_camel_chargingResult,
10192       { "chargingResult", "camel.chargingResult",
10193         FT_UINT32, BASE_DEC, VALS(camel_ChargingResult_vals), 0,
10194         NULL, HFILL }},
10195     { &hf_camel_active,
10196       { "active", "camel.active",
10197         FT_BOOLEAN, BASE_NONE, NULL, 0,
10198         "BOOLEAN", HFILL }},
10199     { &hf_camel_chargingRollOver,
10200       { "chargingRollOver", "camel.chargingRollOver",
10201         FT_UINT32, BASE_DEC, VALS(camel_ChargingRollOver_vals), 0,
10202         NULL, HFILL }},
10203     { &hf_camel_pdpID,
10204       { "pdpID", "camel.pdpID",
10205         FT_BYTES, BASE_NONE, NULL, 0,
10206         NULL, HFILL }},
10207     { &hf_camel_gPRSCause,
10208       { "gPRSCause", "camel.gPRSCause",
10209         FT_BYTES, BASE_NONE, NULL, 0,
10210         NULL, HFILL }},
10211     { &hf_camel_miscGPRSInfo,
10212       { "miscGPRSInfo", "camel.miscGPRSInfo_element",
10213         FT_NONE, BASE_NONE, NULL, 0,
10214         "MiscCallInfo", HFILL }},
10215     { &hf_camel_gPRSEventSpecificInformation,
10216       { "gPRSEventSpecificInformation", "camel.gPRSEventSpecificInformation",
10217         FT_UINT32, BASE_DEC, VALS(camel_GPRSEventSpecificInformation_vals), 0,
10218         NULL, HFILL }},
10219     { &hf_camel_mSISDN,
10220       { "mSISDN", "camel.mSISDN",
10221         FT_BYTES, BASE_NONE, NULL, 0,
10222         "ISDN_AddressString", HFILL }},
10223     { &hf_camel_gPRSMSClass,
10224       { "gPRSMSClass", "camel.gPRSMSClass_element",
10225         FT_NONE, BASE_NONE, NULL, 0,
10226         NULL, HFILL }},
10227     { &hf_camel_sGSNCapabilities,
10228       { "sGSNCapabilities", "camel.sGSNCapabilities",
10229         FT_BYTES, BASE_NONE, NULL, 0,
10230         NULL, HFILL }},
10231     { &hf_camel_gprsCause,
10232       { "gprsCause", "camel.gprsCause",
10233         FT_BYTES, BASE_NONE, NULL, 0,
10234         NULL, HFILL }},
10235     { &hf_camel_gPRSEvent,
10236       { "gPRSEvent", "camel.gPRSEvent",
10237         FT_UINT32, BASE_DEC, NULL, 0,
10238         "SEQUENCE_SIZE_1_bound__numOfGPRSEvents_OF_GPRSEvent", HFILL }},
10239     { &hf_camel_gPRSEvent_item,
10240       { "GPRSEvent", "camel.GPRSEvent_element",
10241         FT_NONE, BASE_NONE, NULL, 0,
10242         NULL, HFILL }},
10243     { &hf_camel_sCIGPRSBillingChargingCharacteristics,
10244       { "sCIGPRSBillingChargingCharacteristics", "camel.sCIGPRSBillingChargingCharacteristics",
10245         FT_BYTES, BASE_NONE, NULL, 0,
10246         NULL, HFILL }},
10247     { &hf_camel_callingPartysNumber,
10248       { "callingPartysNumber", "camel.callingPartysNumber",
10249         FT_BYTES, BASE_NONE, NULL, 0,
10250         "SMS_AddressString", HFILL }},
10251     { &hf_camel_destinationSubscriberNumber,
10252       { "destinationSubscriberNumber", "camel.destinationSubscriberNumber",
10253         FT_BYTES, BASE_NONE, NULL, 0,
10254         "CalledPartyBCDNumber", HFILL }},
10255     { &hf_camel_sMSCAddress,
10256       { "sMSCAddress", "camel.sMSCAddress",
10257         FT_BYTES, BASE_NONE, NULL, 0,
10258         "ISDN_AddressString", HFILL }},
10259     { &hf_camel_eventSpecificInformationSMS,
10260       { "eventSpecificInformationSMS", "camel.eventSpecificInformationSMS",
10261         FT_UINT32, BASE_DEC, VALS(camel_EventSpecificInformationSMS_vals), 0,
10262         NULL, HFILL }},
10263     { &hf_camel_callingPartyNumber_01,
10264       { "callingPartyNumber", "camel.callingPartyNumber",
10265         FT_BYTES, BASE_NONE, NULL, 0,
10266         "SMS_AddressString", HFILL }},
10267     { &hf_camel_locationInformationMSC,
10268       { "locationInformationMSC", "camel.locationInformationMSC_element",
10269         FT_NONE, BASE_NONE, NULL, 0,
10270         "LocationInformation", HFILL }},
10271     { &hf_camel_tPShortMessageSpecificInfo,
10272       { "tPShortMessageSpecificInfo", "camel.tPShortMessageSpecificInfo",
10273         FT_BYTES, BASE_NONE, NULL, 0,
10274         NULL, HFILL }},
10275     { &hf_camel_tPProtocolIdentifier,
10276       { "tPProtocolIdentifier", "camel.tPProtocolIdentifier",
10277         FT_BYTES, BASE_NONE, NULL, 0,
10278         NULL, HFILL }},
10279     { &hf_camel_tPDataCodingScheme,
10280       { "tPDataCodingScheme", "camel.tPDataCodingScheme",
10281         FT_BYTES, BASE_NONE, NULL, 0,
10282         NULL, HFILL }},
10283     { &hf_camel_tPValidityPeriod,
10284       { "tPValidityPeriod", "camel.tPValidityPeriod",
10285         FT_BYTES, BASE_NONE, NULL, 0,
10286         NULL, HFILL }},
10287     { &hf_camel_smsReferenceNumber,
10288       { "smsReferenceNumber", "camel.smsReferenceNumber",
10289         FT_BYTES, BASE_NONE, NULL, 0,
10290         "CallReferenceNumber", HFILL }},
10291     { &hf_camel_calledPartyNumber_01,
10292       { "calledPartyNumber", "camel.calledPartyNumber",
10293         FT_BYTES, BASE_NONE, NULL, 0,
10294         "ISDN_AddressString", HFILL }},
10295     { &hf_camel_sMSEvents,
10296       { "sMSEvents", "camel.sMSEvents",
10297         FT_UINT32, BASE_DEC, NULL, 0,
10298         "SEQUENCE_SIZE_1_bound__numOfSMSEvents_OF_SMSEvent", HFILL }},
10299     { &hf_camel_sMSEvents_item,
10300       { "SMSEvent", "camel.SMSEvent_element",
10301         FT_NONE, BASE_NONE, NULL, 0,
10302         NULL, HFILL }},
10303     { &hf_camel_extensions_01,
10304       { "extensions", "camel.extensions",
10305         FT_UINT32, BASE_DEC, NULL, 0,
10306         "SEQUENCE_SIZE_1_numOfExtensions_OF_ExtensionField", HFILL }},
10307     { &hf_camel_extensions_item,
10308       { "ExtensionField", "camel.ExtensionField_element",
10309         FT_NONE, BASE_NONE, NULL, 0,
10310         NULL, HFILL }},
10311     { &hf_camel_na_info,
10312       { "na-info", "camel.na_info_element",
10313         FT_NONE, BASE_NONE, NULL, 0,
10314         NULL, HFILL }},
10315     { &hf_camel_naCarrierInformation,
10316       { "naCarrierInformation", "camel.naCarrierInformation_element",
10317         FT_NONE, BASE_NONE, NULL, 0,
10318         NULL, HFILL }},
10319     { &hf_camel_naCarrierId,
10320       { "naCarrierId", "camel.naCarrierId",
10321         FT_BYTES, BASE_NONE, NULL, 0,
10322         "NAEA_CIC", HFILL }},
10323     { &hf_camel_naCICSelectionType,
10324       { "naCICSelectionType", "camel.naCICSelectionType",
10325         FT_BYTES, BASE_NONE, NULL, 0,
10326         "NACarrierSelectionInfo", HFILL }},
10327     { &hf_camel_naChargeNumber,
10328       { "naChargeNumber", "camel.naChargeNumber",
10329         FT_BYTES, BASE_NONE, NULL, 0,
10330         NULL, HFILL }},
10331     { &hf_camel_timeDurationCharging_01,
10332       { "timeDurationCharging", "camel.timeDurationCharging_element",
10333         FT_NONE, BASE_NONE, NULL, 0,
10334         "T_timeDurationCharging_01", HFILL }},
10335     { &hf_camel_releaseIfdurationExceeded_01,
10336       { "releaseIfdurationExceeded", "camel.releaseIfdurationExceeded_element",
10337         FT_NONE, BASE_NONE, NULL, 0,
10338         NULL, HFILL }},
10339     { &hf_camel_tariffSwitchInterval,
10340       { "tariffSwitchInterval", "camel.tariffSwitchInterval",
10341         FT_UINT32, BASE_DEC, NULL, 0,
10342         "INTEGER_1_86400", HFILL }},
10343     { &hf_camel_tone_01,
10344       { "tone", "camel.tone",
10345         FT_BOOLEAN, BASE_NONE, NULL, 0,
10346         "BOOLEAN", HFILL }},
10347     { &hf_camel_local,
10348       { "local", "camel.local",
10349         FT_INT32, BASE_DEC, VALS(camel_opr_code_strings), 0,
10350         NULL, HFILL }},
10351     { &hf_camel_global,
10352       { "global", "camel.global",
10353         FT_OID, BASE_NONE, NULL, 0,
10354         NULL, HFILL }},
10355     { &hf_camel_invoke,
10356       { "invoke", "camel.invoke_element",
10357         FT_NONE, BASE_NONE, NULL, 0,
10358         NULL, HFILL }},
10359     { &hf_camel_returnResult,
10360       { "returnResult", "camel.returnResult_element",
10361         FT_NONE, BASE_NONE, NULL, 0,
10362         NULL, HFILL }},
10363     { &hf_camel_returnError,
10364       { "returnError", "camel.returnError_element",
10365         FT_NONE, BASE_NONE, NULL, 0,
10366         NULL, HFILL }},
10367     { &hf_camel_reject,
10368       { "reject", "camel.reject_element",
10369         FT_NONE, BASE_NONE, NULL, 0,
10370         NULL, HFILL }},
10371     { &hf_camel_invokeId,
10372       { "invokeId", "camel.invokeId",
10373         FT_UINT32, BASE_DEC, VALS(camel_InvokeId_vals), 0,
10374         NULL, HFILL }},
10375     { &hf_camel_linkedId,
10376       { "linkedId", "camel.linkedId",
10377         FT_UINT32, BASE_DEC, VALS(camel_T_linkedId_vals), 0,
10378         NULL, HFILL }},
10379     { &hf_camel_linkedIdPresent,
10380       { "present", "camel.present",
10381         FT_INT32, BASE_DEC, NULL, 0,
10382         "T_linkedIdPresent", HFILL }},
10383     { &hf_camel_absent,
10384       { "absent", "camel.absent_element",
10385         FT_NONE, BASE_NONE, NULL, 0,
10386         NULL, HFILL }},
10387     { &hf_camel_opcode,
10388       { "opcode", "camel.opcode",
10389         FT_UINT32, BASE_DEC, VALS(camel_Code_vals), 0,
10390         "Code", HFILL }},
10391     { &hf_camel_argument,
10392       { "argument", "camel.argument_element",
10393         FT_NONE, BASE_NONE, NULL, 0,
10394         NULL, HFILL }},
10395     { &hf_camel_result,
10396       { "result", "camel.result_element",
10397         FT_NONE, BASE_NONE, NULL, 0,
10398         NULL, HFILL }},
10399     { &hf_camel_resultArgument,
10400       { "result", "camel.result_element",
10401         FT_NONE, BASE_NONE, NULL, 0,
10402         "ResultArgument", HFILL }},
10403     { &hf_camel_errcode,
10404       { "errcode", "camel.errcode",
10405         FT_UINT32, BASE_DEC, VALS(camel_Code_vals), 0,
10406         "Code", HFILL }},
10407     { &hf_camel_parameter,
10408       { "parameter", "camel.parameter_element",
10409         FT_NONE, BASE_NONE, NULL, 0,
10410         NULL, HFILL }},
10411     { &hf_camel_problem,
10412       { "problem", "camel.problem",
10413         FT_UINT32, BASE_DEC, VALS(camel_T_problem_vals), 0,
10414         NULL, HFILL }},
10415     { &hf_camel_general,
10416       { "general", "camel.general",
10417         FT_INT32, BASE_DEC, VALS(camel_GeneralProblem_vals), 0,
10418         "GeneralProblem", HFILL }},
10419     { &hf_camel_invokeProblem,
10420       { "invoke", "camel.invoke",
10421         FT_INT32, BASE_DEC, VALS(camel_InvokeProblem_vals), 0,
10422         "InvokeProblem", HFILL }},
10423     { &hf_camel_problemReturnResult,
10424       { "returnResult", "camel.returnResult",
10425         FT_INT32, BASE_DEC, VALS(camel_ReturnResultProblem_vals), 0,
10426         "ReturnResultProblem", HFILL }},
10427     { &hf_camel_returnErrorProblem,
10428       { "returnError", "camel.returnError",
10429         FT_INT32, BASE_DEC, VALS(camel_ReturnErrorProblem_vals), 0,
10430         "ReturnErrorProblem", HFILL }},
10431     { &hf_camel_present,
10432       { "present", "camel.present",
10433         FT_INT32, BASE_DEC, NULL, 0,
10434         "INTEGER", HFILL }},
10435     { &hf_camel_InvokeId_present,
10436       { "InvokeId.present", "camel.InvokeId_present",
10437         FT_INT32, BASE_DEC, NULL, 0,
10438         "InvokeId_present", HFILL }},
10439 
10440 /*--- End of included file: packet-camel-hfarr.c ---*/
10441 #line 1455 "./asn1/camel/packet-camel-template.c"
10442   };
10443 
10444   /* List of subtrees */
10445   static gint *ett[] = {
10446     &ett_camel,
10447     &ett_camelisup_parameter,
10448     &ett_camel_AccessPointName,
10449     &ett_camel_pdptypenumber,
10450     &ett_camel_cause,
10451     &ett_camel_RPcause,
10452     &ett_camel_stat,
10453     &ett_camel_calledpartybcdnumber,
10454     &ett_camel_callingpartynumber,
10455     &ett_camel_originalcalledpartyid,
10456     &ett_camel_redirectingpartyid,
10457     &ett_camel_locationnumber,
10458     &ett_camel_additionalcallingpartynumber,
10459     &ett_camel_calledAddressValue,
10460     &ett_camel_callingAddressValue,
10461     &ett_camel_assistingSSPIPRoutingAddress,
10462     &ett_camel_correlationID,
10463     &ett_camel_dTMFDigitsCompleted,
10464     &ett_camel_dTMFDigitsTimeOut,
10465     &ett_camel_number,
10466     &ett_camel_digitsResponse,
10467 
10468 
10469 /*--- Included file: packet-camel-ettarr.c ---*/
10470 #line 1 "./asn1/camel/packet-camel-ettarr.c"
10471     &ett_camel_AChChargingAddress,
10472     &ett_camel_AOCBeforeAnswer,
10473     &ett_camel_AOCGPRS,
10474     &ett_camel_AOCSubsequent,
10475     &ett_camel_AudibleIndicator,
10476     &ett_camel_BackwardServiceInteractionInd,
10477     &ett_camel_BasicGapCriteria,
10478     &ett_camel_T_calledAddressAndService,
10479     &ett_camel_T_callingAddressAndService,
10480     &ett_camel_BCSMEvent,
10481     &ett_camel_BCSM_Failure,
10482     &ett_camel_BearerCapability,
10483     &ett_camel_Burst,
10484     &ett_camel_BurstList,
10485     &ett_camel_CAI_GSM0224,
10486     &ett_camel_CallSegmentFailure,
10487     &ett_camel_CallSegmentToCancel,
10488     &ett_camel_CAMEL_AChBillingChargingCharacteristics,
10489     &ett_camel_T_timeDurationCharging,
10490     &ett_camel_CAMEL_CallResult,
10491     &ett_camel_T_timeDurationChargingResult,
10492     &ett_camel_CAMEL_FCIBillingChargingCharacteristics,
10493     &ett_camel_T_fci_fCIBCCCAMELsequence1,
10494     &ett_camel_CAMEL_FCIGPRSBillingChargingCharacteristics,
10495     &ett_camel_T_fciGPRS_fCIBCCCAMELsequence1,
10496     &ett_camel_CAMEL_FCISMSBillingChargingCharacteristics,
10497     &ett_camel_T_fciSMS_fCIBCCCAMELsequence1,
10498     &ett_camel_CAMEL_SCIBillingChargingCharacteristics,
10499     &ett_camel_CAMEL_SCIBillingChargingCharacteristicsAlt,
10500     &ett_camel_CAMEL_SCIGPRSBillingChargingCharacteristics,
10501     &ett_camel_ChangeOfPositionControlInfo,
10502     &ett_camel_ChangeOfLocation,
10503     &ett_camel_ChangeOfLocationAlt,
10504     &ett_camel_ChargingCharacteristics,
10505     &ett_camel_ChargingResult,
10506     &ett_camel_ChargingRollOver,
10507     &ett_camel_CollectedDigits,
10508     &ett_camel_CollectedInfo,
10509     &ett_camel_CompoundCriteria,
10510     &ett_camel_DestinationRoutingAddress,
10511     &ett_camel_DpSpecificCriteria,
10512     &ett_camel_DpSpecificCriteriaAlt,
10513     &ett_camel_DpSpecificInfoAlt,
10514     &ett_camel_T_oServiceChangeSpecificInfo,
10515     &ett_camel_T_tServiceChangeSpecificInfo,
10516     &ett_camel_T_collectedInfoSpecificInfo,
10517     &ett_camel_ElapsedTime,
10518     &ett_camel_T_timeGPRSIfTariffSwitch,
10519     &ett_camel_ElapsedTimeRollOver,
10520     &ett_camel_T_rO_TimeGPRSIfTariffSwitch,
10521     &ett_camel_EndUserAddress,
10522     &ett_camel_EventSpecificInformationBCSM,
10523     &ett_camel_T_routeSelectFailureSpecificInfo,
10524     &ett_camel_T_oCalledPartyBusySpecificInfo,
10525     &ett_camel_T_oNoAnswerSpecificInfo,
10526     &ett_camel_T_oAnswerSpecificInfo,
10527     &ett_camel_T_oMidCallSpecificInfo,
10528     &ett_camel_T_omidCallEvents,
10529     &ett_camel_T_oDisconnectSpecificInfo,
10530     &ett_camel_T_tBusySpecificInfo,
10531     &ett_camel_T_tNoAnswerSpecificInfo,
10532     &ett_camel_T_tAnswerSpecificInfo,
10533     &ett_camel_T_tMidCallSpecificInfo,
10534     &ett_camel_T_tmidCallEvents,
10535     &ett_camel_T_tDisconnectSpecificInfo,
10536     &ett_camel_T_oTermSeizedSpecificInfo,
10537     &ett_camel_T_callAcceptedSpecificInfo,
10538     &ett_camel_T_oAbandonSpecificInfo,
10539     &ett_camel_T_oChangeOfPositionSpecificInfo,
10540     &ett_camel_T_tChangeOfPositionSpecificInfo,
10541     &ett_camel_EventSpecificInformationSMS,
10542     &ett_camel_T_o_smsFailureSpecificInfo,
10543     &ett_camel_T_o_smsSubmissionSpecificInfo,
10544     &ett_camel_T_t_smsFailureSpecificInfo,
10545     &ett_camel_T_t_smsDeliverySpecificInfo,
10546     &ett_camel_Extensions,
10547     &ett_camel_ExtensionField,
10548     &ett_camel_ForwardServiceInteractionInd,
10549     &ett_camel_GapCriteria,
10550     &ett_camel_GapIndicators,
10551     &ett_camel_GapOnService,
10552     &ett_camel_GapTreatment,
10553     &ett_camel_GenericNumbers,
10554     &ett_camel_GPRS_QoS,
10555     &ett_camel_GPRS_QoS_Extension,
10556     &ett_camel_GPRSEvent,
10557     &ett_camel_GPRSEventSpecificInformation,
10558     &ett_camel_T_attachChangeOfPositionSpecificInformation,
10559     &ett_camel_T_pdp_ContextchangeOfPositionSpecificInformation,
10560     &ett_camel_T_detachSpecificInformation,
10561     &ett_camel_T_disconnectSpecificInformation,
10562     &ett_camel_T_pDPContextEstablishmentSpecificInformation,
10563     &ett_camel_T_pDPContextEstablishmentAcknowledgementSpecificInformation,
10564     &ett_camel_InbandInfo,
10565     &ett_camel_InformationToSend,
10566     &ett_camel_LegOrCallSegment,
10567     &ett_camel_LocationInformationGPRS,
10568     &ett_camel_MessageID,
10569     &ett_camel_T_text,
10570     &ett_camel_SEQUENCE_SIZE_1_bound__numOfMessageIDs_OF_Integer4,
10571     &ett_camel_T_variableMessage,
10572     &ett_camel_SEQUENCE_SIZE_1_5_OF_VariablePart,
10573     &ett_camel_MetDPCriteriaList,
10574     &ett_camel_MetDPCriterion,
10575     &ett_camel_MetDPCriterionAlt,
10576     &ett_camel_MidCallControlInfo,
10577     &ett_camel_QualityOfService,
10578     &ett_camel_ReceivingSideID,
10579     &ett_camel_RequestedInformationList,
10580     &ett_camel_RequestedInformationTypeList,
10581     &ett_camel_RequestedInformation,
10582     &ett_camel_RequestedInformationValue,
10583     &ett_camel_SendingSideID,
10584     &ett_camel_ServiceInteractionIndicatorsTwo,
10585     &ett_camel_SMSEvent,
10586     &ett_camel_TimeIfTariffSwitch,
10587     &ett_camel_TimeInformation,
10588     &ett_camel_Tone,
10589     &ett_camel_TransferredVolume,
10590     &ett_camel_T_volumeIfTariffSwitch,
10591     &ett_camel_TransferredVolumeRollOver,
10592     &ett_camel_T_rO_VolumeIfTariffSwitch,
10593     &ett_camel_VariablePart,
10594     &ett_camel_PAR_cancelFailed,
10595     &ett_camel_CAP_GPRS_ReferenceNumber,
10596     &ett_camel_PlayAnnouncementArg,
10597     &ett_camel_PromptAndCollectUserInformationArg,
10598     &ett_camel_ReceivedInformationArg,
10599     &ett_camel_SpecializedResourceReportArg,
10600     &ett_camel_ApplyChargingArg,
10601     &ett_camel_AssistRequestInstructionsArg,
10602     &ett_camel_CallGapArg,
10603     &ett_camel_CallInformationReportArg,
10604     &ett_camel_CallInformationRequestArg,
10605     &ett_camel_CancelArg,
10606     &ett_camel_CollectInformationArg,
10607     &ett_camel_ConnectArg,
10608     &ett_camel_ConnectToResourceArg,
10609     &ett_camel_T_resourceAddress,
10610     &ett_camel_ContinueWithArgumentArg,
10611     &ett_camel_ContinueWithArgumentArgExtension,
10612     &ett_camel_DisconnectForwardConnectionWithArgumentArg,
10613     &ett_camel_DisconnectLegArg,
10614     &ett_camel_EntityReleasedArg,
10615     &ett_camel_EstablishTemporaryConnectionArg,
10616     &ett_camel_EventReportBCSMArg,
10617     &ett_camel_InitialDPArg,
10618     &ett_camel_InitialDPArgExtension,
10619     &ett_camel_InitiateCallAttemptArg,
10620     &ett_camel_InitiateCallAttemptRes,
10621     &ett_camel_MoveLegArg,
10622     &ett_camel_PlayToneArg,
10623     &ett_camel_ReleaseCallArg,
10624     &ett_camel_AllCallSegmentsWithExtension,
10625     &ett_camel_RequestReportBCSMEventArg,
10626     &ett_camel_SEQUENCE_SIZE_1_bound__numOfBCSMEvents_OF_BCSMEvent,
10627     &ett_camel_ResetTimerArg,
10628     &ett_camel_SendChargingInformationArg,
10629     &ett_camel_SplitLegArg,
10630     &ett_camel_ApplyChargingGPRSArg,
10631     &ett_camel_ApplyChargingReportGPRSArg,
10632     &ett_camel_CancelGPRSArg,
10633     &ett_camel_ConnectGPRSArg,
10634     &ett_camel_ContinueGPRSArg,
10635     &ett_camel_EntityReleasedGPRSArg,
10636     &ett_camel_EventReportGPRSArg,
10637     &ett_camel_InitialDPGPRSArg,
10638     &ett_camel_ReleaseGPRSArg,
10639     &ett_camel_RequestReportGPRSEventArg,
10640     &ett_camel_SEQUENCE_SIZE_1_bound__numOfGPRSEvents_OF_GPRSEvent,
10641     &ett_camel_ResetTimerGPRSArg,
10642     &ett_camel_SendChargingInformationGPRSArg,
10643     &ett_camel_ConnectSMSArg,
10644     &ett_camel_EventReportSMSArg,
10645     &ett_camel_InitialDPSMSArg,
10646     &ett_camel_RequestReportSMSEventArg,
10647     &ett_camel_SEQUENCE_SIZE_1_bound__numOfSMSEvents_OF_SMSEvent,
10648     &ett_camel_ResetTimerSMSArg,
10649     &ett_camel_EstablishTemporaryConnectionArgV2,
10650     &ett_camel_SEQUENCE_SIZE_1_numOfExtensions_OF_ExtensionField,
10651     &ett_camel_InitialDPArgExtensionV2,
10652     &ett_camel_NACarrierInformation,
10653     &ett_camel_NA_Info,
10654     &ett_camel_CAMEL_AChBillingChargingCharacteristicsV2,
10655     &ett_camel_T_timeDurationCharging_01,
10656     &ett_camel_ReleaseIfDurationExceeded,
10657     &ett_camel_Code,
10658     &ett_camel_ROS,
10659     &ett_camel_Invoke,
10660     &ett_camel_T_linkedId,
10661     &ett_camel_ReturnResult,
10662     &ett_camel_T_result,
10663     &ett_camel_ReturnError,
10664     &ett_camel_Reject,
10665     &ett_camel_T_problem,
10666     &ett_camel_InvokeId,
10667 
10668 /*--- End of included file: packet-camel-ettarr.c ---*/
10669 #line 1482 "./asn1/camel/packet-camel-template.c"
10670   };
10671 
10672   static ei_register_info ei[] = {
10673      { &ei_camel_unknown_invokeData, { "camel.unknown.invokeData", PI_MALFORMED, PI_WARN, "Unknown invokeData", EXPFILL }},
10674      { &ei_camel_unknown_returnResultData, { "camel.unknown.returnResultData", PI_MALFORMED, PI_WARN, "Unknown returnResultData", EXPFILL }},
10675      { &ei_camel_unknown_returnErrorData, { "camel.unknown.returnErrorData", PI_MALFORMED, PI_WARN, "Unknown returnResultData", EXPFILL }},
10676   };
10677 
10678   expert_module_t* expert_camel;
10679 
10680   static tap_param camel_stat_params[] = {
10681     { PARAM_FILTER, "filter", "Filter", NULL, TRUE }
10682   };
10683 
10684   static stat_tap_table_ui camel_stat_table = {
10685     REGISTER_STAT_GROUP_TELEPHONY_GSM,
10686     "CAMEL Messages and Response Status",
10687     PSNAME,
10688     "camel,counter",
10689     camel_stat_init,
10690     camel_stat_packet,
10691     camel_stat_reset,
10692     camel_stat_free_table_item,
10693     NULL,
10694     sizeof(camel_stat_fields)/sizeof(stat_tap_table_item), camel_stat_fields,
10695     sizeof(camel_stat_params)/sizeof(tap_param), camel_stat_params,
10696     NULL,
10697     0
10698   };
10699 
10700   /* Register protocol */
10701   proto_camel = proto_register_protocol(PNAME, PSNAME, PFNAME);
10702 
10703   camel_handle = register_dissector("camel", dissect_camel, proto_camel);
10704   camel_v1_handle = register_dissector("camel-v1", dissect_camel_v1, proto_camel);
10705   camel_v2_handle = register_dissector("camel-v2", dissect_camel_v2, proto_camel);
10706   camel_v3_handle = register_dissector("camel-v3", dissect_camel_v3, proto_camel);
10707   camel_v4_handle = register_dissector("camel-v4", dissect_camel_v4, proto_camel);
10708 
10709   proto_register_field_array(proto_camel, hf, array_length(hf));
10710   proto_register_subtree_array(ett, array_length(ett));
10711   expert_camel = expert_register_protocol(proto_camel);
10712   expert_register_field_array(expert_camel, ei, array_length(ei));
10713 
10714   rose_ctx_init(&camel_rose_ctx);
10715 
10716   /* Register dissector tables */
10717   camel_rose_ctx.arg_local_dissector_table = register_dissector_table("camel.ros.local.arg",
10718                                                                       "CAMEL Operation Argument (local opcode)", proto_camel,
10719                                                                       FT_UINT32, BASE_HEX);
10720   camel_rose_ctx.res_local_dissector_table = register_dissector_table("camel.ros.local.res",
10721                                                                       "CAMEL Operation Result (local opcode)", proto_camel,
10722                                                                       FT_UINT32, BASE_HEX);
10723   camel_rose_ctx.err_local_dissector_table = register_dissector_table("camel.ros.local.err",
10724                                                                       "CAMEL Error (local opcode)", proto_camel,
10725                                                                       FT_UINT32, BASE_HEX);
10726 
10727   /* Register our configuration options, particularly our SSNs */
10728   /* Set default SSNs */
10729   range_convert_str(wmem_epan_scope(), &global_ssn_range, "146", MAX_SSN);
10730 
10731   camel_module = prefs_register_protocol(proto_camel, proto_reg_handoff_camel);
10732 
10733   prefs_register_enum_preference(camel_module, "date.format", "Date Format",
10734                                   "The date format: (DD/MM) or (MM/DD)",
10735                                   &date_format, date_options, FALSE);
10736 
10737 
10738   prefs_register_range_preference(camel_module, "tcap.ssn",
10739     "TCAP SSNs",
10740     "TCAP Subsystem numbers used for Camel",
10741     &global_ssn_range, MAX_SSN);
10742 
10743   prefs_register_bool_preference(camel_module, "srt",
10744                                  "Analyze Service Response Time",
10745                                  "Enable response time analysis",
10746                                  &gcamel_HandleSRT);
10747 
10748   prefs_register_bool_preference(camel_module, "persistentsrt",
10749                                  "Persistent stats for SRT",
10750                                  "Statistics for Response Time",
10751                                  &gcamel_PersistentSRT);
10752 
10753   /* Routine for statistic */
10754   register_init_routine(&camelsrt_init_routine);
10755 
10756   /* create new hash-table for SRT */
10757   srt_calls = wmem_map_new_autoreset(wmem_epan_scope(), wmem_file_scope(), camelsrt_call_hash, camelsrt_call_equal);
10758 
10759   camel_tap=register_tap(PSNAME);
10760 
10761   register_srt_table(proto_camel, PSNAME, 1, camelstat_packet, camelstat_init, NULL);
10762   register_stat_tap_table_ui(&camel_stat_table);
10763 }
10764 
10765 /*
10766  * Editor modelines
10767  *
10768  * Local Variables:
10769  * c-basic-offset: 2
10770  * tab-width: 8
10771  * indent-tabs-mode: nil
10772  * End:
10773  *
10774  * ex: set shiftwidth=2 tabstop=8 expandtab:
10775  * :indentSize=2:tabSize=8:noTabs=true:
10776  */
10777