aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/inap/inap.cnf
blob: 1099490a296a142c5928b9d08bb05fbc19375fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# inap.cnf
# inap conformation file
# $Id$

#.MODULE_IMPORT

#.EXPORTS

#.NO_EMIT

#.CLASS EXTENSION
ExtensionType  
criticality    TypeReference Criticality
id             TypeReference Code
#.END

#.CLASS COMMON-BOUNDS
numOfExtensions  TypeReference NUM-OF-EXTENSIONS
#.END
#.CLASS SCF-SSF-BOUNDS
highLayerCompatibilityLength   
#.END
#.CLASS TRIGGER
Parameter  
id         
#.END

#.CLASS UISCRIPT
SpecificInfo  
Result        
id            TypeReference Code
#.END

#.TYPE_RENAME

#.FIELD_RENAME

#.PDU
INAP-Component
InitialDPArg
OriginationAttemptAuthorizedArg
CollectedInformationArg
AnalysedInformationArg
RouteSelectFailureArg
OCalledPartyBusyArg
ONoAnswerArg
OAnswerArg
ODisconnectArg
TermAttemptAuthorizedArg
TBusyArg
TNoAnswerArg
TAnswerArg
TDisconnectArg
MidCallArg
AssistRequestInstructionsArg
EstablishTemporaryConnectionArg
ConnectToResourceArg
ConnectArg
HoldCallInNetworkArg
ReleaseCallArg
RequestReportBCSMEventArg
EventReportBCSMArg
RequestNotificationChargingEventArg
EventNotificationChargingArg
CollectInformationArg
AnalyseInformationArg
SelectRouteArg
SelectFacilityArg
InitiateCallAttemptArg
ResetTimerArg
FurnishChargingInformationArg
ApplyChargingArg
ApplyChargingReportArg
RequestCurrentStatusReportArg
RequestEveryStatusChangeReportArg
RequestFirstStatusMatchReportArg
StatusReportArg
CallGapArg
ActivateServiceFilteringArg
ServiceFilteringResponseArg

CallInformationReportArg
CallInformationRequestArg
PlayAnnouncementArg
PromptAndCollectUserInformationArg
SpecializedResourceReportArg
CancelArg
RequestCurrentStatusReportResultArg
ReceivedInformationArg

#.FN_BODY T_triggerId
  offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
                                       NULL);
#.FN_BODY T_triggerPar
/* FIX ME */
#.FN_BODY T_uIScriptSpecificInfo
/* FIX ME */

#.FN_BODY T_uIScriptResult
/* FIX ME */

#.FN_BODY T_uIScriptSpecificInfo
/* FIX ME */

#.FN_BODY T_uIScriptSpecificInfo_01
/* FIX ME */
#.FN_BODY T_uIScriptSpecificInfo_02
/* FIX ME */


#.FN_BODY T_value
  offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
                                       NULL);

#.FN_BODY InvokeParameter
	offset = dissect_invokeData(tree, tvb, offset, actx);

#.FN_BODY ReturnResultParameter
	offset = dissect_returnResultData(tree, tvb, offset, actx);

#.FN_BODY ReturnErrorParameter
	offset = dissect_returnErrorData(tree, tvb, offset, actx);

#.FN_BODY INAPLocalErrorcode VAL_PTR = &errorCode
  offset = dissect_ber_integer(FALSE, actx, tree, tvb, offset, hf_index, &errorCode);

  if (check_col(actx->pinfo->cinfo, COL_INFO)){
    col_set_str(actx->pinfo->cinfo, COL_INFO, val_to_str(errorCode, inap_error_code_strings, "Unknown Inap (%u)"));
  }

#.FN_BODY INAPOperationLocalvalue
  offset = dissect_ber_integer(FALSE, actx, tree, tvb, offset, hf_index, &opcode);

  if (check_col(actx->pinfo->cinfo, COL_INFO)){
    col_add_fstr(actx->pinfo->cinfo, COL_INFO, "%s ", val_to_str(opcode, inap_opr_code_strings, "Unknown Inap (%u)"));
  }

#.FN_PARS CalledPartyNumber
VAL_PTR = &parameter_tvb

#.FN_BODY CalledPartyNumber
  tvbuff_t *parameter_tvb;

%(DEFAULT_BODY)s

 if (!parameter_tvb)
	return offset;

dissect_isup_called_party_number_parameter(parameter_tvb, tree, NULL);

#.FN_PARS CallingPartyNumber

VAL_PTR = &parameter_tvb

#.FN_BODY CallingPartyNumber
  tvbuff_t *parameter_tvb;

%(DEFAULT_BODY)s

 if (!parameter_tvb)
	return offset;

	dissect_isup_calling_party_number_parameter(parameter_tvb, tree, NULL);


#.FN_PARS  BearerCapability/bearerCap

  VAL_PTR = &parameter_tvb

#.FN_BODY BearerCapability/bearerCap

 tvbuff_t	*parameter_tvb;

%(DEFAULT_BODY)s

 if (!parameter_tvb)
	return offset;

 dissect_q931_bearer_capability_ie(parameter_tvb, 0, tvb_length_remaining(parameter_tvb,0), tree);

#.FN_PARS  RedirectionInformation

  VAL_PTR = &parameter_tvb

#.FN_BODY RedirectionInformation

 tvbuff_t	*parameter_tvb;

%(DEFAULT_BODY)s

 if (!parameter_tvb)
	return offset;

 dissect_isup_redirection_information_parameter(parameter_tvb, tree, NULL);

#.FN_PARS  OriginalCalledPartyID

  VAL_PTR = &parameter_tvb

#.FN_BODY OriginalCalledPartyID

 tvbuff_t	*parameter_tvb;

%(DEFAULT_BODY)s

 if (!parameter_tvb)
	return offset;
 dissect_isup_original_called_number_parameter(parameter_tvb, tree, NULL);

#.FN_PARS  RedirectingPartyID 

  VAL_PTR = &parameter_tvb

#.FN_BODY RedirectingPartyID 

 tvbuff_t	*parameter_tvb;

%(DEFAULT_BODY)s

 if (!parameter_tvb)
	return offset;
 dissect_isup_redirecting_number_parameter(parameter_tvb, tree, NULL);


#.TYPE_ATTR
CallingPartysCategory TYPE = FT_UINT16  DISPLAY = BASE_DEC  STRINGS = VALS(isup_calling_partys_category_value)

#.END