summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/qsig/qsig.cnf
blob: abdd580b963158f559ce45466d944e08be41b469 (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
# qsig.cnf
# QSIG conformation file
# 2007  Tomas Kukosa

#.OPT
BER
GROUP_BY_PROT
-o qsig
#.END

#.EXPORTS  EXTERN VALS_WITH_TABLE WS_DLL

Name
PSS1InformationElement
Extension

#.MODULE
Addressing-Data-Elements-asn1-97                         qsig
Manufacturer-specific-service-extension-class-asn1-97    qsig
PSS1-generic-parameters-definition-asn1-97               qsig

Name-Operations-asn1-97                                  qsig.na
Call-Diversion-Operations-asn1-97                        qsig.cf
Path-Replacement-Operations-asn1-97                      qsig.pr
Call-Transfer-Operations-asn1-97                         qsig.ct
SS-CC-Operations-asn1-97                                 qsig.cc
Call-Offer-Operations-asn1-97                            qsig.co
Do-Not-Disturb-Operations-asn1-97                        qsig.dnd
Call-Intrusion-Operations-asn1-97                        qsig.ci
SS-AOC-Operations-asn1-97                                qsig.aoc
Recall-Operations-asn1-97                                qsig.re
Call-Interception-Operations-asn1-97                     qsig.cint
Synchronization-Operations-asn1-97                       qsig.sync
Common-Information-Operations-asn1-97                    qsig.cmn
Call-Interruption-Operations-asn1-97                     qsig.cpi
PUM-Registration-Operations-asn1-97                      qsig.pumr
Private-User-Mobility-Call-Handling-Operations-asn1-97   qsig.pumch
Single-Step-Call-Transfer-Operations-asn1-97             qsig.ssct
WTM-Location-Registration-Operations-asn1-97             qsig.wtmlr
Wireless-Terminal-Call-Handling-Operations-asn1-97       qsig.wtmch
WTM-Authentication-Operations-asn1-97                    qsig.wtmau
SS-SD-Operations-asn1-97                                 qsig.sd
Call-Identification-and-Call-Linkage-Operations-asn1-97  qsig.cidl
Short-Message-Service-Operations-asn1-97                 qsig.sms
SS-MCR-Operations-asn97                                  qsig.mcr
SS-MCM-Operations-asn1-97                                qsig.mcm
SS-MID-Operations-asn1-97                                qsig.mid

#.PDU

OPERATION.&ArgumentType
OPERATION.&ResultType
ERROR.&ParameterType

#.END

#.TYPE_RENAME
ARG-activateDiversionQ/extension    ADExtension
ARG-deactivateDiversionQ/extension  DDExtension
ARG-interrogateDiversionQ/extension      IDExtension
ARG-checkRestriction/extension         CHRExtension
ARG-callRerouteing/extension         CRRExtension
ARG-divertingLegInformation1/extension DLI1Extension
ARG-divertingLegInformation2/extension DLI2Extension
ARG-divertingLegInformation3/extension DLI3Extension
IntResult/extension     IRExtension
PRProposeArg/extension  PRPExtension
PRSetupArg/extension    PRSExtension
PRRetainArg/extension   PRRExtension
CTInitiateArg/argumentExtension   CTIargumentExtension
CTSetupArg/argumentExtension      CTSargumentExtension
CTActiveArg/argumentExtension     CTAargumentExtension
CTCompleteArg/argumentExtension   CTCargumentExtension
CTUpdateArg/argumentExtension     CTUargumentExtension
SubaddressTransferArg/argumentExtension STargumentExtension
DNDActivateArg/argumentExtension     DNDAargumentExtension
DNDDeactivateArg/argumentExtension   DNDDargumentExtension
DNDInterrogateArg/argumentExtension  DNDIargumentExtension
DNDOverrideArg/argumentExtension     DNDOargumentExtension
SSCTInitiateArg/argumentExtension   SSCTIargumentExtension
SSCTSetupArg/argumentExtension      SSCTSargumentExtension
SSCTDigitInfoArg/argumentExtension  SSCTDargumentExtension
PumRegistrArg/pumUserId   RpumUserId
PumDelRegArg/pumUserId    XpumUserId
PumDe-regArg/pumUserId    DpumUserId
PumInterrogArg/pumUserId  IpumUserId
MCMNewMsgArg/argumentExt        MCMNewArgumentExt
MCMNoNewMsgArg/argumentExt      MCMNoNewArgumentExt
MCMUpdateReqArg/argumentExt     MCMUpdArgArgumentExt
MCMUpdateReqResElt/argumentExt  MCMUpdResArgumentExt
#.END

#.FIELD_RENAME
NameArg/nameSequence/extension extensionNA
ARG-activateDiversionQ/extension       extensionAD
ARG-deactivateDiversionQ/extension     extensionDD
ARG-interrogateDiversionQ/extension         extensionID
ARG-checkRestriction/extension            extensionCHR
ARG-callRerouteing/extension            extensionCRR
ARG-divertingLegInformation1/extension        extensionDLI1
ARG-divertingLegInformation2/extension        extensionDLI2
ARG-divertingLegInformation3/extension        extensionDLI3
IntResult/extension            extensionIR
PRSetupArg/extension     extensionPRS
PRProposeArg/extension   extensionPRP
PRRetainArg/extension    extensionPRR
CTInitiateArg/argumentExtension   argumentExtensionCTI
CTSetupArg/argumentExtension      argumentExtensionCTS
CTActiveArg/argumentExtension     argumentExtensionCTA
CTCompleteArg/argumentExtension   argumentExtensionCTC
CTUpdateArg/argumentExtension     argumentExtensionCTU
SubaddressTransferArg/argumentExtension argumentExtensionST
DNDActivateArg/argumentExtension     argumentExtensionDNDA
DNDDeactivateArg/argumentExtension   argumentExtensionDNDD
DNDInterrogateArg/argumentExtension  argumentExtensionDNDI
DNDOverrideArg/argumentExtension     argumentExtensionDNDO
SSCTInitiateArg/argumentExtension   argumentExtensionSSCTI
SSCTSetupArg/argumentExtension      argumentExtensionSSCTS
SSCTDigitInfoArg/argumentExtension  argumentExtensionSSCTD
PumRegistrArg/pumUserId   pumRUserId
PumDelRegArg/pumUserId    pumXUserId
PumDe-regArg/pumUserId    pumDUserId
PumInterrogArg/pumUserId  pumIUserId
MCMNewMsgArg/argumentExt        argumentExtMCMNew
MCMNoNewMsgArg/argumentExt      argumentExtMCMNoNew
MCMUpdateReqArg/argumentExt     argumentExtMCMUpdArg
MCMUpdateReqResElt/argumentExt  argumentExtMCMUpdRes
CallIdentificationAssignArg/extension  extensiont
CallIdentificationUpdateArg/extension  extensiont
DisplayArg/extension  sdextension
KeypadArg/extension   sdextension
AddressHeader/priority ahpriority
WtmoArg/extension  wtmoaextension
PumoArg/extension  pumoaextension
#.END


#.TYPE_ATTR
NameData TYPE = FT_STRING  DISPLAY = BASE_NONE
#.END

#.FN_HDR Extension
  extension_oid = NULL;
#.FN_PARS Extension/extensionId  FN_VARIANT = _str  VAL_PTR = &extension_oid
#.FN_BODY Extension/extensionArgument
    tvbuff_t *next_tvb;

    next_tvb = tvb_new_subset_remaining(tvb, offset);
    if (!dissector_try_string_new(extension_dissector_table, extension_oid, next_tvb, actx->pinfo, tree, FALSE, NULL)) {
        proto_tree *next_tree;

        next_tree=proto_tree_add_subtree_format(tree, next_tvb, 0, -1, ett_qsig_unknown_extension, NULL,
                               "QSIG: Dissector for extension with OID:%%s not implemented.", extension_oid);

        dissect_unknown_ber(actx->pinfo, next_tvb, offset, next_tree);
    }

    offset+=tvb_reported_length_remaining(tvb, offset);
#.END

#.FN_BODY AuthAlgorithm/param

#.END

#.FN_BODY PSS1InformationElement/_untag  VAL_PTR = &out_tvb
  tvbuff_t *out_tvb = NULL;
  proto_tree *data_tree;

%(DEFAULT_BODY)s
  data_tree = proto_item_add_subtree(%(ACTX)s->created_item, ett_cnq_PSS1InformationElement);
  if (out_tvb && (tvb_reported_length(out_tvb) > 0) && q931_ie_handle)
    call_dissector(q931_ie_handle, out_tvb, %(ACTX)s->pinfo, data_tree);
#.END

#.TABLE10_BODY OPERATION
  { %(&operationCode)3s, "%(_name)s" },
#.END

#.TABLE11_BODY OPERATION
  /* %(_name)-24s */ { %(&operationCode)3s, %(_argument_pdu)s, %(_result_pdu)s },
#.END

#.TABLE20_BODY ERROR
  { %(&errorCode)4s, "%(_name)s" },
#.END

#.TABLE21_BODY ERROR
  /* %(_name)-24s */ { %(&errorCode)4s, %(_parameter_pdu)s },
#.END