language
stringlengths 0
24
| filename
stringlengths 9
214
| code
stringlengths 99
9.93M
|
---|---|---|
Text | wireshark/epan/dissectors/asn1/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
ADD_CUSTOM_CMAKE_INCLUDE()
set(ASN1_SRC_DIRS
lix2
HI2Operations
acp133
acse
ain
ansi_map
ansi_tcap
atn-cm
atn-cpdlc
atn-ulcs
c1222
camel
cbrs-oids
cdt
charging_ase
cmip
cmp
cms
credssp
crmf
dap
disp
dop
dsp
e1ap
e2ap
ess
f1ap
ftam
gdt
glow
goose
gprscdr
gsm_map
h225
h235
h245
h248
h282
h283
h323
h450
h450-ros
h460
h501
hnbap
idmp
ieee1609dot2
ilp
inap
isdn-sup
its
kerberos
lcsap
ldap
lnpdqp
logotypecertextn
lpp
lppa
lppe
lte-rrc
m2ap
m3ap
mms
mpeg-audio
mpeg-pes
mudurl
nbap
ngap
nist-csor
nr-rrc
nrppa
ns_cert_exts
novell_pkis
ocsp
p1
p22
p7
p772
pcap
pkcs1
pkcs10
pkcs12
pkinit
pkix1explicit
pkix1implicit
pkixac
pkixproxy
pkixqualified
pkixtsp
pres
q932
q932-ros
qsig
ranap
rnsap
ros
rrc
rrlp
rtse
rua
s1ap
sabp
sbc-ap
smrse
snmp
spnego
sv
t124
t125
t38
tcap
tcg-cp-oids
tetra
ulp
wlancertextn
x2ap
x509af
x509ce
x509if
x509sat
xnap
z3950
${CUSTOM_ASN1_SRC_DIR}
)
set( BROKEN_ASN1_SRC_DIRS
# x721 does not build
x721
)
set(_asn1_deps)
foreach(ASN1_DIR ${ASN1_SRC_DIRS})
add_subdirectory( ${ASN1_DIR} )
list(APPEND _asn1_deps ${ASN1_DIR}/generate_dissector-${ASN1_DIR})
endforeach()
# Target to regenerate all outdated ASN.1 dissectors
add_custom_target(asn1 DEPENDS ${_asn1_deps}) |
Text | wireshark/epan/dissectors/asn1/CMakeListsCustom.example.txt | # CMakeListsCustom.example.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Add a list of your custom asn1 dissectors here
#
set(CUSTOM_ASN1_SRC_DIR
foo
) |
ASN.1 | wireshark/epan/dissectors/asn1/acp133/acp133.asn | ACP133CommonContent { joint-iso-ccitt(2) country(16) us(840) organization(1) gov(101) dod(2) ds(2) module(0) commonContent(2) editionB (3) }
DEFINITIONS ::=
BEGIN
IMPORTS
GeneralNames, CertificateAssertion
FROM CertificateExtensions {joint-iso-ccitt ds(5)
module(1) certificateExtensions(26) 0}
AlgorithmIdentifier
--==
FROM AuthenticationFramework {joint-iso-itu-t ds(5) module(1)
authenticationFramework(7) 3}
ContentLength, EncodedInformationTypesConstraints, ExtendedContentType,
ORAddress, ORName, RequestedDeliveryMethod, SecurityContext
--==
FROM MTSAbstractService {joint-iso-itu-t mhs(6) mts(3) modules(0)
mts-abstract-service(1) version-1999(1)}
DirectoryString
--==
FROM SelectedAttributeTypes {joint-iso-itu-t ds(5) module(1)
selectedAttributeTypes(5) 4}
Name
--==
FROM InformationFramework {joint-iso-itu-t ds(5) module(1)
informationFramework(1) 3};
ACPPreferredDelivery ::= ENUMERATED { smtp(0), acp127(1), mhs(2) }
ALType ::= INTEGER { aig(0), type(1), cad(2), taskforce(3), dag(4) }
Community ::= ENUMERATED { genser(0), si(1), both(2) }
OnSupported ::= BIT STRING { acp127-nn(0), acp127-pn(1), acp127-tn(2) }
ACPLegacyFormat ::= INTEGER {
janap128(0),
acp127(1), -- changed from acp126 for consistency purposes
doi103(2),
doi103-special(3),
acp127(4),
acp127-converted(5),
reserved-1(6), -- hold for ACP127Standard if needed
acp127-state(7),
acp127-modified(8),
socomm-special(9),
socomm-narrative(10),
reserved-2(11), -- hold for SOCOMMNarrativeTTY if needed
socomm-narrative-special(12),
socomm-data(13),
socomm-internal(14),
socomm-external(15),
mfi-default(16),
acp-legacy-format-smtp(17),
p22(18),
-- 19 - 31 for national or bilateral use
acp145-united-states(32),
acp145-australia(33),
acp145-canada(34),
acp145-united-kingdom(35),
acp145-new-zealand(36) }
ACPNoAttachments ::= BOOLEAN
Active ::= BOOLEAN
Addressees ::= SEQUENCE OF PrintableString (SIZE (1..55))
Classification ::= ENUMERATED { unmarked(0), unclassified(1), restricted(2),
confidential(3), secret(4), top-secret(5) }
DistributionCode ::= PrintableString
EmConCapability ::= BOOLEAN
EmConState ::= ENUMERATED { enabled(0), receive-only(1), electronic-silence(2), disabled(3) }
JPEG ::= OCTET STRING -- a JPEG image
MaxMessageSize ::= INTEGER
MonthlyUKMs ::= --SIGNED { SEQUENCE OF UKMEntry }-- SEQUENCE {
ukm-entries SEQUENCE OF UKMEntry,
algorithm-identifier AlgorithmIdentifier,
encrypted BIT STRING
}
MsgProtocolInfoCapability ::= ENUMERATED { acp-127(0), acp-123(1) }
Remarks ::= SEQUENCE OF PrintableString
-- RIParameters used to be defined as a ASN.1 SET specification, but
-- this has been deprecated in edition D in favour of a DirectoryString
-- containing a sequence of dollar separated PrintableStrings.
--
-- Implemented in Wireshark as a CHOICE to be able to decode both without
-- using a preference.
RIParameters ::= CHOICE {
ri-parameters DirectoryString,
ri-parameters-deprecated RIParametersDeprecated
}
RIParametersDeprecated ::= SET {
rI [0] PrintableString,
rIType [1] ENUMERATED
{ normal(0), off-line(1), partTimeTerminal(2) },
minimize [2] BOOLEAN, -- not used any more --
sHD [3] PrintableString,
classification [4] Classification
}
UKMEntry ::= SEQUENCE {
tag PairwiseTag,
ukm OCTET STRING
}
WebAccessCapability ::= BOOLEAN
-- these are imported directly from SDN.701
PairwiseTag ::= SEQUENCE {
kmid Kmid,
edition INTEGER --(1..ub-edition-size)--,
date UTCTime OPTIONAL }
Kmid ::= OCTET STRING
MLReceiptPolicy ::= CHOICE {
none [0] NULL,
insteadOf [1] SEQUENCE -- (SIZE (1..ub-insteadOf))
OF GeneralNames,
inAdditionTo [2] SEQUENCE --(SIZE (1..ub-inAdditionTo))
OF GeneralNames }
END |
Configuration | wireshark/epan/dissectors/asn1/acp133/acp133.cnf | # acp133.cnf
# ACP133 conformation file
#.IMPORT ../p1/p1-exp.cnf
#.IMPORT ../x509af/x509af-exp.cnf
#.IMPORT ../x509ce/x509ce-exp.cnf
#.IMPORT ../x509if/x509if-exp.cnf
#.IMPORT ../x509sat/x509sat-exp.cnf
#.PDU
ACPPreferredDelivery
ALType
Community
OnSupported
ACPLegacyFormat
Addressees
DistributionCode
JPEG
MonthlyUKMs
RIParameters
Kmid
##.CLASS OBJECT-CLASS
#&Superclasses ClassReference OBJECT-CLASS
#&kind
#&MandatoryAttributes ClassReference ATTRIBUTE
#&OptionalAttributes ClassReference ATTRIBUTE
#&id ObjectIdentifierType
##.END
##.CLASS ATTRIBUTE
#&derivation ClassReference ATTRIBUTE
#&Type
#&equality-match ClassReference MATCHING-RULE
#&ordering-match ClassReference MATCHING-RULE
#&substrings-match ClassReference MATCHING-RULE
#&single-valued BooleanType
#&collective BooleanType
#&no-user-modification BooleanType
#&usage
#&id ObjectIdentifierType
##.END
#.CLASS MATCHING-RULE
&ParentMatchingRules ClassReference MATCHING-RULE
&AssertionType
&uniqueMatchIndicator ClassReference ATTRIBUTE
&id ObjectIdentifierType
#.END
#.CLASS CONTEXT
&Type
&Assertion
&id ObjectIdentifierType
#.END
#.CLASS DIT-CONTEXT-USE-RULE
&attributeType ObjectIdentifierType
&Mandatory ClassReference CONTEXT
&Optional ClassReference CONTEXT
#.END
#.CLASS OTHER-NAME
&Type OpenType
&id ObjectIdentifierType
#.END
#.REGISTER
# X.402
# ContentLength B "2.6.5.2.0" "id-at-mhs-maximum-content-length" - see p1.cnf
# ExtendedContentType B "2.6.5.2.1" "id-at-mhs-deliverable-content-types" - see p1.cnf
# ExtendedEncodedInformationType B "2.6.5.2.2" "id-at-mhs-exclusively-acceptable-eits" - see p1.cnf
# ORName B "2.6.5.2.3" "id-at-mhs-dl-members" - see p1.cnf
DLSubmitPermission B "2.6.5.2.4" "id-at-mhs-dl-submit-permissions"
# DistinguishedName B "2.6.5.2.5" "id-at-mhs-message-store-dn" - see x509if.cnf
# ORAddress B "2.6.5.2.6" "id-at-mhs-or-addresses" - see p1.cnf
# ObjectIdentifier B "2.6.5.2.8" "id-at-mhs-supported-automatic-actions" - see x509sat.cnf
# ExtendedContentType B "2.6.5.2.9" "id-at-mhs-supported-content-types" - see p1.cnf
# ObjectIdentifier B "2.6.5.2.10" "id-at-mhs-supported-attributes" - see x509sat.cnf
# ObjectIdentifier B "2.6.5.2.11" "id-at-mhs-supported-matching-rules" - see x509sat.cnf
# ORName B "2.6.5.2.12" "id-at-mhs-dl-archive-service" - see p1.cnf
DLPolicy B "2.6.5.2.13" "id-at-mhs-dl-policy"
# DistinguishedName B "2.6.5.2.14" "id-at-mhs-dl-related-lists" - see x509if.cnf
# ORName B "2.6.5.2.15" "id-at-mhs-dl-subscription-service" - see p1.cnf
AddressCapabilities B "2.6.5.2.16" "id-at-mhs-or-addresses-with-capabilities"
# ExtendedEncodedInformationType B "2.6.5.2.17" "id-at-mhs-acceptable-eits" see p1.cnf
# ExtendedEncodedInformationType B "2.6.5.2.18" "id-at-mhs-unacceptable-eits" - see p1.cnf
Capability B "2.6.5.2.19" "id-at-mhs-deliverable-classes"
# SDN.701
Kmid B "2.16.840.1.101.2.1.5.14" "id-at-alid"
MonthlyUKMs B "2.16.840.1.101.2.1.5.20" "id-at-janUKMs"
MonthlyUKMs B "2.16.840.1.101.2.1.5.21" "id-at-febUKMs"
MonthlyUKMs B "2.16.840.1.101.2.1.5.22" "id-at-marUKMs"
MonthlyUKMs B "2.16.840.1.101.2.1.5.23" "id-at-aprUKMs"
MonthlyUKMs B "2.16.840.1.101.2.1.5.24" "id-at-mayUKMs"
MonthlyUKMs B "2.16.840.1.101.2.1.5.25" "id-at-junUKMs"
MonthlyUKMs B "2.16.840.1.101.2.1.5.26" "id-at-julUKMs"
MonthlyUKMs B "2.16.840.1.101.2.1.5.27" "id-at-augUKMs"
MonthlyUKMs B "2.16.840.1.101.2.1.5.28" "id-at-sepUKMs"
MonthlyUKMs B "2.16.840.1.101.2.1.5.29" "id-at-octUKMs"
MonthlyUKMs B "2.16.840.1.101.2.1.5.30" "id-at-novUKMs"
MonthlyUKMs B "2.16.840.1.101.2.1.5.31" "id-at-decUKMs"
# ORName B "2.16.840.1.101.2.1.5.47" "id-at-aLExemptedAddressProcessor - see p1.cnf
# ACP133
# DistinguishedName B "2.16.840.1.101.2.2.1.3" "id-at-alternateRecipient" - see x509if.cnf
# DistinguishedName B "2.16.840.1.101.2.2.1.4" "id-at-associatedOrganization" - see x509if.cnf
# DistinguishedName B "2.16.840.1.101.2.2.1.6" "id-at-associatedPLA" - see x509if.cnf
# DirectoryString B "2.16.840.1.101.2.2.1.45" "id-at-releaseAuthorityName" - see x509sat.cnf
Addressees B "2.16.840.1.101.2.2.1.46" "id-at-actionAddressees"
Addressees B "2.16.840.1.101.2.2.1.47" "id-at-additionalAddressees"
Addressees B "2.16.840.1.101.2.2.1.48" "id-at-additionalSecondPartyAddressees"
# DistinguishedName B "2.16.840.1.101.2.2.1.49" "id-at-aliasPointer" - see x509if.cnf
Addressees B "2.16.840.1.101.2.2.1.50" "id-at-allowableOriginators"
#PrintableString B "2.16.840.1.101.2.2.1.51" "id-at-cognizantAuthority" - see x509sat.cnf
Community B "2.16.840.1.101.2.2.1.52" "id-at-community"
# PrintableString B "2.16.840.1.101.2.2.1.53" "id-at-accountingCode" - see x509sat.cnf
# Boolean B "2.16.840.1.101.2.2.1.54" "id-at-dualRoute" - see x509sat.cnf
# GeneralizedTime B "2.16.840.1.101.2.2.1.55" "id-at-effectiveDate" - see x509sat.cnf
Classification B "2.16.840.1.101.2.2.1.56" "id-at-entryClassification"
# GeneralizedTime B "2.16.840.1.101.2.2.1.57" "id-at-expirationDate" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.58" "id-at-hostOrgACP127" - see x509sat.cnf
Addressees B "2.16.840.1.101.2.2.1.59" "id-at-infoAddressees"
# GeneralizedTime B "2.16.840.1.101.2.2.1.60" "id-at-lastRecapDate" - see x509sat.cnf
# DistinguishedName B "2.16.840.1.101.2.2.1.61" "id-at-listPointer" - see x509if.cnf
# PrintableString B "2.16.840.1.101.2.2.1.62" "id-at-lmf" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.63" "id-at-longTitle" - see x509sat.cnf
# Boolean B "2.16.840.1.101.2.2.1.64" "id-at-minimize" - see x509sat.cnf
# Boolean B "2.16.840.1.101.2.2.1.65" "id-at-minimizeOverride" - see x509sat.cnf
Classification B "2.16.840.1.101.2.2.1.67" "id-at-nameClassification"
# PrintableString B "2.16.840.1.101.2.2.1.68" "id-at-nationality" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.68.1" "id-at-collectiveNationality" - see x509sat.cnf
# Boolean B "2.16.840.1.101.2.2.1.69" "id-at-transferStation" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.70" "id-at-plaNameACP127" - see x509sat.cnf
Addressees B "2.16.840.1.101.2.2.1.71" "id-at-plaAddressees"
# Boolean B "2.16.840.1.101.2.2.1.72" "id-at-plaReplace" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.73" "id-at-primarySpellingACP127" - see x509sat.cnf
# Boolean B "2.16.840.1.101.2.2.1.74" "id-at-publish" - see x509sat.cnf
# GeneralizedTime B "2.16.840.1.101.2.2.1.75" "id-at-recapDueDate" - see x509sat.cnf
Remarks B "2.16.840.1.101.2.2.1.76" "id-at-remarks"
# PrintableString B "2.16.840.1.101.2.2.1.77" "id-at-rI" - see x509sat.cnf
Classification B "2.16.840.1.101.2.2.1.78" "id-at-rIClassification"
RIParameters B "2.16.840.1.101.2.2.1.79" "id-at-rIInfo"
Addressees B "2.16.840.1.101.2.2.1.80" "id-at-secondPartyAddressees"
# Boolean B "2.16.840.1.101.2.2.1.81" "id-at-section" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.82" "id-at-serviceOrAgency" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.83" "id-at-sHD" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.84" "id-at-shortTitle" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.85" "id-at-sigad" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.86" "id-at-spot" - see x509sat.cnf
# Boolean B "2.16.840.1.101.2.2.1.87" "id-at-tARE" - see x509sat.cnf
# TelephoneNumber B "2.16.840.1.101.2.2.1.94" "id-at-aCPMobileTelephoneNumber" - see x509sat.cnf
# TelephoneNumber B "2.16.840.1.101.2.2.1.95" "id-at-aCPPagerTelephoneNumber" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.96" "id-at-tCC" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.97" "id-at-tRC" - see x509sat.cnf
DistributionCode B "2.16.840.1.101.2.2.1.104" "id-at-distributionCodeAction"
DistributionCode B "2.16.840.1.101.2.2.1.105" "id-at-distributionCodeInfo"
# PrintableString B "2.16.840.1.101.2.2.1.106" "id-at-accessCodes" - see x509sat.cnf
# GraphicString B "2.16.840.1.101.2.2.1.107" "id-at-accessSchema" - see x509sat.cnf
ACPPreferredDelivery B "2.16.840.1.101.2.2.1.108" "id-at-aCPPreferredDelivery"
# TelephoneNumber B "2.16.840.1.101.2.2.1.109" "id-at-aCPTelephoneFaxNumber" - see x509sat.cnf
# DistinguishedName B "2.16.840.1.101.2.2.1.110" "id-at-administrator" - see x509if.cnf
# DistinguishedName B "2.16.840.1.101.2.2.1.111" "id-at-aigsExpanded" - see x509if.cnf
ALType B "2.16.840.1.101.2.2.1.112" "id-at-aLType"
# DistinguishedName B "2.16.840.1.101.2.2.1.113" "id-at-associatedAL" - see x509if.cnf
# DistinguishedName B "2.16.840.1.101.2.2.1.114" "id-at-copyMember" - see x509if.cnf
# ObjectIdentifier B "2.16.840.1.101.2.2.1.115" "id-at-gatewayType" - see x509sat.cnf
# ObjectIdentifier B "2.16.840.1.101.2.2.1.116" "id-at-ghpType" - see x509sat.cnf
# DistinguishedName B "2.16.840.1.101.2.2.1.117" "id-at-guard" - see x509if.cnf
# DirectoryString B "2.16.840.1.101.2.2.1.118" "id-at-mailDomains" - see x509sat.cnf
# TelephoneNumber B "2.16.840.1.101.2.2.1.119" "id-at-militaryFacsimileNumber" - see x509sat.cnf
# TelephoneNumber B "2.16.840.1.101.2.2.1.119.1" "id-at-collectiveMilitaryFacsimileNumber" - see x509sat.cnf
# TelephoneNumber B "2.16.840.1.101.2.2.1.120" "id-at-militaryTelephoneNumber" - see x509sat.cnf
# TelephoneNumber B "2.16.840.1.101.2.2.1.120.1" "id-at-collectiveMilitaryTelephoneNumber" - see x509sat.cnf
# DistingishedName B "2.16.840.1.101.2.2.1.121" "id-at-networkDN" - see x509if.cnf
# GraphicString B "2.16.840.1.101.2.2.1.122" "id-at-networkSchema" - see x509sat.cnf
OnSupported B "2.16.840.1.101.2.2.1.123" "id-at-onSupported"
# DirectoryString B "2.16.840.1.101.2.2.1.124" "id-at-operationName" - see x509sat.cnf
# DirectoryString B "2.16.840.1.101.2.2.1.125" "id-at-positionNumber" - see x509sat.cnf
# DirectoryString B "2.16.840.1.101.2.2.1.126" "id-at-proprietaryMailboxes" - see x509sat.cnf
# TelephoneNumber B "2.16.840.1.101.2.2.1.127" "id-at-secureFacsimileNumber" - see x509sat.cnf
# TelephoneNumber B "2.16.840.1.101.2.2.1.127.1" "id-at-collectiveSecureFacsimileNumber" - see x509sat.cnf
# TelephoneNumber B "2.16.840.1.101.2.2.1.128" "id-at-secureTelephoneNumber" - see x509sat.cnf
# TelephoneNumber B "2.16.840.1.101.2.2.1.128.1" "id-at-collectiveSecureTelephoneNumber" - see x509sat.cnf
# DirectoryString B "2.16.840.1.101.2.2.1.129" "id-at-serviceNumber" - see x509sat.cnf
# DirectoryString B "2.16.840.1.101.2.2.1.133" "id-at-rank" - see x509sat.cnf
# B "2.16.840.1.101.2.2.1.134" "id-at-misc-collectives"
# ORAddress B "2.16.840.1.101.2.2.1.134.1" "id-at-collective-mhs-or-addresses" - see p1.cnf
MLReceiptPolicy B "2.16.840.1.101.2.2.1.135" "id-at-aLReceiptPolicy"
# DistinguishedName B "2.16.840.1.101.2.2.1.138" "id-at-plasServed" - see x509if.cnf
#DistinguishedName B "2.16.840.1.101.2.2.1.139" "id-at-deployed" - see x509if.cnf
# DistinguishedName B "2.16.840.1.101.2.2.1.140" "id-at-garrison" - see x509if.cnf
ACPLegacyFormat B "2.16.840.1.101.2.2.1.142" "id-at-aCPLegacyFormat"
# DirectoryString B "2.16.840.1.101.2.2.1.143" "id-at-adminConversion" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.144" "id-at-tCCG" - see x509sat.cnf
# DirectoryString B "2.16.840.1.101.2.2.1.145" "id-at-usdConversion" - see x509sat.cnf
JPEG B "2.16.840.1.101.2.2.1.146" "id-at-aCPNetwAccessSchemaEdB"
JPEG B "2.16.840.1.101.2.2.1.147" "id-at-aCPNetworkSchemaEdB"
# DirectoryString B "2.16.840.1.101.2.2.1.158" "id-at-aCPRoleInformation" - see x509sat.cnf
# DirectoryString B "2.16.840.1.101.2.2.1.159" "id-at-coalitionGrade" - see x509sat.cnf
# TelephoneNumber B "2.16.840.1.101.2.2.1.160" "id-at-militaryIPPhoneNumber" - see x509sat.cnf
# ObjectIdentifier B "2.16.840.1.101.2.2.1.161" "id-at-fileTypeInfoCapability" - see x509sat.cnf
MaxMessageSize B "2.16.840.1.101.2.2.1.162" "id-at-maxMessageSize"
MsgProtocolInfoCapability B "2.16.840.1.101.2.2.1.163" "id-at-msgProtocolInfoCapability"
Active B "2.16.840.1.101.2.2.1.164" "id-at-active"
EmConCapability B "2.16.840.1.101.2.2.1.165" "id-at-emConCapability"
EmConState B "2.16.840.1.101.2.2.1.166" "id-at-emConState"
WebAccessCapability B "2.16.840.1.101.2.2.1.167" "id-at-webAccessCapability"
DistributionCode B "2.16.840.1.101.2.2.1.168" "id-at-distributionExemptAction"
DistributionCode B "2.16.840.1.101.2.2.1.169" "id-at-distributionExemptInfo"
DistributionCode B "2.16.840.1.101.2.2.1.170" "id-at-distributionKeywordAction"
DistributionCode B "2.16.840.1.101.2.2.1.171" "id-at-distributionKeywordInfo"
# PrintableString B "2.16.840.1.101.2.2.1.172" "id-at-aCPFunctionalDescription" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.173" "id-at-alternatePLAName" - see x509sat.cnf
# GeneralizedTime B "2.16.840.1.101.2.2.1.174" "id-at-aCPEntryCreationDate" - see x509sat.cnf
# GeneralizedTime B "2.16.840.1.101.2.2.1.175" "id-at-aCPEntryModificationDate" - see x509sat.cnf
# ObjectIdentifier B "2.16.840.1.101.2.2.1.176" "id-at-aCPEntryType" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.177" "id-at-aCPEntryUniqueId" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.178" "id-at-aCPCitizenship" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.179" "id-at-aCPEID" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.180" "id-at-aCPCOI" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.181" "id-at-aCPPublishTo" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.182" "id-at-aCPSvcApps" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.183" "id-at-aCPDirectionsTo" - see x509sat.cnf
# DistinguishedName B "2.16.840.1.101.2.2.1.184" "id-at-aCPDutyOfficer" - see x509if.cnf
# PrintableString B "2.16.840.1.101.2.2.1.185" "id-at-aCPLatitude" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.186" "id-at-aCPLocationMap" - see x509sat.cnf
# PrintableString B "2.16.840.1.101.2.2.1.187" "id-at-aCPLongitude" - see x509sat.cnf
# DistinguishedName B "2.16.840.1.101.2.2.1.188" "id-at-primaryMember" - see x509sat.cnf
ACPNoAttachments B "2.16.840.1.101.2.2.1.189" "id-at-aCPNoAttachments" |
Text | wireshark/epan/dissectors/asn1/acp133/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME acp133 )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
MHSDirectoryObjectsAndAttributes.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
"${CMAKE_CURRENT_BINARY_DIR}/../p1/p1-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509af/x509af-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509ce/x509ce-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509if/x509if-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509sat/x509sat-exp.cnf"
)
ASN2WRS() |
ASN.1 | wireshark/epan/dissectors/asn1/acp133/MHSDirectoryObjectsAndAttributes.asn | -- http://www.itu.int/ITU-T/asn1/database/itu-t/x/x402/1999/index.html
-- Module MHSDirectoryObjectsAndAttributes (X.402:06/1999)
MHSDirectoryObjectsAndAttributes {joint-iso-itu-t mhs(6) arch(5) modules(0)
directory(1) version-1999(1)} DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- Prologue
-- Exports everything.
IMPORTS
-- MHS Object Identifiers
id-at-mhs-acceptable-eits, id-at-mhs-deliverable-classes,
id-at-mhs-deliverable-content-types, id-at-mhs-dl-archive-service,
id-at-mhs-dl-members, id-at-mhs-dl-policy, id-at-mhs-dl-related-lists,
id-at-mhs-dl-submit-permissions, id-at-mhs-dl-subscription-service,
id-at-mhs-exclusively-acceptable-eits, id-at-mhs-maximum-content-length,
id-at-mhs-message-store-dn, id-at-mhs-or-addresses,
id-at-mhs-or-addresses-with-capabilities, id-at-mhs-supported-attributes,
id-at-mhs-supported-automatic-actions, id-at-mhs-supported-content-types,
id-at-mhs-supported-matching-rules, id-at-mhs-unacceptable-eits,
id-con-dl-administrator-annotation, id-con-dl-nested-dl,
id-con-dl-reset-originator, id-mr-address-capabilities-match,
id-mr-capability-match, id-mr-orname-exact-match,
id-oc-mhs-distribution-list, id-oc-mhs-message-store,
id-oc-mhs-message-transfer-agent, id-oc-mhs-user, id-oc-mhs-user-agent,
id-san-mta-name
--==
FROM MHSObjectIdentifiers {joint-iso-itu-t mhs(6) arch(5) modules(0)
object-identifiers(0) version-1999(1)}
-- MTS Abstract Service
ContentLength, EncodedInformationTypesConstraints, ExtendedContentType,
ExtendedEncodedInformationType, GlobalDomainIdentifier, MTAName,
ORAddress, ORName, RequestedDeliveryMethod, SecurityContext
--==
FROM MTSAbstractService {joint-iso-itu-t mhs(6) mts(3) modules(0)
mts-abstract-service(1) version-1999(1)}
-- MS Abstract Service
AUTO-ACTION
--==
FROM MSAbstractService {joint-iso-itu-t mhs(6) ms(4) modules(0)
abstract-service(1) version-1999(1)}
-- MS General Attribute Types
X413ATTRIBUTE, AttributeTable
--==
FROM MSGeneralAttributeTypes {joint-iso-itu-t mhs(6) ms(4) modules(0)
general-attribute-types(2) version-1999(1)}
-- MS General Auto Action Types
AutoActionTable
--==
FROM MSGeneralAutoActionTypes {joint-iso-itu-t mhs(6) ms(4) modules(0)
general-auto-action-types(3) version-1994(0)}
-- MS Matching Rules
MatchingRuleTable, oRAddressMatch, oRAddressElementsMatch,
oRAddressSubstringElementsMatch, oRNameMatch, oRNameElementsMatch,
oRNameSingleElementMatch, oRNameSubstringElementsMatch
--==
FROM MSMatchingRules {joint-iso-itu-t mhs(6) ms(4) modules(0)
general-matching-rules(5) version-1999(1)}
-- Information Framework
ATTRIBUTE, CONTEXT, distinguishedNameMatch, DIT-CONTEXT-USE-RULE,
objectIdentifierMatch, MATCHING-RULE, Name, OBJECT-CLASS, top
--==
FROM InformationFramework {joint-iso-itu-t ds(5) module(1)
informationFramework(1) 3}
-- Selected Object Classes
applicationEntity
--==
FROM SelectedObjectClasses {joint-iso-itu-t ds(5) module(1)
selectedObjectClasses(6) 3}
-- Selected Attribute Types
commonName, description, distinguishedName, integerMatch, organizationName,
organizationalUnitName, owner, protocolInformation, seeAlso
--==
FROM SelectedAttributeTypes {joint-iso-itu-t ds(5) module(1)
selectedAttributeTypes(5) 3}
-- Authentication Framework
AlgorithmIdentifier
--==
FROM AuthenticationFramework {joint-iso-itu-t ds(5) module(1)
authenticationFramework(7) 3}
-- Certificate Extensions
CertificateAssertion, OTHER-NAME
--==
FROM CertificateExtensions {joint-iso-itu-t ds(5) module(1)
certificateExtensions(26) 0};
-- OBJECT CLASSES
-- MHS Distribution List
mhs-distribution-list OBJECT-CLASS ::= {
SUBCLASS OF {top}
MUST CONTAIN {commonName | mhs-dl-submit-permissions | mhs-or-addresses}
MAY CONTAIN
{description | organizationName | organizationalUnitName | owner | seeAlso
| mhs-maximum-content-length | mhs-deliverable-content-types |
mhs-acceptable-eits | mhs-exclusively-acceptable-eits |
mhs-unacceptable-eits | mhs-dl-policy | mhs-dl-subscription-service |
mhs-dl-archive-service | mhs-dl-related-lists | mhs-dl-members}
ID id-oc-mhs-distribution-list
}
-- MHS Message Store
mhs-message-store OBJECT-CLASS ::= {
SUBCLASS OF {applicationEntity}
MAY CONTAIN
{owner | mhs-supported-attributes | mhs-supported-automatic-actions |
mhs-supported-matching-rules | mhs-supported-content-types |
protocolInformation}
ID id-oc-mhs-message-store
}
-- MHS Message Transfer Agent
mhs-message-transfer-agent OBJECT-CLASS ::= {
SUBCLASS OF {applicationEntity}
MAY CONTAIN {owner | mhs-maximum-content-length | protocolInformation}
ID id-oc-mhs-message-transfer-agent
}
-- MHS User
mhs-user OBJECT-CLASS ::= {
SUBCLASS OF {top}
KIND auxiliary
MUST CONTAIN {mhs-or-addresses}
MAY CONTAIN
{mhs-maximum-content-length | mhs-deliverable-content-types |
mhs-acceptable-eits | mhs-exclusively-acceptable-eits |
mhs-unacceptable-eits | mhs-or-addresses-with-capabilities |
mhs-message-store-dn}
ID id-oc-mhs-user
}
-- MHS User Agent
mhs-user-agent OBJECT-CLASS ::= {
SUBCLASS OF {applicationEntity}
MAY CONTAIN
{owner | mhs-maximum-content-length | mhs-deliverable-content-types |
mhs-acceptable-eits | mhs-exclusively-acceptable-eits |
mhs-unacceptable-eits | mhs-deliverable-classes | mhs-or-addresses |
protocolInformation}
ID id-oc-mhs-user-agent
}
-- ATTRIBUTES
-- MHS Acceptable EITs
mhs-acceptable-eits ATTRIBUTE ::= {
WITH SYNTAX ExtendedEncodedInformationType
EQUALITY MATCHING RULE objectIdentifierMatch
ID id-at-mhs-acceptable-eits
}
-- MHS Deliverable Classes
mhs-deliverable-classes ATTRIBUTE ::= {
WITH SYNTAX Capability
EQUALITY MATCHING RULE capabilityMatch
ID id-at-mhs-deliverable-classes
}
-- MHS Deliverable Content Types
mhs-deliverable-content-types ATTRIBUTE ::= {
WITH SYNTAX ExtendedContentType
EQUALITY MATCHING RULE objectIdentifierMatch
ID id-at-mhs-deliverable-content-types
}
-- MHS DL Archive Service
mhs-dl-archive-service ATTRIBUTE ::= {
WITH SYNTAX ORName
EQUALITY MATCHING RULE oRNameExactMatch
-- EXTENSIBLE MATCHING RULE { oRNameMatch | oRNameElementsMatch |
-- oRNameSubstringElementsMatch | oRNameSingleElementMatch }
ID id-at-mhs-dl-archive-service
}
-- MHS DL Members
mhs-dl-members ATTRIBUTE ::= {
WITH SYNTAX ORName
EQUALITY MATCHING RULE oRNameExactMatch
-- EXTENSIBLE MATCHING RULE { oRNameMatch | oRNameElementsMatch |
-- oRNameSubstringElementsMatch | oRNameSingleElementMatch }
ID id-at-mhs-dl-members
}
-- MHS DL Policy
mhs-dl-policy ATTRIBUTE ::= {
WITH SYNTAX DLPolicy
SINGLE VALUE TRUE
ID id-at-mhs-dl-policy
}
-- MHS DL Related Lists
mhs-dl-related-lists ATTRIBUTE ::= {
SUBTYPE OF distinguishedName
EQUALITY MATCHING RULE distinguishedNameMatch
ID id-at-mhs-dl-related-lists
}
-- MHS DL Submit Permissions
mhs-dl-submit-permissions ATTRIBUTE ::= {
WITH SYNTAX DLSubmitPermission
ID id-at-mhs-dl-submit-permissions
}
-- MHS DL Subscription Service
mhs-dl-subscription-service ATTRIBUTE ::= {
WITH SYNTAX ORName
EQUALITY MATCHING RULE oRNameExactMatch
-- EXTENSIBLE MATCHING RULE { oRNameMatch | oRNameElementsMatch |
-- oRNameSubstringElementsMatch | oRNameSingleElementMatch }
ID id-at-mhs-dl-subscription-service
}
-- MHS Exclusively Acceptable EITs
mhs-exclusively-acceptable-eits ATTRIBUTE ::= {
WITH SYNTAX ExtendedEncodedInformationType
EQUALITY MATCHING RULE objectIdentifierMatch
ID id-at-mhs-exclusively-acceptable-eits
}
-- MHS Maximum Content Length
mhs-maximum-content-length ATTRIBUTE ::= {
WITH SYNTAX ContentLength
EQUALITY MATCHING RULE integerMatch
SINGLE VALUE TRUE
ID id-at-mhs-maximum-content-length
}
-- MHS Message Store Directory Name
mhs-message-store-dn ATTRIBUTE ::= {
SUBTYPE OF distinguishedName
EQUALITY MATCHING RULE distinguishedNameMatch
SINGLE VALUE TRUE
ID id-at-mhs-message-store-dn
}
-- MHS OR-Addresses
mhs-or-addresses ATTRIBUTE ::= {
WITH SYNTAX ORAddress
EQUALITY MATCHING RULE oRAddressMatch
-- EXTENSIBLE MATCHING RULE { oRAddressElementsMatch | oRNameSingleElementMatch |
-- oRAddressSubstringElementsMatch }
ID id-at-mhs-or-addresses
}
-- MHS OR-Addresses with Capabilities
mhs-or-addresses-with-capabilities ATTRIBUTE ::= {
WITH SYNTAX AddressCapabilities
EQUALITY MATCHING RULE addressCapabilitiesMatch
ID id-at-mhs-or-addresses-with-capabilities
}
-- MHS Supported Attributes
mhs-supported-attributes ATTRIBUTE ::= {
WITH SYNTAX X413ATTRIBUTE.&id({AttributeTable})
EQUALITY MATCHING RULE objectIdentifierMatch
ID id-at-mhs-supported-attributes
}
-- MHS Supported Automatic Actions
mhs-supported-automatic-actions ATTRIBUTE ::= {
WITH SYNTAX AUTO-ACTION.&id({AutoActionTable})
EQUALITY MATCHING RULE objectIdentifierMatch
ID id-at-mhs-supported-automatic-actions
}
-- MHS Supported Content Types
mhs-supported-content-types ATTRIBUTE ::= {
WITH SYNTAX ExtendedContentType
EQUALITY MATCHING RULE objectIdentifierMatch
ID id-at-mhs-supported-content-types
}
-- MHS Supported Matching Rules
mhs-supported-matching-rules ATTRIBUTE ::= {
WITH SYNTAX MATCHING-RULE.&id({MatchingRuleTable})
EQUALITY MATCHING RULE objectIdentifierMatch
ID id-at-mhs-supported-matching-rules
}
-- MHS Unacceptable EITs
mhs-unacceptable-eits ATTRIBUTE ::= {
WITH SYNTAX ExtendedEncodedInformationType
EQUALITY MATCHING RULE objectIdentifierMatch
ID id-at-mhs-unacceptable-eits
}
-- ATTRIBUTE SYNTAXES
-- DL Submit Permission
DLSubmitPermission ::= CHOICE {
individual [0] ORName,
member-of-dl [1] ORName,
pattern-match [2] ORNamePattern,
member-of-group [3] Name
}
ORNamePattern ::= ORName
--any-user-may-submit DLSubmitPermission ::=
-- pattern-match:{built-in-standard-attributes {}}
-- DL Policy
DLPolicy ::= SET {
report-propagation
[0] INTEGER {previous-dl-or-originator(0), dl-owner(1),
both-previous-and-owner(2)} DEFAULT previous-dl-or-originator,
report-from-dl
[1] INTEGER {whenever-requested(0), when-no-propagation(1)}
DEFAULT whenever-requested,
originating-MTA-report
[2] INTEGER {unchanged(0), report(2), non-delivery-report(3),
audited-report(4)} DEFAULT unchanged,
originator-report
[3] INTEGER {unchanged(0), no-report(1), report(2), non-delivery-report(3)}
DEFAULT unchanged,
return-of-content
[4] ENUMERATED {unchanged(0), content-return-not-requested(1),
content-return-requested(2)} DEFAULT unchanged,
priority
[5] INTEGER {unchanged(0), normal(1), non-urgent(2), urgent(3)}
DEFAULT unchanged,
disclosure-of-other-recipients
[6] ENUMERATED {unchanged(0),
disclosure-of-other-recipients-prohibited(1),
disclosure-of-other-recipients-allowed(2)}
DEFAULT unchanged,
implicit-conversion-prohibited
[7] ENUMERATED {unchanged(0), implicit-conversion-allowed(1),
implicit-conversion-prohibited(2)} DEFAULT unchanged,
conversion-with-loss-prohibited
[8] ENUMERATED {unchanged(0), conversion-with-loss-allowed(1),
conversion-with-loss-prohibited(2)} DEFAULT unchanged,
further-dl-expansion-allowed [9] BOOLEAN DEFAULT TRUE,
originator-requested-alternate-recipient-removed [10] BOOLEAN DEFAULT TRUE,
proof-of-delivery
[11] INTEGER {dl-expansion-point(0), dl-members(1), both(2), neither(3)}
DEFAULT dl-members,
requested-delivery-method
[12] CHOICE {unchanged [0] NULL,
removed [1] NULL,
replaced RequestedDeliveryMethod} DEFAULT unchanged:NULL,
token-encryption-algorithm-preference
[13] SEQUENCE OF AlgorithmInformation OPTIONAL,
token-signature-algorithm-preference
[14] SEQUENCE OF AlgorithmInformation OPTIONAL,
...
}
AlgorithmInformation ::= SEQUENCE {
algorithm-identifier [0] AlgorithmIdentifier,
originator-certificate-selector [1] CertificateAssertion OPTIONAL,
recipient-certificate-selector [2] CertificateAssertion OPTIONAL
}
-- OR-Address with Capabilities
AddressCapabilities ::= SEQUENCE {
description GeneralString OPTIONAL,
address ORAddress,
capabilities SET OF Capability
}
Capability ::= SET {
content-types
[0] SET OF ExtendedContentType OPTIONAL,
maximum-content-length [1] ContentLength OPTIONAL,
encoded-information-types-constraints
[2] EncodedInformationTypesConstraints OPTIONAL,
security-labels [3] SecurityContext OPTIONAL,
...
}
-- MATCHING RULES
-- OR-Address with Capabilities Match
addressCapabilitiesMatch MATCHING-RULE ::= {
SYNTAX AddressCapabilities
ID id-mr-address-capabilities-match
}
-- Capability Match
capabilityMatch MATCHING-RULE ::= {
SYNTAX Capability
ID id-mr-capability-match
}
-- OR-Name Exact Match
oRNameExactMatch MATCHING-RULE ::= {
SYNTAX ORName
ID id-mr-orname-exact-match
}
-- CONTEXTS
-- DL Administrator Annotation
dl-administrator-annotation CONTEXT ::= {
WITH SYNTAX
CHOICE {bmpstring BMPString,
universalstring UniversalString}
ID id-con-dl-administrator-annotation
}
dl-administrator-annotation-use-rule DIT-CONTEXT-USE-RULE ::= {
ATTRIBUTE TYPE mhs-dl-members.&id
OPTIONAL CONTEXTS {dl-administrator-annotation}
}
-- DL Nested DL
dl-nested-dl CONTEXT ::= {WITH SYNTAX NULL
ID id-con-dl-nested-dl
}
dl-nested-dl-use-rule DIT-CONTEXT-USE-RULE ::= {
ATTRIBUTE TYPE mhs-dl-members.&id
OPTIONAL CONTEXTS {dl-nested-dl}
}
-- DL Reset Originator
dl-reset-originator CONTEXT ::= {
WITH SYNTAX NULL
ID id-con-dl-reset-originator
}
dl-reset-originator-use-rule DIT-CONTEXT-USE-RULE ::= {
ATTRIBUTE TYPE mhs-dl-members.&id
OPTIONAL CONTEXTS {dl-reset-originator}
}
-- CERTIFICATE SUBJECT ALTERNATIVE NAMES
-- MTA Name
mta-name OTHER-NAME ::= {
SEQUENCE {domain GlobalDomainIdentifier,
mta-name MTAName}
IDENTIFIED BY id-san-mta-name
}
END -- of MHSDirectory
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
C | wireshark/epan/dissectors/asn1/acp133/packet-acp133-template.c | /* packet-acp133.c
* Routines for ACP133 specific syntaxes in X.500 packet dissection
* Graeme Lunt 2005
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/asn1.h>
#include <epan/oids.h>
#include "packet-ber.h"
#include "packet-p1.h"
#include "packet-x509af.h"
#include "packet-x509ce.h"
#include "packet-x509if.h"
#include "packet-x509sat.h"
#include "packet-acp133.h"
#define PNAME "ACP133 Attribute Syntaxes"
#define PSNAME "ACP133"
#define PFNAME "acp133"
void proto_register_acp133(void);
void proto_reg_handoff_acp133(void);
/* Initialize the protocol and registered fields */
static int proto_acp133 = -1;
#include "packet-acp133-hf.c"
/* Initialize the subtree pointers */
static gint ett_acp133 = -1;
#include "packet-acp133-ett.c"
#include "packet-acp133-fn.c"
/*--- proto_register_acp133 -------------------------------------------*/
void proto_register_acp133(void) {
/* List of fields */
static hf_register_info hf[] =
{
#include "packet-acp133-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_acp133,
#include "packet-acp133-ettarr.c"
};
/* Register protocol */
proto_acp133 = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_acp133, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
}
/*--- proto_reg_handoff_acp133 --- */
void proto_reg_handoff_acp133(void) {
#include "packet-acp133-dis-tab.c"
/* X.402 Object Classes */
oid_add_from_string("id-oc-mhs-distribution-list","2.6.5.1.0");
oid_add_from_string("id-oc-mhs-message-store","2.6.5.1.1");
oid_add_from_string("id-oc-mhs-message-transfer-agent","2.6.5.1.2");
oid_add_from_string("id-oc-mhs-user","2.6.5.1.3");
/* SDN.701 Object Classes */
oid_add_from_string("id-oc-secure-user","2.16.840.1.101.2.1.4.13");
oid_add_from_string("id-oc-ukms","2.16.840.1.101.2.1.4.16");
/* ACP133 Object Classes */
oid_add_from_string("id-oc-plaData","2.16.840.1.101.2.2.3.26");
oid_add_from_string("id-oc-cadACP127","2.16.840.1.101.2.2.3.28");
oid_add_from_string("id-oc-mLA","2.16.840.1.101.2.2.3.31");
oid_add_from_string("id-oc-orgACP127","2.16.840.1.101.2.2.3.34");
oid_add_from_string("id-oc-plaCollectiveACP127","2.16.840.1.101.2.2.3.35");
oid_add_from_string("id-oc-routingIndicator","2.16.840.1.101.2.2.3.37");
oid_add_from_string("id-oc-sigintPLA","2.16.840.1.101.2.2.3.38");
oid_add_from_string("id-oc-sIPLA","2.16.840.1.101.2.2.3.39");
oid_add_from_string("id-oc-spotPLA","2.16.840.1.101.2.2.3.40");
oid_add_from_string("id-oc-taskForceACP127","2.16.840.1.101.2.2.3.41");
oid_add_from_string("id-oc-tenantACP127","2.16.840.1.101.2.2.3.42");
oid_add_from_string("id-oc-plaACP127","2.16.840.1.101.2.2.3.47");
oid_add_from_string("id-oc-aliasCommonName","2.16.840.1.101.2.2.3.52");
oid_add_from_string("id-oc-aliasOrganizationalUnit","2.16.840.1.101.2.2.3.53");
oid_add_from_string("id-oc-distributionCodesHandled","2.16.840.1.101.2.2.3.54");
oid_add_from_string("id-oc-distributionCodeDescription","2.16.840.1.101.2.2.3.55");
oid_add_from_string("id-oc-plaUser","2.16.840.1.101.2.2.3.56");
oid_add_from_string("id-oc-addressList","2.16.840.1.101.2.2.3.57");
oid_add_from_string("id-oc-altSpellingACP127","2.16.840.1.101.2.2.3.58");
oid_add_from_string("id-oc-messagingGateway","2.16.840.1.101.2.2.3.59");
oid_add_from_string("id-oc-network","2.16.840.1.101.2.2.3.60");
oid_add_from_string("id-oc-networkInstructions","2.16.840.1.101.2.2.3.61");
oid_add_from_string("id-oc-otherContactInformation","2.16.840.1.101.2.2.3.62");
oid_add_from_string("id-oc-releaseAuthorityPerson","2.16.840.1.101.2.2.3.63");
oid_add_from_string("id-oc-mLAgent","2.16.840.1.101.2.2.3.64");
oid_add_from_string("id-oc-releaseAuthorityPersonA","2.16.840.1.101.2.2.3.65");
oid_add_from_string("id-oc-securePkiUser","2.16.840.1.101.2.2.3.66");
oid_add_from_string("id-oc-dSSCSPLA","2.16.840.1.101.2.2.3.67");
oid_add_from_string("id-oc-aCPNetworkEdB","2.16.840.1.101.2.2.3.68");
oid_add_from_string("id-oc-aCPNetworkInstructionsEdB","2.16.840.1.101.2.2.3.69");
oid_add_from_string("id-oc-aCPAddressList","2.16.840.1.101.2.2.3.70");
oid_add_from_string("id-oc-aCPAliasCommonName","2.16.840.1.101.2.2.3.71");
oid_add_from_string("id-oc-aCPAliasOrganizationalUnit","2.16.840.1.101.2.2.3.72");
oid_add_from_string("id-oc-aCPDevice","2.16.840.1.101.2.2.3.73");
oid_add_from_string("id-oc-aCPDistributionCodeDescription","2.16.840.1.101.2.2.3.74");
oid_add_from_string("id-oc-aCPGroupOfNames","2.16.840.1.101.2.2.3.75");
oid_add_from_string("id-oc-aCPLocality","2.16.840.1.101.2.2.3.76");
oid_add_from_string("id-oc-aCPOrganization","2.16.840.1.101.2.2.3.77");
oid_add_from_string("id-oc-aCPOrganizationalPerson","2.16.840.1.101.2.2.3.78");
oid_add_from_string("id-oc-aCPOrganizationalRole","2.16.840.1.101.2.2.3.79");
oid_add_from_string("id-oc-aCPOrganizationalUnit","2.16.840.1.101.2.2.3.80");
oid_add_from_string("id-oc-aCPDistributionCodesHandled","2.16.840.1.101.2.2.3.81");
oid_add_from_string("id-oc-aCPMhsCapabilitiesInformation","2.16.840.1.101.2.2.3.82");
oid_add_from_string("id-oc-aCPOtherContactInformation","2.16.840.1.101.2.2.3.83");
oid_add_from_string("id-oc-aCPPlaUser","2.16.840.1.101.2.2.3.84");
oid_add_from_string("id-oc-aCPCRLDistributionPoint","2.16.840.1.101.2.2.3.85");
oid_add_from_string("id-oc-aCPSecurePKIUser","2.16.840.1.101.2.2.3.86");
oid_add_from_string("id-oc-aCPAltSpellingACP127","2.16.840.1.101.2.2.3.87");
oid_add_from_string("id-oc-aCPCadACP127","2.16.840.1.101.2.2.3.88");
oid_add_from_string("id-oc-aCPDSSCSPLA","2.16.840.1.101.2.2.3.89");
oid_add_from_string("id-oc-aCPOrgACP127","2.16.840.1.101.2.2.3.90");
oid_add_from_string("id-oc-aCPPLACollectiveACP127","2.16.840.1.101.2.2.3.91");
oid_add_from_string("id-oc-aCPRoutingIndicator","2.16.840.1.101.2.2.3.92");
oid_add_from_string("id-oc-aCPSigIntPLA","2.16.840.1.101.2.2.3.93");
oid_add_from_string("id-oc-aCPSIPLA","2.16.840.1.101.2.2.3.94");
oid_add_from_string("id-oc-aCPSpotPLA","2.16.840.1.101.2.2.3.95");
oid_add_from_string("id-oc-aCPTaskForceACP127","2.16.840.1.101.2.2.3.96");
oid_add_from_string("id-oc-aCPTenantACP127","2.16.840.1.101.2.2.3.97");
oid_add_from_string("id-oc-aCPPlaACP127","2.16.840.1.101.2.2.3.98");
oid_add_from_string("id-oc-aCPPlaData","2.16.840.1.101.2.2.3.99");
oid_add_from_string("id-oc-aCPEntryAdmin","2.16.840.1.101.2.2.3.102");
oid_add_from_string("id-oc-aCPOrganizationalLocation","2.16.840.1.101.2.2.3.103");
oid_add_from_string("id-oc-aCPEntryCharacteristics","2.16.840.1.101.2.2.3.104");
oid_add_from_string("id-oc-aCPPrivilege","2.16.840.1.101.2.2.3.105");
/* gateway types */
oid_add_from_string("acp120-acp127","2.16.840.1.101.2.2.5.0");
oid_add_from_string("acp120-janap128","2.16.840.1.101.2.2.5.1");
oid_add_from_string("acp120-mhs","2.16.840.1.101.2.2.5.2");
oid_add_from_string("acp120-mmhs","2.16.840.1.101.2.2.5.3");
oid_add_from_string("acp120-rfc822","2.16.840.1.101.2.2.5.4");
oid_add_from_string("boundaryMTA","2.16.840.1.101.2.2.5.5");
oid_add_from_string("mmhs-mhs","2.16.840.1.101.2.2.5.6");
oid_add_from_string("mmhs-rfc822","2.16.840.1.101.2.2.5.7");
oid_add_from_string("mta-acp127","2.16.840.1.101.2.2.5.8");
} |
C/C++ | wireshark/epan/dissectors/asn1/acp133/packet-acp133-template.h | /* packet-acp133.h
* Routines for ACP133 specific syntaxes in X.500 packet dissection
* Graeme Lunt 2005
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_ACP133_H
#define PACKET_ACP133_H
/* #include "packet-acp133-exp.h" */
#endif /* PACKET_ACP133_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/acse/acse.asn | -- ACSE definition from
-- http://www.itu.int/ITU-T/asn1/database/itu-t/x/x227bis/1998/ACSE-1.html
-- and modified to pass through asn2wrs
--
--
-- Module ACSE-1 (X.227bis:09/1998)
ACSE-1 {joint-iso-itu-t association-control(2) modules(0) acse1(1) version1(1)}
-- ACSE-1 refers to ACSE version 1
DEFINITIONS ::=
BEGIN
IMPORTS
Name, RelativeDistinguishedName
FROM InformationFramework {joint-iso-itu-t ds(5) module(1)
informationFramework(1) 3};
-- The data types Name and RelativeDistinguishedName are imported from
-- ITU-T Rec. X.501 | ISO/IEC 9594-2.
-- Workaround for bug in asn2wrs in the .cnf file
-- to handle the lack of support for tagged assignments.
-- remove that workaround once asn2wrs learns how to handle
-- tagged assignments.
EXTERNALt ::= [UNIVERSAL 8] IMPLICIT SEQUENCE
{
direct-reference OBJECT IDENTIFIER OPTIONAL,
indirect-reference INTEGER OPTIONAL,
data-value-descriptor ObjectDescriptor OPTIONAL,
encoding CHOICE
{single-ASN1-type [0] ANY,
octet-aligned [1] IMPLICIT OCTET STRING,
arbitrary [2] IMPLICIT BIT STRING}
}
-- object identifier assignments
acse-as-id OBJECT IDENTIFIER ::=
{joint-iso-itu-t association-control(2) abstract-syntax(1) apdus(0)
version1(1)}
-- may be used to reference the abstract syntax of the ACSE APDUs.
aCSE-id OBJECT IDENTIFIER ::=
{joint-iso-itu-t association-control(2) ase-id(3) acse-ase(1) version(1)}
-- may be used to identify the Association Control ASE.
-- top level CHOICE
ACSE-apdu ::= CHOICE {
--asn2wrs bug
-- aarq AARQ-apdu,
aarq [APPLICATION 0] IMPLICIT AARQ-apdu,
--asn2wrs bug
-- aare AARE-apdu,
aare [APPLICATION 1] IMPLICIT AARE-apdu,
--asn2wrs bug
-- rlrq RLRQ-apdu,
rlrq [APPLICATION 2] IMPLICIT RLRQ-apdu,
--asn2wrs bug
-- rlre RLRE-apdu,
rlre [APPLICATION 3] IMPLICIT RLRE-apdu,
--asn2wrs bug
-- abrt ABRT-apdu,
abrt [APPLICATION 4] IMPLICIT ABRT-apdu,
...,
-- Extensions for higher level association FU
--asn2wrs bug
-- adt A-DT-apdu,
adt [APPLICATION 5] IMPLICIT A-DT-apdu,
--asn2wrs bug
-- acrq ACRQ-apdu,
acrq [APPLICATION 6] IMPLICIT ACRQ-apdu,
--asn2wrs bug
-- acrp ACRP-apdu
acrp [APPLICATION 7] IMPLICIT ACRP-apdu
}
AARQ-apdu ::= [APPLICATION 0] IMPLICIT SEQUENCE {
protocol-version
[0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1},
aSO-context-name [1] ASO-context-name,
called-AP-title [2] AP-title OPTIONAL,
called-AE-qualifier [3] AE-qualifier OPTIONAL,
called-AP-invocation-identifier [4] AP-invocation-identifier OPTIONAL,
called-AE-invocation-identifier [5] AE-invocation-identifier OPTIONAL,
calling-AP-title [6] AP-title OPTIONAL,
calling-AE-qualifier [7] AE-qualifier OPTIONAL,
calling-AP-invocation-identifier [8] AP-invocation-identifier OPTIONAL,
calling-AE-invocation-identifier [9] AE-invocation-identifier OPTIONAL,
-- The following field shall not be present if only the Kernel is used.
sender-acse-requirements [10] IMPLICIT ACSE-requirements OPTIONAL,
-- The following field shall only be present if the Authentication functional unit is selected.
mechanism-name [11] IMPLICIT Mechanism-name OPTIONAL,
-- The following field shall only be present if the Authentication functional unit is selected.
calling-authentication-value [12] EXPLICIT Authentication-value OPTIONAL,
aSO-context-name-list
[13] IMPLICIT ASO-context-name-list OPTIONAL,
-- The above field shall only be present if the Application Context Negotiation functional unit is selected.
implementation-information [29] IMPLICIT Implementation-data OPTIONAL,
...,
-- Extensions for higher level association FU
p-context-definition-list [14] Syntactic-context-list OPTIONAL,
called-asoi-tag [15] IMPLICIT ASOI-tag OPTIONAL,
calling-asoi-tag [16] IMPLICIT ASOI-tag OPTIONAL,
-- End of extensions for higher level association FU
-- ...,
user-information [30] IMPLICIT Association-data OPTIONAL
}
AARE-apdu ::= [APPLICATION 1] IMPLICIT SEQUENCE {
protocol-version
[0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1},
aSO-context-name [1] ASO-context-name,
result [2] Associate-result,
result-source-diagnostic [3] Associate-source-diagnostic,
responding-AP-title [4] AP-title OPTIONAL,
responding-AE-qualifier [5] AE-qualifier OPTIONAL,
responding-AP-invocation-identifier [6] AP-invocation-identifier OPTIONAL,
responding-AE-invocation-identifier [7] AE-invocation-identifier OPTIONAL,
-- The following field shall not be present if only the Kernel is used.
responder-acse-requirements [8] IMPLICIT ACSE-requirements OPTIONAL,
-- The following field shall only be present if the Authentication functional unit is selected.
mechanism-name [9] IMPLICIT Mechanism-name OPTIONAL,
-- This following field shall only be present if the Authentication functional unit is selected.
responding-authentication-value
[10] EXPLICIT Authentication-value OPTIONAL,
aSO-context-name-list
[11] IMPLICIT ASO-context-name-list OPTIONAL,
-- The above field shall only be present if the Application Context Negotiation functional unit is selected.
implementation-information
[29] IMPLICIT Implementation-data OPTIONAL,
...,
-- Extensions for higher level association FU
p-context-result-list
[12] IMPLICIT P-context-result-list OPTIONAL,
called-asoi-tag [13] IMPLICIT ASOI-tag OPTIONAL,
calling-asoi-tag [14] IMPLICIT ASOI-tag OPTIONAL,
-- End of extensions for higher level association FU
-- ...,
user-information [30] IMPLICIT Association-data OPTIONAL
}
RLRQ-apdu ::= [APPLICATION 2] IMPLICIT SEQUENCE {
reason [0] IMPLICIT Release-request-reason OPTIONAL,
...,
-- Extensions for higher level association FU
aso-qualifier [13] ASO-qualifier OPTIONAL,
asoi-identifier [14] IMPLICIT ASOI-identifier OPTIONAL,
-- End of extensions for higher level association FU
-- ...,
user-information [30] IMPLICIT Association-data OPTIONAL
}
RLRE-apdu ::= [APPLICATION 3] IMPLICIT SEQUENCE {
reason [0] IMPLICIT Release-response-reason OPTIONAL,
...,
-- Extensions for higher level association FU
aso-qualifier [13] ASO-qualifier OPTIONAL,
asoi-identifier [14] IMPLICIT ASOI-identifier OPTIONAL,
-- End of extensions for higher level association FU
-- ...,
user-information [30] IMPLICIT Association-data OPTIONAL
}
ABRT-apdu ::= [APPLICATION 4] IMPLICIT SEQUENCE {
abort-source [0] IMPLICIT ABRT-source,
abort-diagnostic [1] IMPLICIT ABRT-diagnostic OPTIONAL,
-- This field shall not be present if only the Kernel is used.
...,
-- Extensions for higher level association FU
aso-qualifier [13] ASO-qualifier OPTIONAL,
asoi-identifier [14] IMPLICIT ASOI-identifier OPTIONAL,
-- End of extensions for higher level association FU
-- ...,
user-information [30] IMPLICIT Association-data OPTIONAL
}
A-DT-apdu ::= [APPLICATION 5] IMPLICIT SEQUENCE {
aso-qualifier [0] ASO-qualifier OPTIONAL,
asoi-identifier [1] IMPLICIT ASOI-identifier OPTIONAL,
...,
-- ...,
a-user-data [30] User-Data
}
ACRQ-apdu ::= [APPLICATION 6] IMPLICIT SEQUENCE {
aso-qualifier [0] ASO-qualifier OPTIONAL,
asoi-identifier [1] IMPLICIT ASOI-identifier OPTIONAL,
aSO-context-name [3] IMPLICIT ASO-context-name OPTIONAL,
aSO-context-name-list [4] IMPLICIT ASO-context-name-list OPTIONAL,
p-context-definition-list [5] Syntactic-context-list OPTIONAL,
...,
-- ...,
user-information [30] IMPLICIT User-information OPTIONAL
}
ACRP-apdu ::= [APPLICATION 7] IMPLICIT SEQUENCE {
aso-qualifier [0] ASO-qualifier OPTIONAL,
asoi-identifier [1] IMPLICIT ASOI-identifier OPTIONAL,
-- originally defined as ASO-context-name-list, but this has to be wrong
-- aSO-context-name [3] IMPLICIT ASO-context-name-list OPTIONAL,
aSO-context-name [3] IMPLICIT ASO-context-name OPTIONAL,
p-context-result-list [4] IMPLICIT P-context-result-list OPTIONAL,
...,
-- ...,
user-information [30] IMPLICIT User-information OPTIONAL
}
ABRT-diagnostic ::= ENUMERATED {
no-reason-given(1), protocol-error(2),
authentication-mechanism-name-not-recognized(3),
authentication-mechanism-name-required(4), authentication-failure(5),
authentication-required(6), ...
}
ABRT-source ::= INTEGER {service-user(0), service-provider(1)
}(0..1, ...)
ACSE-requirements ::= BIT STRING {
authentication(0), aSO-context-negotiation(1), higher-level-association(2),
nested-association(3)}
Application-context-name ::= ASO-context-name
ASO-context-name ::= OBJECT IDENTIFIER
-- Application-entity title productions follow (not in alphabetical order).
AP-title ::= CHOICE {
ap-title-form1 AP-title-form1,
ap-title-form2 AP-title-form2,
...,
ap-title-form3 AP-title-form3
}
AE-qualifier ::= ASO-qualifier
ASO-qualifier ::= CHOICE {
aso-qualifier-form1 ASO-qualifier-form1,
aso-qualifier-form2 ASO-qualifier-form2,
...,
aso-qualifier-form3 ASO-qualifier-form3,
-- an alternative used by some systems from the days when ASO-qualifier
-- was an ANY
aso-qualifier-form-any-octets ASO-qualifier-form-octets
}
-- When both AP-title and AE-qualifier data values are present in an AARQ or AARE APDU, both must
-- have the same form to allow the construction of an AE-title as discussed in itu-t Rec. X.665 |
-- ISO/IEC 9834-6
AP-title-form1 ::=
Name
-- The value assigned to AP-title-form1 is The Directory Name of an application-process title.
ASO-qualifier-form1 ::=
RelativeDistinguishedName
-- The value assigned to AE-qualifier-form1 is the relative distinguished name of a particular
-- application-entity of the application-process identified by AP-title-form1.
AP-title-form2 ::= OBJECT IDENTIFIER
ASO-qualifier-form2 ::= INTEGER
AP-title-form3 ::= PrintableString
ASO-qualifier-form3 ::= PrintableString
ASO-qualifier-form-octets ::= OCTET STRING
AE-title ::= CHOICE {
ae-title-form1 AE-title-form1,
ae-title-form2 AE-title-form2,
...
}
-- As defined in ITU-T Rec. X.650 | ISO/IEC 7498-3, an application-entity title is composed of an application process
-- title and an application-entity qualifier. The ACSE protocol provides for the transfer of an application-entity title
-- value by the transfer of its component values. However, the following data type is provided for International
-- Standards that reference a single syntactic structure for AE titles.
AE-title-form1 ::=
Name
-- For access to The Directory (see ITU-T Rec. X.500 series | ISO/IEC 9594), an AE title has AE-title-form1. This value
-- can be constructed from AP-title-form1 and AE-qualifier-form1 values contained in an AARQ or AARE APDU.
-- A discussion of forming an AE-title-form1 from AP-title-form1 and AE-qualifier form1 may be found in itu-t
-- Rec X.665 | ISO/IEC 9834-6.
AE-title-form2 ::= OBJECT IDENTIFIER
-- A discussion of forming an AE-title-form2 from AP-title-form2 and AE-qualifier-form2 may be found in
-- itu-t Rec. X.665 | ISO/IEC 9834-6.
AE-invocation-identifier ::= INTEGER
AP-invocation-identifier ::= INTEGER
ASOI-identifier ::= INTEGER(1..128, ...)
ASOI-tag ::=
SEQUENCE SIZE (0..7, ...) OF
SEQUENCE {qualifier [0] ASO-qualifier OPTIONAL,
identifier [1] ASOI-identifier OPTIONAL}
-- End of Application-entity title productions
ASO-context-name-list ::= SEQUENCE OF ASO-context-name
Syntactic-context-list ::= CHOICE {
context-list [0] Context-list,
default-contact-list [1] Default-Context-List
}
Context-list ::=
SEQUENCE OF
SEQUENCE {pci Presentation-context-identifier,
abstract-syntax Abstract-syntax-name,
-- bug in asn2wrs
-- transfer-syntaxes SEQUENCE OF Transfer-syntax-name}
transfer-syntaxes SEQUENCE OF TransferSyntaxName}
Default-Context-List ::=
SEQUENCE OF
SEQUENCE {abstract-syntax-name [0] IMPLICIT Abstract-syntax-name OPTIONAL,
-- bug in asn2wrs
-- transfer-syntax-name [1] IMPLICIT Transfer-syntax-name
transfer-syntax-name [1] IMPLICIT TransferSyntaxName
}
Abstract-syntax-name ::= OBJECT IDENTIFIER
P-context-result-list ::=
SEQUENCE OF
SEQUENCE {result [0] IMPLICIT Result,
concrete-syntax-name [1] IMPLICIT Concrete-syntax-name OPTIONAL,
provider-reason
[2] IMPLICIT INTEGER {reason-not-specified(0),
abstract-syntax-not-supported(1),
proposed-transfer-syntaxes-not-supported(2),
local-limit-on-DCS-exceeded(3)} OPTIONAL
}
Result ::= INTEGER {acceptance(0), user-rejection(1), provider-rejection(2)}
--bug in asn2wrs
--Concrete-syntax-name ::= Transfer-syntax-name
Concrete-syntax-name ::= TransferSyntaxName
--bug in asn2wrs
--Transfer-syntax-name ::= OBJECT IDENTIFIER
TransferSyntaxName ::= OBJECT IDENTIFIER
Associate-result ::= INTEGER {
accepted(0), rejected-permanent(1), rejected-transient(2)}(0..2, ...)
Associate-source-diagnostic ::= CHOICE {
service-user
[1] INTEGER {null(0), no-reason-given(1),
application-context-name-not-supported(2),
calling-AP-title-not-recognized(3),
calling-AP-invocation-identifier-not-recognized(4),
calling-AE-qualifier-not-recognized(5),
calling-AE-invocation-identifier-not-recognized(6),
called-AP-title-not-recognized(7),
called-AP-invocation-identifier-not-recognized(8),
called-AE-qualifier-not-recognized(9),
called-AE-invocation-identifier-not-recognized(10),
authentication-mechanism-name-not-recognized(11),
authentication-mechanism-name-required(12),
authentication-failure(13), authentication-required(14)}
(0..14, ...),
service-provider
[2] INTEGER {null(0), no-reason-given(1), no-common-acse-version(2)}
(0..2, ...)
}
User-information ::= Association-data
Association-data ::= SEQUENCE OF EXTERNALt
Simply-encoded-data ::= OCTET STRING
User-Data ::= CHOICE {
user-information User-information,
simply-encoded-data Simply-encoded-data,
fully-encoded-data [0] PDV-list
}
-- see ITU-T Rec. X.226 | ISO/IEC 8823-1.
PDV-list ::= SEQUENCE {
--bug in asn2wrs
-- transfer-syntax-name Transfer-syntax-name OPTIONAL,
transfer-syntax-name TransferSyntaxName OPTIONAL,
presentation-context-identifier Presentation-context-identifier,
presentation-data-values
CHOICE {simple-ASN1-type
[0] ANY
(CONSTRAINED BY {
-- Type corresponding to presentation context identifier
}),
octet-aligned [1] IMPLICIT OCTET STRING,
arbitrary [2] IMPLICIT BIT STRING}
-- see ITU-T Rec. X.226 | ISO/IEC 8823-1.
}
Presentation-context-identifier ::= INTEGER
Authentication-value-other ::= SEQUENCE {
other-mechanism-name OBJECT IDENTIFIER,
other-mechanism-value ANY
}
Authentication-value ::= CHOICE {
charstring [0] IMPLICIT GraphicString,
bitstring [1] IMPLICIT BIT STRING,
external [2] IMPLICIT EXTERNALt,
other
[3] IMPLICIT Authentication-value-other
}
-- The abstract syntax of (calling/responding) authentication-value is determined by the authentication mechanism used
-- during association establishment. The authentication mechanism is either explicitly denoted by the &id field (of type
-- OBJECT IDENTIFIER) for a mechanism belonging to the class MECHANISM-NAME, or it is known implicitly by
-- prior agreement between the communicating partners. If the "other" component is chosen, then the
-- "mechanism-name" component must be present in accordance with ITU-T Rec. X.680 | ISO/IEC 8824-1. If the value
-- "mechanism-name" occurs in the AARQ-apdu or the AARE-apdu, then that value must be the same as the value for
-- "other-mechanism-name".
Implementation-data ::= GraphicString
Mechanism-name ::= OBJECT IDENTIFIER
Release-request-reason ::= INTEGER {normal(0), urgent(1), user-defined(30)
}
Release-response-reason ::= INTEGER {
normal(0), not-finished(1), user-defined(30)}
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
Configuration | wireshark/epan/dissectors/asn1/acse/acse.cnf | # asce.cnf
# ACSE conformation file
#.IMPORT ../x509if/x509if-exp.cnf
#.OMIT_ASSIGNMENT
Application-context-name
#.END
#.NO_EMIT ONLY_VALS
ACSE-apdu
#.EXPORTS
EXTERNALt
AE-title
AP-title
AP-invocation-identifier
AE-qualifier
ASO-qualifier
AE-invocation-identifier
#.TYPE_RENAME
AARQ-apdu/_untag/protocol-version T_AARQ_protocol_version
AARE-apdu/_untag/protocol-version T_AARE_protocol_version
AARQ-apdu/_untag/aSO-context-name T_AARQ_aSO_context_name
AARE-apdu/_untag/aSO-context-name T_AARE_aSO_context_name
ACRQ-apdu/_untag/aSO-context-name T_ACRQ_aSO_context_name
ACRP-apdu/_untag/aSO-context-name T_ACRP_aSO_context_name
#.FIELD_RENAME
AARQ-apdu/_untag/user-information aARQ_user_information
AARE-apdu/_untag/user-information aARE_user_information
ABRT-apdu/_untag/user-information aBRT_user_information
RLRE-apdu/_untag/user-information rLRE_user_information
RLRQ-apdu/_untag/user-information rLRQ_user_information
P-context-result-list/_item/result pcontext_result
RLRE-apdu/_untag/reason rLRE_reason
RLRQ-apdu/_untag/reason rLRQ_reason
AARQ-apdu/_untag/protocol-version aARQ_protocol_version
AARE-apdu/_untag/protocol-version aARE_protocol_version
AARQ-apdu/_untag/aSO-context-name aARQ_aSO_context_name
AARE-apdu/_untag/aSO-context-name aARE_aSO_context_name
ACRQ-apdu/_untag/aSO-context-name aCRQ_aSO_context_name
PDV-list/presentation-data-values/octet-aligned pDVList_octet_aligned
#.FN_PARS Authentication-value-other/other-mechanism-name
FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
#.FN_BODY Authentication-value-other/other-mechanism-name
%(DEFAULT_BODY)s
actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? TRUE : FALSE;
#.FN_BODY Authentication-value-other/other-mechanism-value
if (actx->external.direct_ref_present) {
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, actx->subtree.top_tree, actx->private_data);
}
#.FN_BODY PDV-list/presentation-data-values/simple-ASN1-type
/*XXX not implemented yet */
#.FN_BODY AARQ-apdu/_untag/aSO-context-name
offset = dissect_ber_object_identifier_str(FALSE, actx, tree, tvb, offset,
hf_index, &actx->external.direct_reference);
actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? TRUE : FALSE;
#.FN_BODY AARE-apdu/_untag/aSO-context-name
offset = dissect_ber_object_identifier_str(FALSE, actx, tree, tvb, offset,
hf_index, &actx->external.direct_reference);
actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? TRUE : FALSE;
#.FN_BODY ACRQ-apdu/_untag/aSO-context-name
offset = dissect_ber_object_identifier_str(FALSE, actx, tree, tvb, offset,
hf_index, &actx->external.direct_reference);
actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? TRUE : FALSE;
#.FN_BODY ACRP-apdu/_untag/aSO-context-name
offset = dissect_ber_object_identifier_str(FALSE, actx, tree, tvb, offset,
hf_index, &actx->external.direct_reference);
actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? TRUE : FALSE;
#.FN_BODY EXTERNALt/_untag/indirect-reference
char *oid;
struct SESSION_DATA_STRUCTURE* session = (struct SESSION_DATA_STRUCTURE*) actx->private_data;
offset = dissect_ber_integer(FALSE, actx, tree, tvb, offset,
hf_acse_indirect_reference,
&indir_ref);
/* look up the indirect reference */
if((oid = find_oid_by_pres_ctx_id(actx->pinfo, indir_ref)) != NULL) {
actx->external.direct_reference = wmem_strdup(actx->pinfo->pool, oid);
actx->external.direct_ref_present = TRUE;
}
if(session)
session->pres_ctx_id = indir_ref;
#.FN_PARS EXTERNALt/_untag/direct-reference
FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
#.FN_BODY EXTERNALt/_untag/direct-reference
%(DEFAULT_BODY)s
actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? TRUE : FALSE;
#.FN_BODY EXTERNALt/_untag/encoding/single-ASN1-type
if (actx->external.direct_ref_present) {
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, actx->subtree.top_tree ? actx->subtree.top_tree : tree, actx->private_data);
}
#.FN_BODY EXTERNALt/_untag/encoding/octet-aligned
if (actx->external.direct_ref_present) {
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, actx->subtree.top_tree ? actx->subtree.top_tree : tree, actx->private_data);
}
#.FN_BODY AARQ-apdu
col_append_str(actx->pinfo->cinfo, COL_INFO, "A-Associate-Request");
%(DEFAULT_BODY)s
#.FN_BODY AARE-apdu
col_append_str(actx->pinfo->cinfo, COL_INFO, "A-Associate-Response");
%(DEFAULT_BODY)s
#.FN_BODY RLRQ-apdu
col_append_str(actx->pinfo->cinfo, COL_INFO, "Release-Request");
%(DEFAULT_BODY)s
#.FN_PARS Release-request-reason
VAL_PTR=&reason
#.FN_BODY Release-request-reason
int reason = -1;
%(DEFAULT_BODY)s
if(reason != -1)
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", val_to_str(reason, acse_Release_request_reason_vals, "reason(%%d)"));
#.FN_BODY RLRE-apdu
col_append_str(actx->pinfo->cinfo, COL_INFO, "Release-Response");
%(DEFAULT_BODY)s
#.FN_PARS Release-response-reason
VAL_PTR=&reason
#.FN_BODY Release-response-reason
int reason = -1;
%(DEFAULT_BODY)s
if(reason != -1)
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", val_to_str(reason, acse_Release_response_reason_vals, "reason(%%d)"));
#.FN_BODY ABRT-apdu
col_append_str(actx->pinfo->cinfo, COL_INFO, "Abort");
%(DEFAULT_BODY)s
#.FN_BODY ABRT-source VAL_PTR=&source
int source = -1;
%(DEFAULT_BODY)s
if(source != -1)
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", val_to_str(source, acse_ABRT_source_vals, "source(%%d)"));
#.FIELD_ATTR
Association-data/_item NAME = "Association-data"
P-context-result-list/_item/result ABBREV=pcontext.result
#.END |
Text | wireshark/epan/dissectors/asn1/acse/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME acse )
set( PROTO_OPT )
set( EXPORT_FILES
${PROTOCOL_NAME}-exp.cnf
)
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b -C )
set( EXTRA_CNF
"${CMAKE_CURRENT_BINARY_DIR}/../x509if/x509if-exp.cnf"
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/acse/packet-acse-template.c | /*XXX
There is a bug in asn2wrs that it can not yet handle tagged assignments such
as EXTERNAL ::= [UNIVERSAL 8] IMPLICIT SEQUENCE {
This bug is workedaround by some .cnf magic but this should be cleaned up
once asn2wrs learns how to deal with tagged assignments
*/
/* packet-acse.c
* Routines for ACSE packet dissection
* Ronnie Sahlberg 2005
* dissect_acse() based original handwritten dissector by Sid
* Yuriy Sidelnikov <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/exceptions.h>
#include <epan/expert.h>
#include <epan/oids.h>
#include <epan/asn1.h>
#include "packet-ber.h"
#include "packet-acse.h"
#include "packet-ses.h"
#include "packet-pres.h"
#include "packet-x509if.h"
#define PNAME "ISO 8650-1 OSI Association Control Service"
#define PSNAME "ACSE"
#define PFNAME "acse"
#define CLPNAME "ISO 10035-1 OSI Connectionless Association Control Service"
#define CLPSNAME "CLACSE"
#define CLPFNAME "clacse"
#define ACSE_APDU_OID "2.2.1.0.1"
void proto_register_acse(void);
void proto_reg_handoff_acse(void);
/* Initialize the protocol and registered fields */
int proto_acse = -1;
int proto_clacse = -1;
#include "packet-acse-hf.c"
static gint hf_acse_user_data = -1;
/* Initialize the subtree pointers */
static gint ett_acse = -1;
#include "packet-acse-ett.c"
static expert_field ei_acse_dissector_not_available = EI_INIT;
static expert_field ei_acse_malformed = EI_INIT;
static expert_field ei_acse_invalid_oid = EI_INIT;
static dissector_handle_t acse_handle = NULL;
/* indirect_reference, used to pick up the signalling so we know what
kind of data is transferred in SES_DATA_TRANSFER_PDUs */
static guint32 indir_ref=0;
#if NOT_NEEDED
/* to keep track of presentation context identifiers and protocol-oids */
typedef struct _acse_ctx_oid_t {
/* XXX here we should keep track of ADDRESS/PORT as well */
guint32 ctx_id;
char *oid;
} acse_ctx_oid_t;
static wmem_map_t *acse_ctx_oid_table = NULL;
static guint
acse_ctx_oid_hash(gconstpointer k)
{
acse_ctx_oid_t *aco=(acse_ctx_oid_t *)k;
return aco->ctx_id;
}
/* XXX this one should be made ADDRESS/PORT aware */
static gint
acse_ctx_oid_equal(gconstpointer k1, gconstpointer k2)
{
acse_ctx_oid_t *aco1=(acse_ctx_oid_t *)k1;
acse_ctx_oid_t *aco2=(acse_ctx_oid_t *)k2;
return aco1->ctx_id==aco2->ctx_id;
}
static void
register_ctx_id_and_oid(packet_info *pinfo _U_, guint32 idx, char *oid)
{
acse_ctx_oid_t *aco, *tmpaco;
aco=wmem_new(wmem_file_scope(), acse_ctx_oid_t);
aco->ctx_id=idx;
aco->oid=wmem_strdup(wmem_file_scope(), oid);
/* if this ctx already exists, remove the old one first */
tmpaco=(acse_ctx_oid_t *)wmem_map_lookup(acse_ctx_oid_table, aco);
if (tmpaco) {
wmem_map_remove(acse_ctx_oid_table, tmpaco);
}
wmem_map_insert(acse_ctx_oid_table, aco, aco);
}
static char *
find_oid_by_ctx_id(packet_info *pinfo _U_, guint32 idx)
{
acse_ctx_oid_t aco, *tmpaco;
aco.ctx_id=idx;
tmpaco=(acse_ctx_oid_t *)wmem_map_lookup(acse_ctx_oid_table, &aco);
if (tmpaco) {
return tmpaco->oid;
}
return NULL;
}
# endif /* NOT_NEEDED */
#include "packet-acse-fn.c"
/*
* Dissect ACSE PDUs inside a PPDU.
*/
static int
dissect_acse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
{
int offset = 0;
proto_item *item;
proto_tree *tree;
char *oid;
struct SESSION_DATA_STRUCTURE* session;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
/* do we have spdu type from the session dissector? */
if (data == NULL) {
return 0;
}
/* first, try to check length */
/* do we have at least 2 bytes */
if (!tvb_bytes_exist(tvb, 0, 2)) {
proto_tree_add_item(parent_tree, hf_acse_user_data, tvb, offset,
tvb_reported_length_remaining(tvb,offset), ENC_NA);
return 0; /* no, it isn't a ACSE PDU */
}
session = ( (struct SESSION_DATA_STRUCTURE*)data);
if (session->spdu_type == 0) {
if (parent_tree) {
REPORT_DISSECTOR_BUG("Wrong spdu type %x from session dissector.",session->spdu_type);
return 0;
}
}
asn1_ctx.private_data = session;
/* save parent_tree so subdissectors can create new top nodes */
asn1_ctx.subtree.top_tree = parent_tree;
/* ACSE has only AARQ,AARE,RLRQ,RLRE,ABRT type of pdu */
/* reject everything else */
/* data pdu is not ACSE pdu and has to go directly to app dissector */
switch (session->spdu_type) {
case SES_CONNECTION_REQUEST: /* AARQ */
case SES_CONNECTION_ACCEPT: /* AARE */
case SES_REFUSE: /* RLRE */
case SES_DISCONNECT: /* RLRQ */
case SES_FINISH: /* RLRE */
case SES_ABORT: /* ABRT */
case CLSES_UNIT_DATA: /* AARQ Connectionless session */
break;
case SES_DATA_TRANSFER:
oid=find_oid_by_pres_ctx_id(pinfo, indir_ref);
if (oid) {
if (strcmp(oid, ACSE_APDU_OID) == 0) {
proto_tree_add_expert_format(parent_tree, pinfo, &ei_acse_invalid_oid, tvb, offset, -1,
"Invalid OID: %s", ACSE_APDU_OID);
}
else {
call_ber_oid_callback(oid, tvb, offset, pinfo, parent_tree, NULL);
}
} else {
proto_tree_add_expert(parent_tree, pinfo, &ei_acse_dissector_not_available,
tvb, offset, -1);
}
return 0;
default:
return 0;
}
if (session->spdu_type == CLSES_UNIT_DATA) {
/* create display subtree for the connectionless protocol */
item = proto_tree_add_item(parent_tree, proto_clacse, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_acse);
col_set_str(pinfo->cinfo, COL_PROTOCOL, "CL-ACSE");
col_clear(pinfo->cinfo, COL_INFO);
} else {
/* create display subtree for the protocol */
item = proto_tree_add_item(parent_tree, proto_acse, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_acse);
col_set_str(pinfo->cinfo, COL_PROTOCOL, "ACSE");
col_clear(pinfo->cinfo, COL_INFO);
}
/* we can't make any additional checking here */
/* postpone it before dissector will have more information */
while (tvb_reported_length_remaining(tvb, offset) > 0) {
int old_offset=offset;
offset = dissect_acse_ACSE_apdu(FALSE, tvb, offset, &asn1_ctx, tree, -1);
if (offset == old_offset) {
proto_tree_add_expert(tree, pinfo, &ei_acse_malformed, tvb, offset, -1);
break;
}
}
return tvb_captured_length(tvb);
}
/*--- proto_register_acse ----------------------------------------------*/
void proto_register_acse(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_acse_user_data,
{ "User data", "acse.user_data",
FT_BYTES, BASE_NONE, NULL, 0,
NULL, HFILL }},
#include "packet-acse-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_acse,
#include "packet-acse-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_acse_dissector_not_available, { "acse.dissector_not_available", PI_UNDECODED, PI_WARN, "Dissector is not available", EXPFILL }},
{ &ei_acse_malformed, { "acse.malformed", PI_MALFORMED, PI_ERROR, "Malformed packet", EXPFILL }},
{ &ei_acse_invalid_oid, { "acse.invalid_oid", PI_UNDECODED, PI_WARN, "Invalid OID", EXPFILL }},
};
expert_module_t* expert_acse;
/* Register protocol */
proto_acse = proto_register_protocol(PNAME, PSNAME, PFNAME);
acse_handle = register_dissector("acse", dissect_acse, proto_acse);
/* Register connectionless protocol */
proto_clacse = proto_register_protocol(CLPNAME, CLPSNAME, CLPFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_acse, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_acse = expert_register_protocol(proto_acse);
expert_register_field_array(expert_acse, ei, array_length(ei));
#if NOT_NEEDED
acse_ctx_oid_table = wmem_map_new_autoreset(wmem_epan_scope(), wmem_file_scope(), acse_ctx_oid_hash,
acse_ctx_oid_equal);
#endif
}
/*--- proto_reg_handoff_acse -------------------------------------------*/
void proto_reg_handoff_acse(void) {
/*#include "packet-acse-dis-tab.c"*/
oid_add_from_string("id-aCSE","2.2.3.1.1");
register_ber_oid_dissector_handle(ACSE_APDU_OID, acse_handle, proto_acse, "id-as-acse");
} |
C/C++ | wireshark/epan/dissectors/asn1/acse/packet-acse-template.h | /* packet-acse.h
* Routines for ACSE packet dissection
* Ronnie Sahlberg 2005
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_ACSE_H
#define PACKET_ACSE_H
#include <epan/asn1.h>
#include "packet-acse-exp.h"
#endif /* PACKET_ACSE_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/ain/AIN-Errors.asn | AIN-Errors{ ainErrorsObjectIdentifier }
--This module contains the type definitions for the AIN errors.
DEFINITIONS ::=
BEGIN
IMPORTS
ERROR
FROM Remote-Operations-Information-Objects {
joint-iso-itu-t remote-operations(4)
informationObjects(5) version1(0)}
ApplicationErrorString,
ExtensionParameter,
FailureCause,
FailureCauseData
FROM AIN-Parameters{ ainParametersObjectIdentifier };
--ainErrorsObjectIdentifier OBJECT IDENTIFIER:: = ? - -not yet defined
-- TYPE DEFINITION FOR AIN ERRORS FOLLOWS
applicationError ERROR ::= {
PARAMETER
SEQUENCE{
applicationErrorString ApplicationErrorString,
extensionParameter ExtensionParameter OPTIONAL
}
CODE private: 1
}
failureReport ERROR ::= {
PARAMETER SEQUENCE{
failureCause FailureCause,
failureCauseData FailureCauseData OPTIONAL,
extensionParameter ExtensionParameter OPTIONAL
}
CODE private: 2
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/ain/AIN-Operations.asn | AIN-Operations{ ainOperationsObjectIdentifier }
--This module contains type definitions for the AIN operations.
DEFINITIONS ::=
BEGIN
IMPORTS
OPERATION
FROM Remote-Operations-Information-Objects {
joint-iso-itu-t remote-operations(4)
informationObjects(5) version1(0)}
--error types
applicationError,
failureReport
FROM AIN -- Errors(ainErrorsObjectIdentifier}
--parameters
AccessCode,
ACGEncountered,
ACGGlobalOverride,
ActResult,
AdministrableObject,
AlternateBillingIndicator,
AlternateCarrier,
AlternateDialingPlanInd,
AlternateTrunkGroup,
AMAAlternateBillingNumber,
AMABAFModules,
AMABillingFeature,
AMABusinessCustomerID,
AMADigitsDialedWC,
AMALineNumber,
AMAMeasure,
AMAMeasurement,
AMASequenceNumber,
AMAServiceProviderID,
AMASetHexABIndicator,
AMAslpID,
Amp1,
Amp2,
AnswerIndicator,
ApplicationErrorString,
ApplicationIndicator,
ApplyRestrictions,
BCMType,
BearerCapability,
BusyCause,
BusyType,
CalledPartyID,
CalledPartyStationType,
CallingGeodeticLocation,
CallingPartyBGID,
CallingPartyID,
CallType,
Carrier,
CarrierUsage,
CcID,
ChargeNumber,
ChargePartyStationType,
ClearCause,
ClearCauseData,
CloseCause,
CollectedAddressInfo,
CollectedDigits,
CongestionLevel,
ConnectTime,
ControlCauseIndicator,
ControlEncountered,
ControllingLegTreatment,
CsID,
CTRConnection,
DestinationAddress,
DisconnectCause,
DisconnectFlag,
DisplayText,
DPConverter,
DTMFDigitsEntered,
EchoData,
EditListType,
EDPNotification,
EDPRequest,
EnvelopContent,
EnvelopeEncodingAuthority,
ErrorCause,
ExtendedRinging,
ExtensionParameter,
FacilityGID,
FacilityMemberID,
FacilityStatus,
FailedMessage,
Failure,
FailureCause,
FailureCauseData,
FeatureActivatorID,
ForwardCallIndicator,
GapDuration,
GapInterval,
GenericAddress,
GenericAddressList,
GenericDigits,
GenericDigitsList,
GenericName,
GlobalTitleAddress,
InfoProvided,
IPReturnBlock,
JurisdictionInformation,
LampTreatment,
Lata,
LegID,
MonitorTime,
NetworkSpecificFacilities,
NotificationDuration,
NotificationIndicator,
ODTMFDigitsString,
ODTMFNumberOfDigits,
ONoAnswerTimer,
OriginalCalledPartyID,
OSIIndicator,
OutpulseNumber,
OverflowBillingIndicator,
PartyID,
PartyOnHold,
PassiveLegTreatment,
PointInCall,
Prefix,
PrimaryBillingIndicator,
PrimaryTrunkGroup,
ProvideInfo,
RedirectingPartyID,
RedirectionInformation,
ResourceType,
ResultCause,
RTPReroutingNumber,
RTPServiceIndicator,
Sap,
SecondAlternateBillingIndicator,
SecondAlternateCarrier,
SecondAlternateTrunkGroup,
SecurityEnvelope,
ServiceContext,
ServiceProviderID,
SignalingPointCode,
Spid,
SrhrGroupID,
SSPResponseMessageTimerT1,
StatusCause,
STRConnection,
StrParameterBlock,
SubsystemNumber,
Tcm,
TDTMFDigitString,
TDTMFNumberOfDigits,
TerminationIndicator,
TimeoutTimer,
TimerUpdated,
TNoAnswerTimer,
TransID,
TranslationType,
TriggerCriteriaFlag,
TriggerCriteriaType,
TriggerInformation,
UpdateGroups,
UserID,
VerticalServiceCode,
WakeUpDuration
FROM AIN-Parameters{ ainParametersObjectIdentifier };
-- ainOperationsObjectIdentifier OBJECT IDENTIFIER :: = ? - -not yet defined
-- TYPE DEFINITIONS FOR AIN OPERATIONS FOLLOWS
callInfoFromResource OPERATION ::= {
ARGUMENT
CallInfoFromResourceArg
ERRORS{
applicationError,
failureReport
}
CODE private: 26116
--Family Name is "Caller Interaction"
}
CallInfoFromResourceArg ::= SEQUENCE {
iPReturnBlock IPReturnBlock OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
close OPERATION ::= {
ARGUMENT
CloseArg
CODE private: 28161
--Family Name is "Transaction Control"
}
CloseArg ::= SEQUENCE{
userID UserID OPTIONAL,
bearerCapability BearerCapability OPTIONAL,
closeCause CloseCause OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
cTRClear OPERATION ::= {
ARGUMENT
CTRClearArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--acknowledge,
--analyzeRoute,
--collectInformation,
-- continue,
--disconnect,
--disconnectLeg,
--forwardCall,
--mergeCall,
--moveleg,
--originateCall,
--splitLeg
-- }
CODE private: 26118
}
-- Family Name is "Caller Interaction"
CTRClearArg ::= SEQUENCE{
clearCause ClearCause,
legID LegID OPTIONAL,
ccID CcID OPTIONAL,
bCMType BCMType OPTIONAL,
pointInCall PointInCall OPTIONAL,
collectedDigits CollectedDigits OPTIONAL,
collectedAddressInfo CollectedAddressInfo OPTIONAL,
carrier Carrier OPTIONAL,
failureCause FailureCause OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
aMAMeasurement AMAMeasurement OPTIONAL,
clearCauseData ClearCauseData OPTIONAL,
iPReturnBlock IPReturnBlock OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
failureOutcome OPERATION ::= {
ARGUMENT
FailureOutcomeArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--acknowledge,
--connectToResource,
--disconnect,
--mergeCall
-- }
CODE private: 25604
}
--Family Name is "Connection Control"
FailureOutcomeArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
ccID CcID OPTIONAL,
legID LegID OPTIONAL,
bCMType BCMType OPTIONAL,
pointInCall PointInCall OPTIONAL,
failureCause FailureCause OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
infoAnalyzed OPERATION ::= {
ARGUMENT
InfoAnalyzedArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--analyzeRoute,
-- continue,
--sendToResource,
--disconnect,
--collectInformation
-- }
CODE private: 25603
}
--Family Name is "Request/Notification"
InfoAnalyzedArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
calledPartyID CalledPartyID OPTIONAL,
lata Lata OPTIONAL,
triggerCriteriaType TriggerCriteriaType OPTIONAL,
chargeNumber ChargeNumber OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
callingPartyBGID CallingPartyBGID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
carrier Carrier OPTIONAL,
accessCode AccessCode OPTIONAL,
collectedAddressInfo CollectedAddressInfo OPTIONAL,
collectedDigits CollectedDigits OPTIONAL,
verticalServiceCode VerticalServiceCode OPTIONAL,
tcm Tcm OPTIONAL,
originalCalledPartyID OriginalCalledPartyID OPTIONAL,
redirectingPartyID RedirectingPartyID OPTIONAL,
redirectionInformation RedirectionInformation OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
sap Sap OPTIONAL,
sTRConnection STRConnection OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
genericAddressList GenericAddressList OPTIONAL,
networkSpecificFacilities NetworkSpecificFacilities OPTIONAL,
cTRConnection CTRConnection OPTIONAL,
jurisdictionInformation JurisdictionInformation OPTIONAL,
prefix Prefix OPTIONAL,
callingGeodeticLocation CallingGeodeticLocation OPTIONAL,
triggerInformation TriggerInformation OPTIONAL
}
infoCollected OPERATION ::= {
ARGUMENT
InfoCollectedArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--analyzeRoute,
--sendToResource,
--disconnect
-- continue
-- }
CODE private: 25602
}
--Family Name is "Request/Notification"
InfoCollectedArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
chargeNumber ChargeNumber OPTIONAL,
lata Lata OPTIONAL,
carrier Carrier OPTIONAL,
triggerCriteriaType TriggerCriteriaType OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
accessCode AccessCode OPTIONAL,
collectedAddressInfo CollectedAddressInfo OPTIONAL,
collectedDigits CollectedDigits OPTIONAL,
verticalServiceCode VerticalServiceCode OPTIONAL,
tcm Tcm OPTIONAL,
originalCalledPartyID OriginalCalledPartyID OPTIONAL,
redirectingPartyID RedirectingPartyID OPTIONAL,
redirectionInformation RedirectionInformation OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
sap Sap OPTIONAL,
genericAddressList GenericAddressList OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
prefix Prefix OPTIONAL,
callingGeodeticLocation CallingGeodeticLocation OPTIONAL,
triggerInformation TriggerInformation OPTIONAL
}
networkBusy OPERATION ::= {
ARGUMENT
NetworkBusyArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--analyzeRoute,
--sendToResource,
--disconnect,
-- continue,
--forwardCall
-- }
CODE private: 25623
}
--Family Name is "Request/Notification"
NetworkBusyArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
chargeNumber ChargeNumber OPTIONAL,
lata Lata OPTIONAL,
triggerCriteriaType TriggerCriteriaType OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
calledPartyID CalledPartyID OPTIONAL,
tcm Tcm OPTIONAL,
originalCalledPartyID OriginalCalledPartyID OPTIONAL,
carrier Carrier OPTIONAL,
redirectingPartyID RedirectingPartyID OPTIONAL,
redirectionInformation RedirectionInformation OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
sap Sap OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
prefix Prefix OPTIONAL,
triggerInformation TriggerInformation OPTIONAL
}
oAnswer OPERATION ::= {
ARGUMENT
OAnswerArg
ERRORS{ applicationError,
failureReport
}
CODE private: 25611
}
--Family Name is "Request/Notification"
OAnswerArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
oAbandon OPERATION ::= {
ARGUMENT
OAbandonArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--connectToResource,
--disconnect,
--disconnectLeg,
--mergeCall,
--reconnect
-- }
CODE private: 25614
}
--Family Name is "Request/Notification"
OAbandonArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
ccID CcID OPTIONAL,
pointInCall PointInCall OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL
}
oDisconnect OPERATION ::= {
ARGUMENT
ODisconnectArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--collectInformation,
--sendToResource,
--analyzeRoute,
--connectToResource,
--disconnect,
--disconnectLeg,
--mergeCall,
--reconnect
-- }
CODE private: 25626
}
--Family Name is "Request/Notification"
ODisconnectArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
disconnectCause DisconnectCause OPTIONAL,
legID LegID OPTIONAL,
pointInCall PointInCall OPTIONAL
}
oMidCall OPERATION ::= {
ARGUMENT
OMidCallArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--analyzeRoute,
--collectInformation,
--connectToResource,
--disconnect,
--disconnectLeg,
--mergeCall,
--moveLeg,
--originateCall,
--splitLeg
-- }
CODE private: 25615
}
--Family Name is "Request/Notification"
OMidCallArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
triggerCriteriaType TriggerCriteriaType OPTIONAL,
legID LegID OPTIONAL,
pointInCall PointInCall OPTIONAL,
ccID CcID OPTIONAL,
featureActivatorID FeatureActivatorID OPTIONAL,
chargeNumber ChargeNumber OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
callingPartyBGID CallingPartyBGID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
carrier Carrier OPTIONAL,
accessCode AccessCode OPTIONAL,
collectedAddressInfo CollectedAddressInfo OPTIONAL,
collectedDigits CollectedDigits OPTIONAL,
verticalServiceCode VerticalServiceCode OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
oNoAnswer OPERATION ::= {
ARGUMENT
ONoAnswerArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--analyzeRoute,
--sendToResource,
-- continue
-- }
CODE private: 25609
}
--Family Name is "Request/Notification"
ONoAnswerArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
calledPartyID CalledPartyID OPTIONAL,
lata Lata OPTIONAL,
triggerCriteriaType TriggerCriteriaType OPTIONAL,
chargeNumber ChargeNumber OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
carrier Carrier OPTIONAL,
originalCalledPartyID OriginalCalledPartyID OPTIONAL,
redirectingPartyID RedirectingPartyID OPTIONAL,
redirectionInformation RedirectionInformation OPTIONAL,
sap Sap OPTIONAL,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
sTRConnection STRConnection OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
cTRConnection CTRConnection OPTIONAL,
prefix Prefix OPTIONAL,
triggerInformation TriggerInformation OPTIONAL
}
oSuspended OPERATION ::= {
ARGUMENT
OSuspendedArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--collectInformation,
--sendToResource,
--analyzeRoute,
--connectToResource,
--disconnect,
--disconnectLeg,
--mergeCall
-- }
CODE private: 25625
}
OSuspendedArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
legID LegID OPTIONAL,
pointInCall PointInCall OPTIONAL
}
--Family Name is "Request/Notification"
oTermSeized OPERATION ::= {
ARGUMENT
OTermSeizedArg
ERRORS{ applicationError,
failureReport
}
CODE private: 25612
}
--Family Name is "Request/Notification"
OTermSeizedArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
originationAttempt OPERATION ::= {
ARGUMENT
OriginationAttemptArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--analyzeRoute,
--sendToResource,
--disconnect
-- }
CODE private: 25624
}
--Family Name is "Request/Notification"
OriginationAttemptArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
chargeNumber ChargeNumber OPTIONAL,
lata Lata OPTIONAL,
triggerCriteriaType TriggerCriteriaType OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
carrier Carrier OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
sap Sap OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
triggerInformation TriggerInformation OPTIONAL
}
resourceClear OPERATION ::= {
ARGUMENT
ResourceClearArg
RESULT SEQUENCE{
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
ERRORS{ applicationError,
failureReport
}
--LINKED{
--analyzeRoute,
--forwardCall,
--sendToResource,
--authorizeTermination,
--disconnect,
-- continue,
--offerCall,
--collectInformation
-- }
CODE private: 26114
}
--Family Name is "Caller Interaction"
ResourceClearArg ::= SEQUENCE{
clearCause ClearCause,
collectedDigits CollectedDigits OPTIONAL,
collectedAddressInfo CollectedAddressInfo OPTIONAL,
carrier Carrier OPTIONAL,
failureCause FailureCause OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
aMAMeasurement AMAMeasurement OPTIONAL,
clearCauseData ClearCauseData OPTIONAL,
iPReturnBlock IPReturnBlock OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
successOutcome OPERATION ::= {
ARGUMENT
SuccessOutcomeArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--acknowledge,
--connectToResource,
--disconnectLeg,
--moveLeg
-- }
CODE private: 25617
}
--Family Name is "Request/Notification"
SuccessOutcomeArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
ccID CcID OPTIONAL,
legID LegID OPTIONAL,
bCMType BCMType OPTIONAL,
pointInCall PointInCall OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
tAnswer OPERATION ::= {
ARGUMENT
TAnswerArg
ERRORS{ applicationError,
failureReport
}
CODE private: 25610
}
--Family Name is “Request / Notification”
TAnswerArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
tBusy OPERATION ::= {
ARGUMENT
TBusyArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--forwardCall,
--offerCall,
-- continue,
--sendToResource
-- }
CODE private: 25606
}
--Family Name is "Request/Notification"
TBusyArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
calledPartyID CalledPartyID OPTIONAL,
lata Lata OPTIONAL,
triggerCriteriaType TriggerCriteriaType OPTIONAL,
chargeNumber ChargeNumber OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
originalCalledPartyID OriginalCalledPartyID OPTIONAL,
redirectingPartyID RedirectingPartyID OPTIONAL,
redirectionInformation RedirectionInformation OPTIONAL,
busyCause BusyCause OPTIONAL,
busyType BusyType OPTIONAL,
calledPartyStationType CalledPartyStationType OPTIONAL,
sap Sap OPTIONAL,
genericName GenericName OPTIONAL,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
sTRConnection STRConnection OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
cTRConnection CTRConnection OPTIONAL,
triggerInformation TriggerInformation OPTIONAL
}
tDisconnect OPERATION ::= {
ARGUMENT
TDisconnectArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--analyzeRoute,
--collectInformation,
--connectToResource,
--disconnect,
--disconnectLeg,
--mergeCall,
--reconnect
-- }
CODE private: 25618
}
--Family Name is "Request/Notification"
TDisconnectArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
ccID CcID OPTIONAL,
legID LegID OPTIONAL,
pointInCall PointInCall OPTIONAL,
disconnectCause DisconnectCause OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL
}
tDTMFEntered OPERATION ::= {
ARGUMENT
TDTMFEnteredArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
-- continue,
--disconnect,
--forwardCall,
--sendToResource
-- }
CODE private: 25628
}
--Family Name is "Request/Notification"
TDTMFEnteredArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
dTMFDigitsDetected DTMFDigitsDetected OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL
}
tMidCall OPERATION ::= {
ARGUMENT
TMidCallArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--analyzeRoute,
--collectInformation,
--connectToResource,
--disconnect,
--disconnectLeg,
--mergeCall,
--moveLeg,
--originateCall,
--splitLeg
-- }
CODE private: 25619
}
--Family Name is "Request/Notification"
TMidCallArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
calledPartyID CalledPartyID OPTIONAL,
triggerCriteriaType TriggerCriteriaType OPTIONAL,
legID LegID OPTIONAL,
pointInCall PointInCall OPTIONAL,
ccID CcID OPTIONAL,
featureActivatorID FeatureActivatorID OPTIONAL,
chargeNumber ChargeNumber OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
callingPartyBGID CallingPartyBGID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
carrier Carrier OPTIONAL,
accessCode AccessCode OPTIONAL,
collectedAddressInfo CollectedAddressInfo OPTIONAL,
collectedDigits CollectedDigits OPTIONAL,
verticalServiceCode VerticalServiceCode OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL
}
tNoAnswer OPERATION ::= {
ARGUMENT
TNoAnswerArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--forwardCall,
--sendToResource,
-- continue
-- }
CODE private: 25608
}
--Family Name is "Request/Notification"
TNoAnswerArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
calledPartyID CalledPartyID OPTIONAL,
lata Lata OPTIONAL,
triggerCriteriaType TriggerCriteriaType OPTIONAL,
chargeNumber ChargeNumber OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
originalCalledPartyID OriginalCalledPartyID OPTIONAL,
redirectingPartyID RedirectingPartyID OPTIONAL,
redirectionInformation RedirectionInformation OPTIONAL,
calledPartyStationType CalledPartyStationType OPTIONAL,
sap Sap OPTIONAL,
genericName GenericName OPTIONAL,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
sTRConnection STRConnection OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
cTRConnection CTRConnection OPTIONAL,
triggerInformation TriggerInformation OPTIONAL
}
terminationAttempt OPERATION ::= {
ARGUMENT
TerminationAttemptArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--authorizeTermination,
--forwardCall,
--sendToResource,
--disconnect
-- }
CODE private: 25605
}
TerminationAttemptArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
calledPartyID CalledPartyID OPTIONAL,
lata Lata OPTIONAL,
triggerCriteriaType TriggerCriteriaType OPTIONAL,
calledPartyStationType CalledPartyStationType OPTIONAL,
chargeNumber ChargeNumber OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
tcm Tcm OPTIONAL,
originalCalledPartyID OriginalCalledPartyID OPTIONAL,
redirectingPartyID RedirectingPartyID OPTIONAL,
redirectionInformation RedirectionInformation OPTIONAL,
genericName GenericName OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
sap Sap OPTIONAL,
sTRConnection STRConnection OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
cTRConnection CTRConnection OPTIONAL,
rTPServiceIndicator RTPServiceIndicator OPTIONAL,
genericAddressList GenericAddressList OPTIONAL,
triggerInformation TriggerInformation OPTIONAL,
callingGeodeticLocation CallingGeodeticLocation OPTIONAL
}
termResourceAvailable OPERATION ::= {
ARGUMENT
TermResourceAvailableArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--forwardCall,
--sendToResource,
-- continue
-- }
CODE private: 25613
}
--Family Name is "Request/Notification"
TermResourceAvailableArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
calledPartyID CalledPartyID OPTIONAL,
lata Lata OPTIONAL,
triggerCriteriaType TriggerCriteriaType OPTIONAL,
chargeNumber ChargeNumber OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
originalCalledPartyID OriginalCalledPartyID OPTIONAL,
redirectingPartyID RedirectingPartyID OPTIONAL,
redirectionInformation RedirectionInformation OPTIONAL,
calledPartyStationType CalledPartyStationType OPTIONAL,
sap Sap OPTIONAL,
genericName GenericName OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
sTRConnection STRConnection OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
cTRConnection CTRConnection OPTIONAL,
triggerInformation TriggerInformation OPTIONAL
}
timeout OPERATION ::= {
ARGUMENT
TimeoutArg
ERRORS{ applicationError,
failureReport
}
--LINKED{
--analyzeRoute,
--connectToResource,
-- continue,
--disconnect,
--forwardCall,
--sendToResource
-- }
CODE private:25620
}
--Family Name is "Request/Notification"
TimeoutArg ::= SEQUENCE{
userID UserID,
bearerCapability BearerCapability,
legID LegID OPTIONAL,
bCMType BCMType OPTIONAL,
pointInCall PointInCall OPTIONAL,
ccID CcID OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
notificationIndicator [111] IMPLICIT NotificationIndicator OPTIONAL
}
analyzeRoute OPERATION ::= {
ARGUMENT
AnalyzeRouteArg
ERRORS{ applicationError
}
CODE private: 25857
}
--Family Name is "Connection Control (Call Model)"
AnalyzeRouteArg ::= SEQUENCE{
chargeNumber ChargeNumber OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
calledPartyID CalledPartyID OPTIONAL,
outpulseNumber OutpulseNumber OPTIONAL,
tcm Tcm OPTIONAL,
primaryTrunkGroup PrimaryTrunkGroup OPTIONAL,
alternateTrunkGroup AlternateTrunkGroup OPTIONAL,
secondAlternateTrunkGroup SecondAlternateTrunkGroup OPTIONAL,
carrier Carrier OPTIONAL,
alternateCarrier AlternateCarrier OPTIONAL,
secondAlternateCarrier SecondAlternateCarrier OPTIONAL,
passiveLegTreatment PassiveLegTreatment OPTIONAL,
redirectingPartyID RedirectingPartyID OPTIONAL,
primaryBillingIndicator PrimaryBillingIndicator OPTIONAL,
alternateBillingIndicator AlternateBillingIndicator OPTIONAL,
secondAlternateBillingIndicator SecondAlternateBillingIndicator OPTIONAL,
overflowBillingIndicator OverflowBillingIndicator OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMABusinessCustomerID AMABusinessCustomerID OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID,
aMADigitsDialedWCList SEQUENCE SIZE(1..5) OF AMADigitsDialedWC OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
aMABillingFeature AMABillingFeature OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
redirectionInformation RedirectionInformation OPTIONAL,
carrierUsage CarrierUsage OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
genericAddressList GenericAddressList OPTIONAL,
networkSpecificFacilities NetworkSpecificFacilities OPTIONAL,
callingPartyBGID CallingPartyBGID OPTIONAL,
forwardCallIndicator ForwardCallIndicator OPTIONAL,
aMAServiceProviderID AMAServiceProviderID OPTIONAL,
prefix Prefix OPTIONAL,
genericDigitsList GenericDigitsList OPTIONAL,
applyRestrictions ApplyRestrictions OPTIONAL,
displayText DisplayText OPTIONAL,
genericName GenericName OPTIONAL
}
authorizeTermination OPERATION ::= {
ARGUMENT
AuthorizeTerminationArg
ERRORS{ applicationError
}
CODE private: 25858
}
--Family Name is "Connection Control (Call Model)"
AuthorizeTerminationArg ::= SEQUENCE{
callingPartyID CallingPartyID OPTIONAL,
tcm Tcm OPTIONAL,
controllingLegTreatment ControllingLegTreatment OPTIONAL,
displayText DisplayText OPTIONAL,
primaryBillingIndicator PrimaryBillingIndicator OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMABusinessCustomerID AMABusinessCustomerID OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL,
aMADigitsDialedWCList SEQUENCE SIZE(1..5) OF AMADigitsDialedWC OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
aMABillingFeature AMABillingFeature OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
aMAserviceProviderID AMAServiceProviderID OPTIONAL,
genericName GenericName OPTIONAL
}
cancelResourceEvent OPERATION ::= {
ARGUMENT
CancelResourceEventArg
ERRORS{ applicationError
}
--LINKED{ resourceClear }
CODE private: 26115
}
--Family Name is "Caller Interaction"
CancelResourceEventArg ::= SEQUENCE{
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
collectInformation OPERATION ::= {
ARGUMENT
CollectInformationArg
ERRORS{ applicationError
}
CODE private: 25861
}
--Family Name is "Connection Control (Call Model)"
CollectInformationArg ::= SEQUENCE{
callingPartyID CallingPartyID OPTIONAL,
collectedDigits CollectedDigits OPTIONAL,
dPConverter DPConverter OPTIONAL,
primaryBillingIndicator PrimaryBillingIndicator OPTIONAL,
alternateBillingIndicator AlternateBillingIndicator OPTIONAL,
secondAlternateBillingIndicator SecondAlternateBillingIndicator OPTIONAL,
overflowBillingIndicator OverflowBillingIndicator OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL,
aMADigitsDialedWCList SEQUENCE SIZE(1..5) OF AMADigitsDialedWC OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
aMABillingFeature AMABillingFeature OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
alternateDialingPlanInd AlternateDialingPlanInd OPTIONAL,
aMAserviceProviderID AMAServiceProviderID OPTIONAL
}
connectToResource OPERATION ::= {
ARGUMENT
ConnectToResourceArg
ERRORS{ applicationError
}
--LINKED{
--callInfoFromResource,
--cTRClear
-- }
CODE private: 26117
--Family Name is "Caller Interaction"
}
ConnectToResourceArg ::= SEQUENCE{
resourceType ResourceType,
strParameterBlock StrParameterBlock,
legID LegID OPTIONAL,
disconnectFlag DisconnectFlag OPTIONAL,
primaryBillingIndicator PrimaryBillingIndicator OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMABusinessCustomerID AMABusinessCustomerID OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL,
aMADigitsDialedWCList SEQUENCE SIZE(1..5) OF AMADigitsDialedWC OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
destinationAddress DestinationAddress OPTIONAL,
dPConverter DPConverter OPTIONAL,
aMAMeasure AMAMeasure OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
aMABillingFeature AMABillingFeature OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
aMAserviceProviderID AMAServiceProviderID OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
continue OPERATION ::= {
ARGUMENT
ContinueArg
ERRORS{ applicationError
}
CODE private: 25869
}
ContinueArg ::= SEQUENCE{
primaryBillingIndicator PrimaryBillingIndicator OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMABusinessCustomerID AMABusinessCustomerID OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL,
aMADigitsDialedWCList SEQUENCE SIZE(1..5) OF AMADigitsDialedWC OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
aMABillingFeature AMABillingFeature OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
aMAserviceProviderID AMAServiceProviderID OPTIONAL
}
createCall OPERATION ::= {
ARGUMENT
CreateCallArg
RESULT
CreateCallRes
ERRORS{ applicationError
failureReport
}
--LINKED{
--originationAttempt
-- }
CODE private: 25863
}
CreateCallArg ::= SEQUENCE{
calledPartyID CalledPartyID,
callingPartyID CallingPartyID,
chargeNumber ChargeNumber OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
carrier Carrier OPTIONAL,
alternateCarrier AlternateCarrier OPTIONAL,
secondAlternateCarrier SecondAlternateCarrier OPTIONAL,
passiveLegTreatment PassiveLegTreatment OPTIONAL,
genericAddressList GenericAddressList OPTIONAL,
callingPartyBGID CallingPartyBGID OPTIONAL,
forwardCallIndicator ForwardCallIndicator OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
carrierUsage CarrierUsage OPTIONAL,
controllingLegTreatment ControllingLegTreatment OPTIONAL,
userID UserID OPTIONAL,
bearerCapability BearerCapability OPTIONAL,
verticalServiceCode VerticalServiceCode OPTIONAL,
accessCode AccessCode OPTIONAL,
displayText DisplayText OPTIONAL,
notificationDuration NotificationDuration OPTIONAL,
wakeUpDuration WakeUpDuration OPTIONAL,
oSIIndicator OSIIndicator OPTIONAL,
primaryBillingIndicator PrimaryBillingIndicator OPTIONAL,
overflowBillingIndicator OverflowBillingIndicator OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMABusinessCustomerID AMABusinessCustomerID OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL,
aMAserviceProviderID AMAServiceProviderID OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
prefix Prefix OPTIONAL
}
CreateCallRes ::= SEQUENCE {
failureCause FailureCause OPTIONAL
}
disconnect OPERATION ::= {
ARGUMENT
DisconnectArg
ERRORS{ applicationError
}
CODE private: 25859
--Family Name is "Connection Control (Call Model)"
}
DisconnectArg ::= SEQUENCE{
primaryBillingIndicator PrimaryBillingIndicator OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMABusinessCustomerID AMABusinessCustomerID OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL,
aMADigitsDialedWCList SEQUENCE SIZE(1..5) OF AMADigitsDialedWC OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
aMABillingFeature AMABillingFeature OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
aMAserviceProviderID AMAServiceProviderID OPTIONAL,
rTPReroutingNumber RTPReroutingNumber OPTIONAL
}
disconnectLeg OPERATION ::= {
ARGUMENT
DisconnectLegArg
ERRORS{ applicationError
}
--LINKED{
--cTRClear,
--failureOutcome
-- }
CODE private: 25864
--Family Name is "Connection Control (Call Model)"
}
DisconnectLegArg ::= SEQUENCE{
legID LegID,
csID CsID OPTIONAL,
passiveLegTreatment PassiveLegTreatment OPTIONAL,
lampTreatment LampTreatment OPTIONAL,
displayText DisplayText OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
forwardCall OPERATION ::= {
ARGUMENT
ForwardCallArg
ERRORS{ applicationError
}
CODE private: 27137
}
ForwardCallArg ::= SEQUENCE{
callingPartyID CallingPartyID OPTIONAL,
chargeNumber ChargeNumber OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
calledPartyID CalledPartyID OPTIONAL,
outpulseNumber OutpulseNumber OPTIONAL,
tcm Tcm OPTIONAL,
primaryTrunkGroup PrimaryTrunkGroup OPTIONAL,
alternateTrunkGroup AlternateTrunkGroup OPTIONAL,
secondAlternateTrunkGroup SecondAlternateTrunkGroup OPTIONAL,
carrier Carrier OPTIONAL,
alternateCarrier AlternateCarrier OPTIONAL,
secondAlternatecarrier SecondAlternateCarrier OPTIONAL,
passiveLegTreatment PassiveLegTreatment OPTIONAL,
primaryBillingIndicator PrimaryBillingIndicator OPTIONAL,
alternateBillingIndicator AlternateBillingIndicator OPTIONAL,
secondAlternateBillingIndicator SecondAlternateBillingIndicator OPTIONAL,
overflowBillingIndicator OverflowBillingIndicator OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMABusinessCustomerID AMABusinessCustomerID OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL,
aMADigitsDialedWCList SEQUENCE SIZE(1..5) OF AMADigitsDialedWC OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
aMABillingFeature AMABillingFeature OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
redirectingPartyID RedirectingPartyID OPTIONAL,
redirectionInformation RedirectionInformation OPTIONAL,
carrierUsage CarrierUsage OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
aMAserviceProviderID AMAServiceProviderID OPTIONAL,
prefix Prefix OPTIONAL,
applyRestrictions ApplyRestrictions OPTIONAL,
displayText DisplayText OPTIONAL,
genericName GenericName OPTIONAL
}
mergeCall OPERATION ::= {
ARGUMENT
MergeCallArg
ERRORS{ applicationError
}
--LINKED{
--cTRClear,
--failureOutcome,
--successOutcome
-- }
CODE private: 25865
--Family Name is "Connection Control (Call Model)"
}
MergeCallArg ::= SEQUENCE{
displayText DisplayText OPTIONAL,
lampTreatment LampTreatment OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMABusinessCustomerID AMABusinessCustomerID OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL,
aMADigitsDialedWCList SEQUENCE SIZE(1..5) OF AMADigitsDialedWC OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
aMABillingFeature AMABillingFeature OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
aMAserviceProviderID AMAServiceProviderID OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
moveLeg OPERATION ::= {
ARGUMENT
MoveLegArg
ERRORS{ applicationError
}
--LINKED{
--cTRClear,
--failureOutcome,
--successOutcome
-- }
CODE private: 25866
--Family Name is "Connection Control (Call Model)"
}
MoveLegArg ::= SEQUENCE{
displayText DisplayText OPTIONAL,
lampTreatment LampTreatment OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
offerCall OPERATION ::= {
ARGUMENT
OfferCallArg
ERRORS{ applicationError
}
CODE private: 25860
}
OfferCallArg ::= SEQUENCE{
callingPartyID CallingPartyID OPTIONAL,
controllingLegTreatment ControllingLegTreatment OPTIONAL,
displayText DisplayText OPTIONAL,
primaryBillingIndicator PrimaryBillingIndicator OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMABusinessCustomerID AMABusinessCustomerID OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL,
aMADigitsDialedWCList SEQUENCE SIZE(1..5) OF AMADigitsDialedWC OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
aMABillingFeature AMABillingFeature OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
aMAserviceProviderID AMAServiceProviderID OPTIONAL,
genericName GenericName OPTIONAL
}
originateCall OPERATION ::= {
ARGUMENT
OriginateCallArg
ERRORS{ applicationError
}
--LINKED{
--failureOutcome
-- }
CODE private: 25867
--Family Name is "Connection Control (Call Model)"
}
OriginateCallArg ::= SEQUENCE{
collectedDigits CollectedDigits OPTIONAL,
dPConverter DPConverter OPTIONAL,
alternateDialingPlanInd AlternateDialingPlanInd OPTIONAL,
callingPartyID CallingPartyID OPTIONAL,
lampTreatment LampTreatment OPTIONAL,
controllingLegTreatment ControllingLegTreatment OPTIONAL,
displayText DisplayText OPTIONAL,
bearerCapability BearerCapability OPTIONAL,
chargeNumber ChargeNumber OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
calledPartyID CalledPartyID OPTIONAL,
outpulseNumber OutpulseNumber OPTIONAL,
tcm Tcm OPTIONAL,
primaryTrunkGroup PrimaryTrunkGroup OPTIONAL,
alternateTrunkGroup AlternateTrunkGroup OPTIONAL,
secondAlternateTrunkGroup SecondAlternateTrunkGroup OPTIONAL,
carrier Carrier OPTIONAL,
alternateCarrier AlternateCarrier OPTIONAL,
secondAlternatecarrier SecondAlternateCarrier OPTIONAL,
passiveLegTreatment PassiveLegTreatment OPTIONAL,
redirectingPartyID RedirectingPartyID OPTIONAL,
primaryBillingIndicator PrimaryBillingIndicator OPTIONAL,
alternateBillingIndicator AlternateBillingIndicator OPTIONAL,
secondAlternateBillingIndicator SecondAlternateBillingIndicator OPTIONAL,
overflowBillingIndicator OverflowBillingIndicator OPTIONAL,
genericAddressList GenericAddressList OPTIONAL,
forwardCallIndicator ForwardCallIndicator OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMABusinessCustomerID AMABusinessCustomerID OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL,
aMADigitsDialedWCList SEQUENCE SIZE(1..5) OF AMADigitsDialedWC OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
aMABillingFeature AMABillingFeature OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
carrierUsage CarrierUsage OPTIONAL,
networkSpecificFacilities NetworkSpecificFacilities OPTIONAL,
callingPartyBGID CallingPartyBGID OPTIONAL,
aMAserviceProviderID AMAServiceProviderID OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
reconnect OPERATION ::= {
ARGUMENT
ReconnectArg
ERRORS{ applicationError
}
CODE private: 25870
--Family Name is "Connection Control (Call Model)"
}
ReconnectArg ::= SEQUENCE{
notificationDuration NotificationDuration OPTIONAL,
controllingLegTreatment ControllingLegTreatment OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
sendToResource OPERATION ::= {
ARGUMENT
SendToResourceArg
RESULT SEQUENCE{
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
ERRORS{ applicationError
}
--LINKED{
--resourceClear,
--callInfoFromResource
-- }
CODE private: 26113
--Family Name is "Caller Interaction"
}
SendToResourceArg ::= SEQUENCE{
resourceType ResourceType,
strParameterBlock StrParameterBlock,
disconnectFlag DisconnectFlag OPTIONAL,
answerIndicator AnswerIndicator OPTIONAL,
primaryBillingIndicator PrimaryBillingIndicator OPTIONAL,
aMAAlternateBillingNumber AMAAlternateBillingNumber OPTIONAL,
aMABusinessCustomerID AMABusinessCustomerID OPTIONAL,
aMALineNumberList SEQUENCE SIZE(1..2) OF AMALineNumber OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL,
aMADigitsDialedWCList SEQUENCE SIZE(1..5) OF AMADigitsDialedWC OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
destinationAddress DestinationAddress OPTIONAL,
dPConverter DPConverter OPTIONAL,
aMAMeasure AMAMeasure OPTIONAL,
serviceProviderID ServiceProviderID OPTIONAL,
serviceContext ServiceContext OPTIONAL,
aMABillingFeature AMABillingFeature OPTIONAL,
aMASequenceNumber AMASequenceNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
aMAserviceProviderID AMAServiceProviderID OPTIONAL,
extendedRinging ExtendedRinging OPTIONAL,
carrier Carrier OPTIONAL,
alternateCarrier AlternateCarrier OPTIONAL,
secondAlternatecarrier SecondAlternateCarrier OPTIONAL,
carrierUsage CarrierUsage OPTIONAL,
chargeNumber ChargeNumber OPTIONAL,
chargePartyStationType ChargePartyStationType OPTIONAL,
tSTRCTimer TSTRCTimer OPTIONAL,
partyID PartyID OPTIONAL,
partyOnHold PartyOnHold OPTIONAL,
calledPartyID CalledPartyID OPTIONAL
}
setTimer OPERATION ::= {
ARGUMENT
SetTimerArg
RESULT
TimerUpdated
ERRORS{ applicationError
}
CODE private: 26889
--Family Name is "Information Revision"
}
SetTimerArg ::= SEQUENCE{
sSPResponseMessageTimerT1 SSPResponseMessageTimerT1 OPTIONAL
}
splitLeg OPERATION ::= {
ARGUMENT
SplitLegArg
ERRORS{ applicationError
}
--LINKED{
--cTRClear,
--failureOutcome,
--successOutcome
-- }
CODE private: 25868
--Family Name is "Connection Control (Call Model)"
}
SplitLegArg ::= SEQUENCE{
legID LegID,
displayText DisplayText OPTIONAL,
lampTreatment LampTreatment OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
acg OPERATION ::= {
ARGUMENT
AcgArg
ERRORS{ applicationError
}
CODE private: 26881
--Family Name is "Network Management"
}
AcgArg ::= SEQUENCE{
controlCauseIndicator ControlCauseIndicator,
gapDuration GapDuration,
gapInterval GapInterval,
translationType TranslationType,
globalTitleAddress GlobalTitleAddress,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
acgGlobalCtrlRestore OPERATION ::= {
ARGUMENT
AcgGlobalCtrlRestoreArg
RESULT SEQUENCE{
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
ERRORS{ applicationError
}
CODE private: 26883
--Family Name is "Network Management"
}
AcgGlobalCtrlRestoreArg ::= SEQUENCE{
aCGGlobalOverride ACGGlobalOverride,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
acgOverflow OPERATION ::= {
ARGUMENT
AcgOverflowArg
CODE private: 26884
--Family Name is “Network Management”
}
AcgOverflowArg ::= SEQUENCE{
controlCauseIndicator ControlCauseIndicator,
translationType TranslationType,
globalTitleAddress GlobalTitleAddress,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
activityTest OPERATION ::= {
ARGUMENT
ActivityTestArg
RESULT SEQUENCE{
actResult ActResult
}
ERRORS{ applicationError
}
CODE private: 26886
--Family Name is “Network Management”
}
ActivityTestArg ::= SEQUENCE{
transID TransID,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
callTypeRequest OPERATION ::= {
ARGUMENT
CallTypeRequestArg
RESULT SEQUENCE{
callType CallType,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
ERRORS{ applicationError,
faultReport
}
CODE private: 26887
--Family Name is “Information Revision”
}
CallTypeRequestArg ::= SEQUENCE{
calledPartyID CalledPartyID,
callingPartyID CallingPartyID,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
controlRequest OPERATION ::= {
ARGUMENT
ControlRequestArg
CODE private: 26885
--Family Name is “Network Management”
}
ControlRequestArg ::= SEQUENCE{
congestionLevel CongestionLevel OPTIONAL,
gapInterval GapInterval OPTIONAL,
translationType TranslationType OPTIONAL,
globalTitleAddress GlobalTitleAddress OPTIONAL,
ssignalingPointCode SignalingPointCode OPTIONAL,
subsystemNumber SubsystemNumber OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
echoRequest OPERATION ::= {
ARGUMENT
EchoRequestArg
RESULT SEQUENCE{
failureCause FailureCause OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
ERRORS{ applicationError
}
CODE private: 26882
--Family Name is “Network Management”
}
EchoRequestArg ::= SEQUENCE{
applicationIndicator ApplicationIndicator OPTIONAL,
serviceContext ServiceContext OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
furnishAMAInformation OPERATION ::= {
ARGUMENT
FurnishAMAInformationArg
ERRORS{ applicationError
}
CODE private: 27649
--Family Name is “AMA”
}
FurnishAMAInformationArg ::= SEQUENCE{
aaMABAFModules AMABAFModules OPTIONAL,
aMASetHexABIndicator AMASetHexABIndicator OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
monitorForChange OPERATION ::= {
ARGUMENT
MonitorForChangeArg
ERRORS{ applicationError
}
--LINKED{
--monitorSuccess,
--statusReported
-- }
CODE private: 26369
--Family Name is "Status Notification"
}
MonitorForChangeArg ::= SEQUENCE{
facilityStatus FacilityStatus,
monitorTime MonitorTime,
calledPartyID CalledPartyID OPTIONAL,
facilityGID FacilityGID OPTIONAL,
facilityMemberID FacilityMemberID OPTIONAL,
bearerCapability BearerCapability OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
controlEncountered ControlEncountered OPTIONAL
}
monitorSuccess OPERATION ::= {
ARGUMENT
MonitorSuccessArg
ERRORS{ applicationError
failureReport
}
CODE private: 26371
--Family Name is "Status Notification"
}
MonitorSuccessArg ::= SEQUENCE{
facilityStatus FacilityStatus,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
nCAData OPERATION ::= {
ARGUMENT
NCADataArg
CODE private: 27394
--Family Name is "NCA Signaling"
}
NCADataArg ::= SEQUENCE{
id CHOICE{
calledPartyID CalledPartyID,
srhrGroupID SrhrGroupID
},
callingPartyID CallingPartyID,
envelopeEncodingAuthority EnvelopeEncodingAuthority,
envelopContent EnvelopContent,
securityEnvelope SecurityEnvelope OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
controlEncountered ControlEncountered OPTIONAL
}
nCARequest OPERATION ::= {
ARGUMENT
NCARequestArg
RESULT SEQUENCE{
envelopeEncodingAuthority EnvelopeEncodingAuthority,
envelopContent EnvelopContent,
securityEnvelope SecurityEnvelope OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
ERRORS{ applicationError,
failureReport
}
CODE private: 27393
--Family Name is "NCA Signaling"
}
NCARequestArg ::= SEQUENCE{
calledPartyID CalledPartyID,
callingPartyID CallingPartyID,
envelopeEncodingAuthority EnvelopeEncodingAuthority,
envelopContent EnvelopContent,
securityEnvelope SecurityEnvelope OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
aCGEncountered ACGEncountered OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
controlEncountered ControlEncountered OPTIONAL
}
queryRequest OPERATION ::= {
ARGUMENT
QueryRequestArg
RESULT SEQUENCE{
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
infoProvided InfoProvided OPTIONAL
}
ERRORS{ applicationError,
failureReport
}
CODE private: 26626
--Family Name is “Information Revision”
}
QueryRequestArg ::= SEQUENCE{
userID UserID OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
controlEncountered ControlEncountered OPTIONAL,
provideInfo ProvideInfo OPTIONAL
}
requestReportBCMEvent OPERATION ::= {
ARGUMENT
RequestReportBCMEventArg
ERRORS{ applicationError
}
CODE private: 27905
--Family Name is "Request Event"
}
RequestReportBCMEventArg ::= SEQUENCE{
eDPRequest EDPRequest OPTIONAL,
eDPNotification EDPNotification OPTIONAL,
oNoAnswerTimer ONoAnswerTimer OPTIONAL,
tNoAnswerTimer TNoAnswerTimer OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
timeoutTimer TimeoutTimer OPTIONAL,
oDTMFDigitsString ODTMFDigitsString OPTIONAL,
oDTMFNumberOfDigits ODTMFNumberOfDigits OPTIONAL,
tDTMFDigitString TDTMFDigitString OPTIONAL,
tDTMFNumberOfDigits TDTMFNumberOfDigits OPTIONAL
}
statusReported OPERATION ::= {
ARGUMENT
StatusReportedArg
ERRORS{ applicationError
}
CODE private: 26370
--Family Name is "Status Notification"
}
StatusReportedArg ::= SEQUENCE{
facilityStatus FacilityStatus OPTIONAL,
statusCause StatusCause OPTIONAL,
failureCause FailureCause OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
terminationNotification OPERATION ::= {
ARGUMENT
TerminationNotificationArg
CODE private: 26372
--Family Name is "Status Notification"
}
TerminationNotificationArg ::= SEQUENCE{
echoData EchoData,
terminationIndicator TerminationIndicator,
connectTime ConnectTime OPTIONAL,
busyCause BusyCause OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL
}
update OPERATION ::= {
ARGUMENT
UpdateArg
RESULT SEQUENCE{
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
resultCause ResultCause OPTIONAL
}
ERRORS{ applicationError,
failureReport
}
CODE private: 26627
--Family Name is "Information Revision"
}
UpdateArg ::= SEQUENCE{
administrableObject AdministrableObject,
editListType EditListType OPTIONAL,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL,
extensionParameter [84] IMPLICIT ExtensionParameter OPTIONAL,
controlEncountered ControlEncountered OPTIONAL,
aMAslpID [10] IMPLICIT AMAslpID OPTIONAL
}
updateRequest OPERATION ::= {
ARGUMENT
UpdateRequestArg
RESULT SEQUENCE{
failureCause FailureCause OPTIONAL
}
ERRORS{ applicationError
}
CODE private: 26625
--Family Name is "Information Revision"
}
UpdateRequestArg ::= SEQUENCE{
userID UserID,
triggerCriteriaFlag TriggerCriteriaFlag OPTIONAL,
bearerCapability BearerCapability OPTIONAL,
controlEncountered ControlEncountered OPTIONAL
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/ain/AIN-Parameters.asn | AIN-Parameters{ ainParametersObjectIdentifier }
--This module contains the type definitions for the AIN parameters.
DEFINITIONS ::=
BEGIN
-- ainParametersObjectIdentifier OBJECT IDENTIFIER ::= ? - -not yet defined
-- TYPE DEFINITIONS FOR AIN PARAMETERS FOLLOWS
AccessCode ::= [1] IMPLICIT AINDigits
-- range - 1 - 5 digits
ACGEncountered ::= [2] IMPLICIT OCTET STRING(SIZE(1))
ACGGlobalOverride ::= [110] IMPLICIT ENUMERATED{
allItems(0),
scpOverloadItems(1),
smsInitCntrlExceptZeroGap(2),
smsInitCntrl(3),
ntmOSInitCntrlExceptZeroGap(4),
ntmOSInitCntrl(5),
craftInitCntrlExceptZeroGap(6),
craftInitCntrl(7)
}
AdministrableObject ::= CHOICE{
triggerItemAssignment TriggerItemAssignment,
sSPUserResource SSPUserResource,
srhrGroup SrhrGroup,
networkTestDesignator NetworkTestDesignator,
operationsMonitoringAssignment OperationsMonitoringAssignment
}
TriggerItemAssignment ::= [102] IMPLICIT SEQUENCE{
sSPUserResourceID [1] SSPUserResourceID,
triggerItemID [2] IMPLICIT TriggerItemID,
activationStateCode [3] IMPLICIT ActivationStateCode OPTIONAL,
potentialUse [4] IMPLICIT PotentialUse OPTIONAL,
sSPUserResourceSubID [5] SSPUserResourceSubID OPTIONAL
}
SSPUserResourceID ::= CHOICE{
dn [1] IMPLICIT Dn, --see Section 6.151 of this GR for encoding
dnCtID [2] IMPLICIT DnCtID,
spid [3] IMPLICIT Spid, --see Section 6.129 of this GR for encoding
trunkGroupID [4] IMPLICIT TrunkGroupID, --see Section 6.151 of this GR for encoding
localSSPID [5] IMPLICIT LocalSSPID,
publicDialingPlanID [6] IMPLICIT PublicDialingPlanID,
pRIOfficeEquipmentID [7] IMPLICIT PRIOfficeEquipmentID,
basicBusinessGroupID [8] IMPLICIT BasicBusinessGroupID,
basicBusinessGroupDialingPlanID [9] IMPLICIT BasicBusinessGroupDialingPlanID,
aFRPatternID [10] IMPLICIT AFRPatternID,
officeEquipmentID [11] IMPLICIT OfficeEquipmentID
}
DnCtID ::= SEQUENCE{
dn [1] IMPLICIT Dn, --see Section 6.151 of this GR for encoding
ct [2] IMPLICIT Ct
}
Ct ::= ENUMERATED{
voicebandInformation(0),
circuitModeData(1)
}
LocalSSPID ::= IA5String(SIZE(1..8)) --References office - wide triggers
PublicDialingPlanID ::= IA5String(SIZE(1..8))
PRIOfficeEquipmentID ::= IA5String(SIZE(1..12))
BasicBusinessGroupID ::= IA5String(SIZE(1..10))
BasicBusinessGroupDialingPlanID ::= IA5String(SIZE(1..4))
AFRPatternID ::= IA5String(SIZE(1..4))
OfficeEquipmentID ::= IA5String(SIZE(1..12))
TriggerItemID ::= SEQUENCE{
dPNumber [1] IMPLICIT DPNumber,
triggerItemSubnumber [2] IMPLICIT TriggerItemSubnumber
}
DPNumber ::= INTEGER(1..33)
--Identifies a Detection Point within the AIN Call Model
TriggerItemSubnumber ::= IA5String(SIZE(1..8))
--Identifies triggers and events within DPs
ActivationStateCode ::= ENUMERATED{
off(0),
on(1)
}
PotentialUse ::= ENUMERATED{
notApplicable(0),
callForwarding(1)
}
SSPUserResourceSubID ::= CHOICE{
aFRPatternID [1] IMPLICIT AFRPatternID,
basicBusinessGroupDialingPlanID [2] IMPLICIT BasicBusinessGroupDialingPlanID,
iSDNBChannelID [3] IMPLICIT ISDNBChannelID
}
ISDNBChannelID ::= SEQUENCE{
pRIDS1ID [1] IMPLICIT PRIDS1ID OPTIONAL,
pRIDS0ID [2] IMPLICIT PRIDS0ID OPTIONAL
}
PRIDS1ID ::= INTEGER(1..28)
PRIDS0ID ::= INTEGER(1..24)
SSPUserResource ::= [103] IMPLICIT SEQUENCE{
sSPUserResourceID [1] SSPUserResourceID, --see Section 6.4.1 for encoding
serviceProviderID ServiceProviderID OPTIONAL,
updateGroups UpdateGroups OPTIONAL,
oNoAnswerTimer ONoAnswerTimer OPTIONAL,
tNoAnswerTimer TNoAnswerTimer OPTIONAL,
displayText DisplayText OPTIONAL,
dPConverter DPConverter OPTIONAL,
cancelInterdigitTimer CancelInterdigitTimer OPTIONAL
}
--For the encoding of the ServiceProviderID parameter, see Section 6.127 of this GR.
--For the encoding of the UpdateGroups parameter, see below.
--For the encoding of the ONoAnswerTimer parameter, see Section 6.102 of this GR.
--For the encoding of the TNoAnswerTimer, see Section 6.143 of this GR.
--For the encoding of the DisplayText parameter, see Section 6.62 of this GR.
--For the encoding of the DPConverter parameter, see Section 6.63 of this GR.
--For the encoding of the CancelInterdigitTimer parameter, see below.
UpdateGroups::= CHOICE{
updateGroup1 [2] IMPLICIT UpdateGroup1,
updateGroup2 [3] IMPLICIT UpdateGroup2,
updateGroup3 [4] IMPLICIT UpdateGroup3,
updateGroup4 [5] IMPLICIT UpdateGroup4,
updateGroup5 [6] IMPLICIT UpdateGroup5,
updateGroup6 [7] IMPLICIT UpdateGroup6,
updateGroup7 [8] IMPLICIT UpdateGroup7,
updateGroup8 [9] IMPLICIT UpdateGroup8,
updateGroup9 [10] IMPLICIT UpdateGroup9
}
UpdateGroup1::= SEQUENCE{
service1 [1] IMPLICIT Service1,
action1 Action1
}
Service1::= ENUMERATED{
messageWaitingIndicator(0),
visualMessageWaitingIndicator(1),
anonymousCallRejection(2),
automaticCallback(3),
automaticRecall(4),
callScreening(5),
outsideCallingAreaAlerting(6),
callingIdPresentAndSuppress(7),
callWaiting(8)
}
Action1::= CHOICE{
activationStateCode [2] IMPLICIT ActivationStateCode--see Section 6.4.1 for encoding
}
UpdateGroup2::= SEQUENCE{
service2 [1] IMPLICIT Service2,
action2 Action2
}
Service2::= ENUMERATED{
audioMessageWaitingIndicator(0)
}
Action2::= CHOICE{
activationStateCode [2] IMPLICIT ActivationStateCode,
delayInterval [3] IMPLICIT DelayInterval
}
DelayInterval::= INTEGER(1..60)
--used to convey to the switch
--a) the number of rings the switch should
-- generate prior to forwarding a call; or
--b) the number of minutes the switch should
-- wait to generate a “ping” ring for an MWI,
--i.e., number of minutes between “ping” rings.
UpdateGroup3::= SEQUENCE{
service3 [1] IMPLICIT Service3,
action3 Action3
}
Service3::= ENUMERATED{
distinctiveRingingCallWaiting(0),
selectiveCallRejection(1)
}
Action3::= CHOICE{
activationStateCode [2] IMPLICIT ActivationStateCode,
editSpecificEntry [3] IMPLICIT EditSpecificEntry,
editAllEntries [4] IMPLICIT EditAllEntries
}
EditSpecificEntry::= SEQUENCE{
entry Entry,
editListType [105] IMPLICIT EditListType--see Section 6.66 for encoding
}
Entry ::= CHOICE{
dn [1] IMPLICIT Dn,
speedCallingCode [2] IMPLICIT SpeedCallingCode,
memorySlot [3] IMPLICIT MemorySlot1
}
SpeedCallingCode ::= IA5String(SIZE(1..3))
--The contents of this field shall be numbers 2 through 9 or numbers 20 through 39.
--each number shall be allowed to be sent with or without a # sign.
MemorySlot1 ::= ENUMERATED{
incoming(0)
}
EditAllEntries ::= ENUMERATED{
deleteAllEntries(0),
deleteAllPrivateEntries(1)
}
UpdateGroup4::= SEQUENCE{
service4 [1] IMPLICIT Service4,
action4 Action4
}
Service4::= ENUMERATED{
callForwardingVariable(0),
callForwardingDontAnswer(1),
callForwardingBusyLine(2)
}
Action4::= CHOICE{
activationStateCode [2] IMPLICIT ActivationStateCode,--See Section 6.4.1 for encoding
forwardingDn ForwardingDn
}
ForwardingDn ::= CHOICE{
set Set,
clear [3] IMPLICIT Clear
}
Set ::= CHOICE{
dn [1] IMPLICIT Dn,
speedCallingCode [4] IMPLICIT SpeedCallingCode
}
Clear ::= ENUMERATED{
remove(0)
}
UpdateGroup5::= SEQUENCE{
service5 [1] IMPLICIT Service5,
action5 Action5
}
Service5::= ENUMERATED{
selectiveCallAcceptance(0),
selectiveCallForwarding(1)
}
Action5::= CHOICE{
activationStateCode [2] IMPLICIT ActivationStateCode,--see above for encoding
forwardingDn [3] IMPLICIT ForwardingDn,--see above for the encoding
editSpecificEntry [4] IMPLICIT EditSpecificEntry,--see above for the encoding
editAllEntries [5] IMPLICIT EditAllEntries--see above for the encoding
}
UpdateGroup6::= SEQUENCE{
service6 [1] IMPLICIT Service6,
action6 Action6
}
Service6::= ENUMERATED{
ringControl(0)
}
Action6::= CHOICE{
delayInterval [2] IMPLICIT DelayInterval--See above for the encoding
}
UpdateGroup7::= SEQUENCE{
service7 [1] IMPLICIT Service7,
action7 Action7
}
Service7::= ENUMERATED{
callingNumberDeliveryBlocking(0),
callingNameDeliveryBlocking(1)
}
Action7::= CHOICE{
toggle [2] IMPLICIT Toggle
}
Toggle ::= ENUMERATED{
presentationStatusValue(0)
}
UpdateGroup8::= SEQUENCE{
service8 [1] IMPLICIT Service8,
action8 Action8
}
Service8::= ENUMERATED{
customerOriginatedTrace(0),
cancelCallWaiting(1)
}
Action8::= CHOICE{
invoke [2] IMPLICIT Invoke8
}
Invoke8 ::= ENUMERATED{
on(0)
}
UpdateGroup9 ::= SEQUENCE{
service9 [1] IMPLICIT Service9,
action9 Action9
}
Service9::= ENUMERATED{
speedCalling(0)
}
Action9::= CHOICE{
changeList [2] IMPLICIT ChangeList
}
ChangeList ::= SEQUENCE{
dn [1] IMPLICIT Dn,--see Section 6.151 for the encoding
speedCallingCode [2] IMPLICIT SpeedCallingCode--see above for the encoding
}
CancelInterdigitTimer::= ActivationStateCode
SrhrGroup ::= [104] IMPLICIT SEQUENCE{
srhrGroupID SrhrGroupID, --see Section 6.130 for encoding
srhrID [1] IMPLICIT SrhrID OPTIONAL
}
SrhrID ::= AINDigits
-- range - 10 digits
NetworkTestDesignator ::= [97] IMPLICIT SEQUENCE{
ntdID NtdID,
amp1 Amp1 OPTIONAL,
amp2 Amp2 OPTIONAL
}
NtdID ::= CHOICE{
ntdIndirectID [1] NtdIndirectID
}
NtdIndirectID ::= SSPUserResourceID -- see above for encoding
-- For the encoding of the Amp1 parameter, see Section 6.23.
--For the encoding of the Amp2 parameter, see Section 6.24.
OperationsMonitoringAssignment ::= [118] IMPLICIT SEQUENCE{
operationsMonitoredItemID OperationsMonitoredItemID,
activationStateCode [3] IMPLICIT ActivationStateCode OPTIONAL
}
OperationsMonitoredItemID ::= CHOICE{
sSPUserResourceID [1] SSPUserResourceID -- see above for encoding
}
-- For the encoding of the ActivationStateCode, see above.
ActResult::= [164]IMPLICIT ENUMERATED {
transactionClosed(0),
transactionOpen(1),
deniedProcessOverload(2)
}
AINDigits ::= OCTET STRING
AlternateBillingIndicator ::= [3] IMPLICIT BillingIndicator
AlternateCarrier ::= [4] IMPLICIT CarrierFormat
-- range - 4 digits
AlternateTrunkGroup ::= [5] IMPLICIT OCTET STRING(SIZE(5))
AlternateDialingPlanInd ::= [115] IMPLICIT AINDigits
-- range - 10 digits
AMAAlternateBillingNumber ::= [6] IMPLICIT AINDigits
-- range 1 - 11 digits
AMABAFModules ::= [95] IMPLICIT OCTET STRING(SIZE(2..128))
--Contains one or more AMA modules in Bellcore AMA Format(BAF).
AMABillingFeature ::= [88] IMPLICIT AINDigits
-- range - 4 - 24 digits
AMABusinessCustomerID ::= [7] IMPLICIT AINDigits
-- range - 11 digits
AMADigitsDialedWC ::= [8] IMPLICIT AINDigits
-- range - 3 - 27 digits
AMALineNumber ::= [9] IMPLICIT AINDigits
-- range - 3 - 15 digits
AMAMeasure ::= [71] IMPLICIT ENUMERATED{
connectTimeRecordedDestinationSSP(0),
connectTimeRecordedDestinationSCP(1),
connectTimeNotRecorded(2)
}
AMAMeasurement ::= [73] IMPLICIT SEQUENCE{
aMATimeDuration [0] IMPLICIT AMATimeDuration,
aMATimeGuard [1] IMPLICIT AMATimeGuard
}
AMAServiceProviderID::= [101] IMPLICIT OCTET STRING(SIZE(7))
AMATimeDuration ::= OCTET STRING(SIZE(8))
AMATimeGuard ::= ENUMERATED{
noTimingGuard(0),
timingGuardExists(1)
}
AMASetHexABIndicator ::= [82] IMPLICIT BOOLEAN
-- TRUE = Set BCD character 2 of Hexadecimal Identifier in
-- the BAF structure to which the contents of the
-- AMABAFModules parameter are appended
-- FALSE = Default to switch - based control of Hexadecimal
-- Identifier table in structure code
AMASequenceNumber ::= [89] IMPLICIT OCTET STRING(SIZE(2))
-- AMAslpID ::= [10] IMPLICIT OCTET STRING(SIZE(5))
AMAslpID ::= OCTET STRING(SIZE(5))
Amp1 ::= [11] IMPLICIT OCTET STRING(SIZE(6))
Amp2 ::= [109] IMPLICIT SEQUENCE{
ampAINNodeID AmpAINNodeID,
ampCLogSeqNo [3] IMPLICIT AmpCLogSeqNo OPTIONAL,
ampCLogRepInd [4] IMPLICIT AmpCLogRepInd OPTIONAL,
ampCallProgInd [5] IMPLICIT AmpCallProgInd OPTIONAL,
ampTestReqInd [6] IMPLICIT AmpTestReqInd OPTIONAL,
ampCLogName [7] IMPLICIT AmpCLogName OPTIONAL,
ampSvcProvID [8] IMPLICIT AmpSvcProvID OPTIONAL
}
AmpAINNodeID ::= CHOICE{
spcID [1] IMPLICIT SpcID,
iSDNDeviceID [2] IMPLICIT ISDNDeviceID
}
SpcID ::= OCTET STRING(SIZE(3))
--See Figure 1B of Chapter T1.111.4 of GR-246-CORE for the
-- definition of the contents of the SpcID OCTET STRING.
ISDNDeviceID ::= AINDigits
-- range - 10 digits
AmpCLogSeqNo ::= INTEGER(0..32767)
-- 0 = sequence number should not be generated; 0 is used to support
-- asynchronous messages
AmpCLogRepInd ::= ENUMERATED{
autoReportOS(0),
requestReport(1),
autoReportISDN(2)
}
AmpCallProgInd ::= ENUMERATED{
callProgressVoiceAnnouncements(0),
callProgressTextMessages(1)
}
AmpTestReqInd ::= INTEGER(0..127)
AmpCLogName ::= OCTET STRING(SIZE(1..10))
AmpSvcProvID ::= CHOICE{
ocn Ocn -- see Section 6.121 for encoding
}
AnswerIndicator ::= [12] IMPLICIT NULL
-- Presence = return answer supervision
-- Absence = do not return answer supervision
ApplicationErrorString ::= [55] IMPLICIT SEQUENCE{
errorCause ErrorCause,
failedMessage FailedMessage OPTIONAL,
userID UserID OPTIONAL
}
ApplicationIndicator ::= [90] IMPLICIT ENUMERATED{
routeToApplicationProcessOrSLP(0),
processEchoRequestMessage(1)
}
ApplyRestrictions ::= [152] IMPLICIT BIT STRING{
code(0),
toll(1)
}
BCMType ::= [134] IMPLICIT ENUMERATED{
oBcm(0),
tBcm(1)
}
BearerCapability ::= [13] IMPLICIT ENUMERATED{
speech(0),
f31kHzaudio(1),
f7kHzaudio(2),
b56kbps(3),
b64kbps(4),
packetModeData(5),
multiRate(6) -- (64 kbit / s base)
}
--packetModeData, 7KHz audio, and multiRate will NOT be used for AIN .
BillingIndicator ::= OCTET STRING(SIZE(4))
BusinessGroup ::= OCTET STRING(SIZE(7))
BusyCause ::= [14] IMPLICIT OCTET STRING(SIZE(2..3))
BusyType ::= [94] IMPLICIT ENUMERATED{
callCanBeOffered(0),
callCannotBeOffered(1)
}
CalledPartyID ::= [15] IMPLICIT AINDigits
-- range - 0 - 15 digits
CalledPartyStationType ::= [16] IMPLICIT INTEGER(0..99)
CallingGeodeticLocation ::= [162] IMPLICIT OCTET STRING(SIZE(8..13))
CallingPartyBGID ::= [17] IMPLICIT BusinessGroup
CallingPartyID ::= [18] IMPLICIT AINDigits
-- range - 3 - 15
CallType ::= [165] IMPLICIT ENUMERATED{
noIndication(0),
local(1),
intraLATAToll(2),
interLATAToll(3)
}
Carrier ::= [41] IMPLICIT CarrierFormat
-- range - 4 digits
CarrierFormat ::= OCTET STRING(SIZE(4))
CarrierUsage ::= [79] IMPLICIT ENUMERATED{
alwaysOverride(0),
onlyInterLATAOverride(1)
}
CcID ::= [133] IMPLICIT ENUMERATED{
null(0),
originatingSetup(1),
stable2Party(2),
terminatingSetup(3),
threePartySetup(4),
threePartySetupComplement(5),
partyOnHold(6),
partyOnHoldComplement(7),
callWaiting(8),
callWaitingComplement(9),
stableMParty(10),
transfer(11),
forward(12)
}
ChargeNumber ::= [19] IMPLICIT AINDigits
-- range - 0 - 10 digits
ChargePartyStationType ::= [20] IMPLICIT INTEGER(0..99)
ClearCause ::= [21] IMPLICIT INTEGER(0..255)
ClearCauseData ::= [74] IMPLICIT OCTET STRING(SIZE(1..20))
CloseCause ::= [72] IMPLICIT ENUMERATED{
callTerminated(0),
eDPsCompleted(1),
unexpectedCommunication(2),
calledPartyAnswered(3),
callForwardedEDPsCompleted(4),
newRequestedEvent(5)
}
CollectedAddressInfo ::= [22] IMPLICIT AINDigits
-- range 0 - 15 digits
CollectedDigits ::= [23] IMPLICIT AINDigits
-- range 0 - 32 digits
CongestionLevel ::= [117] IMPLICIT ENUMERATED{
noCongestion(0),
mc1(1),
mc2(2),
mc3(3)
}
ConnectTime ::= [58] IMPLICIT OCTET STRING(SIZE(5))
ControlCauseIndicator ::= [59] IMPLICIT OCTET STRING(SIZE(1))
ControlEncountered ::= [127] IMPLICIT OCTET STRING(SIZE(1))
ControllingLegTreatment ::= [24] IMPLICIT ENUMERATED{
dialToneOn(0),
ringBackAudibleRingingToneOn(1),
networkCongestionReorderToneOn(3),
busyToneOn(4),
confirmationTone(5),
callWaitingTone(7),
tonesOff(63),
alertingOnPattern0Normal(64),
alertingOnPattern1DistinctiveIntergroup(65),
alertingOnPattern2DistinctiveSpecial(66),
alertingOnPattern3EKTS(67),
alertingOnPattern4ReminderRing(68),
alertingOff(79),
recallDialToneOn(17),
bargeInToneOn(18),
incomingAdditionalCallTone(251),
priorityAdditionalCallTone(252),
expensiveRouteWarningTone(253),
campOnTone(19),
receiverOffHookTone(20),
callingCardServiceTone(21),
stutterDialTone(22),
silence(23),
onHookTR30WithIndication(24),
onHookTR30NoIndication(25)
}
CTRConnection ::= [141] IMPLICIT BOOLEAN
-- TRUE = reported event caused by Connect_To_Resource
-- FALSE = reported event not caused by Connect_To_Resource
CsID ::= [137] IMPLICIT INTEGER(1..2)
--The range is 1 - 2 for CsIDs.
DestinationAddress ::= [86] IMPLICIT AINDigits
-- range - 10 digits
DisconnectCause ::= [116] IMPLICIT ENUMERATED{
farEnd(0)
}
DisconnectFlag ::= [25] IMPLICIT NULL
-- Presence = disconnect leg
-- Absence = do not disconnect leg
DisplayText ::= [26] IMPLICIT SEQUENCE SIZE(1..15) OF DisplayInformation
DisplayInformation ::= CHOICE{
blank[0] IMPLICIT OCTET STRING(SIZE(1..20)),
skip[1] IMPLICIT OCTET STRING(SIZE(1..20)),
continuation[2] IMPLICIT OCTET STRING(SIZE(1..20)),
calledAddress[3] IMPLICIT OCTET STRING(SIZE(1..20)),
cause[4] IMPLICIT OCTET STRING(SIZE(1..20)),
progressIndicator[5] IMPLICIT OCTET STRING(SIZE(1..20)),
notificationIndicator[6] IMPLICIT OCTET STRING(SIZE(1..20)),
prompt[7] IMPLICIT OCTET STRING(SIZE(1..20)),
accumulatedDigits[8] IMPLICIT OCTET STRING(SIZE(1..20)),
status[9] IMPLICIT OCTET STRING(SIZE(1..20)),
inband[10] IMPLICIT OCTET STRING
(SIZE(1..20)),
callingAddress[11] IMPLICIT OCTET STRING(SIZE(1..20)),
reason[12] IMPLICIT OCTET STRING(SIZE(1..20)),
callingPartyName[13] IMPLICIT OCTET STRING(SIZE(1..20)),
calledPartyName[14] IMPLICIT OCTET STRING
(SIZE(1..20)),
originalCalledName[15] IMPLICIT OCTET STRING(SIZE(1..20)),
redirectingName[16] IMPLICIT OCTET STRING(SIZE(1..20)),
connectedName[17] IMPLICIT OCTET STRING
(SIZE(1..20)),
origRestrictions[18] IMPLICIT OCTET STRING
(SIZE(1..20)),
dateTimeOfDay[19] IMPLICIT OCTET STRING(SIZE(1..20)),
callAppearanceID[20] IMPLICIT OCTET STRING
(SIZE(1..20)),
featureAddress[21] IMPLICIT OCTET STRING(SIZE(1..20)),
redirectionName[22] IMPLICIT OCTET STRING
(SIZE(1..20)),
redirectionNumber[23] IMPLICIT OCTET STRING(SIZE(1..20)),
redirectingNumber[24] IMPLICIT OCTET STRING(SIZE(1..20)),
originalCalledNumber[25] IMPLICIT OCTET STRING(SIZE(1..20)),
connectedNumber[26] IMPLICIT OCTET STRING
(SIZE(1..20)),
text[30] IMPLICIT OCTET STRING(SIZE(1..20)),
redirectingReason[31] IMPLICIT OCTET STRING(SIZE(1..20))
}
--Each DisplayInformation field can be from 1 - 20 octets. The information shown in italics is not required for AIN and is reserved for future releases.
DPConverter ::= [76] IMPLICIT BOOLEAN
-- True = the switch should perform Dial Pulse to DTMF conversion
-- False = the switch should not perform Dial Pulse to DTMF conversion
DTMFDigitsDetected ::= [153] IMPLICIT AINDigits
--The range is 1 - 4
EchoData ::= [60] IMPLICIT OCTET STRING(SIZE(6))
EditListType ::= ENUMERATED{
addListElement(0),
deleteListElement(1)
}
EDPNotification ::= [93] IMPLICIT BIT STRING{
oCalledPartyBusy(0), --always "0"
oNoAnswer(1), --always "0"
oTermSeized(2),
oAnswer(3),
tBusy(4), --always "0"*
tNoAnswer(5), --always "0"*
termResourceAvailable(6), -- *
tAnswer(7), -- *
networkBusy(8), --always “0”*
oSuspended(9), --always “0”
oDisconnectCalled(10), --always “0”
oDisconnect(11), --always “0”
oAbandon(12), --always “0”
featureActivator(13), --always “0”
switchHookFlash(14), --always “0”
success(15), --always “0”
tDisconnect(16),
timeout(17),
originationAttempt(18),
oDTMFEntered(19),
tDTMFEntered(20)
}
--Bit = 1 - request is requested, Bit = 0 - request is not requested
-- *These values are conditional requirements, based on the condition that the SSP supports
-- the corresponding EDP shown as an objective in GR - 1298 - CORE, Section 4, Table 4 - 1.
EDPRequest ::= [92] IMPLICIT BIT STRING{
oCalledPartyBusy(0),
oNoAnswer(1),
oTermSeized(2), --always "0"
oAnswer(3), --always "0"
tBusy(4), --*
tNoAnswer(5), --*
termResourceAvailable(6), --always "0"*
tAnswer(7), --always "0"*
networkBusy(8),
oSuspended(9),
oDisconnectCalled(10),
oDisconnect(11),
oAbandon(12),
featureActivator(13),
switchHookFlash(14),
success(15),
tDisconnect(16),
timeout(17),
originationAttempt(18),
oDTMFEntered(19),
tDTMFEntered(20)
}
--Bit = 1 - request is requested, Bit = 0 - request is not requested
-- *These values are conditional requirements, based on the condition that the SSP supports
-- the corresponding EDP shown as an objective in GR - 1298 - CORE, Section 4, Table 4 - 1.
EnvelopContent ::= [75] IMPLICIT OCTET STRING(SIZE(1..180))
EnvelopeEncodingAuthority ::= [98] IMPLICIT OBJECT IDENTIFIER
-- Maximum of 15 octets
ErrorCause ::= [56] IMPLICIT ENUMERATED{
erroneousDataValue(0),
missingConditionalParameter(1),
responseMessageTimerExpired(2),
unexpectedCommunication(3),
unexpectedMessage(4),
unexpectedMessageSequence(5),
unexpectedParameterSequence(6)
}
ExtendedRinging ::= [146] IMPLICIT NULL
-- Presence = apply extended ringing
-- Absence = do not apply extended ringing
ExtensionParameter ::= SEQUENCE{
assignmentAuthority OBJECT IDENTIFIER,
parameters ANY DEFINED BY assignmentAuthority
}
--The maximum length of the assignmentAuthority is 15 octets
FacilityGID ::= CHOICE{
mlhg Mlhg
}
Mlhg ::= [29] IMPLICIT INTEGER(1..2047)
FacilityMemberID ::= [31] IMPLICIT INTEGER(1..2047)
--The range is 1 - 2047 for MLHG member IDs.
FacilityStatus ::= [61] IMPLICIT ENUMERATED{
busy(0),
busyInService(1),
busyOutOfService(2),
idle(3),
idleInService(4),
idleOutOfService(5),
inService(6),
outOfService(7)
}
FailedMessage ::= [57] IMPLICIT SEQUENCE{
opCode INTEGER,
parameter OCTET STRING OPTIONAL,
invParms [1] IMPLICIT InvParms OPTIONAL
}
--The opCode field is equivalent to the value of the Operation Code that
-- represents the failed message.
--The parameter field represents the parameter, including the identifier,
--length and contents, of the received message that contains the
-- erroneous data value.
InvParms ::= SEQUENCE SIZE(1) OF Parms
Parms ::= CHOICE{
accessCode AccessCode,
aCGEncountered ACGEncountered,
alternateBillingIndicator AlternateBillingIndicator,
alternateCarrier AlternateCarrier,
alternateTrunkGroup AlternateTrunkGroup,
aMAAlternateBillingNumber AMAAlternateBillingNumber,
aMABusinessCustomerID AMABusinessCustomerID,
aMAslpID [10] IMPLICIT AMAslpID,
amp1 Amp1,
amp2 Amp2,
answerIndicator AnswerIndicator,
bearerCapability BearerCapability,
busyCause BusyCause,
calledPartyID CalledPartyID,
calledPartyStationType CalledPartyStationType,
callingGeodeticLocation CallingGeodeticLocation,
callingPartyBGID CallingPartyBGID,
callingPartyID CallingPartyID,
callType CallType,
chargeNumber ChargeNumber,
chargePartyStationType ChargePartyStationType,
clearCause ClearCause,
collectedAddressInfo CollectedAddressInfo,
collectedDigits CollectedDigits,
controllingLegTreatment ControllingLegTreatment,
disconnectFlag DisconnectFlag,
displayText DisplayText,
dTMFDigitsDetected DTMFDigitsDetected,
facilityGID FacilityGID,
facilityMemberID FacilityMemberID,
failureCause FailureCause,
genericName GenericName,
lata Lata,
oDTMFDigitsString ODTMFDigitsString,
oDTMFNumberofDigits ODTMFNumberOfDigits,
originalCalledPartyID OriginalCalledPartyID,
outpulseNumber OutpulseNumber,
overflowBillingIndicator OverflowBillingIndicator,
passiveLegTreatment PassiveLegTreatment,
partyID PartyID,
partyOnHold PartyOnHold,
primaryBillingIndicator PrimaryBillingIndicator,
carrier Carrier,
primaryTrunkGroup PrimaryTrunkGroup,
redirectingPartyID RedirectingPartyID,
redirectionInformation RedirectionInformation,
resourceType ResourceType,
secondAlternateBillingIndicator SecondAlternateBillingIndicator,
secondAlternateCarrier SecondAlternateCarrier,
secondAlternateTrunkGroup SecondAlternateTrunkGroup,
spid Spid,
sSPResponseMessageTimerT1 SSPResponseMessageTimerT1,
strParameterBlock StrParameterBlock,
tcm Tcm,
tDTMFDigitString TDTMFDigitString,
tDTMFNumberOfDigits TDTMFNumberOfDigits,
timerUpdated TimerUpdated,
triggerCriteriaType TriggerCriteriaType,
triggerInformation TriggerInformation,
userID UserID,
verticalServiceCode VerticalServiceCode,
connectTime ConnectTime,
controlCauseIndicator ControlCauseIndicator,
echoData EchoData,
facilityStatus FacilityStatus,
gapDuration GapDuration,
gapInterval GapInterval,
globalTitleAddress GlobalTitleAddress,
monitorTime MonitorTime,
statusCause StatusCause,
terminationIndicator TerminationIndicator,
translationType TranslationType,
triggerCriteriaFlag TriggerCriteriaFlag,
tSTRCTimer TSTRCTimer,
aMAMeasure AMAMeasure,
aMAMeasurement AMAMeasurement,
clearCauseData ClearCauseData,
envelopContent EnvelopContent,
iPReturnBlock IPReturnBlock,
sap Sap,
aMASetHexABIndicator AMASetHexABIndicator,
serviceContext ServiceContext,
extensionParameter [84] IMPLICIT ExtensionParameter,
securityEnvelope SecurityEnvelope,
destinationAddress DestinationAddress,
derviceProviderID ServiceProviderID,
aMABillingFeature AMABillingFeature,
aMASequenceNumber AMASequenceNumber,
applicationIndicator ApplicationIndicator,
oNoAnswerTimer ONoAnswerTimer,
eDPRequest EDPRequest,
eDPNotification EDPNotification,
busyType BusyType,
aMABAFModules AMABAFModules,
sTRConnection STRConnection,
errorCause ErrorCause,
resultCause ResultCause,
cTRConnection CTRConnection,
rTPReroutingNumber RTPReroutingNumber,
rTPServiceIndicator RTPServiceIndicator,
administrableObject AdministrableObject,
envelopeEncodingAuthority EnvelopeEncodingAuthority,
tNoAnswerTimer TNoAnswerTimer,
editListType EditListType,
aCGGlobalOverride ACGGlobalOverride,
notificationIndicator [111] IMPLICIT NotificationIndicator,
-- TRUE = Switch Notification Message
-- FALSE = Switch Request Message
aMALineNumber AMALineNumber,
aMADigitsDialedWC AMADigitsDialedWC,
carrierUsage CarrierUsage,
closeCause CloseCause,
dPConverter DPConverter,
failureCauseData FailureCauseData,
genericAddress GenericAddress,
srhrGroupID SrhrGroupID,
genericAddressList GenericAddressList,
networkSpecificFacilities NetworkSpecificFacilities,
forwardCallIndicator ForwardCallIndicator,
alternateDialingPlanInd AlternateDialingPlanInd,
disconnectCause DisconnectCause,
aMAServiceProviderID AMAServiceProviderID,
congestionLevel CongestionLevel,
controlEncountered ControlEncountered,
infoProvided InfoProvided,
provideInfo ProvideInfo,
signalingPointCode SignalingPointCode,
subsystemNumber SubsystemNumber,
notificationDuration NotificationDuration,
wakeUpDuration WakeUpDuration,
oSIIndicator OSIIndicator,
legID LegID,
ccID CcID,
bCMType BCMType,
pointInCall PointInCall,
featureActivatorID FeatureActivatorID,
csID CsID,
lampTreatment LampTreatment,
timeoutTimer TimeoutTimer,
transID TransID,
actResult ActResult,
extendedRinging ExtendedRinging,
jurisdictionInformation JurisdictionInformation,
prefix Prefix,
genericDigitsList GenericDigitsList,
applyRestrictions ApplyRestrictions
}
FailureCause ::= [32] IMPLICIT ENUMERATED{
rateTooHigh(1),
unavailableResources(2),
apTimeout(3),
apBusy(4),
channelsBusy(13),
abort(14),
resourceLimitation(15),
applicationError(16),
securityError(17),
protocolError(18),
timerExpired(19),
temporaryFailure(20),
msridDoesNotMatchUserProfile(21),
segmentationError(22),
ncasDisallowed(23),
controlEncountered(24),
improperCoding(25),
inappropriateCondition(26),
inappropriateUserInterface(27),
inappropriateLegManipulation(28),
callingInterfaceBusy(29)
}
FailureCauseData ::= [112] IMPLICIT OCTET STRING(SIZE(1..5))
FeatureActivatorID ::= [136] IMPLICIT OCTET STRING(SIZE(1..2))
ForwardCallIndicator ::= [113] IMPLICIT OCTET STRING(SIZE(2))
GapDuration ::= [62] IMPLICIT ENUMERATED{
no1Second(1),
no2Seconds(2),
no4Seconds(3),
no8Seconds(4),
no16Seconds(5),
no32Seconds(6),
no64Seconds(7),
no128Seconds(8),
no256Seconds(9),
no512Seconds(10),
no1024Seconds(11),
no2048Seconds(12),
infinity(13)
}
GapInterval ::= CHOICE{
nationalGapInterval NationalGapInterval,
privateGapInterval PrivateGapInterval
}
NationalGapInterval ::= [63] IMPLICIT ENUMERATED{
removeGapControl(0),
no0Seconds(1),
no010Seconds(2), -- 1 / 10 sec.
no025Seconds(3), -- 1 / 4 sec.
no050Seconds(4), -- 1 / 2 sec.
no1Second(5),
no2Seconds(6),
no5Seconds(7),
no10Seconds(8),
no15Seconds(9),
no30Seconds(10),
no60Seconds(11),
no120Seconds(12),
no300Seconds(13),
no600Seconds(14),
stopAllCalls(15)
}
PrivateGapInterval ::= [64] IMPLICIT ENUMERATED{
no0Seconds(0),
no3Seconds(1),
no4Seconds(2),
no6Seconds(3),
no8Seconds(4),
no11Seconds(5),
no16Seconds(6),
no22Seconds(7),
no30Seconds(8),
no42Seconds(9),
no58Seconds(10),
no81Seconds(11),
no112Seconds(12),
no156Seconds(13),
no217Seconds(14),
no300Seconds(15),
removeGapControl(16),
no010Seconds(17), -- 1 / 10 sec.
no025Seconds(18), -- 1 / 4 sec.
no050Seconds(19), -- 1 / 2 sec.
no1Second(20),
no2Seconds(21)
}
GenericAddress ::= [80] IMPLICIT OCTET STRING(SIZE(4..11))
GenericAddressList ::= [107] IMPLICIT SEQUENCE SIZE(1..5) OF GenericAddress
GenericName ::= [33] IMPLICIT OCTET STRING
GenericDigitsList ::= [150] IMPLICIT SEQUENCE SIZE (1..5) OF GenericDigits
GenericDigits ::= [149] IMPLICIT OCTET STRING (SIZE(2..11))
GlobalTitleAddress ::= [69] IMPLICIT OCTET STRING
InfoProvided ::= [100] IMPLICIT SEQUENCE{
activationStateCode [1] IMPLICIT ActivationStateCode OPTIONAL,
entireList [2] IMPLICIT EntireList OPTIONAL,
memorySlot [3] IMPLICIT MemorySlot OPTIONAL,
listSize [4] IMPLICIT ListSize OPTIONAL,
forwardToDn [5] IMPLICIT ForwardToDn OPTIONAL,
delayInterval [6] IMPLICIT DelayInterval OPTIONAL,
empty [7] IMPLICIT Empty OPTIONAL
}
--For the encoding of the ActivationStateCode parameter, see Section 6.4.1.
EntireList ::= SEQUENCE SIZE(1..32) OF Entry2
Entry2 ::= CHOICE{
dn [1] IMPLICIT Dn, --see Section 6.151 for the encoding
privateDn [2] IMPLICIT PrivateDn
}
PrivateDn ::= ENUMERATED{
private (0)
}
MemorySlot ::= SEQUENCE{
incoming [1] IMPLICIT Incoming OPTIONAL,
outgoing [2] IMPLICIT Outgoing OPTIONAL
}
Incoming ::= SEQUENCE{
aINDigits AINDigits,
timestamp Timestamp--See GR-246-CORE for values of this field.
}
Outgoing ::= SEQUENCE{
aINDigits AINDigits,
timestamp Timestamp--See GR-246-CORE for values of this field.
}
Timestamp ::= INTEGER
ListSize ::= INTEGER(1..32)
ForwardToDn ::= Dn--See Section 6.151 for the encoding
Empty ::= BIT STRING{
entireList(0),
outgoingmemorySlot(1),
incomingmemorySlot(2),
forwardToDn(3)
}
IPReturnBlock ::= [78] IMPLICIT OCTET STRING(SIZE(1..120))
JurisdictionInformation::= [147] IMPLICIT OCTET STRING(SIZE(3))
LampTreatment ::= [138] IMPLICIT OCTET STRING(SIZE(2..3))
Lata ::= [35] IMPLICIT AINDigits
-- range - 3 digits
LegID ::= [132] IMPLICIT INTEGER(0..2)
--The range is 0 - 2 for IDs.
MonitorTime ::= [65] IMPLICIT OCTET STRING(SIZE(3))
NetworkSpecificFacilities ::= [108] IMPLICIT OCTET STRING(SIZE(2..12))
NotificationDuration ::= [128] IMPLICIT INTEGER(1..99)
NotificationIndicator ::= BOOLEAN
-- TRUE = Switch Notification Message
-- FALSE = Switch Request Message
ODTMFDigitsString ::= [154] IMPLICIT AINDigits
--The range is 1 - 4
ODTMFNumberOfDigits ::= [155] IMPLICIT INTEGER(1..4)
ONoAnswerTimer ::= [91] IMPLICIT INTEGER(1..120)
OriginalCalledPartyID ::= [36] IMPLICIT AINDigits
-- range - 3 - 15 digits
OSIIndicator ::= [129] IMPLICIT BOOLEAN
--True = the switch should apply Open Switching Interval
--False = the switch should not apply Open Switching Interval
OutpulseNumber ::= [37] IMPLICIT AINDigits
-- 15 digits maximum
OverflowBillingIndicator ::= [38] IMPLICIT BillingIndicator
PartyID ::= [159] IMPLICIT ENUMERATED{
callingParty(0),
calledParty(1),
bothParties(2)
}
PartyOnHold ::= [146] IMPLICIT NULL
-- Presence = place party on hold
-- Absence = do not place party on hold
PassiveLegTreatment ::= [39] IMPLICIT ENUMERATED{
dialToneOn(0),
ringBackAudibleRingingToneOn(1),
networkCongestionReorderToneOn(3),
busyToneOn(4),
confirmationTone(5),
callWaitingTone(7),
tonesOff(63),
alertingOnPattern0Normal(64),
alertingOnPattern1DistinctiveIntergroup(65),
alertingOnPattern2DistinctiveSpecial(66),
alertingOnPattern3EKTS(67),
alertingOnPattern4ReminderRing(68),
alertingOff(79),
recallDialToneOn(17),
bargeInToneOn(18),
incomingAdditionalCallTone(251),
priorityAdditionalCallTone(252),
expensiveRouteWarningTone(253),
campOnTone(19),
receiverOffHookTone(20),
callingCardServiceTone(21),
stutterDialTone(22),
silence(23)
}
--The values shown in italics are not required for AIN and are reserved for future
-- AIN releases.
Prefix ::= [148] IMPLICIT ENUMERATED{
onePlus(0)
}
PointInCall ::= [135] IMPLICIT ENUMERATED{
oNull(1),
authorizeOrigAttempt(2),
collectInformation(3),
analyzeInformation(4),
selectRoute(5),
authorizeCallSetup(6),
sendCall(7),
oAlerting(8),
oActive(9),
oSuspended(10),
tNull(11),
authorizeTermination(12),
selectFacility(13),
presentCall(14),
tAlerting(15),
tActive(16),
tSuspended(17)
}
PrimaryBillingIndicator ::= [40] IMPLICIT BillingIndicator
PrimaryTrunkGroup ::= [42] IMPLICIT OCTET STRING(SIZE(5))
ProvideInfo ::= [114] IMPLICIT SEQUENCE{
requestGroups RequestGroups OPTIONAL,
requestMemorySlot [11] IMPLICIT RequestMemorySlot OPTIONAL
}
RequestGroups ::= CHOICE{
requestGroup1 [1] IMPLICIT RequestGroup1,
requestGroup2 [2] IMPLICIT RequestGroup2,
requestGroup3 [3] IMPLICIT RequestGroup3,
requestGroup4 [4] IMPLICIT RequestGroup4,
requestGroup5 [5] IMPLICIT RequestGroup5,
requestGroup6 [6] IMPLICIT RequestGroup6
}
RequestGroup1 ::= SEQUENCE{
service1 [1] IMPLICIT Service1,--See Section 6.4.2 for the encoding.
request1 [2] IMPLICIT Request1
}
Request1 ::= BIT STRING{
activationStatus(0)
}
RequestGroup2 ::= SEQUENCE{
service2 [1] IMPLICIT Service2,--See Section 6.4.2 for the encoding.
request2 [2] IMPLICIT Request2
}
Request2 ::= BIT STRING{
activationStatus(0),
delayInterval(1)
}
RequestGroup3 ::= SEQUENCE{
service3 [1] IMPLICIT Service3,--See Section 6.4.2 for the encoding
request3 [2] IMPLICIT Request3
}
Request3 ::= BIT STRING{
activationStatus(0),
entireList(1),
listSize(2)
}
RequestGroup4 ::= SEQUENCE{
service4 [1] IMPLICIT Service4,--See Section 6.4.2 for the encoding
request4 [2] IMPLICIT Request4
}
Request4 ::= BIT STRING{
activationStatus(0),
forwardingDn(1)
}
RequestGroup5 ::= SEQUENCE{
service5 [1] IMPLICIT Service5,--See Section 6.4.2 for the encoding
request5[2] IMPLICIT Request5
}
Request5 ::= BIT STRING{
activationStatus(0),
forwardingDn(1),
entireList(2),
listSize(3)
}
RequestGroup6 ::= SEQUENCE{
service6 [1] IMPLICIT Service6,--See Section 6.4.2 for encoding
request6 [2] IMPLICIT Request6
}
Request6 ::= BIT STRING{
delayInterval(0)
}
RequestMemorySlot ::= BIT STRING{
incoming(0),
outgoing(1)
}
RedirectingPartyID ::= [43] IMPLICIT AINDigits
-- range - 3 - 15 digits
RedirectionInformation ::= [44] IMPLICIT OCTET STRING(SIZE(2))
ResourceType ::= [45] IMPLICIT INTEGER(0..127)
ResultCause ::= [151] IMPLICIT ENUMERATED{
confServiceActivated(0),
confServiceDeactivatedorCancelled(1),
confAnonymousEntryAdded(2),
confPublicEntryAdded(3),
confAnonymousEntryRemoved(4),
confPublicEntryRemoved(5),
confAllAnonymousEntriesRemoved(6),
confAllEntriesRemoved(7),
confForwardingDnSet(8),
confForwardingDnCleared(9),
confDelayIntervalUpdated(10),
confInterdigitTimerOn(11),
confInterdigitTimerOff(12),
confDPConverterOn(13),
confDPConverterOff(14),
deniedServiceAlreadyActive(15),
deniedServiceNotActivated(16),
deniedInvalidForwardingDn(17),
deniedPermanentPresentationPrivate(18),
deniedPermanentPresentationPublic(19),
deniedListIsEmpty(20),
deniedListIsFull(21),
deniedAnonymousDnAlreadyOnList(22),
deniedPublicDnAlreadyOnList(23),
deniedNoMatch(24),
deniedDnNotOnList(25),
deniedIncomingMemorySlotEmpty(26),
deniedUnsuccessfulUpdate(27)
}
RTPReroutingNumber::= [143] IMPLICIT AINDigits
-- Range - 3 - 15 digits
RTPServiceIndicator ::= [144] IMPLICIT OCTET STRING(SIZE(1))
Sap ::= [81] IMPLICIT OCTET STRING(SIZE(1..10))
SecondAlternateBillingIndicator ::= [46] IMPLICIT BillingIndicator
SecondAlternateCarrier ::= [47] IMPLICIT CarrierFormat
-- range - 4 digits
SecondAlternateTrunkGroup ::= [48] IMPLICIT OCTET STRING(SIZE(5))
SecurityEnvelope ::= [85] IMPLICIT OCTET STRING(SIZE(3..75))
ServiceContext ::= [83] IMPLICIT INTEGER(0..32767)
ServiceProviderID ::= CHOICE{
ocn Ocn,
msrID MsrID
}
Ocn ::= [87] IMPLICIT IA5String(SIZE(4..8))
MsrID ::= [106] IMPLICIT AINDigits -- range - 10 digits
--identifies the Message Storage and Retrieval System
SignalingPointCode ::= [142] IMPLICIT OCTET STRING(SIZE(3))
--See Figure 1B of Chapter T1.111.4 of GR-246-CORE
-- for the definition of the contents of the SignalingPointCode OCTET STRING.
Spid ::= [49] IMPLICIT OCTET STRING(SIZE(3..20))
--This parameter includes a character string with 3 - 20 IA5 characters,
--the last 2 are required to be numeric in the range of 00 - 62.
SubsystemNumber ::= [130] IMPLICIT INTEGER(0..255)
--See Chapter T1.112.3 of GR-246-CORE for values of this parameter
SrhrGroupID ::= [77] IMPLICIT INTEGER(0..32767)
SSPResponseMessageTimerT1 ::= [166] IMPLICIT INTEGER(1..300)
--Units of tenths of seconds
StatusCause ::= [66] IMPLICIT ENUMERATED{
statusMatch(0),
timeOut(1),
error(2)
}
STRConnection ::= [96] IMPLICIT BOOLEAN
-- TRUE = reported event caused by Send_To_Resource
-- FALSE = reported event not caused by Send_To_Resource
StrParameterBlock ::= [50] CHOICE {
announcementBlock [0] IMPLICIT AnnouncementBlock,
announcementDigitBlock [1] IMPLICIT AnnouncementDigitBlock,
flexParameterBlock [2] IMPLICIT FlexParameterBlock
}
AnnouncementBlock ::= SEQUENCE{
uninterAnnounceBlock [1] IMPLICIT UninterAnnounceBlock OPTIONAL,
interAnnounceBlock [2] IMPLICIT InterAnnounceBlock OPTIONAL
}
UninterAnnounceBlock ::= SEQUENCE SIZE(1..10) OF AnnounceElement
InterAnnounceBlock ::= SEQUENCE SIZE(1..10) OF AnnounceElement
AnnounceElement ::= OCTET STRING(SIZE(3..131))
AnnouncementDigitBlock ::= SEQUENCE{
maximumDigits [0] IMPLICIT MaximumDigits,
uninterAnnounceBlock [1] IMPLICIT UninterAnnounceBlock OPTIONAL,
interAnnounceBlock [2] IMPLICIT InterAnnounceBlock OPTIONAL
}
MaximumDigits ::= INTEGER(0..255)
-- range: 0 - 32 is "fixed number of digits" (e.g., 5 means collect 5 digits)
-- 33 - 252 is spare
-- 253 is "normal number of digits"
-- 254 is "variable number of digits"
-- 255 is spare
FlexParameterBlock ::= OCTET STRING(SIZE(1..120))
Tcm ::= [51] IMPLICIT AINDigits
-- Range 1 - 4 digits
TDTMFDigitString ::= [157] IMPLICIT AINDigits
--The range is 1 - 4
TDTMFNumberOfDigits ::= [158] IMPLICIT INTEGER(1..4)
TerminationIndicator ::= [67] IMPLICIT OCTET STRING(SIZE(1))
TimeoutTimer ::= [139] IMPLICIT CHOICE{
intervalTime [0] IMPLICIT IntervalTime,
localSSPTime [1] IMPLICIT LocalSSPTime,
absoluteSCPTime [2] IMPLICIT AbsoluteSCPTime
}
IntervalTime ::= INTEGER(1..86400)
--IntervalTime is in units of seconds
LocalSSPTime ::= OCTET STRING(SIZE(7))
AbsoluteSCPTime ::= OCTET STRING(SIZE(7))
TimerUpdated ::= [167] IMPLICIT ENUMERATED{
success(0),
failure(1),
transaction-already-closed(2)
}
TNoAnswerTimer ::= [99] IMPLICIT INTEGER(1..120)
TransID ::= [163] IMPLICIT OCTET STRING(SIZE(4))
TranslationType ::= [70] IMPLICIT INTEGER(0..255)
--See Chapter T1.112.3 of GR-246-CORE for values of this parameter
TriggerCriteriaFlag ::= [68] IMPLICIT OCTET STRING(SIZE(2))
TriggerCriteriaType ::= [52] IMPLICIT ENUMERATED{
featureActivator(0),
verticalServiceCode(1),
customizedAccess(2),
customizedIntercom(3),
npa(4),
npaNXX(5),
nxx(6),
nxxXXXX(7),
npaNXXXXXX(8),
countryCodeNPANXXXXXX(9),
carrierAccess(10),
prefixes(11),
n11(12),
aFR(13),
sharedIOTrunk(14),
terminationAttempt(15),
offHookImmediate(16),
offHookDelay(17),
channelSetupPRI(18),
npaN(19),
npaNX(20),
npaNXXX(21),
npaNXXXX(22),
npaNXXXXX(23),
networkBusy(24),
tNoAnswer(25),
tBusy(26),
oCalledPartyBusy(27),
specificFeatureCode(28),
oNoAnswer(29),
priNetworkServices(30),
oSwitchHookFlashImmediate(31),
oFeatureActivator(32),
oSwitchHookFlashSpecifiedCode(33),
tSwitchHookFlashImmediate(34),
tFeatureActivator(35),
tSwitchHookFlashSpecifiedCode(36),
numberPortability(37),
onePlus(38),
specifiedCarrier(39),
international(40),
zeroPlus(41),
zeroMinus(42),
localNumberPortabilityPORC(43),
localNumberPortabilityPORCdonor(44),
reserved(45),
termResourceAvailable(46),
officePublicFeatureCode(47),
trunkGroup(48),
dedicatedTrunkGroup(49),
reserved(50)
}
TSTRCTimer ::= [156] IMPLICIT INTEGER(0..300)
--Units of minutes
UserID ::= [53] CHOICE{
dn [1] IMPLICIT Dn,
bri [2] IMPLICIT SEQUENCE {
spid Spid,
dn Dn
}, --BRI(ISDNI)
trunkGroupID [5] IMPLICIT TrunkGroupID,
privateFacilityGID [6] IMPLICIT PrivateFacilityGID,
aDSIcpeID ADSIcpeID
}
Dn ::= OCTET STRING(SIZE(5))
TriggerInformation ::= OCTET STRING(SIZE(0..31))
TrunkGroupID ::= INTEGER(0..9999)
PrivateFacilityGID ::= INTEGER(0..9999)
ADSIcpeID ::= OCTET STRING(SIZE(4))
VerticalServiceCode ::= [54] IMPLICIT AINDigits
-- Maximum 10 characters; the 1st character may be a * or digit.
--The remaining characters are always digits.
WakeUpDuration ::= [131] IMPLICIT INTEGER(1..999)
END |
Configuration | wireshark/epan/dissectors/asn1/ain/ain.cnf | # ain.cnf
# ain conformation file
#.EXPORTS
#.NO_EMIT ONLY_VALS
ROS
#.OMIT_ASSIGNMENT
# Removed as they are giving 'defined but not used' warnings currently.
Priority
RejectProblem
#.END
#.TYPE_RENAME
#.FIELD_RENAME
DisplayInformation/notificationIndicator displayInformation_notificationIndicator
Reject/problem/invoke invokeproblem
Action8/invoke action8_invoke
#.OMIT_ASSIGNMENT Remote-Operations-Information-Objects
Bind
Unbind
#.END
#.PDU
ERROR.&ParameterType
OPERATION.&ArgumentType
OPERATION.&ResultType
# This table creates the value_sting to name AIN operation codes and errors
# in file packet-ain-table.c which is included in the template file
#
#.TABLE_HDR
/* AIN OPERATIONS */
const value_string ain_opr_code_strings[] = {
#.TABLE_BODY OPERATION.&operationCode
{ %(&operationCode)-40s, "%(_ident)s" },
#.TABLE_FTR
{ 0, NULL }
};
#.END
#.TABLE_HDR
/* AIN ERRORS */
static const value_string ain_err_code_string_vals[] = {
#.TABLE_BODY ERROR.&errorCode
{ %(&errorCode)-40s, "%(_ident)s" },
#.TABLE_FTR
{ 0, NULL }
};
#.END
# This table creates the switch() to branch on AIN operation codes and errors
# in file packet-ain-table2.c which is included in the template file
#
#.TABLE2_HDR
static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx) {
switch(opcode){
#.TABLE2_BODY OPERATION.&ArgumentType
case %(&operationCode)s: /* %(_ident)s */
offset= %(_argument_pdu)s(tvb, actx->pinfo , tree , NULL);
break;
#.TABLE2_FTR
default:
proto_tree_add_expert_format(tree, actx->pinfo, &ei_ain_unknown_invokeData,
tvb, offset, -1, "Unknown invokeData %d", opcode);
/* todo call the asn.1 dissector */
break;
}
return offset;
}
#.END
#.TABLE2_HDR
static int dissect_returnResultData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx) {
switch(opcode){
#.TABLE2_BODY OPERATION.&ResultType
case %(&operationCode)s: /* %(_ident)s */
offset= %(_result_pdu)s(tvb, actx->pinfo , tree , NULL);
break;
#.TABLE2_FTR
default:
proto_tree_add_expert_format(tree, actx->pinfo, &ei_ain_unknown_returnResultData,
tvb, offset, -1, "Unknown returnResultData %d", opcode);
}
return offset;
}
#.END
#.TABLE2_HDR
static int dissect_returnErrorData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx) {
switch(errorCode) {
#.TABLE2_BODY ERROR.&ParameterType
case %(&errorCode)s: /* %(_ident)s */
offset= %(_parameter_pdu)s(tvb, actx->pinfo , tree , NULL);
break;
#.TABLE2_FTR
default:
proto_tree_add_expert_format(tree, actx->pinfo, &ei_ain_unknown_returnErrorData,
tvb, offset, -1, "Unknown returnErrorData %d", opcode);
}
return offset;
}
#.END
# Create a table of opcode and corresponding args and res
#.TABLE11_HDR
typedef struct _ain_op_t {
gint32 opcode;
dissector_t arg_pdu;
dissector_t res_pdu;
} ain_op_t;
static const ain_op_t ain_op_tab[] = {
#.TABLE11_BODY OPERATION.&operationCode
/* %(_name)-31s */ { %(&operationCode)-40s, %(_argument_pdu)-45s, %(_result_pdu)s },
#.TABLE11_FTR
};
#.END
#.TABLE11_HDR
typedef struct _ain_err_t {
gint32 errcode;
dissector_t err_pdu;
} ain_err_t;
static const ain_err_t ain_err_tab[] = {
#.TABLE11_BODY ERROR.&errorCode
/* %(_name)-30s */ { %(&errorCode)4s, %(_parameter_pdu)s },
#.TABLE11_FTR
};
#.END
# ROS stuff here XXX change when TCAP is redone.
#.FN_BODY Code/local VAL_PTR = &opcode
%(DEFAULT_BODY)s
if (ain_opcode_type == AIN_OPCODE_RETURN_ERROR){
errorCode = opcode;
col_append_str(actx->pinfo->cinfo, COL_INFO, val_to_str(errorCode, ain_err_code_string_vals, "Unknown AIN error (%%u)"));
col_append_str(actx->pinfo->cinfo, COL_INFO, " ");
col_set_fence(actx->pinfo->cinfo, COL_INFO);
}else{
col_append_str(actx->pinfo->cinfo, COL_INFO, val_to_str(opcode, ain_opr_code_strings, "Unknown AIN (%%u)"));
col_append_str(actx->pinfo->cinfo, COL_INFO, " ");
col_set_fence(actx->pinfo->cinfo, COL_INFO);
}
#.FN_HDR Invoke
ain_opcode_type=AIN_OPCODE_INVOKE;
#.FN_HDR ReturnResult
ain_opcode_type=AIN_OPCODE_RETURN_RESULT;
#.FN_HDR ReturnError
ain_opcode_type=AIN_OPCODE_RETURN_ERROR;
#.FN_HDR Reject
ain_opcode_type=AIN_OPCODE_REJECT;
#.FN_BODY Invoke/argument
offset = dissect_invokeData(tree, tvb, offset, actx);
#.FN_BODY ReturnResult/result/result
offset = dissect_returnResultData(tree, tvb, offset, actx);
#.FN_BODY ReturnError/parameter
offset = dissect_returnErrorData(tree, tvb, offset, actx);
# END ROS
#.FN_PARS ExtensionParameter/assignmentAuthority
FN_VARIANT = _str HF_INDEX = hf_ain_ext_type_oid VAL_PTR = &actx->external.direct_reference
#.FN_BODY ExtensionParameter/parameters
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
#.FN_BODY AINDigits VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_ain_digits);
proto_tree_add_item(subtree, hf_ain_odd_even_indicator, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ain_nature_of_address, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ain_numbering_plan, parameter_tvb, 1, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ain_bcd_digits, parameter_tvb, 2, tvb_reported_length_remaining(parameter_tvb, 2), ENC_BCD_DIGITS_0_9);
#.FN_BODY CarrierFormat VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_ain_carrierformat);
/* Carrier Selection */
proto_tree_add_item(subtree, hf_ain_carrier_selection, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
/* Nature of Carrier Number of Digits (always 4 )*/
proto_tree_add_item(subtree, hf_ain_nature_of_carrier, parameter_tvb, 1, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ain_nr_digits, parameter_tvb, 1, 1, ENC_BIG_ENDIAN);
/* 2nd Digit 1st Digit .. */
proto_tree_add_item(subtree, hf_ain_carrier_bcd_digits, parameter_tvb, 2, tvb_reported_length_remaining(parameter_tvb, 2), ENC_BCD_DIGITS_0_9);
#.FN_BODY AMAslpID VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_ain_amaslpid);
proto_tree_add_item(subtree, hf_ain_amaslpid, parameter_tvb, 0, tvb_reported_length_remaining(parameter_tvb, 0), ENC_BCD_DIGITS_0_9);
#.FIELD_ATTR
DisplayInformation/notificationIndicator ABBREV=displayInformation.notificationIndicator
Reject/problem/invoke ABBREV=invokeproblem
Action8/invoke ABBREV=action8.invoke
#.END
#
# Editor modelines - https://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 2
# tab-width: 8
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=2 tabstop=8 expandtab:
# :indentSize=2:tabSize=8:noTabs=true:
# |
Text | wireshark/epan/dissectors/asn1/ain/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME ain )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST_LATE
../ros/Remote-Operations-Information-Objects.asn
../ros/Remote-Operations-Generic-ROS-PDUs.asn
)
set( ASN_FILE_LIST
AIN-Operations.asn
AIN-Errors.asn
AIN-Parameters.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/ain/packet-ain-template.c | /* packet-ain-template.c
* Routines for AIN
* Copyright 2018, Anders Broman <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* Ref
* GR-1299-CORE
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/oids.h>
#include <epan/asn1.h>
#include <epan/expert.h>
#include "packet-ber.h"
#include "packet-ansi_tcap.h"
#if defined(__GNUC__)
/*
* This is meant to handle dissect_ain_ROS' defined but not used.
*
* DIAG_OFF doesn't work with llvm-gcc, for some unknown reason, so
* we just use the pragma directly.
*/
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
#define PNAME "Advanced Intelligent Network"
#define PSNAME "AIN"
#define PFNAME "ain"
void proto_register_ain(void);
void proto_reg_handoff_ain(void);
/* Initialize the protocol and registered fields */
static int proto_ain = -1;
static dissector_handle_t ain_handle;
/* include constants */
#include "packet-ain-val.h"
static int hf_ain_ext_type_oid = -1;
static int hf_ain_odd_even_indicator = -1;
static int hf_ain_nature_of_address = -1;
static int hf_ain_numbering_plan = -1;
static int hf_ain_bcd_digits = -1;
static int hf_ain_carrier_selection = -1;
static int hf_ain_nature_of_carrier = -1;
static int hf_ain_nr_digits = -1;
static int hf_ain_carrier_bcd_digits = -1;
static int hf_ain_amaslpid = -1;
#include "packet-ain-hf.c"
/* Initialize the subtree pointers */
static int ett_ain = -1;
static int ett_ain_digits = -1;
static int ett_ain_carrierformat = -1;
static int ett_ain_amaslpid = -1;
#include "packet-ain-ett.c"
static expert_field ei_ain_unknown_invokeData = EI_INIT;
static expert_field ei_ain_unknown_returnResultData = EI_INIT;
static expert_field ei_ain_unknown_returnErrorData = EI_INIT;
/* Global variables */
static guint32 opcode = 0;
static guint32 errorCode = 0;
//static const char *obj_id = NULL;
static int ain_opcode_type;
#define AIN_OPCODE_INVOKE 1
#define AIN_OPCODE_RETURN_RESULT 2
#define AIN_OPCODE_RETURN_ERROR 3
#define AIN_OPCODE_REJECT 4
/* Forvard declarations */
static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_);
static int dissect_returnResultData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_);
static int dissect_returnErrorData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx);
static const value_string ain_np_vals[] = {
{ 0, "Unknown or not applicable"},
{ 1, "ISDN Numbering Plan (ITU Rec. E.164)"},
{ 2, "Telephony Numbering (ITU-T Rec. E.164,E.163)"},
{ 3, "Data Numbering (ITU-T Rec. X.121)"},
{ 4, "Telex Numbering (ITU-T Rec. F.69)"},
{ 5, "Maritime Mobile Numbering"},
{ 6, "Land Mobile Numbering (ITU-T Rec. E.212)"},
{ 7, "Private Numbering Plan"},
{ 0, NULL }
};
static const value_string ain_carrier_selection_vals[] = {
{ 0, "No indication"},
{ 1, "Selected carrier identification code presubscribed and not input by calling party"},
{ 2, "Selected carrier identification code presubscribed and input by calling party"},
{ 3, "Selected carrier identification code presubscribed, no indication of whether input by calling party"},
{ 4, "Selected carrier identification code not presubscribed and input by calling party"},
{ 0, NULL }
};
static const value_string ain_nature_of_carrier_vals[] = {
{ 0, "No NOC Provided"},
{ 1, "local"},
{ 2, "intraLATA toll"},
{ 3, "interLATA"},
{ 4, "local, intraLATA toll and interLATA"},
{ 5, "local and intraLATA toll"},
{ 6, "intraLATA toll and interLATA"},
{ 0, NULL }
};
#include "packet-ain-table.c"
#include "packet-ain-fn.c"
#include "packet-ain-table2.c"
static int
dissect_ain(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data _U_)
{
proto_item *ain_item;
proto_tree *ain_tree = NULL;
struct ansi_tcap_private_t *p_private_tcap = (struct ansi_tcap_private_t *)data;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
/* The TCAP dissector should have provided data but didn't so reject it. */
if (data == NULL)
return 0;
/*
* Make entry in the Protocol column on summary display
*/
col_set_str(pinfo->cinfo, COL_PROTOCOL, "AIN");
/*
* create the AIN protocol tree
*/
ain_item = proto_tree_add_item(parent_tree, proto_ain, tvb, 0, -1, ENC_NA);
ain_tree = proto_item_add_subtree(ain_item, ett_ain);
switch (p_private_tcap->d.pdu) {
/*
1 : invoke,
2 : returnResult,
3 : returnError,
4 : reject
*/
case 1:
opcode = p_private_tcap->d.OperationCode_private;
/*ansi_map_is_invoke = TRUE;*/
col_add_fstr(pinfo->cinfo, COL_INFO, "%s Invoke ", val_to_str(opcode, ain_opr_code_strings, "Unknown AIN PDU (%u)"));
proto_item_append_text(p_private_tcap->d.OperationCode_item, " %s", val_to_str(opcode, ain_opr_code_strings, "Unknown AIN PDU (%u)"));
dissect_invokeData(ain_tree, tvb, 0, &asn1_ctx);
/*update_saved_invokedata(pinfo, p_private_tcap);*/
break;
//case 2:
// opcode = find_saved_invokedata(&asn1_ctx, p_private_tcap);
// col_add_fstr(pinfo->cinfo, COL_INFO, "%s ReturnResult ", val_to_str_ext(opcode, &ansi_map_opr_code_strings_ext, "Unknown ANSI-MAP PDU (%u)"));
// proto_item_append_text(p_private_tcap->d.OperationCode_item, " %s", val_to_str_ext(opcode, &ansi_map_opr_code_strings_ext, "Unknown ANSI-MAP PDU (%u)"));
// dissect_returnData(ain_tree, tvb, 0, &asn1_ctx);
// break;
case 3:
col_add_fstr(pinfo->cinfo, COL_INFO, "%s ReturnError ", val_to_str(opcode, ain_opr_code_strings, "Unknown AIN PDU (%u)"));
break;
case 4:
col_add_fstr(pinfo->cinfo, COL_INFO, "%s Reject ", val_to_str(opcode, ain_opr_code_strings, "Unknown AIN PDU (%u)"));
break;
default:
/* Must be Invoke ReturnResult ReturnError or Reject */
DISSECTOR_ASSERT_NOT_REACHED();
break;
}
return tvb_captured_length(tvb);
}
void proto_reg_handoff_ain(void) {
/*static gboolean ain_prefs_initialized = FALSE;*/
/*static range_t *ssn_range;*/
}
void proto_register_ain(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_ain_ext_type_oid,
{ "AssignmentAuthority", "ain.ext_type_oid",
FT_STRING, BASE_NONE, NULL, 0,
"Type of ExtensionParameter", HFILL } },
{ &hf_ain_odd_even_indicator,
{ "Odd/even indicator", "ain.odd_even_indicator",
FT_BOOLEAN, 8, TFS(&tfs_odd_even), 0x80,
NULL, HFILL } },
{ &hf_ain_nature_of_address,
{ "Nature of address", "ain.nature_of_address",
FT_UINT8, BASE_DEC, NULL, 0x7f,
NULL, HFILL } },
{ &hf_ain_numbering_plan,
{ "Numbering plan", "ain.numbering_plan",
FT_UINT8, BASE_DEC, VALS(ain_np_vals), 0x70,
NULL, HFILL } },
{ &hf_ain_bcd_digits,
{ "BCD digits", "ain.bcd_digits",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL } },
{ &hf_ain_carrier_selection,
{ "Carrier Selection", "ain.carrier_selection",
FT_UINT8, BASE_DEC, VALS(ain_carrier_selection_vals), 0x0,
NULL, HFILL } },
{ &hf_ain_nature_of_carrier,
{ "Nature of Carrier", "ain.nature_of_carrier",
FT_UINT8, BASE_DEC, VALS(ain_nature_of_carrier_vals), 0xf0,
NULL, HFILL } },
{ &hf_ain_nr_digits,
{ "Number of Digits", "ain.nature_of_carrier",
FT_UINT8, BASE_DEC, NULL, 0x0f,
NULL, HFILL } },
{ &hf_ain_carrier_bcd_digits,
{ "Carrier digits", "ain.carrier_bcd_digits",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL } },
{ &hf_ain_amaslpid,
{ "AMAslpID", "ain.amaslpid",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL } },
#include "packet-ain-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_ain,
&ett_ain_digits,
&ett_ain_carrierformat,
&ett_ain_amaslpid,
#include "packet-ain-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_ain_unknown_invokeData,{ "ain.unknown.invokeData", PI_MALFORMED, PI_WARN, "Unknown invokeData", EXPFILL } },
{ &ei_ain_unknown_returnResultData,{ "ain.unknown.returnResultData", PI_MALFORMED, PI_WARN, "Unknown returnResultData", EXPFILL } },
{ &ei_ain_unknown_returnErrorData,{ "ain.unknown.returnErrorData", PI_MALFORMED, PI_WARN, "Unknown returnResultData", EXPFILL } },
};
expert_module_t* expert_ain;
/* Register protocol */
proto_ain = proto_register_protocol(PNAME, PSNAME, PFNAME);
ain_handle = register_dissector("ain", dissect_ain, proto_ain);
/* Register fields and subtrees */
proto_register_field_array(proto_ain, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_ain = expert_register_protocol(proto_ain);
expert_register_field_array(expert_ain, ei, array_length(ei));
}
/*
* Editor modelines
*
* Local Variables:
* c-basic-offset: 2
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* ex: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true:
*/ |
ASN.1 | wireshark/epan/dissectors/asn1/ansi_map/ansi_map.asn | -- Copyright 2005 - 2009 Anders Broman
MAP-Protocol{ 0 identified-organization (4) etsi (0) mobileDomain (0) gsm-Network (1) modules (3) map-Protocol (4) version5 (5) }
DEFINITIONS ::=
BEGIN
-- Import from GSM MAP for convenience
IMPORTS
IMSI
FROM MAP-CommonDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CommonDataTypes (18) version12 (12)}
;
-- 6.4.2.1
-- http://www.3gpp2.org/Public_html/specs/X.S0004-550-E_v2.0_070723.pdf
AuthenticationDirective ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
--M 6.5.2.63
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
--M 6.5.2.81
msid MSID OPTIONAL,
--
authenticationAlgorithmVersion [77] IMPLICIT AuthenticationAlgorithmVersion OPTIONAL,
-- O 6.5.2.7 a
authenticationResponseReauthentication [182] IMPLICIT AuthenticationResponseReauthentication OPTIONAL,
-- O 6.5.2.mT j
authenticationResponseUniqueChallenge [37] IMPLICIT AuthenticationResponseUniqueChallenge OPTIONAL,
-- O 6.5.2.12 b
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL,
-- O 6.5.2.18
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 m
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 j
caveKey [316] IMPLICIT CaveKey OPTIONAL,
-- CaveKey O 2.38 p X.S0004-550-E_v1.0_040406.pdf
denyAccess [50] IMPLICIT DenyAccess OPTIONAL,
-- O 6.5.2.54 d
destinationDigits [87] IMPLICIT DestinationDigits OPTIONAL,
-- O 6.5.2.56
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 e
randomVariableReauthentication [191] IMPLICIT RandomVariableReauthentication OPTIONAL,
-- O 6.5.2.uT j
meid [390] IMPLICIT MEID OPTIONAL,
-- O
mobileStationMIN [184] IMPLICIT MobileStationMIN OPTIONAL,
-- O 6.5.2.oC j
mscid [21] IMPLICIT MSCID OPTIONAL,
-- O 6.5.2.82 n
randomVariableSSD [42] IMPLICIT RandomVariableSSD OPTIONAL,
-- O 6.5.2.103 f
randomVariableUniqueChallenge [43] IMPLICIT RandomVariableUniqueChallenge OPTIONAL,
-- O 6.5.2.104 b
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 g
-- ServiceIndicator O 2.221 k
sharedSecretData [46] IMPLICIT SharedSecretData OPTIONAL,
-- O 6.5.2.119 c
signalingMessageEncryptionKey [45] IMPLICIT SignalingMessageEncryptionKey OPTIONAL,
-- O 6.5.2.120 m
ssdnotShared [52] IMPLICIT SSDNotShared OPTIONAL,
-- O 6.5.2.141 h
updateCount [51] IMPLICIT UpdateCount OPTIONAL
-- O 6.5.2.163 i
-- VoicePrivacyMask O 2.297 m
}
-- AuthenticationDirective RETURN RESULT Parameters
AuthenticationDirectiveRes ::= [PRIVATE 18] SET {
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL
-- O 6.5.2.18 a
}
-- 6.4.2.2
AuthenticationDirectiveForward ::= [PRIVATE 18] SET {
-- AuthenticationDirectiveForward INVOKE Parameters
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
--M 6.5.2.81
authenticationResponseUniqueChallenge [37] IMPLICIT AuthenticationResponseUniqueChallenge OPTIONAL,
-- O 6.5.2.12 b
randomVariableUniqueChallenge [43] IMPLICIT RandomVariableUniqueChallenge OPTIONAL,
-- O 6.5.2.104 b
updateCount [51] IMPLICIT UpdateCount OPTIONAL,
-- O 6.5.2.163 b
...
}
-- AuthenticationDirectiveForward RETURN RESULT Parameters
AuthenticationDirectiveForwardRes ::= [PRIVATE 18] SET {
countUpdateReport [138] IMPLICIT CountUpdateReport OPTIONAL,
-- O 6.5.2.52 a
uniqueChallengeReport [124] IMPLICIT UniqueChallengeReport OPTIONAL,
-- O 6.5.2.162
...
}
-- http://www.3gpp2.org/Public_html/specs/X.S0004-540-E_v2.0_070723.pdf
-- 6.4.2.3 AuthenticationFailureReport
AuthenticationFailureReport ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
--M 6.5.2.63
msid MSID OPTIONAL,
reportType [44] IMPLICIT ReportType,
-- M 6.5.2.112
systemAccessType [34] IMPLICIT SystemAccessType,
-- M 6.5.2.145
systemCapabilities [49] IMPLICIT SystemCapabilities,
-- (Serving) M 6.5.2.146
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL,
-- O 6.5.2.18 a
callHistoryCountExpected [79] IMPLICIT CallHistoryCountExpected OPTIONAL,
-- O 6.5.2.19 a
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Serving MSC) O 6.5.2.82 b
reportType2 [44] IMPLICIT ReportType OPTIONAL,
-- M 6.5.2.112 c optional?
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 d
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 6.5.2.154
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- AuthenticationFailureReport RETURN RESULT Parameters
AuthenticationFailureReportRes ::= [PRIVATE 18] SET {
authenticationAlgorithmVersion [77] IMPLICIT AuthenticationAlgorithmVersion OPTIONAL,
-- O 6.5.2.7 a
authenticationResponseUniqueChallenge [37] IMPLICIT AuthenticationResponseUniqueChallenge OPTIONAL,
--O 6.5.2.12 b
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL,
--O 6.5.2.18 c
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 i
denyAccess [50] IMPLICIT DenyAccess OPTIONAL,
-- O 6.5.2.54 d
destinationDigits [87] IMPLICIT DestinationDigits OPTIONAL,
-- O 6.5.2.56 i
randomVariableSSD [42] IMPLICIT RandomVariableSSD OPTIONAL,
-- O 6.5.2.103 e
randomVariableUniqueChallenge [43] IMPLICIT RandomVariableUniqueChallenge OPTIONAL,
-- O 6.5.2.104 b
sharedSecretData [46] IMPLICIT SharedSecretData OPTIONAL,
-- O 6.5.2.119 c
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114
ssdnotShared [52] IMPLICIT SSDNotShared OPTIONAL,
-- O 6.5.2.141 f
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 6.5.2.154 g
updateCount [51] IMPLICIT UpdateCount OPTIONAL
-- O 6.5.2.163 h
}
-- 6.4.2.4 AuthenticationRequest
AuthenticationRequest ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
msid MSID OPTIONAL,
--M 6.5.2.bu
mscid [21] IMPLICIT MSCID,
-- (Serving MSC) M 6.5.2.82
systemAccessType [34] IMPLICIT SystemAccessType,
-- M 6.5.2.145
systemCapabilities [49] IMPLICIT SystemCapabilities,
-- (Serving) M 6.5.2.146
authenticationData [161] IMPLICIT AuthenticationData OPTIONAL,
-- O 6.5.2.9 a
authenticationResponse [35] IMPLICIT AuthenticationResponse,
-- O 6.5.2.10 b
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL,
-- O 6.5.2.18 b
cdmaNetworkIdentification [232] IMPLICIT CDMANetworkIdentification OPTIONAL,
-- (Serving MSC) O 6.5.2.bk
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Actual) O 6.5.2.50 c
controlChannelMode [199] IMPLICIT ControlChannelMode OPTIONAL,
-- O 6.5.2.ac
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) O 6.5.2.58 d
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Serving MSC or VLR or HLR) O 6.5.2.93 e
randomVariable [40] IMPLICIT RandomVariable OPTIONAL,
-- O 6.5.2.101 b
serviceRedirectionCause [237] IMPLICIT ServiceRedirectionCause OPTIONAL,
-- O 6.5.2.bp
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 f
suspiciousAccess [285] IMPLICIT SuspiciousAccess OPTIONAL,
-- O 6.5.2.do h
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 6.5.2.154 g
transactionCapability [123] IMPLICIT TransactionCapability OPTIONAL,
-- O 6.5.2.160
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- AuthenticationRequest RETURN RESULT Parameters
AuthenticationRequestRes ::= [PRIVATE 18] SET {
analogRedirectRecord [225] IMPLICIT AnalogRedirectRecord OPTIONAL,
-- O 6.5.2.bd j
authenticationAlgorithmVersion [77] IMPLICIT AuthenticationAlgorithmVersion OPTIONAL,
-- O 6.5.2.7 a
authenticationResponseUniqueChallenge [37] IMPLICIT AuthenticationResponseUniqueChallenge OPTIONAL,
-- O 6.5.2.12 b
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL,
-- O 6.5.2.18 c
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 i
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
--O 6.5.2.36 d
cdmaRedirectRecord [229] IMPLICIT CDMARedirectRecord OPTIONAL,
-- O 6.5.2.bh k
dataKey [215] IMPLICIT DataKey OPTIONAL,
-- O 6.5.2.at j
denyAccess [50] IMPLICIT DenyAccess OPTIONAL,
-- O 6.5.2.54 e
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 l
roamingIndication [239] IMPLICIT RoamingIndication OPTIONAL,
-- O 6.5.2.br m
serviceRedirectionInfo [238] IMPLICIT ServiceRedirectionInfo OPTIONAL,
-- O 6.5.2.bq j, k
destinationDigits [87] IMPLICIT DestinationDigits OPTIONAL,
-- O 6.5.2.56 i
randomVariableSSD [42] IMPLICIT RandomVariableSSD OPTIONAL,
-- O 6.5.2.103 f
randomVariableUniqueChallenge [43] IMPLICIT RandomVariableUniqueChallenge OPTIONAL,
-- O 6.5.2.104 b
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114
sharedSecretData [46] IMPLICIT SharedSecretData OPTIONAL,
-- O 6.5.2.119 c
signalingMessageEncryptionKey [45] IMPLICIT SignalingMessageEncryptionKey OPTIONAL,
-- O 6.5.2.120 g
ssdnotShared [52] IMPLICIT SSDNotShared OPTIONAL,
-- O 6.5.2.141 h
updateCount [51] IMPLICIT UpdateCount OPTIONAL,
-- O 6.5.2.163 i
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL,
-- O 6.5.2.166 d
...
}
-- 6.4.2.5 AuthenticationStatusReport
AuthenticationStatusReport ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
msid MSID OPTIONAL,
--
systemCapabilities [49] IMPLICIT SystemCapabilities,
-- (Serving) M 6.5.2.146
countUpdateReport [138] IMPLICIT CountUpdateReport OPTIONAL,
-- O 6.5.2.52 a
meid [390] IMPLICIT MEID OPTIONAL,
--
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Serving) O 6.5.2.82 e
reauthenticationReport [192] IMPLICIT ReauthenticationReport OPTIONAL,
-- O 6.5.2.vT e
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 b
serviceIndicator [193] IMPLICIT ServiceIndicator OPTIONAL,
-- O 6.5.2.wB e
signalingMessageEncryptionReport [194] IMPLICIT SignalingMessageEncryptionReport OPTIONAL,
-- O 6.5.2.xB h
ssdUpdateReport [156] IMPLICIT SSDUpdateReport OPTIONAL,
-- O 6.5.2.142 c
uniqueChallengeReport [124] IMPLICIT UniqueChallengeReport OPTIONAL,
-- O 6.5.2.162 d
voicePrivacyReport [196] IMPLICIT VoicePrivacyReport OPTIONAL
-- O 6.5.2.zB g
}
-- AuthenticationStatusReport RETURN RESULT Parameters
AuthenticationStatusReportRes ::= [PRIVATE 18] SET {
authenticationAlgorithmVersion [77] IMPLICIT AuthenticationAlgorithmVersion OPTIONAL,
-- O 6.5.2.7 a
authenticationResponseUniqueChallenge [37] IMPLICIT AuthenticationResponseUniqueChallenge OPTIONAL,
-- O 6.5.2.12 b
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL,
-- O 6.5.2.18 c
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 i
denyAccess [50] IMPLICIT DenyAccess OPTIONAL,
-- O 6.5.2.54 d
destinationDigits [87] IMPLICIT DestinationDigits OPTIONAL,
-- O 6.5.2.56 i
randomVariableSSD [42] IMPLICIT RandomVariableSSD OPTIONAL,
-- O 6.5.2.103 e
randomVariableUniqueChallenge [43] IMPLICIT RandomVariableUniqueChallenge OPTIONAL,
-- O 6.5.2.104 b
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114
sharedSecretData [46] IMPLICIT SharedSecretData OPTIONAL,
-- O 6.5.2.119 c
ssdnotShared [52] IMPLICIT SSDNotShared OPTIONAL,
-- O 6.5.2.141 f
updateCount [51] IMPLICIT UpdateCount OPTIONAL,
-- O 6.5.2.163 g
...
}
-- 6.4.2.6 BaseStationChallenge
BaseStationChallenge ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
msid MSID OPTIONAL,
--
randomVariableBaseStation [41] IMPLICIT RandomVariableBaseStation,
-- M 6.5.2.102
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 a
serviceIndicator [193] IMPLICIT ServiceIndicator OPTIONAL,
-- O 6.5.2.wB b
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- BaseStationChallenge RETURN RESULT Parameters
BaseStationChallengeRes ::= [PRIVATE 18] SET {
authenticationResponseBaseStation [36] IMPLICIT AuthenticationResponseBaseStation,
-- M 6.5.2.11
...
}
-- 6.4.2.7 Blocking
Blocking ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
...
}
-- Blocking RETURN RESULT Parameters
-- zero octets
-- 6.4.2.8 BulkDeregistration
BulkDeregistration ::= [PRIVATE 18] SET {
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- M 6.5.2.116
...
}
-- BulkDeregistration RETURN RESULT Parameters
-- zero octets
-- 6.4.2.9 CountRequest
CountRequest ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 a
meid [390] IMPLICIT MEID OPTIONAL,
-- O
...
}
--CountRequest RETURN RESULT Parameters
CountRequestRes ::= [PRIVATE 18] SET {
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL,
-- O 6.5.2.18 a
...
}
-- 6.4.2.10 FacilitiesDirective
FacilitiesDirective ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- M 6.5.2.16
channelData [5] IMPLICIT ChannelData,
-- (Serving) M 6.5.2.47 a
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
interSwitchCount [7] IMPLICIT InterSwitchCount,
-- M 6.5.2.73
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
servingCellID [2] IMPLICIT ServingCellID,
-- M 6.5.2.117
stationClassMark [18] IMPLICIT StationClassMark,
-- M 6.5.2.143
targetCellID [3] IMPLICIT TargetCellID,
-- M 6.5.2.148
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Desired) O 6.5.2.50 b
handoffReason [30] IMPLICIT HandoffReason OPTIONAL,
-- O 6.5.2.70 c
handoffState [164] IMPLICIT HandoffState OPTIONAL,
-- O 6.5.2.71 d
signalingMessageEncryptionKey [45] IMPLICIT SignalingMessageEncryptionKey OPTIONAL,
-- O 6.5.2.120 e
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Serving) O 6.5.2.151 f
tdmaCallMode [29] IMPLICIT TDMACallMode OPTIONAL,
-- O 6.5.2.152 g
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.153 f
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL,
-- O 6.5.2.166 h
...
}
-- FacilitiesDirective RETURN RESULT Parameters
FacilitiesDirectiveRes ::= [PRIVATE 18] SET {
channelData [5] IMPLICIT ChannelData,
-- (Target) M 6.5.2.47 a
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Actual) O 6.5.2.50 b
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Target) O 6.5.2.151 c
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL
-- (Target) O 6.5.2.153 d ...
}
-- 6.4.2.11 FacilitiesDirective2
-- N.S0007-0 v 1.0
FacilitiesDirective2 ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- M 6.5.2.16
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
interSwitchCount [7] IMPLICIT InterSwitchCount,
-- M 6.5.2.73
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
servingCellID [2] IMPLICIT ServingCellID,
-- M 6.5.2.117
baseStationManufacturerCode [197] IMPLICIT BaseStationManufacturerCode OPTIONAL,
-- O 6 .5.2.aa a a
alertCode [75] IMPLICIT AlertCode OPTIONAL,
-- O 6.5.2.3 s
cdma2000HandoffInvokeIOSData [356] IMPLICIT CDMA2000HandoffInvokeIOSData OPTIONAL,
--O 6.5.2.gm xx
cdmaBandClassList [172] IMPLICIT CDMABandClassList OPTIONAL,
-- O 6.5.2.c r
cdmaCallMode [62] IMPLICIT CDMACallMode OPTIONAL,
-- O 6.5.2.29 c, d, e
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.30 c
cdmaConnectionReferenceList [212] IMPLICIT CDMAConnectionReferenceList OPTIONAL,
-- O 6.5.2.aq c, t, aa
cdmaMobileProtocolRevision [66] IMPLICIT CDMAMobileProtocolRevision OPTIONAL,
-- O 6.5.2.34 c
cdmaMSMeasuredChannelIdentity [351] IMPLICIT CDMAMSMeasuredChannelIdentity OPTIONAL,
-- O 6.5.2.gh nn
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 f
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
-- O 6.5.2.e c, s
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g
cdmaServingOneWayDelay [60] IMPLICIT CDMAServingOneWayDelay OPTIONAL,
-- O 6.5.2.38 a, c
cdmaStationClassMark [59] IMPLICIT CDMAStationClassMark OPTIONAL,
-- O 6.5.2.41 c
cdmaStationClassMark2 [177] IMPLICIT CDMAStationClassMark2 OPTIONAL,
-- O 6.5.2.h TSB76 c, mm
cdmaTargetMAHOList [136] IMPLICIT CDMATargetMAHOList OPTIONAL,
-- O 6.5.2.43 g
cdmaTargetMeasurementList [134] IMPLICIT CDMATargetMeasurementList OPTIONAL,
-- O 6.5.2.45 h
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) O 6.5.2.47 i
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Desired) O 6.5.2.50 b
dataKey [215] IMPLICIT DataKey OPTIONAL,
-- O 6.5.2.at aa
dataPrivacyParameters [216] IMPLICIT DataPrivacyParameters OPTIONAL,
-- O 6.5.2.au x
handoffReason [30] IMPLICIT HandoffReason OPTIONAL,
-- O 6.5.2.70 c
handoffState [164] IMPLICIT HandoffState OPTIONAL,
-- O 6.5.2.71 d
ilspInformation [217] IMPLICIT ISLPInformation OPTIONAL,
--(Desired) O 6.5.2.av u
msLocation [70] IMPLICIT MSLocation OPTIONAL,
-- O 6.5.2.84 c
nampsCallMode [165] IMPLICIT NAMPSCallMode OPTIONAL,
-- O 6.5.2.85 e, m
nampsChannelData [74] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Serving) O 6.5.2.86 n
randomVariable [40] IMPLICIT RandomVariable OPTIONAL,
-- O 6.5.2.101 aa
nonPublicData [200] IMPLICIT NonPublicData OPTIONAL,
-- O 6.5.2.ad t
pdsnAddress [349] IMPLICIT PDSNAddress OPTIONAL,
--O 6.5.2.gf gg
pdsnProtocolType [350] IMPLICIT PDSNProtocolType OPTIONAL,
-- O 6.5.2.gg hh
qosPriority [348] IMPLICIT QoSPriority OPTIONAL,
-- O 6.5.2.ge ff
signalingMessageEncryptionKey [45] IMPLICIT SignalingMessageEncryptionKey OPTIONAL,
-- O 6.5.2.120 j
stationClassMark [18] IMPLICIT StationClassMark,
-- M 6.5.2.143
systemOperatorCode [206] IMPLICIT SystemOperatorCode OPTIONAL,
-- O 6 .5.2.a j b b
targetCellID [3] IMPLICIT TargetCellID OPTIONAL,
-- O 6.5.2.148 b
tdmaBandwidth [220] IMPLICIT TDMABandwidth OPTIONAL,
-- (Desired) O 6.5.2.ay z
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Serving) O 6.5.2.151 o
tdmaCallMode [29] IMPLICIT TDMACallMode OPTIONAL,
-- O 6.5.2.152 e, p
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.153 o
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6 .5.2.i x
tdmaTerminalCapability [179] TDMATerminalCapability OPTIONAL,
-- y O 6 .5.2.j x
tdmaVoiceCoder [180] IMPLICIT TDMAVoiceCoder OPTIONAL,
-- O 6.5.2.k u
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 6 .5.2.154
userZoneData [209] IMPLICIT UserZoneData OPTIONAL,
-- O 6.5.2.am (IS-730) v
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL,
-- O 6.5.2.166 q
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- FacilitiesDirective2 RETURN RESULT Parameters
FacilitiesDirective2Res ::= [PRIVATE 18] SET {
bsmcstatus [198] IMPLICIT BSMCStatus OPTIONAL,
--
cdma2000HandoffResponseIOSData [357] IMPLICIT CDMA2000HandoffResponseIOSData OPTIONAL,
-- O 6.5.2.gn yy
-- O 6 .5.2.a b f
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Target) O 6.5.2.30 a
cdmaCodeChannelList [132] IMPLICIT CDMACodeChannelList OPTIONAL,
-- O 6.5.2.33 a
cdmaConnectionReferenceList [212] IMPLICIT CDMAConnectionReferenceList OPTIONAL,
-- O 6.5.2.aq a, i,
cdmaSearchParameters [230] IMPLICIT CDMASearchParameters OPTIONAL,
--O 6.5.2.bi a, k
cdmaSearchWindow [69] IMPLICIT CDMASearchWindow OPTIONAL,
-- O 6.5.2.37 a
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
-- O 6.5.2.e a, h
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Target) O 6.5.2.47 b
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Actual) O 6.5.2.50 c
ilspInformation [217] IMPLICIT ISLPInformation OPTIONAL,
-- (Actual) O 6.5.2.av j
nampsChannelData [74] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Target) O 6.5.2.86 d
sOCStatus [205] IMPLICIT SOCStatus OPTIONAL,
-- O 6 .5.2.a i f
targetCellID [3] IMPLICIT TargetCellID OPTIONAL,
-- O 6.5.2.148 e
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Target) O 6.5.2.151 f
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Target) O 6.5.2.153 g
tdmaVoiceCoder [180] IMPLICIT TDMAVoiceCoder OPTIONAL
-- (Target ) O 6 .5.2.k h
}
-- 6.4.2.12 FacilitiesRelease
FacilitiesRelease ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
releaseReason [10] IMPLICIT ReleaseReason,
-- M 6.5.2.111
billingID [1] IMPLICIT BillingID OPTIONAL,
-- O 6.5.2.16 a
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL
-- O 6.5.2.81
}
-- FacilitiesRelease RETURN RESULT Parameters
FacilitiesReleaseRes ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID OPTIONAL
-- O 6.5.2.16
}
-- Updated with N.S0004, N.S0012-0 v 1.0 N.S0023-0 v 1.0
-- http://www.3gpp2.org/Public_html/specs/X.S0004-540-E_v2.0_070723.pdf
-- 6.4.2.13 FeatureRequest
FeatureRequest ::= [PRIVATE 18] SET {
digits [4] IMPLICIT Digits,
-- (Dialed) M 6.5.2.58
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
msid MSID OPTIONAL,
--
billingID [1] IMPLICIT BillingID OPTIONAL,
-- O 6.5.2.16
acgencountered [340] IMPLICIT ACGEncountered OPTIONAL,
-- O 6.5.2.fv
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw c
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 c
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 c
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 c
conferenceCallingIndicator [137] IMPLICIT ConferenceCallingIndicator OPTIONAL,
-- O 6.5.2.49
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 d
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Serving) O 6.5.2.82 e
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 f
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- O 6.5.2.93
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL,
-- (Originating MSC)
transactionCapability [123] IMPLICIT TransactionCapability OPTIONAL,
-- 6.5.2.160
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- FeatureRequest RETURN RESULT Parameters
FeatureRequestRes ::= [PRIVATE 18] SET {
featureResult [18] IMPLICIT FeatureResult,
-- M 6.5.2.67
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 a
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 b
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 c
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 d
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 d
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 d
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 d
conferenceCallingIndicator [137] IMPLICIT ConferenceCallingIndicator OPTIONAL,
-- O 6.5.2.49 e
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) O 6.5.2.58 f
digits-Destination [4] IMPLICIT Digits OPTIONAL,
-- (Destination) O 6.5.2.58 l
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx l, m
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- O 6.5.2.ec l, m
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 g
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 g
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 g
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 d
groupInformation [163] IMPLICIT GroupInformation OPTIONAL,
-- O 6.5.2.69 h
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 g
noAnswerTime [96] IMPLICIT NoAnswerTime OPTIONAL,
-- O 6.5.2.87 d
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 i
pACAIndicator [146] IMPLICIT PACAIndicator OPTIONAL,
-- O 6.5.2.91 j
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 h
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 n, o
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 d
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 d
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 d
resumePIC [266] IMPLICIT ResumePIC OPTIONAL,
-- O 6.5.2.cu m
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 d
terminationList [120] IMPLICIT TerminationList OPTIONAL,
-- O 6.5.2.156 k
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 d
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de n
}
-- 6.4.2.14 FlashRequest
FlashRequest ::= [PRIVATE 18] SET {
digits [4] IMPLICIT Digits,
-- (Dialed) M 6.5.2.58 a
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Actual) O 6.5.2.50 b
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63
emergencyServicesRoutingDigits [239] IMPLICIT EmergencyServicesRoutingDigits OPTIONAL
-- O 6.5.bs
}
-- FlashRequest RETURN RESULT Parameters
-- zero octets
-- 6.4.2.15 HandoffBack
HandoffBack ::= [PRIVATE 18] SET {
channelData [5] IMPLICIT ChannelData,
-- (Serving) M 6.5.2.47 a
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
servingCellID [2] IMPLICIT ServingCellID,
-- M 6.5.2.117
targetCellID [3] IMPLICIT TargetCellID,
-- M 6.5.2.148
billingID [1] IMPLICIT BillingID OPTIONAL,
-- O 6.5.2.16 b
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Desired) O 6.5.2.50 c
handoffReason [30] IMPLICIT HandoffReason OPTIONAL,
-- O 6.5.2.70 d
handoffState [164] IMPLICIT HandoffState OPTIONAL,
-- O 6.5.2.71 e
signalingMessageEncryptionKey [45] IMPLICIT SignalingMessageEncryptionKey OPTIONAL,
-- O 6.5.2.120 c, f
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Serving) O 6.5.2.151 g
tdmaCallMode [29] IMPLICIT TDMACallMode OPTIONAL,
-- O 6.5.2.152 h
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.153 g
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL,
-- O 6.5.2.166 i
...
}
-- HandoffBack RETURN RESULT Parameters
HandoffBackRes ::= [PRIVATE 18] SET {
channelData [5] IMPLICIT ChannelData,
-- (Target) M 6.5.2.47 a
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Actual) O 6.5.2.50 b
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Target) O 6.5.2.151 c
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Target) O 6.5.2.153 d
...
}
--6.4.2.16 HandoffBack2
HandoffBack2 ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- M 6.5.2.16
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- M 6.5.2.117 a
baseStationManufacturerCode [197] IMPLICIT BaseStationManufacturerCode OPTIONAL,
-- O 6 .5.2.a a u
cdma2000HandoffInvokeIOSData [356] IMPLICIT CDMA2000HandoffInvokeIOSData OPTIONAL,
-- O 6.5.2.gm xx
cdmaBandClassList [172] IMPLICIT CDMABandClassList OPTIONAL,
-- O 6.5.2.c r
cdmaCallMode [62] IMPLICIT CDMACallMode OPTIONAL,
-- O 6.5.2.29 c, d, e
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.30 c
cdmaConnectionReferenceList [212] IMPLICIT CDMAConnectionReferenceList OPTIONAL,
-- O 6.5.2.aq IS-737 c, t, aa
cdmaMSMeasuredChannelIdentity [351] IMPLICIT CDMAMSMeasuredChannelIdentity OPTIONAL,
-- O 6.5.2.gh oo
cdmaMobileProtocolRevision [66] IMPLICIT CDMAMobileProtocolRevision OPTIONAL,
-- O 6.5.2.34 c
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
-- O 6.5.2.e c, s, mm
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g TSB76 c, x
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 f
cdmaServingOneWayDelay [60] IMPLICIT CDMAServingOneWayDelay OPTIONAL,
-- O 6.5.2.38 a, c
cdmaStationClassMark [59] IMPLICIT CDMAStationClassMark OPTIONAL,
-- O 6.5.2.41 c
cdmaStationClassMark2 [177] IMPLICIT CDMAStationClassMark2 OPTIONAL,
-- O 6.5.2.h TSB76 c, nn
cdmaTargetMAHOList [136] IMPLICIT CDMATargetMAHOList OPTIONAL,
-- O 6.5.2.43 g
cdmaTargetMeasurementList [134] IMPLICIT CDMATargetMeasurementList OPTIONAL,
-- O 6.5.2.45 h
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) O 6.5.2.47 i
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Desired) O 6.5.2.50 j
dataKey [215] IMPLICIT DataKey OPTIONAL,
-- O 6.5.2.at aa
dataPrivacyParameters [216] IMPLICIT DataPrivacyParameters OPTIONAL,
-- O 6.5.2.au w
handoffReason [30] IMPLICIT HandoffReason OPTIONAL,
-- O 6.5.2.70 k
handoffState [164] IMPLICIT HandoffState OPTIONAL,
-- O 6.5.2.71 l
interSwitchCount [7] IMPLICIT InterSwitchCount OPTIONAL,
-- O 6.5.2.73 k
ilspInformation [217] IMPLICIT ISLPInformation OPTIONAL,
-- O 6.5.2.av y
msLocation [70] IMPLICIT MSLocation OPTIONAL,
-- O 6.5.2.84 c
nampsCallMode [165] IMPLICIT NAMPSCallMode OPTIONAL,
-- O 6.5.2.85 e, m
nampsChannelData [74] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Serving) O 6.5.2.86 n
pdsnAddress [349] IMPLICIT PDSNAddress OPTIONAL,
-- O 6.5.2.gf hh
pdsnProtocolType [350] IMPLICIT PDSNProtocolType OPTIONAL,
-- O 6.5.2.gg ii
qosPriority [348] IMPLICIT QoSPriority OPTIONAL,
-- O 6.5.2.ge jj
randomVariable [40] IMPLICIT RandomVariable OPTIONAL,
-- O 6.5.2.101
signalingMessageEncryptionKey [45] IMPLICIT SignalingMessageEncryptionKey OPTIONAL,
-- O 6.5.2.120 j
stationClassMark [18] IMPLICIT StationClassMark OPTIONAL,
-- O 6 .5.2.14 3 i , n, o
systemOperatorCode [206] IMPLICIT SystemOperatorCode OPTIONAL,
-- O 6 .5.2.a j v
targetCellID [3] IMPLICIT TargetCellID OPTIONAL,
-- O 6.5.2.148
tdmaBandwidth [220] IMPLICIT TDMABandwidth OPTIONAL,
-- (Desired) O 6.5.2.ay
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Serving) O 6.5.2.151 o
tdmaCallMode [29] IMPLICIT TDMACallMode OPTIONAL,
-- O 6.5.2.152 e, p
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.153 o
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6 .5.2.i x
tdmaTerminalCapability [179] TDMATerminalCapability OPTIONAL,
-- y O 6 .5.2.j x
tdmaVoiceCoder [180] IMPLICIT TDMAVoiceCoder OPTIONAL,
-- O 6.5.2.k u
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 6 .5.2.154
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL,
-- O 6.5.2.166 q
...
}
-- HandoffBack2 RETURN RESULT Parameters
HandoffBack2Res ::= [PRIVATE 18] SET {
bsmcstatus [198] IMPLICIT BSMCStatus OPTIONAL,
-- O 6 .5.2.a b f
cdma2000HandoffResponseIOSData [357] IMPLICIT CDMA2000HandoffResponseIOSData OPTIONAL,
-- O 6.5.2.gn yy
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Target) O 6.5.2.30 a
cdmaCodeChannelList [132] IMPLICIT CDMACodeChannelList OPTIONAL,
-- O 6.5.2.33 a
cdmaSearchParameters [230] IMPLICIT CDMASearchParameters OPTIONAL,
-- O 6.5.2.bi a, k
cdmaConnectionReferenceList [212] IMPLICIT CDMAConnectionReferenceList OPTIONAL,
-- O 6.5.2.aq a, i, l, zz
cdmaSearchWindow [69] IMPLICIT CDMASearchWindow OPTIONAL,
-- O 6.5.2.37 a
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
-- O 6.5.2.e a, h, t
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Target) O 6.5.2.47 b
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Actual) O 6.5.2.50 c
nampsChannelData [74] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Target) O 6.5.2.86 d
sOCStatus [205] IMPLICIT SOCStatus OPTIONAL,
-- O 6 .5.2.a i f
targetCellID [3] IMPLICIT TargetCellID OPTIONAL,
-- O 6.5.2.148 e
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Target) O 6.5.2.151 f
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Target) O 6.5.2.153 g
tdmaVoiceCoder [180] IMPLICIT TDMAVoiceCoder OPTIONAL
-- (Target ) O 6 .5.2.k h
}
-- 6.4.2.17 HandoffMeasurementRequest
HandoffMeasurementRequest ::= [PRIVATE 18] SET {
channelData [5] IMPLICIT ChannelData,
-- (Serving) M 6.5.2.47 a
servingCellID [2] IMPLICIT ServingCellID,
-- M 6.5.2.117
stationClassMark [18] IMPLICIT StationClassMark,
-- M 6.5.2.143
targetCellIDList [207] IMPLICIT TargetCellIDList OPTIONAL,
-- O 6 .5.2.ak i
tdmaCallMode [29] IMPLICIT TDMACallMode OPTIONAL,
-- O 6.5.2.152 b
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.153 c
tdmaTerminalCapability [179] IMPLICIT TDMATerminalCapability OPTIONAL
-- O 6 .5.2.j h
}
--HandoffMeasurementRequest RETURN RESULT Parameters
HandoffMeasurementRequestRes ::= [PRIVATE 18] SET {
signalQuality [11] IMPLICIT SignalQuality,
-- M 6.5.2.121 a
targetCellID [3] IMPLICIT TargetCellID,
-- M 6.5.2.148 a
...
}
-- 6.4.2.18 HandoffMeasurementRequest2
HandoffMeasurementRequest2 ::= [PRIVATE 18] SET {
servingCellID [2] IMPLICIT ServingCellID,
-- M 6.5.2.117
cdmaCallMode [62] IMPLICIT CDMACallMode OPTIONAL,
-- O 6.5.2.29 a, b
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.30 b
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
-- O 6.5.2.e
cdmaServingOneWayDelay [60] IMPLICIT CDMAServingOneWayDelay OPTIONAL,
-- O 6.5.2.38 b
cdmaStationClassMark [59] IMPLICIT CDMAStationClassMark OPTIONAL,
-- O 6.5.2.41 b
cdmaStationClassMark2 [177] IMPLICIT CDMAStationClassMark2 OPTIONAL,
-- O 6.5.2.h i
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) O 6.5.2.47 c
msLocation [70] IMPLICIT MSLocation OPTIONAL,
-- O 6.5.2.84 b
nampsCallMode [165] IMPLICIT NAMPSCallMode OPTIONAL,
-- O 6.5.2.85 d
nampsChannelData [74] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Serving) O 6.5.2.86 e
stationClassMark [18] IMPLICIT StationClassMark OPTIONAL,
-- O 6.5.2.143 c, f
targetCellIDList [207] IMPLICIT TargetCellIDList OPTIONAL,
-- O 6.5.2.ak
tdmaBandwidth [220] IMPLICIT TDMABandwidth OPTIONAL,
-- (Desired) O 6.5.2.ay
tdmaCallMode [29] IMPLICIT TDMACallMode OPTIONAL,
-- O 6.5.2.152 g
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.153 f
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i
tdmaTerminalCapability [179] IMPLICIT TDMATerminalCapability OPTIONAL
-- O 6.5.2.j
}
-- HandoffMeasurementRequest2 RETURN RESULT Parameters
HandoffMeasurementRequest2Res ::= [PRIVATE 18] SET {
cdmaTargetMeasurementList [134] IMPLICIT CDMATargetMeasurementList OPTIONAL,
-- O 6.5.2.45 a
targetMeasurementList [157] IMPLICIT TargetMeasurementList OPTIONAL
-- O 6.5.2.150 b ...
}
-- 6.4.2.19 HandoffToThird
HandoffToThird ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- M 6.5.2.16 N.S0006
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
interSwitchCount [7] IMPLICIT InterSwitchCount,
-- (Serving) M 6.5.2.73
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
mscid [21] IMPLICIT MSCID,
-- (Target) M 6.5.2.82
servingCellID [2] IMPLICIT ServingCellID,
-- M 6.5.2.117
baseStationManufacturerCode [197] IMPLICIT BaseStationManufacturerCode OPTIONAL,
-- O 6 .5.2.aa u
stationClassMark [18] IMPLICIT StationClassMark,
-- M 6.5.2.143
targetCellID [3] IMPLICIT TargetCellID,
-- M 6.5.2.148
cdmaBandClassList [172] IMPLICIT CDMABandClassList OPTIONAL,
-- O 6.5.2.c q
cdmaCallMode [62] IMPLICIT CDMACallMode OPTIONAL,
-- O 6.5.2.29 c, d, e
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.30 c
cdmaMobileProtocolRevision [66] IMPLICIT CDMAMobileProtocolRevision OPTIONAL,
-- O 6.5.2.34 c, r
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 f
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
-- O 6.5.2.e c, s
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g c, t
cdmaServingOneWayDelay [60] IMPLICIT CDMAServingOneWayDelay OPTIONAL,
-- O 6.5.2.38 a, c
cdmaStationClassMark [59] IMPLICIT CDMAStationClassMark OPTIONAL,
-- O 6.5.2.41 c, r, u
cdmaStationClassMark2 [177] IMPLICIT CDMAStationClassMark2 OPTIONAL,
-- O 6.5.2.h r
cdmaTargetMAHOList [136] IMPLICIT CDMATargetMAHOList OPTIONAL,
-- O 6.5.2.43 g
cdmaTargetMeasurementList [134] IMPLICIT CDMATargetMeasurementList OPTIONAL,
-- O 6.5.2.45 h
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) O 6.5.2.47 b
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Desired) O 6.5.2.50 c
handoffReason [30] IMPLICIT HandoffReason OPTIONAL,
-- O 6.5.2.70 d
handoffState [164] IMPLICIT HandoffState OPTIONAL,
-- O 6 .5.2.71 t
msLocation [70] IMPLICIT MSLocation OPTIONAL,
-- O 6.5.2.84 c
nampsCallMode [165] IMPLICIT NAMPSCallMode OPTIONAL,
-- O 6.5.2.85 e, l
nampsChannelData [74] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Serving) O 6.5.2.86 m
signalingMessageEncryptionKey [45] IMPLICIT SignalingMessageEncryptionKey OPTIONAL,
-- O 6.5.2.120 c
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Serving) O 6.5.2.151 e
tdmaCallMode [29] IMPLICIT TDMACallMode OPTIONAL,
-- O 6.5.2.152 f
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.153 e
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6 .5.2.i x
tdmaTerminalCapability [179] IMPLICIT TDMATerminalCapability OPTIONAL,
-- y O 6 .5.2.j x
tdmaVoiceCoder [180] IMPLICIT TDMAVoiceCoder OPTIONAL,
-- O 6.5.2.k u
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 6 .5.2.154
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL
-- O 6.5.2.166 g
}
-- HandoffToThird RETURN RESULT Parameters
HandoffToThirdRes ::= [PRIVATE 18] SET {
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Target) O 6.5.2.30 a
cdmaCodeChannelList [132] IMPLICIT CDMACodeChannelList OPTIONAL,
-- O 6.5.2.33 a
cdmaSearchWindow [69] IMPLICIT CDMASearchWindow OPTIONAL,
-- O 6.5.2.37 a
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
--
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Target) O 6.5.2.47 a
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Actual) O 6.5.2.50 b
nampsChannelData [74] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Target) O 6.5.2.86 d
targetCellID [3] IMPLICIT TargetCellID,
-- O 6.5.2.148 e
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Target) O 6.5.2.151 c
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Target) O 6.5.2.153 d
tdmaVoiceCoder [180] IMPLICIT TDMAVoiceCoder OPTIONAL
-- (Target) O 6.5.2.k j
}
-- 6.4.2.20 HandoffToThird2
HandoffToThird2 ::= [PRIVATE 18] SET {
bsmcstatus [198] IMPLICIT BSMCStatus OPTIONAL,
-- O 6 .5.2.a b f
billingID [1] IMPLICIT BillingID,
-- M 6.5.2.16
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
interSwitchCount [7] IMPLICIT InterSwitchCount,
-- (Serving) M 6.5.2.73
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
mscid [21] IMPLICIT MSCID,
-- (Target) M 6.5.2.82
servingCellID [2] IMPLICIT ServingCellID,
-- M 6.5.2.117 a
targetCellID [3] IMPLICIT TargetCellID,
-- O 6.5.2.148 b
cdma2000HandoffInvokeIOSData [356] IMPLICIT CDMA2000HandoffInvokeIOSData OPTIONAL,
-- O 6.5.2.gm xx
cdmaCallMode [62] IMPLICIT CDMACallMode OPTIONAL,
-- O 6.5.2.29 c, d, e
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.30 c
cdmaConnectionReferenceList [212] IMPLICIT CDMAConnectionReferenceList OPTIONAL,
-- O 6.5.2.aq IS-737 c, s, z
cdmaMSMeasuredChannelIdentity [351] IMPLICIT CDMAMSMeasuredChannelIdentity OPTIONAL,
-- O 6.5.2.gh oo
cdmaMobileProtocolRevision [66] IMPLICIT CDMAMobileProtocolRevision OPTIONAL,
-- O 6.5.2.34 c
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 f
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
-- O 6.5.2.e c, r, mm
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g c, x
cdmaServingOneWayDelay [60] IMPLICIT CDMAServingOneWayDelay OPTIONAL,
-- O 6.5.2.38 a, c
cdmaStationClassMark [59] IMPLICIT CDMAStationClassMark OPTIONAL,
-- O 6.5.2.41 c
cdmaStationClassMark2 [177] IMPLICIT CDMAStationClassMark2 OPTIONAL,
-- O 6.5.2.h TSB76 c, nn
cdmaTargetMAHOList [136] IMPLICIT CDMATargetMAHOList OPTIONAL,
-- O 6.5.2.43 g
cdmaTargetMeasurementList [134] IMPLICIT CDMATargetMeasurementList OPTIONAL,
-- O 6.5.2.45 h
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) O 6.5.2.47 i
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Desired) O 6.5.2.50 j
dataKey [215] IMPLICIT DataKey OPTIONAL,
-- O 6.5.2.at IS-737 ab z
dataPrivacyParameters [216] IMPLICIT DataPrivacyParameters OPTIONAL,
-- O 6.5.2.au IS-737 v
handoffReason [30] IMPLICIT HandoffReason OPTIONAL,
-- O 6.5.2.70 k
ilspInformation [217] IMPLICIT ISLPInformation OPTIONAL,
-- O 6.5.2.av w
msLocation [70] IMPLICIT MSLocation OPTIONAL,
-- O 6.5.2.84 c
nampsCallMode [165] IMPLICIT NAMPSCallMode OPTIONAL,
-- O 6.5.2.85 e, l
nampsChannelData [74] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Serving) O 6.5.2.86 m
pdsnAddress [349] IMPLICIT PDSNAddress OPTIONAL,
-- O 6.5.2.gf hh
pdsnProtocolType [350] IMPLICIT PDSNProtocolType OPTIONAL,
-- O 6.5.2,gg ii
qosPriority [348] IMPLICIT QoSPriority OPTIONAL,
-- O 6.5.2.ge jj
randomVariable [40] IMPLICIT RandomVariable OPTIONAL,
-- O 6.5.2.101 z
sOCStatus [205] IMPLICIT SOCStatus OPTIONAL,
-- O 6 .5.2.a i f
signalingMessageEncryptionKey [45] IMPLICIT SignalingMessageEncryptionKey OPTIONAL,
-- O 6.5.2.120 j
stationClassMark [18] IMPLICIT StationClassMark OPTIONAL,
-- O 6.5.2.143 i, m, n
tdmaBandwidth [220] IMPLICIT TDMABandwidth OPTIONAL,
--(Desired) O 6.5.2.ay y
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Serving) O 6.5.2.151 n
tdmaCallMode [29] IMPLICIT TDMACallMode OPTIONAL,
-- O 6.5.2.152 n, o
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.153 n
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i u
tdmaTerminalCapability [179] TDMATerminalCapability OPTIONAL,
-- O 6.5.2.j
tdmaVoiceCoder [180] IMPLICIT TDMAVoiceCoder OPTIONAL,
-- O 6.5.2.k
userZoneData [209] IMPLICIT UserZoneData OPTIONAL,
-- O 6.5.2.am (IS-730)
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL,
-- O 6.5.2.166 p
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- HandoffToThird2 RETURN RESULT Parameters
HandoffToThird2Res ::= [PRIVATE 18] SET {
cdma2000HandoffResponseIOSData [357] IMPLICIT CDMA2000HandoffResponseIOSData OPTIONAL,
-- O 6.5.2.gn yy
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Target) O 6.5.2.30 a
cdmaCodeChannelList [132] IMPLICIT CDMACodeChannelList OPTIONAL,
-- O 6.5.2.33 a
cdmaConnectionReferenceList [212] IMPLICIT CDMAConnectionReferenceList OPTIONAL,
-- O 6.5.2.aq IS-737 a, i, k, zz
cdmaSearchParameters [230] IMPLICIT CDMASearchParameters OPTIONAL,
-- O 6.5.2.bi a, k
cdmaSearchWindow [69] IMPLICIT CDMASearchWindow OPTIONAL,
-- O 6.5.2.37 a
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
-- O 6.5.2.e a, h, t
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Target) O 6.5.2.47 b
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- (Actual) O 6.5.2.50 c
nampsChannelData [74] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Target) O 6.5.2.86 d
targetCellID [3] IMPLICIT TargetCellID,
-- O 6.5.2.148 e
tdmaBurstIndicator [31] IMPLICIT TDMABurstIndicator OPTIONAL,
-- (Target) O 6.5.2.151 f
tdmaChannelData [28] IMPLICIT TDMAChannelData OPTIONAL,
-- (Target) O 6.5.2.153 g
tdmaVoiceCoder [180] IMPLICIT TDMAVoiceCoder OPTIONAL
-- (Target) O 6.5.2.k j
}
-- 6.4.2.21 InformationDirective Updated with N.S0012-0 v 1.0
-- http://www.3gpp2.org/Public_html/specs/X.S0004-540-E_v2.0_070723.pdf
InformationDirective ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
msid MSID OPTIONAL,
-- M 2.153 e
alertCode [75] IMPLICIT AlertCode OPTIONAL,
-- O 6.5.2.3 a
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 b
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 c
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 c
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 c
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, p
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- 6.5.2.ec
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 c
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 c
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL
-- O 6.5.2.116 d
}
-- InformationDirective RETURN RESULT Parameters
InformationDirectiveRes ::= [PRIVATE 18] SET {
alertResult [129] IMPLICIT AlertResult OPTIONAL
-- O 6.5.2.4 a
}
-- 6.4.2.22 InformationForward
InformationForward ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
alertCode [75] IMPLICIT AlertCode OPTIONAL,
-- O 6.5.2.3 a
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 a
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 b
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 b
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 b
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, p
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- 6.5.2.ec
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 a
messageWaitingNotificationCount [92] IMPLICIT MessageWaitingNotificationCount OPTIONAL,
-- O 6.5.2.78 a
messageWaitingNotificationType [145] IMPLICIT MessageWaitingNotificationType OPTIONAL,
-- O 6.5.2.79 a
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 b
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 b
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- InformationForward RETURN RESULT Parameters
InformationForwardRes ::= [PRIVATE 18] SET {
alertResult [129] IMPLICIT AlertResult OPTIONAL
-- O 6.5.2.4 a
}
-- 6.4.2.23 InterSystemAnswer
InterSystemAnswer ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL
-- O 6.5.2.63 a
}
-- InterSystemAnswer RETURN RESULT Parameters
-- zero octets
-- 6.4.2.24 InterSystemPage
InterSystemPage ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
alertCode [75] IMPLICIT AlertCode OPTIONAL,
-- O 6.5.2.3 a
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw a, m
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 a
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 a
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 a
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 a
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 a
cdmaBandClass [170] IMPLICIT CDMABandClass OPTIONAL,
-- O 6.5.2.a m
cdmaMobileProtocolRevision [66] IMPLICIT CDMAMobileProtocolRevision OPTIONAL,
-- O 6.5.2.34 c
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f m
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g
cdmaSlotCycleIndex [166] IMPLICIT CDMASlotCycleIndex OPTIONAL,
-- O 6.5.2.40 b
cdmaStationClassMark [59] IMPLICIT CDMAStationClassMark OPTIONAL,
-- O 6.5.2.41 c
cdmaStationClassMark2 [177] IMPLICIT CDMAStationClassMark2 OPTIONAL,
-- O 6.5.2.h m
controlChannelMode [199] IMPLICIT ControlChannelMode OPTIONAL,
-- O 6 .5.2.ac m
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, p
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- 6.5.2.ec
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 a
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 a
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 a
extendedMSCID [53] IMPLICIT ExtendedMSCID OPTIONAL,
-- (Serving MSC) O 6.5.2.64 d
extendedSystemMyTypeCode [54] IMPLICIT ExtendedSystemMyTypeCode OPTIONAL,
-- (Serving MSC) O 6.5.2.65 e
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 f
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 f
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 a
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Originating MSC) O 6.5.2.82 g
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 f
mSIDUsage [327] IMPLICIT MSIDUsage OPTIONAL,
-- O 6.5.2.fe
networkTMSI [233] IMPLICIT NetworkTMSI OPTIONAL,
-- O 6.5.2.bl o
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 f
pageCount [300] IMPLICIT PageCount OPTIONAL,
-- O 6.5.2.ed
pageIndicator [71] IMPLICIT PageIndicator OPTIONAL,
-- O 6.5.2.92 h
pageResponseTime [301] IMPLICIT PageResponseTime OPTIONAL,
-- O 6.5.2.ee
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Originating MSC) O 6.5.2.93 i
pilotBillingID [169] IMPLICIT PilotBillingID OPTIONAL,
-- O 6.5.2.94 j
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 k
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 a
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
--O 6.5.2.107 a
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 a
redirectingPartyName [245] IMPLICIT RedirectingPartyName OPTIONAL,
-- O 6.5.2.by a, m
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 a
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 f
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL,
-- (Originating MSC) O 6.5.2.147 l
tdmaDataFeaturesIndicator [221] IMPLICIT TDMADataFeaturesIndicator OPTIONAL,
-- O 6.5.2.az p
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 6 .5.2.154 f
terminationTreatment [121] IMPLICIT TerminationTreatment OPTIONAL,
-- O 6.5.2.158 f
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 a
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de a
}
-- InterSystemPage RETURN RESULT Parameters
InterSystemPageRes ::= [PRIVATE 18] SET {
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 a
billingID [1] IMPLICIT BillingID OPTIONAL,
-- (Terminating) O 6.5.2.16 b, c
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f
conditionallyDeniedReason [162] IMPLICIT ConditionallyDeniedReason OPTIONAL,
-- O 6.5.2.48 d
digits [4] IMPLICIT Digits OPTIONAL,
-- (Destination) O 6.5.2.58 c
extendedMSCID [53] IMPLICIT ExtendedMSCID OPTIONAL,
-- (Border MSC) O 6.5.2.64 c
extendedSystemMyTypeCode [54] IMPLICIT ExtendedSystemMyTypeCode OPTIONAL,
-- (Border MSC) O 6.5.2.65 c
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 e
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Border MSC) O 6.5.2.93 f
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL
-- O 6.5.2.i
}
-- 6.4.2.25 InterSystemPage2
InterSystemPage2 ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Anchor MSC) M 6.5.2.16
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
alertCode [75] IMPLICIT AlertCode OPTIONAL,
-- O 6.5.2.3 a
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 b
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 b
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 b
cdmaBandClass [170] IMPLICIT CDMABandClass OPTIONAL,
-- O 6.5.2.a f
cdmaMobileProtocolRevision [66] IMPLICIT CDMAMobileProtocolRevision OPTIONAL,
-- O 6.5.2.34 c
controlChannelMode [199] IMPLICIT ControlChannelMode OPTIONAL,
-- O 6 .5.2.ac f
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f f
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g h
cdmaSlotCycleIndex [166] IMPLICIT CDMASlotCycleIndex OPTIONAL,
-- O 6.5.2.40 b
cdmaStationClassMark [59] IMPLICIT CDMAStationClassMark OPTIONAL,
-- O 6.5.2.41 d
cdmaStationClassMark2 [177] IMPLICIT CDMAStationClassMark2 OPTIONAL,
-- O 6.5.2.h f
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, p
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- 6.5.2.ec
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 e
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 a
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
mSIDUsage [327] IMPLICIT MSIDUsage OPTIONAL,
-- O 6.5.2.fe k
networkTMSI [233] IMPLICIT NetworkTMSI OPTIONAL,
-- O 6.5.2.bl h
nonPublicData [200] IMPLICIT NonPublicData OPTIONAL,
-- O 6.5.2.ad IS-730 l
pageCount [300] IMPLICIT PageCount OPTIONAL,
-- O 6.5.2.ed
pageIndicator [71] IMPLICIT PageIndicator OPTIONAL,
-- O 6.5.2.92 f
pagingFrameClass [210] IMPLICIT PagingFrameClass OPTIONAL,
-- O 6 .5.2.ae g
pageResponseTime [301] IMPLICIT PageResponseTime OPTIONAL,
-- O 6.5.2.ee IS-730 h
pSID-RSIDList [203] IMPLICIT PSID-RSIDList OPTIONAL,
-- O 6.5.2.ag IS-730 m,
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 b
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 b
tdmaDataFeaturesIndicator [221] IMPLICIT TDMADataFeaturesIndicator OPTIONAL,
-- O 6.5.2.az i
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 6 .5.2.154 d
userZoneData [209] IMPLICIT UserZoneData OPTIONAL
-- O 6.5.2.am IS-730
}
-- InterSystemPage2 RETURN RESULT Parameters
InterSystemPage2Res ::= [PRIVATE 18] SET {
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 a
authenticationResponseBaseStation [36] IMPLICIT AuthenticationResponseBaseStation,
-- O 6.5.2.10 b
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL,
-- O 6.5.2.18 b
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f
randc [67] IMPLICIT RANDC OPTIONAL,
-- O 6.5.2.100 c
randomVariableBaseStation [41] IMPLICIT RandomVariableBaseStation,
-- O 6.5.2.101 d
systemAccessType [34] IMPLICIT SystemAccessType,
-- O 6.5.2.145 b
systemCapabilities [49] IMPLICIT SystemCapabilities OPTIONAL,
-- (Border) O 6.5.2.146 e
tdmaDataMode [222] IMPLICIT TDMADataMode OPTIONAL,
-- O 6.5.2.ba e
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i
terminalType [47] IMPLICIT TerminalType OPTIONAL
-- O 6.5.2.154 e
}
-- 6.4.2.26 InterSystemSetup
InterSystemSetup ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Anchor MSC) M 6.5.2.16
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
-- (IS-751)
alertCode [75] IMPLICIT AlertCode OPTIONAL,
-- O 6.5.2.3 a, g
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 b, g
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 b, g
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 b, g
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 a
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f e, g
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g f, g
changeServiceAttributes [214] IMPLICIT ChangeServiceAttributes OPTIONAL,
-- O 6.5.2.as c
dataKey [215] IMPLICIT DataKey OPTIONAL,
-- O 6.5.2.at b
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx a, b
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- O 6.5.2.ec (misc 10.0) a, c, g
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu (IS-751) d
ilspInformation [217] IMPLICIT ISLPInformation OPTIONAL,
-- (Desired) O 6.5.2.av d
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81 (IS-751)
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 b, g
edirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 b, g
signalingMessageEncryptionKey [45] IMPLICIT SignalingMessageEncryptionKey OPTIONAL,
-- O 6.5.2.120 a
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL,
-- O 6.5.2.166 a
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- InterSystemSetup RETURN RESULT Parameters
InterSystemSetupRes ::= [PRIVATE 18] SET {
cdmaConnectionReferenceList [212] IMPLICIT CDMAConnectionReferenceList OPTIONAL,
-- O 6.5.2.aq a
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
--O 6.5.2.f TSB76 b
ilspInformation [217] IMPLICIT ISLPInformation OPTIONAL,
-- (Actual) O 6.5.2.av
setupResult [151] IMPLICIT SetupResult OPTIONAL
-- O 6.5.2.118 a
}
-- 6.4.2.27 LocationRequest Updated with N.S0023-0 v 1.0
LocationRequest ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16
digits [4] IMPLICIT Digits,
-- (Dialed) M 6.5.2.58
mscid [21] IMPLICIT MSCID,
-- (Originating) M 6.5.2.82
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode,
-- (Originating) M 6.5.2.147
acgencountered [340] IMPLICIT ACGEncountered OPTIONAL,
-- O 6.5.2.fv
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
--O 6.5.2.21 a
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
--O 6.5.2.22 a
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
--O 6.5.2.25 a
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f g
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 b
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Originating) O 6.5.2.93 c
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 a
redirectingPartyName [245] IMPLICIT RedirectingPartyName OPTIONAL,
-- O 6.5.2.by
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 a
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 d
terminationAccessType [119] IMPLICIT TerminationAccessType OPTIONAL,
-- O 6.5.2.155 d
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i h
transactionCapability [123] IMPLICIT TransactionCapability OPTIONAL,
-- O 6.5.2.160 e
triggerType [279] IMPLICIT TriggerType OPTIONAL,
-- O 6.5.2.dh f
winCapability [280] IMPLICIT WINCapability OPTIONAL,
-- O 6.5.2.di
callingPartyCategory [355] IMPLICIT CallingPartyCategory OPTIONAL
-- O 6.5.2.gl
}
-- LocationRequest RETURN RESULT Parameters
LocationRequestRes ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63 a
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81 a
mscid [21] IMPLICIT MSCID,
-- (Serving MSC) M 6.5.2.82 b
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 c
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 d
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 e
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 e
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f
controlNetworkID [307] IMPLICIT ControlNetworkID OPTIONAL,
-- O 6.5.2.ek s
digits-carrier [4] IMPLICIT Digits OPTIONAL,
-- (Carrier) O 6.5.2.58 f
digits-dest [4] IMPLICIT Digits OPTIONAL,
-- (Destination) O 6.5.2.58 g, h
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, p
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- 6.5.2.ec
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 i
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 i
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 i
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 j
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL,
-- O 6.5.2.ei q
groupInformation [163] IMPLICIT GroupInformation OPTIONAL,
-- O 6.5.2.69 k
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 i
noAnswerTime [96] IMPLICIT NoAnswerTime OPTIONAL,
-- O 6.5.2.87 l
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 m
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Serving MSC or VLR) O 6.5.2.93 n
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 f, r
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 j
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 f
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 e, j
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 f
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i
terminationList [120] IMPLICIT TerminationList OPTIONAL,
-- O 6.5.2.156 o
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 f
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL,
-- O 6.5.2.de f, t
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- 6.4.2.28 MobileOnChannel
--MobileOnChannel ::= [PRIVATE 18] SET {
-- zero octets
-- }
-- 6.4.2.29 MSInactive
MSInactive ::= [PRIVATE 18] SET {
lectronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL,
-- O 6.5.2.18 a
deregistrationType [73] IMPLICIT DeregistrationType OPTIONAL,
-- O 6.5.2.55 b
destinationDigits [87] IMPLICIT DestinationDigits OPTIONAL,
-- O 6.5.2.56
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 c
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 d
servicesResult [204] IMPLICIT ServicesResult OPTIONAL,
-- O 6 .5.2.ah f
sms-MessageWaitingIndicator [118] IMPLICIT SMS-MessageWaitingIndicator OPTIONAL,
-- O 6.5.2.129 e
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- MSInactive RETURN RESULT Parameters
-- zero octets
-- 6.4.2.30
-- OriginationRequest INVOKE Parameters Updated with N.S0023-0 v 1.0
OriginationRequest ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
--(originating) M 6.5.2.16 1 0 0 0 0 0 0 1 (0x81)(0x1)
digits [4] IMPLICIT Digits,
--(Dialed) M 6.5.2.58
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
--M 6.5.2.63
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
--M 6.5.2.81
mscid [21] IMPLICIT MSCID,
--(Originating MSC) M 6.5.2.82 1 0 0 1 0 1 0 1 (0x95)(0x15)
msid MSID OPTIONAL,
-- M 6.5.2.bv k
originationTriggers [98] IMPLICIT OriginationTriggers,
--M 6.5.2.90 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 0 0 1 0 (0x62) (98)
transactionCapability [123] IMPLICIT TransactionCapability,
--M 6.5.2.160 1 0 0 1 1 1 1 1 (0x9f)
acgencountered [340] IMPLICIT ACGEncountered OPTIONAL,
-- O 6.5.2.fv k
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw g
-- N.S0012-0_v1.0
-- 0 1 1 1 1 0 1 1 (0x7b)(123)
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
--O 6.5.2.21 a 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 0 0 0 (0x50)
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
--O 6.5.2.22 a 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 0 0 1 (0x51)
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
--O 6.5.2.25 a 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 1 0 0 (0x54)
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 a
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
--O 6.5.2.80 b 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 1 1 0 1 (0x5d)
featureIndicator [306] IMPLICIT FeatureIndicator OPTIONAL,
-- O 6.5.2.ej m
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
--O 6.5.2.83 c 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 1 1 1 0 (0x5e)
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
--O 6.5.2.88 d 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 0 0 0 1 (0x61)
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
--(Originating MSC), O 6.5.2.93 e 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 0 0 0 0 (0x20)
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 j
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
--O 6.5.2.116 f 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 0 1 1 1 (0x67)
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 a
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i
triggerType [279] IMPLICIT TriggerType OPTIONAL,
-- O 6.5.2.dh h
winCapability [280] IMPLICIT WINCapability OPTIONAL,
-- O 6.5.2.di a
-- NS0027
callingPartyCategory [355] IMPLICIT CallingPartyCategory OPTIONAL,
-- O 6.5.2.gl
meid [390] IMPLICIT MEID OPTIONAL,
-- O
... }
-- OriginationRequest RETURN RESULT Parameters
OriginationRequestRes ::= [PRIVATE 18] SET {
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 a
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 b
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 c
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 d, e
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 d, e
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 d, e, f
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 g
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) O 6.5.2.58 h
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, p
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- O 6.5.2.ec d, e, p
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 i
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 i
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 i
dmh-ChargeInformation [311] IMPLICIT DMH-ChargeInformation OPTIONAL,
-- O 6.5.2.eo i, t
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 i, j
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL,
-- O 6.5.2.ei s
groupInformation [163] IMPLICIT GroupInformation OPTIONAL,
-- O 6.5.2.69 k
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 i
noAnswerTime [96] IMPLICIT NoAnswerTime OPTIONAL,
-- O 6.5.2.87 l
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 m
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 k
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 q, r
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 f
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 d
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 d, e
resumePIC [266] IMPLICIT ResumePIC OPTIONAL,
-- O 6.5.2.cu p
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 g
terminationList [120] IMPLICIT TerminationList OPTIONAL,
-- O 6.5.2.156 n
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.57 o
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de q
}
-- 6.4.2.31 QualificationDirective
QualificationDirective ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
msid MSID OPTIONAL,
-- M 6.5.2.bu j
qualificationInformationCode [17] IMPLICIT QualificationInformationCode,
-- M 6.5.2.99
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode,
-- (HLR or VLR) M 6.5.2.147
analogRedirectRecord [225] IMPLICIT AnalogRedirectRecord OPTIONAL,
-- O 6.5.2.bd k
authorizationDenied [13] IMPLICIT AuthorizationDenied OPTIONAL,
-- O 6.5.2.13 a
authorizationPeriod [14] IMPLICIT AuthorizationPeriod OPTIONAL,
-- O 6.5.2.14 b
cdmaRedirectRecord [229] IMPLICIT CDMARedirectRecord OPTIONAL,
-- O 6.5.2.bh l
controlChannelMode [199] IMPLICIT ControlChannelMode OPTIONAL,
-- O 6 .5.2.ac j
deniedAuthorizationPeriod [167] IMPLICIT DeniedAuthorizationPeriod OPTIONAL,
-- O 6.5.2.53 c
digits-carrier [4] IMPLICIT Digits OPTIONAL,
-- (Carrier) O 6.5.2.58 d, e
digits-dest [4] IMPLICIT Digits OPTIONAL,
-- (Destination) O 6.5.2.58 d, f
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 g
-- Profile **Macro** O 6.5.2.97 h
authenticationCapability [78] IMPLICIT AuthenticationCapability OPTIONAL,
-- O 6.5.2.8 a
callingFeaturesIndicator [25] IMPLICIT CallingFeaturesIndicator OPTIONAL,
-- O 6.5.2.20 b
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 c
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g d
controlNetworkID [307] IMPLICIT ControlNetworkID OPTIONAL,
-- O 6.5.2.ek u
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 d
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 d
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 d
geographicAuthorization [143] IMPLICIT GeographicAuthorization OPTIONAL,
-- O 6.5.2.68 e
meidValidated [401] IMPLICIT MEIDValidated OPTIONAL,
-- O 3.2.2.98
messageWaitingNotificationCount [92] IMPLICIT MessageWaitingNotificationCount OPTIONAL,
-- O 6.5.2.78 f
messageWaitingNotificationType [145] IMPLICIT MessageWaitingNotificationType OPTIONAL,
-- O 6.5.2.79 g
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 d
mobilePositionCapability [335] IMPLICIT MobilePositionCapability OPTIONAL,
-- O 6.5.2.fm t TIA/EIA/J-STD-036-A
originationIndicator [23] IMPLICIT OriginationIndicator OPTIONAL,
-- O 6.5.2.89 h
originationTriggers [98] IMPLICIT OriginationTriggers OPTIONAL,
-- O 6.5.2.90 i
pACAIndicator [146] IMPLICIT PACAIndicator OPTIONAL,
-- O 6.5.2.91 j
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 k
qosPriority [348] IMPLICIT QoSPriority OPTIONAL,
--6.5.2.ge z
restrictionDigits [227] IMPLICIT RestrictionDigits OPTIONAL,
-- O 6.5.2.113 l
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 m
pSID-RSIDList [203] IMPLICIT PSID-RSIDList OPTIONAL,
-- O 6 .5.2.ag u , w
sms-OriginationRestrictions [115] IMPLICIT SMS-OriginationRestrictions OPTIONAL,
-- O 6.5.2.136 n
sms-TerminationRestrictions [117] IMPLICIT SMS-TerminationRestrictions OPTIONAL,
-- O 6.5.2.138 o
spinipin [154] IMPLICIT SPINIPIN OPTIONAL,
-- O 6.5.2.139 p
spiniTriggers [155] IMPLICIT SPINITriggers OPTIONAL,
-- O 6.5.2.140 q
tdmaDataFeaturesIndicator [221] IMPLICIT TDMADataFeaturesIndicator OPTIONAL,
-- O 6.5.2.az s
terminationRestrictionCode [24] IMPLICIT TerminationRestrictionCode OPTIONAL,
-- O 6.5.2.157 r
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 s
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL,
-- O 6.5.2.de t
userGroup [208] IMPLICIT UserGroup OPTIONAL,
-- O 6 .5.2.al p
nonPublicData [200] IMPLICIT NonPublicData OPTIONAL,
-- O 6 .5.2.ad v
userZoneData [209] IMPLICIT UserZoneData OPTIONAL,
-- O 6 .5.2.am v , w
callingPartyCategory [355] IMPLICIT CallingPartyCategory OPTIONAL,
-- O 6.5.2.gl z
lirMode [369] IMPLICIT LIRMode OPTIONAL,
-- O 6.5.2.gz z
-- END MACRO
serviceRedirectionInfo [238] IMPLICIT ServiceRedirectionInfo OPTIONAL,
-- O 6.5.2.bq k, l, m
roamingIndication [239] IMPLICIT RoamingIndication OPTIONAL,
-- O 6.5.2.br n
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL
-- O 6.5.2.116 i
}
-- QualificationDirective RETURN RESULT Parameters
-- Zero octets
QualificationDirectiveRes ::= [PRIVATE 18] SET {
}
-- 6.4.2.32 QualificationRequest
QualificationRequest ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
msid MSID OPTIONAL,
-- M 6.5.2.bu c
qualificationInformationCode [17] IMPLICIT QualificationInformationCode,
-- M 6.5.2.99
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode,
-- (MSC or VLR) M 6.5.2.147
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 c
cdmaNetworkIdentification [232] IMPLICIT CDMANetworkIdentification OPTIONAL,
-- (Serving) O 6.5.2.bk d
controlChannelMode [199] IMPLICIT ControlChannelMode OPTIONAL,
-- O 6.5.2.ac e
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Serving MSC or Originating MSC) O 6.5.2.82 a
-- ReturnCause O 6.5.2.bp f
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 b
systemAccessType [34] IMPLICIT SystemAccessType OPTIONAL,
-- O 6.5.2.145 a
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 6.5.2.154 e
transactionCapability [123] IMPLICIT TransactionCapability OPTIONAL,
-- O 6.5.2.160 a
winCapability [280] IMPLICIT WINCapability OPTIONAL,
-- O 6.5.2.di c
nonPublicData [200] IMPLICIT NonPublicData OPTIONAL,
-- O 6 .5.2.a d
userZoneData [209] IMPLICIT UserZoneData OPTIONAL,
-- O 6 .5.2.am e
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- QualificationRequest RETURN RESULT Parameters
QualificationRequestRes ::= [PRIVATE 18] SET {
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode,
-- (VLR or HLR) M 6.5.2.147
analogRedirectRecord [225] IMPLICIT AnalogRedirectRecord OPTIONAL,
-- O 6.5.2.bc
authorizationDenied [13] IMPLICIT AuthorizationDenied OPTIONAL,
-- O 6.5.2.13 a
authorizationPeriod [14] IMPLICIT AuthorizationPeriod OPTIONAL,
-- O 6.5.2.14 b
cdmaRedirectRecord [229] IMPLICIT CDMARedirectRecord OPTIONAL,
-- O 6.5.2.bh
controlChannelMode [199] IMPLICIT ControlChannelMode OPTIONAL,
-- O 6 .5.2.ac h
deniedAuthorizationPeriod [167] IMPLICIT DeniedAuthorizationPeriod OPTIONAL,
-- O 6.5.2.53 c
digits-carrier [4] IMPLICIT Digits OPTIONAL,
-- (Carrier) O 6.5.2.58 d
digits-dest [4] IMPLICIT Digits OPTIONAL,
-- (Destination) O 6.5.2.58 e
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (HLR) O 6.5.2.82 f
-- Profile **Macro** O 6.5.2.97 g
authenticationCapability [78] IMPLICIT AuthenticationCapability OPTIONAL,
-- O 6.5.2.8 a
callingFeaturesIndicator [25] IMPLICIT CallingFeaturesIndicator OPTIONAL,
-- O 6.5.2.20 b
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 c
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g f, g
controlNetworkID [307] IMPLICIT ControlNetworkID OPTIONAL,
-- O 6.5.2.ek u
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 d
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 d
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 d
geographicAuthorization [143] IMPLICIT GeographicAuthorization OPTIONAL,
-- O 6.5.2.68 e
meidValidated [401] IMPLICIT MEIDValidated OPTIONAL,
-- O 3.2.2.98
messageWaitingNotificationCount [92] IMPLICIT MessageWaitingNotificationCount OPTIONAL,
-- O 6.5.2.78 f
messageWaitingNotificationType [145] IMPLICIT MessageWaitingNotificationType OPTIONAL,
-- O 6.5.2.79 g
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 d
mobilePositionCapability [335] IMPLICIT MobilePositionCapability OPTIONAL,
-- O 6.5.2.fm t TIA/EIA/J-STD-036-A
originationIndicator [23] IMPLICIT OriginationIndicator OPTIONAL,
-- O 6.5.2.89 h
originationTriggers [98] IMPLICIT OriginationTriggers OPTIONAL,
-- O 6.5.2.90 i
pACAIndicator [146] IMPLICIT PACAIndicator OPTIONAL,
-- O 6.5.2.91 j
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 k
restrictionDigits [227] IMPLICIT RestrictionDigits OPTIONAL,
-- O 6.5.2.113 l
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 m
sms-OriginationRestrictions [115] IMPLICIT SMS-OriginationRestrictions OPTIONAL,
-- O 6.5.2.136 n
sms-TerminationRestrictions [117] IMPLICIT SMS-TerminationRestrictions OPTIONAL,
-- O 6.5.2.138 o
spinipin [154] IMPLICIT SPINIPIN OPTIONAL,
-- O 6.5.2.139 p
spiniTriggers [155] IMPLICIT SPINITriggers OPTIONAL,
-- O 6.5.2.140 q
terminationRestrictionCode [24] IMPLICIT TerminationRestrictionCode OPTIONAL,
-- O 6.5.2.157 r
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 s
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL,
-- O 6.5.2.de t
callingPartyCategory [355] IMPLICIT CallingPartyCategory OPTIONAL,
-- O 6.5.2.gl z
lirMode [369] IMPLICIT LIRMode OPTIONAL,
-- O 6.5.2.gz z
-- END MACRO
serviceRedirectionInfo [238] IMPLICIT ServiceRedirectionInfo OPTIONAL,
-- O 6.5.2.bq h, i
roamingIndication [239] IMPLICIT RoamingIndication OPTIONAL
-- O 6.5.2.br
}
-- 6.4.2.33 RandomVariableRequest
RandomVariableRequest ::= [PRIVATE 18] SET {
mscid [21] IMPLICIT MSCID,
-- (Serving MSC) M 6.5.2.82
randc [67] IMPLICIT RANDC,
-- M 6.5.2.100
servingCellID [2] IMPLICIT ServingCellID
-- M 6.5.2.117
}
-- RandomVariableRequest RETURN RESULT Parameters
RandomVariableRequestRes ::= [PRIVATE 18] SET {
randomVariable [40] IMPLICIT RandomVariable OPTIONAL,
-- O 6.5.2.101 a
randValidTime [148] IMPLICIT RANDValidTime
-- O 6.5.2.105 a
}
-- 6.4.2.34 RedirectionDirective
RedirectionDirective ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16
digits-dest [4] IMPLICIT Digits OPTIONAL,
-- (Destination) M 6.5.2.58
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode,
-- (MSC) M 6.5.2.147
digits-carrier [4] IMPLICIT Digits OPTIONAL,
-- (Carrier) O 6.5.2.58 a
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 b
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 b
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 d
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
--O 6.5.2.83 c
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 d
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 d
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL
-- O 6.5.2.116 e
}
-- RedirectionDirective RETURN RESULT Parameters
-- zero octets
-- 6.4.2.35 RedirectionRequest
RedirectionRequest ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
msid MSID,
redirectionReason [19] IMPLICIT RedirectionReason,
-- M 6.5.2.110
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 a
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 b
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL
-- O 6.5.2.i
}
-- RedirectionRequest RETURN RESULT Parameters
-- Zero octets
-- 6.4.2.36 RegistrationCancellation
RegistrationCancellation ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
cancellationType [85] IMPLICIT CancellationType OPTIONAL,
-- O 6.5.2.27 a
controlChannelData [55] IMPLICIT ControlChannelData OPTIONAL,
-- O 6.5.2.51 b
receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 b
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 c
systemAccessData [56] IMPLICIT SystemAccessData OPTIONAL
-- O 6.5.2.144 b
}
-- RegistrationCancellation RETURN RESULT Parameters
RegistrationCancellationRes ::= [PRIVATE 18] SET {
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL,
-- O 6.5.2.18 a
cancellationDenied [57] IMPLICIT CancellationDenied OPTIONAL,
-- O 6.5.2.26 b
controlChannelData [55] IMPLICIT ControlChannelData OPTIONAL,
-- O 6.5.2.51 b
receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 b
sms-MessageWaitingIndicator [118] IMPLICIT SMS-MessageWaitingIndicator OPTIONAL,
-- O 6.5.2.129 c
systemAccessData [56] IMPLICIT SystemAccessData OPTIONAL
-- O 6.5.2.144 b
}
-- 6.4.2.37 RegistrationNotification
-- RegistrationNotification INVOKE Parameters
RegistrationNotification ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
msid MSID OPTIONAL,
-- M 6.5.2.bu
meid [390] IMPLICIT MEID OPTIONAL,
--
mscid [21] IMPLICIT MSCID,
--(Serving MSC) M 6.5.2.82
qualificationInformationCode [17] IMPLICIT QualificationInformationCode,
-- M 6.5.2.99
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode,
-- (Serving MSC or VLR) M 6.5.2.147
availabilityType [90] IMPLICIT AvailabilityType OPTIONAL,
-- O 6.5.2.15 a
borderCellAccess [58] IMPLICIT BorderCellAccess OPTIONAL,
-- O 6.5.2.17 b
cdmaNetworkIdentification [232] IMPLICIT CDMANetworkIdentification OPTIONAL,
-- (Serving) O 6.5.2.bk
controlChannelData [55] IMPLICIT ControlChannelData OPTIONAL,
-- O 6.5.2.51 b
controlChannelMode [199] IMPLICIT ControlChannelMode OPTIONAL,
-- O 6 .5.2.ac h
extendedMSCID [53] IMPLICIT ExtendedMSCID OPTIONAL,
-- (VLR) O 6.5.2.64 c
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 d
msc-Address [284] IMPLICIT MSC-Address OPTIONAL,
-- O 6.5.2.dnC l
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 2.152 t
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
--(Serving MSC or VLR) O 6.5.2.93 e
receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 b
reportType [44] IMPLICIT ReportType OPTIONAL,
-- O 6.5.2.112 f
serviceRedirectionCause [237] IMPLICIT ServiceRedirectionCause OPTIONAL,
-- O 6.5.2.bp
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 g
sms-Address [104] IMPLICIT SMS-Address OPTIONAL,
-- O 6.5.2.123 h
sms-MessageWaitingIndicator [118] IMPLICIT SMS-MessageWaitingIndicator OPTIONAL,
-- O 6.5.2.129 i
systemAccessData [56] IMPLICIT SystemAccessData OPTIONAL,
-- O 6.5.2.144 b
systemAccessType [34] IMPLICIT SystemAccessType OPTIONAL,
-- O 6.5.2.145 j
systemCapabilities [49] IMPLICIT SystemCapabilities OPTIONAL,
-- O 6.5.2.146 k
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 6.5.2.154 j
transactionCapability [123] IMPLICIT TransactionCapability OPTIONAL,
-- O 6.5.2.160 j
winCapability [280] IMPLICIT WINCapability OPTIONAL,
-- O 6.5.2.di l
...,
mpcAddress [370] IMPLICIT MPCAddress OPTIONAL,
-- O 6.5.2.ha z, ab
mpcAddressList [381] IMPLICIT MPCAddressList OPTIONAL
-- O 6.5.2.hm aa, ab
}
-- RegistrationNotification RETURN RESULT Parameters
RegistrationNotificationRes ::= [PRIVATE 18] SET {
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode,
-- (VLR or HLR) M 6.5.2.147
analogRedirectRecord [225] IMPLICIT AnalogRedirectRecord OPTIONAL,
-- O 6.5.2.bd
authorizationDenied [13] IMPLICIT AuthorizationDenied OPTIONAL,
-- O 6.5.2.13 a
authorizationPeriod [14] IMPLICIT AuthorizationPeriod OPTIONAL,
-- O 6.5.2.14 b
cdmaRedirectRecord [229] IMPLICIT CDMARedirectRecord OPTIONAL,
-- O 6.5.2.bh
controlChannelData [55] IMPLICIT ControlChannelData OPTIONAL,
-- O 6.5.2.51 c
deniedAuthorizationPeriod [167] IMPLICIT DeniedAuthorizationPeriod OPTIONAL,
-- O 6.5.2.53 d
digits-Carrier [4] IMPLICIT Digits OPTIONAL,
--(Carrier) O 6.5.2.58 e
digits-Destination [4] IMPLICIT Digits OPTIONAL,
-- (Destination) O 6.5.2.58 f
mscid [21] IMPLICIT MSCID OPTIONAL,
--(HLR) O 6.5.2.82 g
msid MSID OPTIONAL,
-- O 6.5.2.bu
--Profile **Macro** O 6.5.2.97 h
authenticationCapability [78] IMPLICIT AuthenticationCapability OPTIONAL,
-- O 6.5.2.8 a
callingFeaturesIndicator [25] IMPLICIT CallingFeaturesIndicator OPTIONAL,
-- O 6.5.2.20 b
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 c
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g d
controlNetworkID [307] IMPLICIT ControlNetworkID OPTIONAL,
-- O 6.5.2.ek u
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 d
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 d
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 d
geographicAuthorization [143] IMPLICIT GeographicAuthorization OPTIONAL,
-- O 6.5.2.68 e
meidValidated [401] IMPLICIT MEIDValidated OPTIONAL,
-- O 3.2.2.98
messageWaitingNotificationCount [92] IMPLICIT MessageWaitingNotificationCount OPTIONAL,
-- O 6.5.2.78 f
messageWaitingNotificationType [145] IMPLICIT MessageWaitingNotificationType OPTIONAL,
-- O 6.5.2.79 g
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 d
mobilePositionCapability [335] IMPLICIT MobilePositionCapability OPTIONAL,
-- O 6.5.2.fm t TIA/EIA/J-STD-036-A
originationIndicator [23] IMPLICIT OriginationIndicator OPTIONAL,
-- O 6.5.2.89 h
originationTriggers [98] IMPLICIT OriginationTriggers OPTIONAL,
-- O 6.5.2.90 i
pACAIndicator [146] IMPLICIT PACAIndicator OPTIONAL,
-- O 6.5.2.91 j
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 k
qosPriority [348] IMPLICIT QoSPriority OPTIONAL,
--6.5.2.ge z
restrictionDigits [227] IMPLICIT RestrictionDigits OPTIONAL,
-- O 6.5.2.113 l
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 m
pSID-RSIDList [203] IMPLICIT PSID-RSIDList OPTIONAL,
-- O 6 .5.2.ag u , w
sms-OriginationRestrictions [115] IMPLICIT SMS-OriginationRestrictions OPTIONAL,
-- O 6.5.2.136 n
sms-TerminationRestrictions [117] IMPLICIT SMS-TerminationRestrictions OPTIONAL,
-- O 6.5.2.138 o
spinipin [154] IMPLICIT SPINIPIN OPTIONAL,
-- O 6.5.2.139 p
spiniTriggers [155] IMPLICIT SPINITriggers OPTIONAL,
-- O 6.5.2.140 q
tdmaDataFeaturesIndicator [221] IMPLICIT TDMADataFeaturesIndicator OPTIONAL,
-- O 6.5.2.az s
terminationRestrictionCode [24] IMPLICIT TerminationRestrictionCode OPTIONAL,
-- O 6.5.2.157 r
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 s
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL,
-- O 6.5.2.de t
userGroup [208] IMPLICIT UserGroup OPTIONAL,
-- O 6 .5.2.al p
nonPublicData [200] IMPLICIT NonPublicData OPTIONAL,
-- O 6 .5.2.ad v
userZoneData [209] IMPLICIT UserZoneData OPTIONAL,
-- O 6 .5.2.am v , w
callingPartyCategory [355] IMPLICIT CallingPartyCategory OPTIONAL,
-- O 6.5.2.gl z
lirMode [369] IMPLICIT LIRMode OPTIONAL,
-- O 6.5.2.gz z
-- END MACRO
receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 c
serviceRedirectionInfo [238] IMPLICIT ServiceRedirectionInfo OPTIONAL,
-- O 6.5.2.bq k, l
roamingIndication [239] IMPLICIT RoamingIndication OPTIONAL,
-- O 6.5.2.br
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 i
sms-MessageWaitingIndicator [118] IMPLICIT SMS-MessageWaitingIndicator OPTIONAL,
-- O 6.5.2.129 j
systemAccessData [56] IMPLICIT SystemAccessData OPTIONAL
-- O 6.5.2.144 c
}
-- 6.4.2.38 RemoteUserInteractionDirective
RemoteUserInteractionDirective ::= [PRIVATE 18] SET {
announcementList [130] IMPLICIT AnnouncementList,
-- M 6.5.2.6
digitCollectionControl [139] IMPLICIT DigitCollectionControl
-- M 6.5.2.57
}
-- RemoteUserInteractionDirective RETURN RESULT Parameters
RemoteUserInteractionDirectiveRes ::= [PRIVATE 18] SET {
digits [4] IMPLICIT Digits OPTIONAL
-- (Dialed) O 6.5.2.58 a
}
-- 6.4.2.39 ResetCircuit
ResetCircuit ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID
-- M 6.5.2.72
}
-- ResetCircuit RETURN RESULT Parameters
ResetCircuitRes ::= [PRIVATE 18] SET {
trunkStatus [16] IMPLICIT TrunkStatus
-- M 6.5.2.161
}
-- 6.4.2.40 RoutingRequest
RoutingRequest ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16 a
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
mscid [21] IMPLICIT MSCID,
-- (Originating MSC) M 6.5.2.82
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode,
-- (Originating MSC) M 6.5.2.147
alertCode [75] IMPLICIT AlertCode OPTIONAL,
-- O 6.5.2.3 b
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw r, u, v
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 c, t
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 c, t
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 c
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
--, O 6.5.2.24 c
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 c
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f
controlChannelMode [199] IMPLICIT ControlChannelMode OPTIONAL,
-- O 6 .5.2.ac r
destinationDigits [87] IMPLICIT DestinationDigits OPTIONAL,
-- O 6.5.2.56 d, e
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, p
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- O 6.5.2.ec d, e, p
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 f
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 f
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 f
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 g
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 f, h
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 f
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
msid MSID,
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 i
noAnswerTime [96] IMPLICIT NoAnswerTime OPTIONAL,
-- O 6.5.2.87 j
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 k
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Originating MSC) O 6.5.2.93 l
pilotBillingID [169] IMPLICIT PilotBillingID OPTIONAL,
-- O 6.5.2.94 m
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 m
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- OO 6.5.2.107 c, t
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 c
redirectingPartyName [245] IMPLICIT RedirectingPartyName OPTIONAL,
-- O 6.5.2.by s, u, v
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 c
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 n
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i
terminationTreatment [121] IMPLICIT TerminationTreatment OPTIONAL,
-- O 6.5.2.158 o
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 f
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL,
-- O 6.5.2.de u
userGroup [208] IMPLICIT UserGroup OPTIONAL,
-- O 6 .5.2.al s
transactionCapability [123] IMPLICIT TransactionCapability OPTIONAL,
-- (Originating MSC) O M 6.5.2.160
voiceMailboxNumber [160] IMPLICIT VoiceMailboxNumber OPTIONAL,
-- O 6.5.2.164 p
voiceMailboxPIN [159] IMPLICIT VoiceMailboxPIN OPTIONAL
-- O 6.5.2.165 q
}
-- RoutingRequest RETURN RESULT Parameters
RoutingRequestRes ::= [PRIVATE 18] SET {
mscid [21] IMPLICIT MSCID,
-- (Serving) M 6.5.2.82
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 a
billingID [1] IMPLICIT BillingID OPTIONAL,
-- (Anchor) O 6.5.2.16 b
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f
conditionallyDeniedReason [162] IMPLICIT ConditionallyDeniedReason OPTIONAL,
-- O 6.5.2.48 c
digits-Destination [4] IMPLICIT Digits OPTIONAL,
-- (Destination) O 6.5.2.58 d
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 e
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Serving MSC) O 6.5.2.93 f
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL
-- O 6.5.2.i
}
-- 6.4.2.41 SMSDeliveryBackward
SMSDeliveryBackward ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81 a
sms-BearerData [105] IMPLICIT SMS-BearerData,
-- M 6.5.2.124
sms-TeleserviceIdentifier [116] IMPLICIT SMS-TeleserviceIdentifier,
--M 6.5.2.137
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 b
sms-ChargeIndicator [106] IMPLICIT SMS-ChargeIndicator OPTIONAL,
-- O 6.5.2.126 c
sms-DestinationAddress [107] IMPLICIT SMS-DestinationAddress OPTIONAL,
-- O 6.5.2.127 d
sms-OriginalDestinationAddress [110] IMPLICIT SMS-OriginalDestinationAddress OPTIONAL,
-- O 6.5.2.131 e
sms-OriginalDestinationSubaddress [111] IMPLICIT SMS-OriginalDestinationSubaddress OPTIONAL,
-- O 6.5.2.132 b
sms-OriginalOriginatingAddress [112] IMPLICIT SMS-OriginalOriginatingAddress OPTIONAL,
-- O 6.5.2.133 f
sms-OriginalOriginatingSubaddress [113] IMPLICIT SMS-OriginalOriginatingSubaddress OPTIONAL,
-- O 6.5.2.134 b
sms-OriginatingAddress [114] IMPLICIT SMS-OriginatingAddress OPTIONAL
-- O 6.5.2.135 g
}
-- SMSDeliveryBackward RETURN RESULT Parameters
SMSDeliveryBackwardRes ::= [PRIVATE 18] SET {
sms-BearerData [105] IMPLICIT SMS-BearerData OPTIONAL,
-- O 6.5.2.124 a
sms-CauseCode [153] IMPLICIT SMS-CauseCode OPTIONAL
-- O 6.5.2.125 b
}
-- 6.4.2.42 SMSDeliveryForward
SMSDeliveryForward ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81 a
sms-BearerData [105] IMPLICIT SMS-BearerData,
-- M 6.5.2.124
sms-TeleserviceIdentifier [116] IMPLICIT SMS-TeleserviceIdentifier,
-- M 6.5.2.137
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- O 6.5.2.63 b
sms-ChargeIndicator [106] IMPLICIT SMS-ChargeIndicator OPTIONAL,
-- O 6.5.2.126 c
sms-DestinationAddress [107] IMPLICIT SMS-DestinationAddress OPTIONAL,
--O 6.5.2.127 d
sms-OriginalDestinationAddress [110] IMPLICIT SMS-OriginalDestinationAddress OPTIONAL,
-- O 6.5.2.131 e
sms-OriginalDestinationSubaddress [111] IMPLICIT SMS-OriginalDestinationSubaddress OPTIONAL,
-- O 6.5.2.132 b
sms-OriginalOriginatingAddress [112] IMPLICIT SMS-OriginalOriginatingAddress OPTIONAL,
-- O 6.5.2.133 f
sms-OriginalOriginatingSubaddress [113] IMPLICIT SMS-OriginalOriginatingSubaddress OPTIONAL,
-- O 6.5.2.134 b
sms-OriginatingAddress [114] IMPLICIT SMS-OriginatingAddress OPTIONAL
-- O 6.5.2.135 g
}
-- SMSDeliveryForward RETURN RESULT Parameters
SMSDeliveryForwardRes ::= [PRIVATE 18] SET {
sms-BearerData [105] IMPLICIT SMS-BearerData OPTIONAL,
--, O 6.5.2.124 a
sms-CauseCode [153] IMPLICIT SMS-CauseCode OPTIONAL
-- O 6.5.2.125 b
}
-- N.S0005-0 v 1.0
-- 6.4.2.43 SMSDeliveryPointToPoint
SMSDeliveryPointToPoint ::= [PRIVATE 18] SET {
sms-BearerData [105] IMPLICIT SMS-BearerData,
-- M 6.5.2.124
sms-TeleserviceIdentifier [116] IMPLICIT SMS-TeleserviceIdentifier,
-- M 6.5.2.137
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2
cdmaServingOneWayDelay2 [347] IMPLICIT CDMAServingOneWayDelay2 OPTIONAL,
-- O 6.5.2.gd n, r
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 a
meid [390] IMPLICIT MEID OPTIONAL,
-- O 6.5.2.hv
interMessageTime [325] IMPLICIT InterMessageTime OPTIONAL,
-- O 6.5.2.fd
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 a
-- Exchanged by MSID
mscid [21] IMPLICIT MSCID OPTIONAL,
-- O 6.5.2.82 f
-- msid MSID OPTIONAL,
imsi [242] IMPLICIT IMSI OPTIONAL,
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
--6.5.2.bv
newlyAssignedIMSI [287] IMPLICIT NewlyAssignedIMSI OPTIONAL,
-- O 6.5.2.dqB j
newlyAssignedMIN [187] IMPLICIT NewlyAssignedMIN OPTIONAL,
-- O 6.5.2.rB j
newMINExtension [328] IMPLICIT NewMINExtension OPTIONAL,
-- O 6.5.2.ff n
serviceIndicator [193] IMPLICIT ServiceIndicator OPTIONAL,
-- O 6.5.2.wB
sms-ChargeIndicator [106] IMPLICIT SMS-ChargeIndicator OPTIONAL,
-- O 6.5.2.126 b
sms-DestinationAddress [107] IMPLICIT SMS-DestinationAddress OPTIONAL,
-- O 6.5.2.127 c
sms-MessageCount [108] IMPLICIT SMS-MessageCount OPTIONAL,
-- O 6.5.2.128 d
sms-NotificationIndicator [109] IMPLICIT SMS-NotificationIndicator OPTIONAL,
-- O 6.5.2.130 e
sms-OriginalDestinationAddress [110] IMPLICIT SMS-OriginalDestinationAddress OPTIONAL,
-- O 6.5.2.131 f
sms-OriginalDestinationSubaddress [111] IMPLICIT SMS-OriginalDestinationSubaddress OPTIONAL,
-- O 6.5.2.132 g
sms-OriginalOriginatingAddress [112] IMPLICIT SMS-OriginalOriginatingAddress OPTIONAL,
-- O 6.5.2.133 f
sms-OriginalOriginatingSubaddress [113] IMPLICIT SMS-OriginalOriginatingSubaddress OPTIONAL,
-- O 6.5.2.134 b
sms-OriginatingAddress [114] IMPLICIT SMS-OriginatingAddress OPTIONAL,
-- O 6.5.2.135 g
teleservice-Priority [290] IMPLICIT Teleservice-Priority OPTIONAL,
-- O 6.5.2.dt
temporaryReferenceNumber [195] IMPLICIT TemporaryReferenceNumber OPTIONAL
-- O 6.5.2.yC
}
-- SMSDeliveryPointToPoint RETURN RESULT Parameters
SMSDeliveryPointToPointRes ::= [PRIVATE 18] SET {
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 k
authorizationDenied [13] IMPLICIT AuthorizationDenied OPTIONAL,
-- O 6.5.2.13 h
denyAccess [50] IMPLICIT DenyAccess OPTIONAL,
-- O 6.5.2.54 c
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 d
meid [390] IMPLICIT MEID OPTIONAL,
-- O 6.5.2.hv
mobileStationMSID MobileStationMSID OPTIONAL,
-- O 6.5.2.oC e
mscid [21] IMPLICIT MSCID OPTIONAL,
-- O 6.5.2.82 f
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 TIA/EIA/J-STD-036-A
sms-BearerData [105] IMPLICIT SMS-BearerData OPTIONAL,
-- O 6.5.2.124 a
sms-CauseCode [153] IMPLICIT SMS-CauseCode OPTIONAL,
-- O 6.5.2.125 b
systemCapabilities [49] IMPLICIT SystemCapabilities OPTIONAL
-- O 6.5.2.146 g
}
-- 2.65 SMSDeliveryPointToPointAck X.S0004-540-E v2.0
SMSDeliveryPointToPointAck ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 2.129
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 2.127 d
msid MSID OPTIONAL,
-- MobileIdentificationNumber O 2.140 d ( exchanged for msid RAB).
sms-BearerData [105] IMPLICIT SMS-BearerData OPTIONAL,
-- O 2.233 a
sms-CauseCode [153] IMPLICIT SMS-CauseCode OPTIONAL,
-- O 2.234 b
sms-TransactionID [302] IMPLICIT SMS-TransactionID OPTIONAL
-- O 2.248 c
}
-- 6.4.2.44 SMSNotification
SMSNotification ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
-- Exchanged by MCID
msid MSID OPTIONAL,
--6.5.2.bv
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 f
sms-AccessDeniedReason [152] IMPLICIT SMS-AccessDeniedReason OPTIONAL,
-- O 6.5.2.122 a
sms-Address [104] IMPLICIT SMS-Address OPTIONAL,
-- O 6.5.2.123 a, b
sms-TeleserviceIdentifier [116] IMPLICIT SMS-TeleserviceIdentifier OPTIONAL,
-- O 6.5.2.137
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- SMSNotification RETURN RESULT Parameters
SMSNotificationRes ::= [PRIVATE 18] SET {
sms-MessageCount [108] IMPLICIT SMS-MessageCount OPTIONAL
-- O 6.5.2.128
}
-- 6.4.2.45 SMSRequest
SMSRequest ::= [PRIVATE 18] SET {
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
msid MSID OPTIONAL,
-- 6.5.2.bv e, f, g
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 e
serviceIndicator [193] IMPLICIT ServiceIndicator OPTIONAL,
-- O 6.5.2.wB d
-- O 6.5.2.63 a
sms-NotificationIndicator [109] IMPLICIT SMS-NotificationIndicator OPTIONAL,
-- O 6.5.2.130 b
sms-TeleserviceIdentifier [116] IMPLICIT SMS-TeleserviceIdentifier OPTIONAL
-- O 6.5.2.137 c
}
-- SMSRequest RETURN RESULT Parameters
-- X.S0004-540-E v2.0
SMSRequestRes ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 a
msid MSID OPTIONAL,
-- 6.5.2.bv
sms-AccessDeniedReason [152] IMPLICIT SMS-AccessDeniedReason OPTIONAL,
-- O 6.5.2.122 b, c
sms-Address [104] IMPLICIT SMS-Address OPTIONAL,
-- O 6.5.2.123 c, d
sms-CauseCode [153] IMPLICIT SMS-CauseCode OPTIONAL,
-- O 6.5.2.125
transactionCapability [123] IMPLICIT TransactionCapability OPTIONAL
-- O 2.285 f
}
-- 6.4.2.46 TransferToNumberRequest Updated with N.S0023-0 v 1.0
TransferToNumberRequest ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
msid MSID OPTIONAL,
-- M 6.5.2.bv h
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
redirectionReason [19] IMPLICIT RedirectionReason,
-- M 6.5.2.110
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode,
-- (MSC) M 6.5.2.147
acgencountered [340] IMPLICIT ACGEncountered OPTIONAL,
-- O 6.5.2.fv h
billingID [1] IMPLICIT BillingID OPTIONAL,
-- (Originating) O 6.5.2.16 a
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw r, u, v
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 c, t
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 c, t
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 c
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f
groupInformation [163] IMPLICIT GroupInformation OPTIONAL,
-- O 6.5.2.69 b
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 c
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Originating) O 6.5.2.82 d
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 e
pilotBillingID [169] IMPLICIT PilotBillingID OPTIONAL,
-- O 6.5.2.94 f
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 f
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 g N.S.00013
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i
transactionCapability [123] IMPLICIT TransactionCapability OPTIONAL,
-- O 6.5.2.160 e
winCapability [280] IMPLICIT WINCapability OPTIONAL,
-- O 6.5.2.di i
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- TransferToNumberRequest RETURN RESULT Parameters
TransferToNumberRequestRes ::= [PRIVATE 18] SET {
digits-Destination [4] IMPLICIT Digits OPTIONAL,
-- (Destination) M 6.5.2.58 a
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 b
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 c
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 d
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 e
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 e
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 e, f
digits-Carrier [4] IMPLICIT Digits OPTIONAL,
-- (Carrier) O 6.5.2.58 g
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, p
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- O 6.5.2.ec d, e, p
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 h
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 h
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 h
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 h
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL,
-- O 6.5.2.ei k
groupInformation [163] GroupInformation OPTIONAL,
-- O 6.5.2.69 i
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 h
noAnswerTime [96] IMPLICIT NoAnswerTime OPTIONAL,
-- O 6.5.2.87 g
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 g, m
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 f
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 e
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 e, f
terminationList [120] IMPLICIT TerminationList OPTIONAL,
-- O 6.5.2.156 j
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 g
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de l
}
-- 6.4.2.47 TrunkTest
TrunkTest ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
seizureType [15] IMPLICIT SeizureType
-- M 6.5.2.115
}
-- TrunkTest RETURN RESULT Parameters
-- zero octets
-- 6.4.2.48 TrunkTestDisconnect
TrunkTestDisconnect ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID
-- M 6.5.2.72
}
-- TrunkTestDisconnect RETURN RESULT Parameters
-- zero octets
-- 6.4.2.49 Unblocking
Unblocking ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID
-- M 6.5.2.72
}
-- Unblocking RETURN RESULT Parameters
-- zero octets
-- 6.4.2.50 UnreliableRoamerDataDirective
UnreliableRoamerDataDirective ::= [PRIVATE 18] SET {
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (HLR) O 6.5.2.82 a
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL
-- O 6.5.2.116 b
}
-- UnreliableRoamerDataDirective RETURN RESULT Parameters
-- zero octets
-- 6.4.2.51 UnsolicitedResponse
UnsolicitedResponse ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Anchor) M 6.5.2.16
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f
digits-Destination [4] IMPLICIT Digits OPTIONAL,
-- (Destination) O 6.5.2.58 a
extendedMSCID [53] IMPLICIT ExtendedMSCID OPTIONAL,
-- (Border MSC) O 6.5.2.64 a
extendedSystemMyTypeCode [54] IMPLICIT ExtendedSystemMyTypeCode OPTIONAL,
-- (Border MSC) O 6.5.2.65 a
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Border MSC) O 6.5.2.93 a, b
systemAccessType [34] IMPLICIT SystemAccessType OPTIONAL,
-- O 6.5.2.145 c
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- UnsolicitedResponse RETURN RESULT Parameters
UnsolicitedResponseRes ::= [PRIVATE 18] SET {
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1
alertCode [75] IMPLICIT AlertCode OPTIONAL,
-- O 6.5.2.3 a
billingID [1] IMPLICIT BillingID OPTIONAL,
-- (Originating) O 6.5.2.16 b
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw g, i
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 d
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 d
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 c
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 c
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 c
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, p
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- O 6.5.2.ec d, e, p
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 d
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 d
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 d
extendedMSCID [53] IMPLICIT ExtendedMSCID OPTIONAL,
-- (Originating MSC) O 6.5.2.64 e
extendedSystemMyTypeCode [54] IMPLICIT ExtendedSystemMyTypeCode OPTIONAL,
-- (Originating MSC) O 6.5.2.65 f
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 g
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 d
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- (Origination MSC) O 6.5.2.83 g
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 g
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Originating MSC) O 6.5.2.93 h
pilotBillingID [169] IMPLICIT PilotBillingID OPTIONAL,
-- O 6.5.2.94 g
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 g
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 g
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 d
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 c
redirectingPartyName [245] IMPLICIT RedirectingPartyName OPTIONAL,
-- O 6.5.2.by g, i
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 c
terminationTreatment [121] IMPLICIT TerminationTreatment OPTIONAL,
-- O 6.5.2.158 g
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 g
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de g
}
-- N.S0010-0 v 1.0
-- 6.4.2.e ParameterRequest
ParameterRequest ::= [PRIVATE 18] SET {
requiredParametersMask [236] IMPLICIT RequiredParametersMask,
-- M 6.5.2.j
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 a
msid MSID OPTIONAL,
-- O 6.5.2.bu b
mscid [21] IMPLICIT MSCID OPTIONAL,
--O 6.5.2.82 c
networkTMSI [233] IMPLICIT NetworkTMSI OPTIONAL,
-- O 6.5.2.bl b
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- O 6.5.2.93 d
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 e
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL
-- O 6.5.2.147 f
}
-- Table 6.4.2.e-2 ParameterRequest RETURN RESULT Parameters
ParameterRequestRes ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 a
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu a
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 a
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 a
networkTMSI [233] IMPLICIT NetworkTMSI OPTIONAL,
-- O 6.5.2.bl a
reasonList [218] IMPLICIT ReasonList OPTIONAL
-- O 6.5.2.aw
}
-- 6.4.2.f TMSIDirective (N.S0005-0 v 1.0 Chapter 5, page 1
TMSIDirective ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
mscid [21] IMPLICIT MSCID,
-- M 6.5.2.bu
networkTMSIExpirationTime [234] IMPLICIT NetworkTMSIExpirationTime,
-- M 6.5.2.bm
newNetworkTMSI [235] IMPLICIT NewNetworkTMSI,
--M 6.5.2.bn
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.83 a
networkTMSI [233] IMPLICIT NetworkTMSI OPTIONAL
-- O 6.5.2.bl
}
--Table 6.4.2.f-2 TMSIDirective RETURN RESULT Parameters
TMSIDirectiveRes ::= [PRIVATE 18] SET {
denyAccess [50] IMPLICIT DenyAccess OPTIONAL,
-- O 6.5.2.54 b
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 b
mscid [21] IMPLICIT MSCID OPTIONAL,
-- O 6.5.2.bu b
reasonList [218] IMPLICIT ReasonList OPTIONAL,
-- O 6.5.2.aw
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
--X.S0004-540-E v2.0 2.42 NumberPortabilityRequest
-- 6.4.2.g NumberPortabilityRequest Updated with N.S0023-0 v 1.0
NumberPortabilityRequest ::= [PRIVATE 18] SET {
digits [4] IMPLICIT Digits,
-- (Dialed) M 6.5.2.58
acgencountered [340] IMPLICIT ACGEncountered OPTIONAL,
-- O 6.5.2.fv d
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 a
mscid [21] IMPLICIT MSCID OPTIONAL,
-- O 6.5.2.82 b
msid MSID OPTIONAL
-- (Originating) O 6.5.2.bv c
}
NumberPortabilityRequestRes ::= [PRIVATE 18] SET {
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL
-- O 2.209
}
-- 6.4.2.h ServiceRequest Updated with N.S0023-0 v 1.0
ServiceRequest ::= [PRIVATE 18] SET {
serviceID [246] IMPLICIT ServiceID,
-- M 6.5.2.bz
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 c d
acgencountered [340] IMPLICIT ACGEncountered OPTIONAL,
-- O 6.5.2.fv p
availabilityType [90] IMPLICIT AvailabilityType OPTIONAL,
-- O 6.5.2.15 c, e
billingID [1] IMPLICIT BillingID OPTIONAL,
-- O 6.5.2.16 a, f
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw a
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
--O 6.5.2.21 a 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 0 0 0 (0x50)
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
--O 6.5.2.22 b 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 0 0 1 (0x51)
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
--O 6.5.2.25 a 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 1 0 0 (0x54)
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 p
conditionallyDeniedReason [162] IMPLICIT ConditionallyDeniedReason OPTIONAL,
-- O 6.5.2.48 c, d
dataAccessElementList [250] IMPLICIT DataAccessElementList OPTIONAL,
-- O 6.5.2.cd c
destinationDigits [87] IMPLICIT DestinationDigits OPTIONAL,
-- O 6.5.2.56 q
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) O 6.5.2.58 a
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 c
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL,
-- O 6.5.2.ej c, r
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 c, s
extendedMSCID [53] IMPLICIT ExtendedMSCID OPTIONAL,
-- O 6.5.2.64 c, t
featureIndicator [306] IMPLICIT FeatureIndicator OPTIONAL,
-- O 6.5.2.ej c, u
groupInformation [163] GroupInformation OPTIONAL,
-- O 6.5.2.69 c
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 c
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 c
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 c, g
-- Removed MobileIdentificationNumber O 6.5.2.81 c
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Invoking) O 6.5.2.82 c, h
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- (Invoking) O 6.5.2.83 c, i
msid MSID OPTIONAL,
-- O 6.5.2.bv p
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- O 6.5.2.93 i, j
pilotBillingID [169] IMPLICIT PilotBillingID OPTIONAL,
-- O 6.5.2.94 c
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 c
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 a
redirectingPartyName [245] IMPLICIT RedirectingPartyName OPTIONAL,
-- O 6.5.2.by a
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 a
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 a
redirectionReason [19] IMPLICIT RedirectionReason OPTIONAL,
-- O 6.5.2.110 a, c
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 v
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 6.5.2.116 k
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 c
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL,
-- O 6.5.2.147 l
terminationAccessType [119] IMPLICIT TerminationAccessType OPTIONAL,
-- O 6.5.2.155 c
timeDateOffset [275] IMPLICIT TimeDateOffset OPTIONAL,
-- O 6.5.2.dd c, w
timeOfDay [309] IMPLICIT TimeOfDay OPTIONAL,
-- O 6.5.2.em c, x
transactionCapability [123] IMPLICIT TransactionCapability OPTIONAL,
-- O 6.5.2.160 m
triggerType [279] IMPLICIT TriggerType OPTIONAL,
-- O 6.5.2.dh n
winCapability [280] IMPLICIT WINCapability OPTIONAL
-- O 6.5.2.di o
}
-- ServiceRequest RETURN RESULT Parameters
ServiceRequestRes ::= [PRIVATE 18] SET {
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 b
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 c
alertCode [75] IMPLICIT AlertCode OPTIONAL,
-- O 6.5.2.3 d
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 e
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw a
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 a
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 a
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 a
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 a
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) O 6.5.2.58 f
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, p
displayText2 [299] IMPLICIT DisplayText2 OPTIONAL,
-- O 6.5.2.ec d, e, p
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 a
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 a
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 a
dmh-ChargeInformation [311] IMPLICIT DMH-ChargeInformation OPTIONAL,
-- O 6.5.2.eo a, k
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 a
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL,
-- O 6.5.2.ei i
groupInformation [163] IMPLICIT GroupInformation OPTIONAL,
-- O 6.5.2.69 a
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 a
noAnswerTime [96] IMPLICIT NoAnswerTime OPTIONAL,
-- O 6.5.2.87 a
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 a
redirectingNumberString [101] IMPLICIT RedirectingNumberString OPTIONAL,
-- O 6.5.2.108 a
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 a
resumePIC [266] IMPLICIT ResumePIC OPTIONAL,
-- O 6.5.2.cu g
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 a
terminationList [120] IMPLICIT TerminationList OPTIONAL,
-- O 6.5.2.156 h
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de j
}
-- 6.4.2.i AnalyzedInformation Updated with N.S0023-0 v 1.0
AnalyzedInformation ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16 a
digits [4] IMPLICIT Digits,
-- (Dialed) M 6.5.2.58
mscid [21] IMPLICIT MSCID,
-- (Originating) M 6.5.2.82 b
transactionCapability [123] IMPLICIT TransactionCapability,
-- M 6.5.2.160
triggerType [279] IMPLICIT TriggerType,
-- M 6.5.2.dh c
winCapability [280] IMPLICIT WINCapability,
-- M 6.5.2.di d
acgencountered [340] IMPLICIT ACGEncountered OPTIONAL,
-- O 6.5.2.fv n
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw e, m
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 e
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 e
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 e
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 n, o
conferenceCallingIndicator [137] IMPLICIT ConferenceCallingIndicator OPTIONAL,
-- O 6.5.2.49 f
destinationDigits [87] IMPLICIT DestinationDigits OPTIONAL,
-- O 6.5.2.56 n, p
dmd-BillingIndicator [312] IMPLICIT DMH-BillingIndicator OPTIONAL,
-- O 6.5.2.ep y
dmh-ChargeInformation [311] IMPLICIT DMH-ChargeInformation OPTIONAL,
-- O 6.5.2.eo g, r
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 q
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 g, r
featureIndicator [306] IMPLICIT FeatureIndicator OPTIONAL,
-- O 6.5.2.ej s
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 h, t
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 i
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 g
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 j
msid MSID OPTIONAL,
-- O 6.5.2.bv n
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 k
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 e
redirectingPartyName [245] IMPLICIT RedirectingPartyName OPTIONAL,
-- O 6.5.2.by b, m
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 e
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 n, u
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 h, v
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL,
-- O 6.5.2.147
terminationAccessType [119] IMPLICIT TerminationAccessType OPTIONAL,
-- O 6.5.2.155 l
timeDateOffset [275] IMPLICIT TimeDateOffset OPTIONAL,
-- O 6.5.2.dd w
timeOfDay [309] IMPLICIT TimeOfDay OPTIONAL
-- O 6.5.2.em x
}
--AnalyzedInformation RETURN RESULT Parameters
-- Analyzed Information Request
AnalyzedInformationRes ::= [PRIVATE 18] SET {
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 a
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 b
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 c
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 d
conferenceCallingIndicator [137] IMPLICIT ConferenceCallingIndicator OPTIONAL,
-- O 6.5.2.49 e
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) O 6.5.2.58 f
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, m
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 g
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 g
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 g
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 h
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL,
-- O 6.5.2.ei n
noAnswerTime [96] IMPLICIT NoAnswerTime OPTIONAL,
-- O 6.5.2.87 i
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 j
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 d
resumePIC [266] IMPLICIT ResumePIC OPTIONAL,
-- O 6.5.2.cu k
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 d
terminationList [120] IMPLICIT TerminationList OPTIONAL,
-- O 6.5.2.156 l
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 d
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de d, o
}
-- 6.4.2.j ConnectionFailureReport
ConnectionFailureReport ::= [PRIVATE 18] SET {
failureType [260] IMPLICIT FailureType,
-- M 6.5.2.cn
failureCause [387] IMPLICIT FailureCause OPTIONAL
-- O 6.5.2.cm
}
-- 6.4.2.k ConnectResource
ConnectResource ::= [PRIVATE 18] SET {
destinationDigits [87] IMPLICIT DestinationDigits,
-- M 6.5.2.56
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 a
outingDigits [150] IMPLICIT RoutingDigits OPTIONAL
-- O 6.5.2.114 a
}
-- 6.4.2.l DisconnectResource
-- NO data
--DisconnectResource ::= [PRIVATE 18] SET {
-- }
-- 6.4.2.m FacilitySelectedAndAvailable updated with N.S0023-0 v 1.0
FacilitySelectedAndAvailable ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Serving) M 6.5.2.16
mscid [21] IMPLICIT MSCID,
-- (Serving) M 6.5.2.82
transactionCapability [123] IMPLICIT TransactionCapability,
-- M 6.5.2.160
triggerType [279] IMPLICIT TriggerType,
-- M 6.5.2.dh a
winCapability [280] IMPLICIT WINCapability,
-- M 6.5.2.di b
acgencountered [340] IMPLICIT ACGEncountered OPTIONAL,
-- O 6.5.2.fv
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw c, i
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 c
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 c
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 c
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63
groupInformation [163] IMPLICIT GroupInformation OPTIONAL,
-- O 6.5.2.69 c
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 c
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 c
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 d, e
--MobileIdentificationNumber O 6.5.2.81 d
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 f
msid MSID OPTIONAL,
-- O 6.5.2.bv d, j
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 g
pilotBillingID [169] IMPLICIT PilotBillingID OPTIONAL,
-- O 6.5.2.94 c
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 c
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 c
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 c
redirectingPartyName [245] IMPLICIT RedirectingPartyName OPTIONAL,
-- O 6.5.2.by c, i
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 c
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 c
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL,
-- O 6.5.2.147
terminationAccessType [119] IMPLICIT TerminationAccessType OPTIONAL
-- O 6.5.2.155 h
}
-- FacilitySelectedAndAvailable RETURN RESULT Parameters
FacilitySelectedAndAvailableRes ::= [PRIVATE 18] SET {
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 a
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 b
alertCode [75] IMPLICIT AlertCode OPTIONAL,
-- O 6.5.2.3 c
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, j
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 e
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 e
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 e
dmh-ChargeInformation [311] IMPLICIT DMH-ChargeInformation OPTIONAL,
-- O 6.5.2.eo e, l
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 e, f
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL,
-- O 6.5.2.ei k
noAnswerTime [96] IMPLICIT NoAnswerTime OPTIONAL,
-- O 6.5.2.87 g
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 h
resumePIC [266] IMPLICIT ResumePIC OPTIONAL,
-- O 6.5.2.cu i
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 d
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de d, l
}
-- 6.4.2.n InstructionRequest
-- InstructionRequest ::= [PRIVATE 18] SET {
-- Length zero octets
-- }
-- InstructionRequest RETURN RESULT Parameters
-- zero octets M 6.3.2.2
-- 6.4.2.o Modify
Modify ::= [PRIVATE 18] SET {
databaseKey [252] IMPLICIT DatabaseKey,
-- M 6.5.2.cf a
modificationRequestList [263] IMPLICIT ModificationRequestList
-- M 6.5.2.cq
}
-- Modify RETURN RESULT Parameters
ModifyRes ::= [PRIVATE 18] SET {
modificationResultList [264] IMPLICIT ModificationResultList
-- M 6.5.2.cs a
}
-- 6.4.2.p ResetTimer
-- NO data
-- 6.4.2.q Search
Search ::= [PRIVATE 18] SET {
databaseKey [252] IMPLICIT DatabaseKey,
-- M 6.5.2.cf a
serviceDataAccessElementList [271] IMPLICIT ServiceDataAccessElementList
--M 6.5.2.cz b
}
-- Search RETURN RESULT Parameters
SearchRes ::= [PRIVATE 18] SET {
serviceDataAccessElementList [271] IMPLICIT ServiceDataAccessElementList
-- M 6.5.2.cz a
}
-- 6.4.2.r SeizeResource
SeizeResource ::= [PRIVATE 18] SET {
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96
privateSpecializedResource [265] IMPLICIT PrivateSpecializedResource OPTIONAL,
--O 6.5.2.u a
specializedResource [274] IMPLICIT SpecializedResource OPTIONAL
--O 6.5.2.dc a
}
-- SeizeResource RETURN RESULT Parameters
SeizeResourceRes ::= [PRIVATE 18] SET {
destinationDigits [87] IMPLICIT DestinationDigits
-- M 6.5.2.56 a
}
--6.4.2.s SRFDirective
SRFDirective ::= [PRIVATE 18] SET {
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 a, d
digitCollectionControl [139] IMPLICIT DigitCollectionControl OPTIONAL,
-- O 6.5.2.57 b
executeScript [386] IMPLICIT ExecuteScript OPTIONAL,
-- O 6.5.2.cl c, d
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL
-- O 6.5.2.80 e
}
-- SRFDirective RETURN RESULT Parameters
SRFDirectiveRes ::= [PRIVATE 18] SET {
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) O 6.5.2.58 a, b
scriptResult [269] IMPLICIT ScriptResult OPTIONAL
-- O 6.5.2.cx c
}
-- 6.4.2.t TBusy updated with N.S0023-0 v 1.0
TBusy ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Invoking) M 6.5.2.16 a
mscid [21] IMPLICIT MSCID,
-- M 6.5.2.82 b
transactionCapability [123] IMPLICIT TransactionCapability,
-- M 6.5.2.160
triggerType [279] IMPLICIT TriggerType,
-- M 6.5.2.dh c
winCapability [280] IMPLICIT WINCapability,
-- M 6.5.2.di d
acgencountered [340] IMPLICIT ACGEncountered OPTIONAL,
-- O 6.5.2.fv
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 e
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 e
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 e
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 f
groupInformation [163] IMPLICIT GroupInformation OPTIONAL,
-- O 6.5.2.69 f
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 f
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 g
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 h, i
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 h
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 b
msid MSID OPTIONAL,
-- O 6.5.2.bv h
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 j
pilotBillingID [169] IMPLICIT PilotBillingID OPTIONAL,
-- O 6.5.2.94 f
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 f
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 g
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 e
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 e
redirectionReason [19] IMPLICIT RedirectionReason OPTIONAL,
--: TBusy O 6.5.2.110 f
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 g
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL,
-- O 6.5.2.147
terminationAccessType [119] IMPLICIT TerminationAccessType OPTIONAL
-- O 6.5.2.155 f
}
-- TBusy RETURN RESULT Parameters
TBusyRes ::= [PRIVATE 18] SET {
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 a
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 b
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 c
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 d, e
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 d, e
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 l
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, m
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 g
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 f
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 f
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL,
-- O 6.5.2.ei n
groupInformation [163] IMPLICIT GroupInformation OPTIONAL,
-- O 6.5.2.69 g
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 h
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 g
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 l, o
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 i
resumePIC [266] IMPLICIT ResumePIC OPTIONAL,
-- O 6.5.2.cu j
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 l
terminationList [120] IMPLICIT TerminationList OPTIONAL,
-- O 6.5.2.156 k
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 l
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de l
}
-- 6.4.2.u TNoAnswer updated with N.S0023-0 v 1.0
TNoAnswer ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Invoking) M 6.5.2.16 a
mscid [21] IMPLICIT MSCID,
-- M 6.5.2.82 b
transactionCapability [123] IMPLICIT TransactionCapability,
-- M 6.5.2.160
triggerType [279] IMPLICIT TriggerType,
-- M 6.5.2.dh c
winCapability [280] IMPLICIT WINCapability,
-- M 6.5.2.di d
acgencountered [340] IMPLICIT ACGEncountered OPTIONAL,
-- O 6.5.2.fv
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 e
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 e
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 e
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 f
groupInformation [163] IMPLICIT GroupInformation OPTIONAL,
-- O 6.5.2.69 f
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 f
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 g
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 h, i
-- mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 h
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 b
msid MSID OPTIONAL,
-- O 6.5.2.bv h
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 j
pilotBillingID [169] IMPLICIT PilotBillingID OPTIONAL,
-- O 6.5.2.94 f
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 f
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 g
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 e
redirectingSubaddress [102] IMPLICIT RedirectingSubaddress OPTIONAL,
-- O 6.5.2.109 e
redirectionReason [19] IMPLICIT RedirectionReason OPTIONAL,
--:TNoAnswer O 6.5.2.110 f
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 g
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL,
-- O 6.5.2.147
terminationAccessType [119] IMPLICIT TerminationAccessType OPTIONAL
-- O 6.5.2.155 f
}
-- TNoAnswer RETURN RESULT Parameters
-- 6.4.2.u TNoAnswer
TNoAnswerRes ::= [PRIVATE 18] SET {
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 a
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 b
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 c
callingPartyNumberString1 [82] IMPLICIT CallingPartyNumberString1 OPTIONAL,
-- O 6.5.2.23 d, e
callingPartyNumberString2 [83] IMPLICIT CallingPartyNumberString2 OPTIONAL,
-- O 6.5.2.24 d, e
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 l
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx d, e, m
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 f
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 f
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 f
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 f
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL,
-- O 6.5.2.ei n
groupInformation [163] IMPLICIT GroupInformation OPTIONAL,
-- O 6.5.2.69 g
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 h
pilotNumber [168] IMPLICIT PilotNumber OPTIONAL,
-- O 6.5.2.95 g
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 l, o
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 i
resumePIC [266] IMPLICIT ResumePIC OPTIONAL,
-- O 6.5.2.cu j
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 l
terminationList [120] IMPLICIT TerminationList OPTIONAL,
-- O 6.5.2.156 k
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 l
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de l, p
}
-- 6.4.2.x.1. ChangeFacilities N.S0008-0 v 1.0
ChangeFacilities ::= [PRIVATE 18] SET {
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 f
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
-- O 6.5.2.e b
dataKey [215] IMPLICIT DataKey OPTIONAL,
-- O 6.5.2.at f
dataPrivacyParameters [216] IMPLICIT DataPrivacyParameters OPTIONAL,
-- O 6.5.2.au i, f
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 c
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID OPTIONAL,
-- O 6.5.2.72 a, c
ilspInformation [217] IMPLICIT ISLPInformation OPTIONAL,
-- O 6.5.2.av d
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 c
randomVariable [40] IMPLICIT RandomVariable OPTIONAL,
-- O 6.5.2.101 f
-- SecondInterMSCCircuitID O 6.5.2.aj c, g
tdmaBandwidth [220] IMPLICIT TDMABandwidth OPTIONAL,
-- O 6.5.2.ay h
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i e
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL
-- O 6.5.2.167 f
}
-- Table 6.4.2.x.1r ChangeFacilities RETURN RESULT Parameters
ChangeFacilitiesRes ::= [PRIVATE 18] SET {
reasonList [218] IMPLICIT ReasonList OPTIONAL
-- O 6.5.2.aw a
}
-- 6.4.2.x.2. ChangeService N.S0008-0 v 1.0
ChangeService ::= [PRIVATE 18] SET {
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
-- O 6.5.2.e a
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g b
changeServiceAttributes [214] IMPLICIT ChangeServiceAttributes OPTIONAL,
-- O 6.5.2.as c
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 d
ilspInformation [217] IMPLICIT ISLPInformation OPTIONAL,
-- O 6.5.2.av e
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.72 j
tdmaBandwidth [220] IMPLICIT TDMABandwidth OPTIONAL,
-- O 6.5.2.ay g
tdmaDataMode [222] IMPLICIT TDMADataMode OPTIONAL,
-- O 6.5.2.ba i
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i f
tdmaVoiceMode [223] IMPLICIT TDMAVoiceMode OPTIONAL
-- O 6.5.2.bb h
}
-- ChangeService RETURN RESULT Parameters
ChangeServiceRes ::= [PRIVATE 18] SET {
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 f
cdmaServiceConfigurationRecord [174] IMPLICIT CDMAServiceConfigurationRecord OPTIONAL,
-- O 6.5.2.e b
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g c
changeServiceAttributes [214] IMPLICIT ChangeServiceAttributes OPTIONAL,
-- O 6.5.2.as d
dataKey [215] IMPLICIT DataKey OPTIONAL,
-- O 6.5.2.au f
dataPrivacyParameters [216] IMPLICIT DataPrivacyParameters OPTIONAL,
-- O 6.5.2.au g, f
randomVariable [40] IMPLICIT RandomVariable OPTIONAL,
-- O 6.5.2.101 f
reasonList [218] IMPLICIT ReasonList OPTIONAL,
-- O 6.5.2.aw a
tdmaServiceCode [178] IMPLICIT TDMAServiceCode OPTIONAL,
-- O 6.5.2.i e
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL
-- O 6.5.2.167 f
}
-- 6.4.2.X MessageDirective
MessageDirective ::= [PRIVATE 18] SET {
messageWaitingNotificationCount [92] IMPLICIT MessageWaitingNotificationCount,
-- O 6.5.2.78 a
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 b, c
msid MSID OPTIONAL
-- O 6.5.2.bv IS-751 b, c
}
-- 6.4.2.X2 MessageDirective RETURN RESULT Parameters
--zero octets
-- 6.4.2.y BulkDisconnection
BulkDisconnection ::= [PRIVATE 18] SET {
mscid [21] IMPLICIT MSCID,
-- M 6.5.2.82
timeDateOffset [275] IMPLICIT TimeDateOffset OPTIONAL,
-- M 6.5.2.2 a
timeOfDay [309] IMPLICIT TimeOfDay OPTIONAL,
-- M 6.5.2.em b
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 c
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL
-- O 6.5.2.116 d
}
-- BulkDisconnection RETURN RESULT Parameters
-- Length zero octets M 6.3.2.2
--BulkDisconnectionRes ::= [PRIVATE 18] SET {
-- }
-- 6.4.2.z CallControlDirective
CallControlDirective ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- M 6.5.2.16 a
mscid [21] IMPLICIT MSCID,
-- M 6.5.2.82 b
msid MSID OPTIONAL,
-- M 6.5.2.bv c
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 d
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 e
displayText [244] IMPLICIT DisplayText OPTIONAL,
-- O 6.5.2.bx f
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 g
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 g
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 g
dmh-ChargeInformation [311] IMPLICIT DMH-ChargeInformation OPTIONAL,
-- O 6.5.2.eo g, o
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 g, h
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 i, j
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 k
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 l, m
terminationList [120] IMPLICIT TerminationList OPTIONAL,
-- O 6.5.2.156 k
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de h
}
-- z-2 CallControlDirective RETURN RESULT Parameters
CallControlDirectiveRes ::= [PRIVATE 18] SET {
callStatus [310] IMPLICIT CallStatus OPTIONAL
-- O 6.5.2.en a
}
-- 6.4.2.aa OAnswer
OAnswer ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16 a
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- M 6.5.2.63 b
mscid [21] IMPLICIT MSCID,
-- (Originating) M 6.5.2.82 c
msid MSID OPTIONAL,
-- M 6.5.2.bv d
timeDateOffset [275] IMPLICIT TimeDateOffset,
-- M 6.5.2.dd e
timeOfDay [309] IMPLICIT TimeOfDay,
-- M 6.5.2.em f
triggerType [279] IMPLICIT TriggerType,
-- M 6.5.2.dh g
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 h, i
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 j
featureIndicator [306] IMPLICIT FeatureIndicator OPTIONAL,
-- O 6.5.2.ej k
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 l
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 h, m
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL
-- O 6.5.2.147
}
--6.4.2.ab ODisconnect
ODisconnect ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16 a
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- M 6.5.2.63 b
mscid [21] IMPLICIT MSCID,
-- (Originating) M 6.5.2.82 c
msid MSID OPTIONAL,
-- M 6.5.2.bv d
releaseCause [308] IMPLICIT ReleaseCause OPTIONAL,
-- M 6.5.2.el e
timeDateOffset [275] IMPLICIT TimeDateOffset OPTIONAL,
-- M 6.5.2.dd f
timeOfDay [309] IMPLICIT TimeOfDay,
-- M 6.5.2.em g
transactionCapability [123] IMPLICIT TransactionCapability,
-- M 6.5.2.160
winCapability [280] IMPLICIT WINCapability,
-- M 6.5.2.di
triggerType [279] IMPLICIT TriggerType,
-- M 6.5.2.dh h
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 i, j
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 k
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 l
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 i, m
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL
-- O 6.5.2.147
}
-- ab-2 ODisconnect RETURN RESULT Parameters
ODisconnectRes ::= [PRIVATE 18] SET {
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 a
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL
-- O 6.5.2.ei b
}
-- 6.4.2.ac CallRecoveryReport
CallRecoveryReport ::= [PRIVATE 18] SET {
callRecoveryIDList [304] IMPLICIT CallRecoveryIDList
-- M 6.5.2.eh a
}
-- ac-2 CallRecoveryReport RETURN RESULT Parameters
--CallRecoveryReportRes ::= [PRIVATE 18] SET {
-- }
-- 6.4.2.ad TAnswer
TAnswer ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16 a
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- M 6.5.2.63 b
mscid [21] IMPLICIT MSCID,
-- M 6.5.2.82 c
msid MSID OPTIONAL,
-- M 6.5.2.bv b
timeDateOffset [275] IMPLICIT TimeDateOffset OPTIONAL,
-- M 6.5.2.dd d
timeOfDay [309] IMPLICIT TimeOfDay,
-- M 6.5.2.em e
transactionCapability [123] IMPLICIT TransactionCapability,
-- M 6.5.2.160
triggerType [279] IMPLICIT TriggerType,
-- M 6.5.2.dh f
winCapability [280] IMPLICIT WINCapability,
-- M 6.5.2.di
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 g, h
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 i
featureIndicator [306] IMPLICIT FeatureIndicator OPTIONAL,
-- O 6.5.2.ej j
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 k
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 g, l
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL,
-- O 6.5.2.147
terminationAccessType [119] IMPLICIT TerminationAccessType OPTIONAL
-- O 6.5.2.155 m
}
-- 6.4.2.ae TDisconnect
TDisconnect ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16 a
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- M 6.5.2.63 b
mscid [21] IMPLICIT MSCID,
-- M 6.5.2.82 c
msid MSID OPTIONAL,
-- M 6.5.2.bv d
timeDateOffset [275] IMPLICIT TimeDateOffset OPTIONAL,
-- M 6.5.2.dd e
timeOfDay [309] IMPLICIT TimeOfDay,
-- M 6.5.2.em f
triggerType [279] IMPLICIT TriggerType,
-- M 6.5.2.dh g
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 n
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 n
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 h, i
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 j
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 k
releaseCause [308] IMPLICIT ReleaseCause OPTIONAL,
-- O 6.5.2.el l
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 h, m
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode OPTIONAL
-- O 6.5.2.147
}
-- Table ae-2 TDisconnect RETURN RESULT Parameters
TDisconnectRes ::= [PRIVATE 18] SET {
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL
-- O 6.5.2.ei a
}
-- 6.4.2.af UnreliableCallData
UnreliableCallData ::= [PRIVATE 18] SET {
controlNetworkID [307] IMPLICIT ControlNetworkID,
-- M 6.5.2.ek a
mscid [21] IMPLICIT MSCID
-- M 6.5.2.82 b
}
-- UnreliableCallData RETURN RESULT Parameters
--UnreliableCallData ::= [PRIVATE 18] SET {
--
--}
-- 6.4.2.ag OCalledPartyBusy
OCalledPartyBusy ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- M 6.5.2.63 a
mscid [21] IMPLICIT MSCID,
-- (Originating MSC) M 6.5.2.82
msid MSID,
-- M 6.5.2.bv b
transactionCapability [123] IMPLICIT TransactionCapability,
-- M 6.5.2.160
triggerType [279] IMPLICIT TriggerType,
-- M 6.5.2.dh
winCapability [280] IMPLICIT WINCapability,
-- M 6.5.2.di
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw c
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 c
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 c
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 c
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 d
destinationDigits [87] IMPLICIT DestinationDigits OPTIONAL,
-- O 6.5.2.56 e
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) O 6.5.2.58 d
failureCause [387] IMPLICIT FailureCause OPTIONAL,
-- O 6.5.2.cm f
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 d, g
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 h
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 i
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Originating MSC) O 6.5.2.93 j
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.114 c
redirectingPartyName [245] IMPLICIT RedirectingPartyName OPTIONAL,
-- O 6.5.2.114 c
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 d
servingCellID [2] IMPLICIT ServingCellID OPTIONAL
-- O 6.5.2.117 d, k
}
-- OCalledPartyBusy RETURN RESULT Parameters
OCalledPartyBusyRes ::= [PRIVATE 18] SET {
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 a
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 b
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 c
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 e
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 e
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 e
dmh-ChargeInformation [311] IMPLICIT DMH-ChargeInformation OPTIONAL,
-- O 6.5.2.eo e, d
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 e, f
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL,
-- O 6.5.2.ei g
noAnswerTime [96] IMPLICIT NoAnswerTime OPTIONAL,
-- O 6.5.2.87 h
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 i
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 c, j
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 k
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 c
terminationList [120] IMPLICIT TerminationList OPTIONAL,
-- O 6.5.2.156 l
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de m
}
-- 6.4.2.ah ONoAnswer
ONoAnswer ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- (Originating) M 6.5.2.16
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- M 6.5.2.63 a
mscid [21] IMPLICIT MSCID,
-- (Originating MSC) M 6.5.2.82
msid MSID OPTIONAL,
-- M 6.5.2.bv b
transactionCapability [123] IMPLICIT TransactionCapability,
-- M 6.5.2.160
triggerType [279] IMPLICIT TriggerType,
-- M 6.5.2.dh
winCapability [280] IMPLICIT WINCapability,
-- M 6.5.2.di
callingPartyName [243] IMPLICIT CallingPartyName OPTIONAL,
-- O 6.5.2.bw c
callingPartyNumberDigits1 [80] IMPLICIT CallingPartyNumberDigits1 OPTIONAL,
-- O 6.5.2.21 c
callingPartyNumberDigits2 [81] IMPLICIT CallingPartyNumberDigits2 OPTIONAL,
-- O 6.5.2.22 c
callingPartySubaddress [84] IMPLICIT CallingPartySubaddress OPTIONAL,
-- O 6.5.2.25 c
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 d
destinationDigits [87] IMPLICIT DestinationDigits OPTIONAL,
-- O 6.5.2.56 e
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) O 6.5.2.58 d
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 d, f
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 g
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 h
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Originating MSC) O 6.5.2.93 i
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.114 c
redirectingPartyName [245] IMPLICIT RedirectingPartyName OPTIONAL,
-- O 6.5.2.114 c
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 d
servingCellID [2] IMPLICIT ServingCellID OPTIONAL
-- O 6.5.2.117 d, j
}
-- ONoAnswer RETURN RESULT Parameters
ONoAnswerRes ::= [PRIVATE 18] SET {
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 a
announcementList [130] IMPLICIT AnnouncementList OPTIONAL,
-- O 6.5.2.6 b
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 c
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 e
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 e
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 e
dmh-ChargeInformation [311] IMPLICIT DMH-ChargeInformation OPTIONAL,
-- O 6.5.2.eo e, d
dmh-RedirectionIndicator [88] IMPLICIT DMH-RedirectionIndicator OPTIONAL,
-- O 6.5.2.62 e, f
dmh-ServiceID [305] IMPLICIT DMH-ServiceID OPTIONAL,
-- O 6.5.2.ei g
noAnswerTime [96] IMPLICIT NoAnswerTime OPTIONAL,
-- O 6.5.2.87 h
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 i
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 c, j
redirectingNumberDigits [100] IMPLICIT RedirectingNumberDigits OPTIONAL,
-- O 6.5.2.107 k
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 c
terminationList [120] IMPLICIT TerminationList OPTIONAL,
-- O 6.5.2.156 l
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL
-- O 6.5.2.de m
}
-- 6.4.2.ai PositionRequest
PositionRequest ::= [PRIVATE 18] SET {
mscid [21] IMPLICIT MSCID,
-- (Requesting) M 6.5.2.82 a
positionInformationCode [315] IMPLICIT PositionInformationCode,
-- M 6.5.2.er b
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 c
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 d, e
msid MSID OPTIONAL,
-- O 6.5.2.bv c, e
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL
-- O 6.5.2.116 f
}
-- PositionRequest RETURN RESULT Parameters
PositionRequestRes ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 a, b
extendedMSCID [53] IMPLICIT ExtendedMSCID OPTIONAL,
-- O 6.5.2.64 c, d
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- (Serving MSC) O 6.5.2.83 a, d, e, f
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Serving) O 6.5.2.82 g, d, h
msid MSID OPTIONAL,
-- O 6.5.2.bv a, b
mSStatus [313] IMPLICIT MSStatus OPTIONAL,
-- O 6.5.2.eq i, d
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Serving MSC) O 6.5.2.93 a, d, e, f
pSID-RSIDInformation [202] IMPLICIT PSID-RSIDInformation OPTIONAL,
-- O 6.5.2.f j, a, d
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 k, a, d
servingCellID [2] IMPLICIT ServingCellID OPTIONAL
-- O 6.5.2.117 l, a, d
}
-- 6.4.2.aj PositionRequestForward
PositionRequestForward ::= [PRIVATE 18] SET {
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
positionInformationCode [315] IMPLICIT PositionInformationCode,
-- M 6.5.2.er a
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.bu b
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu c, d
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL
-- O 6.5.2.81 c, d
}
-- PositionRequestForward RETURN RESULT Parameters
PositionRequestForwardRes ::= [PRIVATE 18] SET {
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Serving) O 6.5.2.82 a
mSStatus [313] IMPLICIT MSStatus OPTIONAL,
-- O 6.5.2.eq b
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 6.5.2.77 c, d
servingCellID [2] IMPLICIT ServingCellID OPTIONAL
-- O 6.5.2.117 c, e
}
-- J-STD-036-AD-2
CallTerminationReport ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID OPTIONAL,
-- O 6.5.2.16 a
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 b, c
networkTMSI [233] IMPLICIT NetworkTMSI OPTIONAL
-- O 6.5.2.117 c
}
-- 6.4.2.am GeoPositionRequest (See J-STD-036, page 8-7) X.S0002-0 v2.0
GeoPositionRequest ::= [PRIVATE 18] SET {
positionRequestType [337] IMPLICIT PositionRequestType,
-- M 6.5.2.fs
billingID [1] IMPLICIT BillingID OPTIONAL,
-- O 6.5.2.16 h
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 b
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu b
lcsBillingID [367] IMPLICIT LCSBillingID OPTIONAL,
-- O 6.5.2.gx i
lcs-Client-ID [358] IMPLICIT LCS-Client-ID OPTIONAL,
-- O 6.5.2.go b
meid [390] IMPLICIT MEID OPTIONAL,
-- O 6.5.2.hv b
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 b
mobilePositionCapability [335] IMPLICIT MobilePositionCapability OPTIONAL,
-- O 6.5.2.fm a
-- Mobinfo_AMPS **Macro** O 6.5.2.fn f expanded
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) M 6.5.2.47
dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
-- Mobinfo_CDMA **Macro** O 6.5.2.fo g expanded:
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.30 c
cdmaCodeChannel [68] IMPLICIT CDMACodeChannel OPTIONAL,
-- O 6.5.2.31 a
cdmaMobileCapabilities [330] IMPLICIT CDMAMobileCapabilities OPTIONAL,
-- O 6.5.2.xx a
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 a
cdmaServingOneWayDelay2 [347] IMPLICIT CDMAServingOneWayDelay2 OPTIONAL,
-- O 6.5.2.gd a
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f m
cdmaTargetMAHOList [136] IMPLICIT CDMATargetMAHOList OPTIONAL,
-- O 6.5.2.43 g
cdmaPSMMList [346] IMPLICIT CDMAPSMMList OPTIONAL,
-- O 6.5.2.gc a
-- Mobinfo_NAMPS **Macro** O 6.5.2.fp e expanded:
-- channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) M 6.5.2.47
nampsChannelData [76] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Serving) M 6.5.2.86
-- dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
-- receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
-- Mobinfo_TDMA **Macro** O 6.5.2.fq d expanded:
tdmaChannelData [28] IMPLICIT TDMAChannelData,
-- M 6.5.2.153
-- dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
-- receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
targetMeasurementList [157] IMPLICIT TargetMeasurementList OPTIONAL,
-- O 6.5.2.150 a
tdma-MAHO-CELLID [359] IMPLICIT TDMA-MAHO-CELLID OPTIONAL,
-- O 2.3.2.26 b
tdma-MAHO-CHANNEL [360] IMPLICIT TDMA-MAHO-CHANNEL OPTIONAL,
-- O 2.3.2.27 c
tdma-TimeAlignment [362] IMPLICIT TDMA-TimeAlignment OPTIONAL,
-- O 2.3.2.29 d
tdmaVoiceMode [223] IMPLICIT TDMAVoiceMode OPTIONAL,
-- O ANSI-41-E a
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL,
-- O 6.5.2.166 a
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Serving) O 6.5.2.82 b
networkTMSI [233] IMPLICIT NetworkTMSI OPTIONAL,
-- O 6.5.2.bl b
-- PositionQualityOfService O 6.5.2.hc j MACRO expanded:
pqos-HorizontalPosition [372] IMPLICIT PQOS-HorizontalPosition OPTIONAL,
-- O 6.5.2.hd a, b
pqos-HorizontalVelocity [373] IMPLICIT PQOS-HorizontalVelocity OPTIONAL,
-- O 6.5.2.he c
pqos-MaximumPositionAge [374] IMPLICIT PQOS-MaximumPositionAge OPTIONAL,
-- O 6.5.2.hf d
pqos-PositionPriority [375] IMPLICIT PQOS-PositionPriority OPTIONAL,
-- O 6.5.2.hg e
pqos-ResponseTime [376] IMPLICIT PQOS-ResponseTime OPTIONAL,
-- O 6.5.2.hh f
pqos-VerticalPosition [377] IMPLICIT PQOS-VerticalPosition OPTIONAL,
-- O 6.5.2.hi g
pqos-VerticalVelocity [378] IMPLICIT PQOS-VerticalVelocity OPTIONAL,
-- O 6.5.2.hj h
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 b
teleservice-Priority [290] IMPLICIT Teleservice-Priority OPTIONAL
-- O 6.5.2.dt c
}
-- 6.4.2.an InterSystemPositionRequest
InterSystemPositionRequest ::= [PRIVATE 18] SET {
positionRequestType [337] IMPLICIT PositionRequestType,
-- M 6.5.2.fs
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 o
cdmaPSMMCount [345] IMPLICIT CDMAPSMMCount OPTIONAL,
-- O 6.5.2.gbh
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) O 6.5.2.58 j
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 d
emergencyServicesRoutingDigits [239] IMPLICIT EmergencyServicesRoutingDigits OPTIONAL,
-- O 6.5.2.bs d, f
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu d
lcsBillingID [367] IMPLICIT LCSBillingID OPTIONAL,
-- O 6.5.2.gx k
lirAuthorization [368] IMPLICIT LIRAuthorization OPTIONAL,
-- O 6.5.2.gy l
lcs-Client-ID [358] IMPLICIT LCS-Client-ID OPTIONAL,
-- O 6.5.2.go d
meid [390] IMPLICIT MEID OPTIONAL,
-- O 6.5.2.hv d
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 d
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 d
-- MobInfo_AMPS **Macro** O 6.5.2.fn b, p f expanded:
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) M 6.5.2.47
dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
-- Mobinfo_CDMA **Macro** O 6.5.2.fo a, p f
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.30 c
cdmaCodeChannel [68] IMPLICIT CDMACodeChannel OPTIONAL,
-- O 6.5.2.31 a
cdmaMobileCapabilities [330] IMPLICIT CDMAMobileCapabilities OPTIONAL,
-- O 6.5.2.xx a
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 a
cdmaServingOneWayDelay2 [347] IMPLICIT CDMAServingOneWayDelay2 OPTIONAL,
-- O 6.5.2.gd a
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f m
cdmaTargetMAHOList [136] IMPLICIT CDMATargetMAHOList OPTIONAL,
-- O 6.5.2.43 g
cdmaPSMMList [346] IMPLICIT CDMAPSMMList OPTIONAL,
-- O 6.5.2.gc a
-- Mobinfo_NAMPS **Macro** O 6.5.2.fp c, p f expanded:
-- channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) M 6.5.2.47
nampsChannelData [76] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Serving) M 6.5.2.86
-- dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
-- receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
-- Mobinfo_TDMA **Macro** O 6.5.2.fq g, p f expanded:
tdmaChannelData [28] IMPLICIT TDMAChannelData,
-- M 6.5.2.153
-- dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
-- receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
targetMeasurementList [157] IMPLICIT TargetMeasurementList OPTIONAL,
-- O 6.5.2.150 a
tdma-MAHO-CELLID [359] IMPLICIT TDMA-MAHO-CELLID OPTIONAL,
-- O 2.3.2.26 b
tdma-MAHO-CHANNEL [360] IMPLICIT TDMA-MAHO-CHANNEL OPTIONAL,
-- O 2.3.2.27 c
tdma-TimeAlignment [362] IMPLICIT TDMA-TimeAlignment OPTIONAL,
-- O 2.3.2.29 d
tdmaVoiceMode [223] IMPLICIT TDMAVoiceMode OPTIONAL,
-- O ANSI-41-E a
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL,
-- O 6.5.2.166 a
mobilePositionCapability [335] IMPLICIT MobilePositionCapability OPTIONAL,
-- O 6.5.2.fm e, f
mpcAddress [370] IMPLICIT MPCAddress OPTIONAL,
-- O 6.5.2.ha s, u
mpcAddressList [381] IMPLICIT MPCAddressList OPTIONAL,
-- O 6.5.2.hm t, u
mpcid [371] IMPLICIT MPCID OPTIONAL,
-- O 6.5.2.hb m
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Serving) O 6.5.2.82 q f
networkTMSI [233] IMPLICIT NetworkTMSI OPTIONAL,
-- O 6.5.2.bl d
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL,
-- (Serving MSC) O 6.5.2.93 r
-- PositionQualityOfService O 6.5.2.hc n MACRO expanded:
pqos-HorizontalPosition [372] IMPLICIT PQOS-HorizontalPosition OPTIONAL,
-- O 6.5.2.hd a, b
pqos-HorizontalVelocity [373] IMPLICIT PQOS-HorizontalVelocity OPTIONAL,
-- O 6.5.2.he c
pqos-MaximumPositionAge [374] IMPLICIT PQOS-MaximumPositionAge OPTIONAL,
-- O 6.5.2.hf d
pqos-PositionPriority [375] IMPLICIT PQOS-PositionPriority OPTIONAL,
-- O 6.5.2.hg e
pqos-ResponseTime [376] IMPLICIT PQOS-ResponseTime OPTIONAL,
-- O 6.5.2.hh f
pqos-VerticalPosition [377] IMPLICIT PQOS-VerticalPosition OPTIONAL,
-- O 6.5.2.hi g
pqos-VerticalVelocity [378] IMPLICIT PQOS-VerticalVelocity OPTIONAL,
-- O 6.5.2.hj h
servingCellID [2] IMPLICIT ServingCellID OPTIONAL,
-- O 6.5.2.117 p f
tdma-MAHORequest [364] IMPLICIT TDMA-MAHORequest OPTIONAL
-- O 6.5.2.gu
}
-- InterSystemPositionRequest RETURN RESULT Parameters
InterSystemPositionRequestRes ::= [PRIVATE 18] SET {
positionResult [338] IMPLICIT PositionResult,
-- M 6.5.2.ft
lcsBillingID [367] IMPLICIT LCSBillingID OPTIONAL,
-- O 6.5.2.gx i
mobilePositionCapability [335] IMPLICIT MobilePositionCapability OPTIONAL,
-- O 6.5.2.fm e
-- MobInfo_AMPS **Macro** O 6.5.2.fn c, e expanded:
channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) M 6.5.2.47
dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
-- MobInfo_CDMA **Macro** O 6.5.2.fo b, e expanded:
cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.30 c
cdmaCodeChannel [68] IMPLICIT CDMACodeChannel OPTIONAL,
-- O 6.5.2.31 a
cdmaMobileCapabilities [330] IMPLICIT CDMAMobileCapabilities OPTIONAL,
-- O 6.5.2.xx a
cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 a
cdmaServingOneWayDelay2 [347] IMPLICIT CDMAServingOneWayDelay2 OPTIONAL,
-- O 6.5.2.gd a
cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f m
cdmaTargetMAHOList [136] IMPLICIT CDMATargetMAHOList OPTIONAL,
-- O 6.5.2.43 g
cdmaPSMMList [346] IMPLICIT CDMAPSMMList OPTIONAL,
-- O 6.5.2.gc a
-- MobInfo_NAMPS **Macro** O 6.5.2.fp g, e expended:
-- channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) M 6.5.2.47
nampsChannelData [76] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Serving) M 6.5.2.86
-- dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
-- receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
-- MobInfo_TDMA **Macro** O 6.5.2.fq a, e
tdmaChannelData [28] IMPLICIT TDMAChannelData,
-- M 6.5.2.153
-- dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
-- receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
targetMeasurementList [157] IMPLICIT TargetMeasurementList OPTIONAL,
-- O 6.5.2.150 a
tdma-MAHO-CELLID [359] IMPLICIT TDMA-MAHO-CELLID OPTIONAL,
-- O 2.3.2.26 b
tdma-MAHO-CHANNEL [360] IMPLICIT TDMA-MAHO-CHANNEL OPTIONAL,
-- O 2.3.2.27 c
tdma-TimeAlignment [362] IMPLICIT TDMA-TimeAlignment OPTIONAL,
-- O 2.3.2.29 d
tdmaVoiceMode [223] IMPLICIT TDMAVoiceMode OPTIONAL,
-- O ANSI-41-E a
voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL,
-- O 6.5.2.166 a
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Serving) O 6.5.2.82 f
positionInformation [336] IMPLICIT PositionInformation OPTIONAL,
-- O 6.5.2.fr h
servingCellID [2] IMPLICIT ServingCellID OPTIONAL
-- O 6.5.2.117 d
}
-- 6.4.2.ao InterSystemPositionRequestForward
InterSystemPositionRequestForward ::= [PRIVATE 18] SET {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- M 6.5.2.63
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
positionRequestType [337] IMPLICIT PositionRequestType,
-- M 6.5.2.fs
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu a
lcsBillingID [367] IMPLICIT LCSBillingID OPTIONAL,
-- O 6.5.2.gx d
lcs-Client-ID [358] IMPLICIT LCS-Client-ID OPTIONAL,
-- O 6.5.2.go a
meid [390] IMPLICIT MEID OPTIONAL,
-- O 6.5.2.hv a
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 a
mobilePositionCapability [335] IMPLICIT MobilePositionCapability OPTIONAL,
-- O 6.5.2.fm b
mpcid [371] IMPLICIT MPCID OPTIONAL,
-- O 6.5.2.hb d
-- PositionQualityOfService O 6.5.2.hc d MACRO expanded:
pqos-HorizontalPosition [372] IMPLICIT PQOS-HorizontalPosition OPTIONAL,
-- O 6.5.2.hd a, b
pqos-HorizontalVelocity [373] IMPLICIT PQOS-HorizontalVelocity OPTIONAL,
-- O 6.5.2.he c
pqos-MaximumPositionAge [374] IMPLICIT PQOS-MaximumPositionAge OPTIONAL,
-- O 6.5.2.hf d
pqos-PositionPriority [375] IMPLICIT PQOS-PositionPriority OPTIONAL,
-- O 6.5.2.hg e
pqos-ResponseTime [376] IMPLICIT PQOS-ResponseTime OPTIONAL,
-- O 6.5.2.hh f
pqos-VerticalPosition [377] IMPLICIT PQOS-VerticalPosition OPTIONAL,
-- O 6.5.2.hi g
pqos-VerticalVelocity [378] IMPLICIT PQOS-VerticalVelocity OPTIONAL,
-- O 6.5.2.hj h
tdma-MAHORequest [364] IMPLICIT TDMA-MAHORequest OPTIONAL
-- O 6.5.2.gu c
}
--InterSystemPositionRequestForward RETURN RESULT Parameters
InterSystemPositionRequestForwardRes ::= [PRIVATE 18] SET {
mscid [21] IMPLICIT MSCID,
-- (Serving) M 6.5.2.82
positionResult [338] IMPLICIT PositionResult,
-- M 6.5.2.ft
lcsBillingID [367] IMPLICIT LCSBillingID OPTIONAL,
-- O 6.5.2.gx b
positionInformation [336] IMPLICIT PositionInformation OPTIONAL,
-- O 6.5.2.fr a
servingCellID [2] IMPLICIT ServingCellID OPTIONAL
-- O 6.5.2.117
}
-- 6.4.2.ap ACGDirective
ACGDirective ::= [PRIVATE 18] SET {
controlType [341] IMPLICIT ControlType,
-- M 6.5.2.fw a
destinationAddress DestinationAddress OPTIONAL,
--M 6.5.2.cc b
gapDuration [342] IMPLICIT GapDuration OPTIONAL,
-- O 6.5.2.fx c, e
gapInterval GapInterval OPTIONAL
-- O 6.5.2.fy d, e
}
-- 6.4.2.aq RoamerDatabaseVerificationRequest
RoamerDatabaseVerificationRequest ::= [PRIVATE 18] SET {
invokingNEType [353] IMPLICIT InvokingNEType OPTIONAL,
-- O 6.5.2.gj g
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 e, f
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (HLR) O 6.5.2.82 a
msid MSID OPTIONAL,
-- O 6.5.2.bv b, f
range [352] IMPLICIT Range OPTIONAL
-- O 6.5.2.gj c, d
}
-- RoamerDatabaseVerificationRequest RETURN RESULT Parameters
RoamerDatabaseVerificationRequestRes ::= [PRIVATE 18] SET {
transactionCapability [123] IMPLICIT TransactionCapability OPTIONAL
-- O 6.5.2.160
}
-- 6.4.2.au LCSParameterRequest
LCSParameterRequest ::= [PRIVATE 18] SET {
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 a
mpcid [371] IMPLICIT MPCID OPTIONAL,
-- O 6.5.2.hbb
msid MSID OPTIONAL
-- O 6.5.2.bv a
}
-- LCSParameterRequest RETURN RESULT Parameters
LCSParameterRequestRes ::= [PRIVATE 18] SET {
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 a
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 b
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu b, c
meid [390] IMPLICIT MEID OPTIONAL,
-- O 6.5.2.hv j
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 b, c
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 b, c
mobilePositionCapability [335] IMPLICIT MobilePositionCapability OPTIONAL,
-- O 6.5.2.fm d
mpcAddress [370] IMPLICIT MPCAddress OPTIONAL,
-- O 6.5.2.ha e, g
mpcAddressList [381] IMPLICIT MPCAddressList OPTIONAL,
-- O 6.5.2.hm f, g
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (Serving) O 6.5.2.82 h
pc-ssn [32] IMPLICIT PC-SSN OPTIONAL
-- (Serving MSC) O 6.5.2.93
}
-- 3.2.2.1 CheckMEID (new) X.S0002-0 v1.0
CheckMEID ::= [PRIVATE 18] SET {
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) M 6.5.2.58 a
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- M 6.5.2.72
msid MSID OPTIONAL,
-- M 6.5.2.bv b
confidentialityModes [39] IMPLICIT ConfidentialityModes OPTIONAL,
-- O 6.5.2.50 c
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63
emergencyServicesRoutingDigits [239] IMPLICIT EmergencyServicesRoutingDigits OPTIONAL
-- O 6.5.bs d
}
-- CheckMEID RETURN RESULTParameters
CheckMEIDRes ::= [PRIVATE 18] SET {
meidStatus [391] IMPLICIT MEIDStatus OPTIONAL
-- M 3.3.2.97 a
}
-- 6.4.2.ar AddService N.S0029-0 v1.0
AddService ::= [PRIVATE 18] SET {
cdmaConnectionReferenceList [212] IMPLICIT CDMAConnectionReferenceList OPTIONAL,
-- M 6.5.2.aq IS-737 a
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g TSB76 b
digits [4] IMPLICIT Digits OPTIONAL,
-- (Dialed) O 6.5.2.58 d, e
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID OPTIONAL,
-- O 6.5.2.72 f
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu IS-751 c
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL
-- O 6.5.2.81 c
}
-- Table ar3 AddService RETURN RESULT Parameters
AddServiceRes ::= [PRIVATE 18] SET {
cdmaConnectionReferenceList [212] IMPLICIT CDMAConnectionReferenceList OPTIONAL,
-- O 6.5.2.aq IS-737 a
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
--O 6.5.2.g TSB76 b
qosPriority [348] IMPLICIT QoSPriority OPTIONAL,
-- O 6.5.2.ge c
reasonList [218] IMPLICIT ReasonList OPTIONAL
-- O 6.5.2.aw IS-737 d
-- SpecialHandling O 6.5.2.bt J-STD-034 e
}
-- 6.4.2.as DropService N.S0029-0 v1.0
DropService ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID,
-- O 6.5.2.16 a
cdmaConnectionReferenceList [212] IMPLICIT CDMAConnectionReferenceList OPTIONAL,
-- O 6.5.2.aq IS-737 b
interMSCCircuitID [6] IMPLICIT InterMSCCircuitID,
-- O 6.5.2.72 c
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bu IS-751 d
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 d
releaseReason [10] IMPLICIT ReleaseReason OPTIONAL
-- O 6.5.2.111 e
}
-- Table as3 DropService RETURN RESULT Parameters
DropServiceRes ::= [PRIVATE 18] SET {
billingID [1] IMPLICIT BillingID OPTIONAL
-- O 6.5.2.16 a
}
-- 6.4.2.ay PositionEventNotification
PositionEventNotification ::= [PRIVATE 18] SET {
positionResult [338] IMPLICIT PositionResult,
-- M 6.5.2.ft a
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 6.5.2.bj c, d
lcsBillingID [367] IMPLICIT LCSBillingID OPTIONAL,
-- O 6.5.2.gx b
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL
-- O 6.5.2.81 c, d
}
-- PositionEventNotification RETURN RESULT Parameters
-- zero octets
-- 6.4.2.CC OTASPRequest
OTASPRequest ::= [PRIVATE 18] SET {
actionCode [128] IMPLICIT ActionCode OPTIONAL,
-- O 6.5.2.2 a
aKeyProtocolVersion [181] IMPLICIT AKeyProtocolVersion OPTIONAL,
-- O 6.5.2.lB b
authenticationData [161] IMPLICIT AuthenticationData OPTIONAL,
-- O 6.5.2.9 c
authenticationResponse [35] IMPLICIT AuthenticationResponse OPTIONAL,
-- O 6.5.2.10 c
callHistoryCount [38] IMPLICIT CallHistoryCount OPTIONAL,
-- O 6.5.2.18 c
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 d
msid MSID OPTIONAL,
-- O 6.5.2.81 e, d
mobileStationMSID MobileStationMSID OPTIONAL,
-- O 6.5.2.oC f
mobileStationPartialKey [185] IMPLICIT MobileStationPartialKey OPTIONAL,
-- O 6.5.2.pB g
mscid [21] IMPLICIT MSCID OPTIONAL,
-- O 6.5.2.64 h
newlyAssignedMSID NewlyAssignedMSID OPTIONAL,
--O 6.5.2.rB i
randomVariable [40] IMPLICIT RandomVariable OPTIONAL,
-- O 6.5.2.101 c
randomVariableBaseStation [41] IMPLICIT RandomVariableBaseStation,
-- O 6.5.2.102 m
serviceIndicator [193] IMPLICIT ServiceIndicator OPTIONAL,
-- O 6.5.2.wB j
systemCapabilities [49] IMPLICIT SystemCapabilities OPTIONAL,
-- O 6.5.2.146 k
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 6.5.2.154
meid [390] IMPLICIT MEID OPTIONAL
-- O
}
-- Table 6.4.2.CCy OTASPRequest RETURN RESULT Parameters
OTASPRequestRes ::= [PRIVATE 18] SET {
aKeyProtocolVersion [181] IMPLICIT AKeyProtocolVersion OPTIONAL,
-- O 6.5.2.lB a
authenticationResponseBaseStation [36] IMPLICIT AuthenticationResponseBaseStation OPTIONAL,
-- O 6.5.2.11 g
baseStationPartialKey [183] IMPLICIT BaseStationPartialKey OPTIONAL,
-- O 6.5.2.nB b
denyAccess [50] IMPLICIT DenyAccess OPTIONAL,
-- O 6.5.2.54 c
modulusValue [186] IMPLICIT ModulusValue OPTIONAL,
-- O 6.5.2.qB b
otasp-ResultCode [189] IMPLICIT OTASP-ResultCode OPTIONAL,
-- O 6.5.2.sB d
primitiveValue [190] IMPLICIT PrimitiveValue OPTIONAL,
-- O 6.5.2.tB b
signalingMessageEncryptionReport [194] IMPLICIT SignalingMessageEncryptionReport OPTIONAL,
-- O 6.5.2.xB e
ssdUpdateReport [156] IMPLICIT SSDUpdateReport OPTIONAL,
-- O 6.5.2.142 f
uniqueChallengeReport [124] IMPLICIT UniqueChallengeReport OPTIONAL,
-- O 6.5.2.162 f
voicePrivacyReport [196] IMPLICIT VoicePrivacyReport OPTIONAL
-- O 6.5.2.zB e
}
-- 3.2.2.2 StatusRequest (new) X.S0008-0 v1.0
StatusRequest ::= [PRIVATE 18] SET {
msid MSID,
-- M 2.153 a
record-Type [392] IMPLICIT Record-Type
-- M 3.3.2.2 b
}
-- StatusRequest RETURN RESULT Parameters
StatusRequestRes ::= [PRIVATE 18] SET {
information-Record [389] IMPLICIT Information-Record OPTIONAL
-- O 3.3.2.2
}
-- 2.35 InterSystemSMSDeliveryPointToPoint
InterSystemSMSDeliveryPointToPoint ::= [PRIVATE 18] SET {
sms-BearerData [105] IMPLICIT SMS-BearerData,
-- M 2.233
sms-TeleserviceIdentifier [116] IMPLICIT SMS-TeleserviceIdentifier,
-- M 2.246
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 2.127 a
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 2.140 a
signalingMessageEncryptionKey [45] IMPLICIT SignalingMessageEncryptionKey OPTIONAL,
-- O 2.228 b
sms-MessageCount [108] IMPLICIT SMS-MessageCount OPTIONAL,
-- O 2.237 c
sms-OriginalOriginatingAddress [112] IMPLICIT SMS-OriginalOriginatingAddress OPTIONAL,
-- O 2.242 d
sms-OriginalOriginatingSubaddress [113] IMPLICIT SMS-OriginalOriginatingSubaddress OPTIONAL
-- O 2.243 e
}
InterSystemSMSDeliveryPointToPointRes ::= [PRIVATE 18] SET {
sms-BearerData [105] IMPLICIT SMS-BearerData OPTIONAL,
-- O 2.233 a
sms-CauseCode [153] IMPLICIT SMS-CauseCode OPTIONAL
-- O 2.234 b
}
-- 2.36 InterSystemSMSPage X.S0004-540-E v2.0
InterSystemSMSPage ::= [PRIVATE 18] SET {
sms-BearerData [105] IMPLICIT SMS-BearerData,
-- M 2.236
sms-TeleserviceIdentifier [116] IMPLICIT SMS-TeleserviceIdentifier,
-- M 2.249
cdma2000MobileSupportedCapabilities [321] IMPLICIT CDMA2000MobileSupportedCapabilities OPTIONAL,
-- O 2.42 a
cdmaSlotCycleIndex [166] IMPLICIT CDMASlotCycleIndex OPTIONAL,
-- O 2.71 b
cdmaStationClassMark2 [177] IMPLICIT CDMAStationClassMark2 OPTIONAL,
-- O 2.73 c, d
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 2.113 e
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 2.130 f
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 2.138 g
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 2.143 f
networkTMSI [233] IMPLICIT NetworkTMSI OPTIONAL,
-- O 2.161 f
pageIndicator [71] IMPLICIT PageIndicator OPTIONAL,
-- O 2.173 h
pageResponseTime [301] IMPLICIT PageResponseTime OPTIONAL,
-- O 2.174 i
sms-ChargeIndicator [106] IMPLICIT SMS-ChargeIndicator OPTIONAL,
-- O 2.238 j
sms-DestinationAddress [107] IMPLICIT SMS-DestinationAddress OPTIONAL,
-- O 2.239 k
sms-OriginalDestinationAddress [110] IMPLICIT SMS-OriginalDestinationAddress OPTIONAL,
-- O 2.243 l
sms-OriginalDestinationSubaddress [111] IMPLICIT SMS-OriginalDestinationSubaddress OPTIONAL,
-- O 2.244 m
sms-OriginalOriginatingAddress [112] IMPLICIT SMS-OriginalOriginatingAddress OPTIONAL,
-- O 2.245 n
sms-OriginalOriginatingSubaddress [113] IMPLICIT SMS-OriginalOriginatingSubaddress OPTIONAL,
-- O 2.246 m
sms-OriginatingAddress [114] IMPLICIT SMS-OriginatingAddress OPTIONAL
-- O 2.247 o
}
-- 2.48 QualificationRequest2 X.S0004-540-E v2.0
QualificationRequest2 ::= [PRIVATE 18] SET {
mscid [21] IMPLICIT MSCID,
-- (Serving MSC or Originating MSC) M 2.154
qualificationInformationCode [17] IMPLICIT QualificationInformationCode,
-- M 2.190
systemAccessType [34] IMPLICIT SystemAccessType,
-- M 2.261
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode,
-- (MSC or VLR) M 2.263
transactionCapability [123] IMPLICIT TransactionCapability,
-- M 2.288 a
cdmaNetworkIdentification [232] IMPLICIT CDMANetworkIdentification OPTIONAL,
-- (Serving) O 2.58 b
controlChannelMode [199] IMPLICIT ControlChannelMode OPTIONAL,
-- O 2.88 c
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 2.113 d
locationAreaID [33] IMPLICIT LocationAreaID OPTIONAL,
-- O 2.138 e
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 2.142 f
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 2.155 g
-- mscid [21] IMPLICIT MSCID OPTIONAL,
-- O 2.156 d, h
nonPublicData [200] IMPLICIT NonPublicData OPTIONAL,
-- O 2.169
serviceRedirectionCause [237] IMPLICIT ServiceRedirectionCause OPTIONAL,
-- O 2.225 i
senderIdentificationNumber [103] IMPLICIT SenderIdentificationNumber OPTIONAL,
-- O 2.218 j
terminalType [47] IMPLICIT TerminalType OPTIONAL,
-- O 2.281 k
userGroup [208] IMPLICIT UserGroup OPTIONAL,
-- O 2.297 l
userZoneData [209] IMPLICIT UserZoneData OPTIONAL,
-- O 2.298 m
winCapability [280] IMPLICIT WINCapability OPTIONAL
-- O 2.303 n
}
QualificationRequest2Res ::= [PRIVATE 18] SET {
systemMyTypeCode [22] IMPLICIT SystemMyTypeCode,
-- (VLR or HLR) M 2.263
analogRedirectRecord [225] IMPLICIT AnalogRedirectRecord OPTIONAL,
-- O 2.8 a
authorizationDenied [13] IMPLICIT AuthorizationDenied OPTIONAL,
-- O 2.19 b
authorizationPeriod [14] IMPLICIT AuthorizationPeriod OPTIONAL,
-- O 2.20 c
cdmaRedirectRecord [229] IMPLICIT CDMARedirectRecord OPTIONAL,
-- O 2.63 d
controlChannelMode [199] IMPLICIT ControlChannelMode OPTIONAL,
-- O 2.88 e
deniedAuthorizationPeriod [167] IMPLICIT DeniedAuthorizationPeriod OPTIONAL,
-- O 2.100 f
digits [4] IMPLICIT Digits OPTIONAL,
-- (Carrier) O 2.106 g
-- digits [4] IMPLICIT Digits OPTIONAL,
-- (Destination) O 2.106 h, i
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 2.113 j
imsi [242] IMPLICIT IMSI OPTIONAL,
-- O 2.130 k
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 2.143 k
mscid [21] IMPLICIT MSCID OPTIONAL,
-- (HLR) O 2.154 l
-- Profile **Macro** O 2.185 m, n
authenticationCapability [78] IMPLICIT AuthenticationCapability OPTIONAL,
-- O 6.5.2.8 a
callingFeaturesIndicator [25] IMPLICIT CallingFeaturesIndicator OPTIONAL,
-- O 6.5.2.20 b
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 c
cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g d
controlNetworkID [307] IMPLICIT ControlNetworkID OPTIONAL,
-- O 6.5.2.ek u
dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 d
dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 d
dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 d
geographicAuthorization [143] IMPLICIT GeographicAuthorization OPTIONAL,
-- O 6.5.2.68 e
meidValidated [401] IMPLICIT MEIDValidated OPTIONAL,
-- O 3.2.2.98
messageWaitingNotificationCount [92] IMPLICIT MessageWaitingNotificationCount OPTIONAL,
-- O 6.5.2.78 f
messageWaitingNotificationType [145] IMPLICIT MessageWaitingNotificationType OPTIONAL,
-- O 6.5.2.79 g
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 d
mobilePositionCapability [335] IMPLICIT MobilePositionCapability OPTIONAL,
-- O 6.5.2.fm t TIA/EIA/J-STD-036-A
originationIndicator [23] IMPLICIT OriginationIndicator OPTIONAL,
-- O 6.5.2.89 h
originationTriggers [98] IMPLICIT OriginationTriggers OPTIONAL,
-- O 6.5.2.90 i
pACAIndicator [146] IMPLICIT PACAIndicator OPTIONAL,
-- O 6.5.2.91 j
preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 k
qosPriority [348] IMPLICIT QoSPriority OPTIONAL,
--6.5.2.ge z
restrictionDigits [227] IMPLICIT RestrictionDigits OPTIONAL,
-- O 6.5.2.113 l
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 m
pSID-RSIDList [203] IMPLICIT PSID-RSIDList OPTIONAL,
-- O 6 .5.2.ag u , w
sms-OriginationRestrictions [115] IMPLICIT SMS-OriginationRestrictions OPTIONAL,
-- O 6.5.2.136 n
sms-TerminationRestrictions [117] IMPLICIT SMS-TerminationRestrictions OPTIONAL,
-- O 6.5.2.138 o
spinipin [154] IMPLICIT SPINIPIN OPTIONAL,
-- O 6.5.2.139 p
spiniTriggers [155] IMPLICIT SPINITriggers OPTIONAL,
-- O 6.5.2.140 q
tdmaDataFeaturesIndicator [221] IMPLICIT TDMADataFeaturesIndicator OPTIONAL,
-- O 6.5.2.az s
terminationRestrictionCode [24] IMPLICIT TerminationRestrictionCode OPTIONAL,
-- O 6.5.2.157 r
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 s
triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL,
-- O 6.5.2.de t
userGroup [208] IMPLICIT UserGroup OPTIONAL,
-- O 6 .5.2.al p
nonPublicData [200] IMPLICIT NonPublicData OPTIONAL,
-- O 6 .5.2.ad v
userZoneData [209] IMPLICIT UserZoneData OPTIONAL,
-- O 6 .5.2.am v , w
callingPartyCategory [355] IMPLICIT CallingPartyCategory OPTIONAL,
-- O 6.5.2.gl z
lirMode [369] IMPLICIT LIRMode OPTIONAL,
-- O 6.5.2.gz z
-- END MACRO
roamingIndication [239] IMPLICIT RoamingIndication OPTIONAL,
-- O 2.211 o
serviceRedirectionInfo [238] IMPLICIT ServiceRedirectionInfo OPTIONAL
-- O 2.226 a, d
}
-- Parameters
-- 6.5.2.1
-- 1 0 0 1 0 1 0 0 (0x94)
AccessDeniedReason ::= ENUMERATED {
not-used ( 0 ),
unassigned-directory-number ( 1 ),
inactive ( 2 ),
busy ( 3 ),
termination-denied ( 4 ),
no-page-response ( 5 ),
unavailable ( 6 ),
service-Rejected-by-MS ( 7 ),
services-Rejected-by-the-System ( 8 ),
service-Type-Mismatch ( 9 ),
service-Denied ( 10 ),
position-Determination-Not-Supported (12)
}
-- 6.5.2.2
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 0 0 0 0 (0x00) (128)
ActionCode ::= OCTET STRING
-- 6.5.2.3
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 1 0 1 1 (0x4b) 75
AlertCode ::= OCTET STRING
-- 6.5.2.4
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 0 0 0 1 (0x01)(129)
AlertResult ::= OCTET STRING
-- 6.5.2.5
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 1 1 0 0 (0x4c) 76
AnnouncementCode ::= OCTET STRING
-- 6.5.2.6
-- 1 0 1 1 1 1 1 1 (0x9f) (0xbf)(constructed encoding)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 0 0 1 0 (0x02)(130)
AnnouncementList ::= SEQUENCE {
announcementCode1 [ 76 ] IMPLICIT AnnouncementCode,
announcementCode2 [ 76 ] IMPLICIT AnnouncementCode OPTIONAL
}
-- 6.5.2.7
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 1 1 0 1 (0x4d) (77)
AuthenticationAlgorithmVersion ::= OCTET STRING
-- 6.5.2.8
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 1 1 1 0 (0x4e) 78
AuthenticationCapability ::= OCTET STRING
-- 6.5.2.9
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 0 0 0 1 (0x21)(161)
AuthenticationData ::= OCTET STRING
-- 6.5.2.10
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 0 0 1 1 (0x23)(35)
AuthenticationResponse ::= OCTET STRING
-- 6.5.2.11
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 0 1 0 0 (0x24)(36)
AuthenticationResponseBaseStation ::= OCTET STRING
-- 6.5.2.12
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 0 1 0 1 (0x25)(37)
AuthenticationResponseUniqueChallenge ::= OCTET STRING
-- 6.5.2.13
-- 1 0 0 0 1 1 0 1 (0x8d)(13)
AuthorizationDenied ::= ENUMERATED {
not-used ( 0 ),
delinquent-account ( 1 ),
invalid-serial-number ( 2 ),
stolen-unit ( 3 ),
duplicate-unit ( 4 ),
unassigned-directory-number ( 5 ),
unspecified ( 6 ),
multiple-access ( 7 ),
not-Authorized-for-the-MSC ( 8 ),
missing-authentication-parameters ( 9 ),
terminalType-mismatch ( 10 ),
requested-Service-Code-Not-Supported ( 11 )
}
-- 6.5.2.14
-- 1 0 0 0 1 1 1 0 (0x8e)(14)
AuthorizationPeriod ::= OCTET STRING
-- 6.5.2.15
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 1 0 1 0 (0x5a)(90)
AvailabilityType ::= OCTET STRING
-- 6.5.2.16 1 0 0 0 0 0 0 1 (0x81)(1)
BillingID ::= OCTET STRING
-- 6.5.2.17
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 1 0 1 0 (0x3a)(58)
BorderCellAccess ::= ENUMERATED{
not-used ( 0 ),
border-Cell-Access ( 1 )
}
-- 6.5.2.18
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 0 1 1 0 (0x26)(38)
CallHistoryCount ::= INTEGER (0..63)
-- 6.5.2.19
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 1 1 1 1 (0x4f)
CallHistoryCountExpected ::= INTEGER (0..63)
-- 6.5.2.20
-- 1 0 0 1 1 0 0 1 (0x99)(25)
CallingFeaturesIndicator ::= OCTET STRING
-- 6.5.2.21
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 0 0 0 (0x50)(80)
CallingPartyNumberDigits1 ::= DigitsType
-- 6.5.2.22
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 0 0 1
CallingPartyNumberDigits2 ::= DigitsType
-- 6.5.2.23
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 0 1 0 (0x52)(82)
CallingPartyNumberString1 ::= DigitsType
-- 6.5.2.24
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 0 1 1 (0x53)(83)
CallingPartyNumberString2 ::= DigitsType
-- 6.5.2.25
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 1 0 0 (0x54)(84)
CallingPartySubaddress ::= Subaddress
-- 6.5.2.26
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 1 0 0 1 (0x39)(57)
CancellationDenied ::= ENUMERATED {
not-used ( 0 ),
multipleAccess ( 1 ),
busy ( 2 )
}
-- 6.5.2.27
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 1 0 1 (0x55)(85)
CancellationType ::= OCTET STRING
-- 6.5.2.28
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 1 1 0 (0x56)(86)
CarrierDigits ::= DigitsType
-- 6.5.2.29
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 1 1 1 0 (0x3e)(62)
CDMACallMode ::= OCTET STRING
-- 6.5.2.30
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 1 1 1 1 (0x3f)(63)
CDMAChannelData ::= OCTET STRING
-- 6.5.2.31
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 0 1 0 0 (0x44)(68)
CDMACodeChannel ::= OCTET STRING
-- 6.5.2.32
-- 1 0 1 1 1 1 1 1 (0xbf)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 0 0 1 1 (0x03)(131)
CDMACodeChannelInformation ::= SEQUENCE {
targetCellID [3] IMPLICIT TargetCellID,
cdmaCodeChannel [68] IMPLICIT CDMACodeChannel,
cdmaPilotPN [173] IMPLICIT CDMAPilotPN OPTIONAL,
-- O 6.5.2.d a
cdmaPowerCombinedIndicator [228] IMPLICIT CDMAPowerCombinedIndicator OPTIONAL,
-- O 6.5.2.bg b
...
}
-- 6.5.2.33
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 0 1 0 0 (0x04)(132)
CDMACodeChannelList ::= SEQUENCE OF [131] IMPLICIT CDMACodeChannelInformation
--
-- cdmaCodeChannelInformation [9999] IMPLICIT CDMACodeChannelInformation,
-- cdmaCodeChannelInformation [9999] IMPLICIT CDMACodeChannelInformation OPTIONAL
-- }
-- 6.5.2.34
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 0 0 1 0 (0x42)(66)
CDMAMobileProtocolRevision ::= OCTET STRING
-- 6.5.2.35
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 0 0 0 1 (0x41)(65)
CDMAPilotStrength ::= OCTET STRING
-- 6.5.2.36
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 0 0 1 1 (0x43)(67)
CDMAPrivateLongCodeMask ::= OCTET STRING
-- 6.5.2.37
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 0 1 0 1 (0x45)(69)
CDMASearchWindow ::= OCTET STRING
-- 6.5.2.38
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 1 1 0 0 (0x3c)(60)
CDMAServingOneWayDelay ::= OCTET STRING
-- 6.5.2.39
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 0 0 0 0 (0x40) (64)
CDMASignalQuality ::= OCTET STRING
-- 6.5.2.40
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 0 1 1 0 (0x26)(166)
CDMASlotCycleIndex ::= OCTET STRING
-- 6.5.2.41 N.S0005-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 1 0 1 1 (0x3b)(59)
CDMAStationClassMark ::= OCTET STRING
-- 6.5.2.42
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 0 1 1 1 (0x07)(135)
CDMATargetMAHOInformation ::= SEQUENCE {
targetCellID [3] IMPLICIT TargetCellID,
cdmaPilotStrength [65] IMPLICIT CDMAPilotStrength,
cdmaTargetOneWayDelay [61] IMPLICIT CDMATargetOneWayDelay
}
-- 6.5.2.43
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 1 0 0 0 (0x08)(136)
CDMATargetMAHOList ::= SEQUENCE OF [135] IMPLICIT CDMATargetMAHOInformation
-- CDMATargetMAHOList ::= SEQUENCE OF CDMATargetMAHOInformation
-- cdmaTargetMAHOInformation [9999] IMPLICIT CDMATargetMAHOInformation,
-- cdmaTargetMAHOInformation [9999] IMPLICIT CDMATargetMAHOInformation OPTIONAL
-- }
-- 6.5.2.44
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 0 1 0 1 (0x05)(133)
CDMATargetMeasurementInformation ::= SEQUENCE {
targetCellID [3] IMPLICIT TargetCellID,
cdmaSignalQuality [64] IMPLICIT CDMASignalQuality,
cdmaTargetOneWayDelay [61] IMPLICIT CDMATargetOneWayDelay OPTIONAL
}
-- 6.5.2.45
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 0 1 1 0 (0x06)(134)
CDMATargetMeasurementList ::= SEQUENCE OF [133] IMPLICIT CDMATargetMeasurementInformation
--{
-- cdmaTargetMeasurementInformation [133] IMPLICIT CDMATargetMeasurementInformation,
-- cdmaTargetMeasurementInformation [133] IMPLICIT CDMATargetMeasurementInformation OPTIONAL
-- }
-- 6.5.2.46
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 1 1 0 1 (0x3d)(61)
CDMATargetOneWayDelay ::= OCTET STRING
-- 6.5.2.47
-- 1 0 0 0 0 1 0 1 (0x85)(0x5)
ChannelData ::= OCTET STRING
-- 6.5.2.48
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 0 0 1 0 (0x22)(162)
ConditionallyDeniedReason ::= ENUMERATED {
not-used ( 0 ),
waitable ( 1 ),
...
}
-- 6.5.2.49
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 1 0 0 1 (0x09)(137)
ConferenceCallingIndicator ::= OCTET STRING
-- 6.5.2.50
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 0 1 1 1 (0x27) (39)
ConfidentialityModes ::= OCTET STRING
-- 6.5.2.51
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 0 1 1 1 (0x37)(55)
ControlChannelData ::= OCTET STRING
-- 6.5.2.52
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 1 0 1 0 (0x0a)(138)
CountUpdateReport ::= OCTET STRING
-- 6.5.2.53
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 0 1 1 1 (0x27)(167)
DeniedAuthorizationPeriod ::= OCTET STRING
-- 6.5.2.54
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 0 0 1 0 (0x32)(50)
DenyAccess ::= ENUMERATED {
not-used ( 0 ),
unspecified ( 1 ),
ssd-Update-failure ( 2 ),
cOUNT-Update-failure ( 3 ),
unique-Challenge-failure ( 4 ),
aUTHR-mismatch ( 5 ),
cOUNT-mismatch ( 6 ),
process-collision ( 7 ),
missing-authentication-parameters ( 8 ),
terminalType-mismatch ( 9 ),
mIN-IMSI-or-ESN-authorization-failure ( 10 ),
...
}
--6.5.2.55
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 1 0 0 1 (0x49)(73)
DeregistrationType ::= ENUMERATED {
not-used ( 0 ),
deregister-for-an-unspecified-reason ( 1 ),
deregister-for-an-administrative-reason ( 2 ),
deregister-due-to-MS-power-down ( 3 ),
...
}
-- 6.5.2.56
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 0 1 1 1 (0x57)(87)
DestinationDigits ::= DigitsType
-- 6.5.2.57
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 1 0 1 1 (0x0b)(139)
DigitCollectionControl ::= OCTET STRING
-- 6.5.2.58
-- 1 0 0 0 0 1 0 0 (0x84)(0x4)
Digits ::= DigitsType
-- 6.5.2.59
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 1 1 0 0 (0x0c)(140)
DMH-AccountCodeDigits ::= DigitsType
-- 6.5.2.60
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 1 1 0 1 (0x0d)(141)
DMH-AlternateBillingDigits ::= DigitsType
-- 6.5.2.61
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 1 1 1 0 (0x0e)(142)
DMH-BillingDigits ::= DigitsType
-- 6.5.2.62
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 1 0 0 0 (0x58)(88)
DMH-RedirectionIndicator ::= ENUMERATED {
not-specified (0),
cfu (1),
cfb (2),
cfna (3),
cfo (4),
cd-Unspecified (5),
cd-PSTN (6),
cd-Private (7),
pstn-Tandem (8),
private (9),
busy (10),
inactive (11),
unassigned (12),
termination-denied (13),
cd-failure (14),
ect (15),
mah (16),
fa (17),
abandoned-call-leg (18),
pca-call-refused (19),
sca-call-refused (20),
dialogue (21),
cfd (22),
cd-local (23),
voice-mail-retrieval (24)
}
-- 6.5.2.63
-- 1 0 0 0 1 0 0 1 (0x89)(0x9)
ElectronicSerialNumber ::= OCTET STRING
-- 6.5.2.64
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 0 1 0 1 (0x35)(53)
ExtendedMSCID ::= OCTET STRING
-- 6.5.2.65
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 0 1 1 0 (0x36)(54)
ExtendedSystemMyTypeCode ::= OCTET STRING
-- 6.5.2.66
-- FaultyParameter ::= OCTET STRING
-- 6.5.2.67
-- 1 0 0 1 0 0 1 0 (0x92)(18)
FeatureResult ::= ENUMERATED {
not-used ( 0 ),
unsuccessful ( 1 ),
successful ( 2 ),
...
}
-- 6.5.2.68
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 0 1 1 1 1 (0x0f)(143)
GeographicAuthorization ::= OCTET STRING
--6.5.2.69
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 0 0 1 1 (0x23)(163)
GroupInformation ::= OCTET STRING
-- 6.5.2.70
-- 1 0 0 1 1 1 1 0 (0x9e)(30)
HandoffReason ::= ENUMERATED {
not-used ( 0 ),
unspecified ( 1 ),
weak-Signal ( 2 ),
off-loading ( 3 ),
anticipatory ( 4 )
}
-- 6.5.2.71
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 0 1 0 0 (0x24)(164)
HandoffState ::= OCTET STRING
-- 6.5.2.72
-- 1 0 0 0 0 1 1 0 (0x86)(0x6)
InterMSCCircuitID ::= OCTET STRING
-- 6.5.2.73
-- 1 0 0 0 0 1 1 1 (0x87)(0x7)
InterSwitchCount ::= INTEGER (0..255)
--6.5.2.74
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 0 1 0 1 1 0 0 1 (0x59)(89)
IntersystemTermination ::= SEQUENCE {
destinationDigits [87] IMPLICIT DestinationDigits,
-- M 6.5.2.56
mscid [21] IMPLICIT MSCID,
-- (serving) M 6.5.2.82
accessDeniedReason [20] IMPLICIT AccessDeniedReason OPTIONAL,
-- O 6.5.2.1 a
billingID [1] IMPLICIT BillingID OPTIONAL,
-- (terminating) O 6.5.2.16 b
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 c, d
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber OPTIONAL,
-- O 6.5.2.63 e
imsi [242] IMPLICIT IMSI OPTIONAL,
-- 6.5.2.bu e, k
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 f
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 d, e
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 e
mSCIdentificationNumber [94] IMPLICIT MSCIdentificationNumber OPTIONAL,
-- O 6.5.2.83 g
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 d, h
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 d, i
...
}
-- 6.5.2.75
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 0 0 0 0 (0x10)(144)
LegInformation ::= OCTET STRING
-- 6.5.2.76
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 0 1 0 1 1 0 1 1 (0x5b)(91)
LocalTermination ::= SEQUENCE {
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- M 6.5.2.63
terminationTreatment [121] IMPLICIT TerminationTreatment,
-- M 6.5.2.158
alertCode [75] IMPLICIT AlertCode OPTIONAL,
-- O 6.5.2.3 a, b
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 b, c
destinationDigits [87] IMPLICIT DestinationDigits OPTIONAL,
-- O 6.5.2.56 d, e
imsi [242] IMPLICIT IMSI OPTIONAL,
-- 6.5.2.bu e, k
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 a
mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 b, f
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
-- M 6.5.2.81
oneTimeFeatureIndicator [97] IMPLICIT OneTimeFeatureIndicator OPTIONAL,
-- O 6.5.2.88 b, g
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 b, h
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 a, b
voiceMailboxPIN [159] IMPLICIT VoiceMailboxPIN OPTIONAL,
-- O 6.5.2.165 i
voiceMailboxNumber [160] IMPLICIT VoiceMailboxNumber OPTIONAL,
-- O 6.5.2.164 j
...
}
-- 6.5.2.77
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 0 0 0 1 (0x21)(33)
LocationAreaID ::= OCTET STRING
-- 6.5.2.78
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 1 1 0 0 (0x5c)(92)
MessageWaitingNotificationCount::= OCTET STRING
-- 6.5.2.79
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 0 0 0 1 (0x11)(145)
MessageWaitingNotificationType ::= OCTET STRING
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 1 1 0 1 (0x5d)(93)
-- 6.5.2.80
MobileDirectoryNumber ::= DigitsType
-- 6.5.2.81
-- 1 0 0 0 1 0 0 0 (0x88)(0x8)
MobileIdentificationNumber ::= MINType
--N.S0011-0 v 1.0
-- b. Refer to the MINType parameter type (see 6.5.3.u1) for notes and field encoding.
-- 6.5.2.82
-- 1 0 0 1 0 1 0 1 (0x95)
MSCID ::= OCTET STRING
-- 6.5.2.83
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 1 1 1 1 0 (0x5e)(94)
MSCIdentificationNumber ::= DigitsType
-- 6.5.2.84
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 0 1 1 0 (0x46)(70)
MSLocation ::= OCTET STRING
-- 6.5.2.85
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 0 1 0 1 (0x25)(165)
NAMPSCallMode ::= OCTET STRING
-- 6.5.2.86
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 1 0 1 0 (0x4a)(76)
NAMPSChannelData ::= OCTET STRING
-- 6.5.2.87
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 0 0 0 0 (0x60)(96)
NoAnswerTime ::= OCTET STRING
-- 6.5.2.88
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 0 0 0 1 (0x61)(97)
OneTimeFeatureIndicator ::= OCTET STRING
-- 6.5.2.89
-- 1 0 0 1 0 1 1 1 (0x97)(23)
OriginationIndicator ::= ENUMERATED {
not-used ( 0 ),
prior-agreement ( 1 ),
origination-denied ( 2 ),
local-calls-only ( 3 ),
selected-leading-digits-of-directorynumber-or-of-international-E164-number ( 4 ),
selected-leading-digits-of-directorynumber-or-of-international-E164-number-and-local-calls-only ( 5 ),
national-long-distance ( 6 ),
international-calls ( 7 ),
single-directory-number-or-international-E164-number ( 8 ),
...
}
-- 6.5.2.90
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 0 0 1 0 (0x62)
OriginationTriggers ::= OCTET STRING
-- 6.5.2.91
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 0 0 1 0 (0x12)(146)
PACAIndicator ::= OCTET STRING
-- 6.5.2.92
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 0 1 1 1 (0x47)(71)
PageIndicator ::= OCTET STRING
-- 6.5.2.93
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 0 0 0 0 (0x20)
PC-SSN ::= OCTET STRING
-- 6.5.2.94
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 1 0 0 1 (0x29)(169)
PilotBillingID ::= OCTET STRING
-- 6.5.2.95
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 1 0 0 0 (0x28)(168)
PilotNumber ::= DigitsType
-- 6.5.2.96
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 0 0 1 1 (0x13)(147)
PreferredLanguageIndicator ::= OCTET STRING
-- 6.5.2.97 Profile MACRO ?
-- Profile ::= SET {
-- authenticationCapability [78] IMPLICIT AuthenticationCapability OPTIONAL,
-- O 6.5.2.8 a
-- callingFeaturesIndicator [25] IMPLICIT CallingFeaturesIndicator OPTIONAL,
-- O 6.5.2.20 b
-- carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 c
-- cdmaServiceOptionList [176] IMPLICIT CDMAServiceOptionList OPTIONAL,
-- O 6.5.2.g d
-- controlNetworkID [307] IMPLICIT ControlNetworkID OPTIONAL,
-- O 6.5.2.ek u
-- dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL,
-- O 6.5.2.59 d
-- dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL,
-- O 6.5.2.60 d
-- dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL,
-- O 6.5.2.61 d
-- geographicAuthorization [143] IMPLICIT GeographicAuthorization OPTIONAL,
-- O 6.5.2.68 e
-- messageWaitingNotificationCount [92] IMPLICIT MessageWaitingNotificationCount OPTIONAL,
-- O 6.5.2.78 f
-- messageWaitingNotificationType [145] IMPLICIT MessageWaitingNotificationType OPTIONAL,
-- O 6.5.2.79 g
-- mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL,
-- O 6.5.2.80 d
-- mobilePositionCapability [335] IMPLICIT MobilePositionCapability OPTIONAL,
-- O 6.5.2.fm t TIA/EIA/J-STD-036-A
-- originationIndicator [23] IMPLICIT OriginationIndicator OPTIONAL,
-- O 6.5.2.89 h
-- originationTriggers [98] IMPLICIT OriginationTriggers,
-- O 6.5.2.90 i
-- pACAIndicator [274] IMPLICIT PACAIndicator OPTIONAL,
-- O 6.5.2.91 j
-- preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL,
-- O 6.5.2.96 k
-- qosPriority [348] IMPLICIT QoSPriority OPTIONAL,
--6.5.2.ge z
-- restrictionDigits [227] IMPLICIT RestrictionDigits OPTIONAL,
-- O 6.5.2.113 l
-- routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 m
-- pSID-RSIDList [203] IMPLICIT PSID-RSIDList OPTIONAL,
-- O 6 .5.2.ag u , w
-- sms-OriginationRestrictions [115] IMPLICIT SMS-OriginationRestrictions OPTIONAL,
-- O 6.5.2.136 n
-- sms-TerminationRestrictions [117] IMPLICIT SMS-TerminationRestrictions OPTIONAL,
-- O 6.5.2.138 o
-- spinipin [154] IMPLICIT SPINIPIN OPTIONAL,
-- O 6.5.2.139 p
-- spiniTriggers [155] IMPLICIT SPINITriggers OPTIONAL,
-- O 6.5.2.140 q
-- tdmaDataFeaturesIndicator [221] IMPLICIT TDMADataFeaturesIndicator OPTIONAL,
-- O 6.5.2.az s
-- terminationRestrictionCode [24] IMPLICIT TerminationRestrictionCode OPTIONAL,
-- O 6.5.2.157 r
-- terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 s
-- triggerAddressList [276] IMPLICIT TriggerAddressList OPTIONAL,
-- O 6.5.2.de t
-- userGroup [208] IMPLICIT UserGroup OPTIONAL,
-- O 6 .5.2.al p
-- nonPublicData [200] IMPLICIT NonPublicData OPTIONAL,
-- O 6 .5.2.ad v
-- userZoneData [209] IMPLICIT UserZoneData OPTIONAL,
-- O 6 .5.2.am v , w
-- callingPartyCategory [355] IMPLICIT CallingPartyCategory OPTIONAL,
-- O 6.5.2.gl z
-- ...,
-- lirMode [369] IMPLICIT LIRMode OPTIONAL
-- O 6.5.2.gz z
-- }
-- END MACRO
-- authenticationCapability [78] IMPLICIT AuthenticationCapability OPTIONAL O 6.5.2.8 a
-- callingFeaturesIndicator [25] IMPLICIT CallingFeaturesIndicator OPTIONAL, O 6.5.2.20 b
-- carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL, O 6.5.2.28 c
-- dmh-AccountCodeDigits [140] IMPLICIT DMH-AccountCodeDigits OPTIONAL, O 6.5.2.59 d
-- dmh-AlternateBillingDigits [141] IMPLICIT DMH-AlternateBillingDigits OPTIONAL, O 6.5.2.60 d
-- dmh-BillingDigits [142] IMPLICIT DMH-BillingDigits OPTIONAL, O 6.5.2.61 d
-- geographicAuthorization [143] IMPLICIT GeographicAuthorization OPTIONAL, O 6.5.2.68 e
-- messageWaitingNotificationCount [92] IMPLICIT MessageWaitingNotificationCount OPTIONAL, O 6.5.2.78 f
-- messageWaitingNotificationType [145] IMPLICIT MessageWaitingNotificationType OPTIONAL, O 6.5.2.79 g
-- mobileDirectoryNumber [93] IMPLICIT MobileDirectoryNumber OPTIONAL, O 6.5.2.80 d
-- originationIndicator [23] IMPLICIT OriginationIndicator OPTIONAL, O 6.5.2.89 h
-- originationTriggers [98] IMPLICIT OriginationTriggers, O 6.5.2.90 i
-- pACAIndicator [274] IMPLICIT PACAIndicator OPTIONAL, O 6.5.2.91 j
-- preferredLanguageIndicator [147] IMPLICIT PreferredLanguageIndicator OPTIONAL, O 6.5.2.96 k
-- restrictionDigits [227] IMPLICIT RestrictionDigits OPTIONAL, O 6.5.2.113 l
-- routingDigits [150] IMPLICIT RoutingDigits OPTIONAL, O 6.5.2.114 m
-- sms-OriginationRestrictions [115] IMPLICIT SMS-OriginationRestrictions OPTIONAL, O 6.5.2.136 n
-- sms-TerminationRestrictions [117] IMPLICIT SMS-TerminationRestrictions OPTIONAL, O 6.5.2.138 o
-- spinipin [154] IMPLICIT SPINIPIN OPTIONAL, O 6.5.2.139 p
-- spiniTriggers [155] IMPLICIT SPINITriggers OPTIONAL, O 6.5.2.140 q
-- terminationRestrictionCode [24] IMPLICIT TerminationRestrictionCode OPTIONAL, O 6.5.2.157 r
-- terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL, O 6.5.2.159 s
-- triggerAddressList [276] IPMPLICIT TriggerAddressList OPTIONAL, O 6.5.2.de t
-- 6.5.2.98
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 0 1 0 1 1 1 1 1 (0x5f)(95)
PSTNTermination ::= SEQUENCE {
destinationDigits [87] IMPLICIT DestinationDigits,
-- M 6.5.2.56
carrierDigits [86] IMPLICIT CarrierDigits OPTIONAL,
-- O 6.5.2.28 a, b
electronicSerialNumber [9] IMPLICIT ElectronicSerialNumber,
-- O 6.5.2.63 c
imsi [242] IMPLICIT IMSI,
-- 6.5.2.bu
legInformation [144] IMPLICIT LegInformation OPTIONAL,
-- O 6.5.2.75 d
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber OPTIONAL,
-- O 6.5.2.81 c, e
routingDigits [150] IMPLICIT RoutingDigits OPTIONAL,
-- O 6.5.2.114 b, e
terminationTriggers [122] IMPLICIT TerminationTriggers OPTIONAL,
-- O 6.5.2.159 b, f
...
}
-- 6.5.2.99
-- 1 0 0 1 0 0 0 1 (0x91)(17)
QualificationInformationCode ::= ENUMERATED {
not-used ( 0 ),
no-information ( 1 ),
validation-only ( 2 ),
validation-and-profile ( 3 ),
profile-only ( 4 )
}
-- 6.5.2.100
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 0 0 1 1 (0x43)(67)
RANDC ::= OCTET STRING
-- 6.5.2.101
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 1 0 0 0 (0x28)(40)
RandomVariable ::= OCTET STRING
-- 6.5.2.102
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 1 0 0 1 (0x29)(41)
RandomVariableBaseStation ::= OCTET STRING
-- 6.5.2.103
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 1 0 1 0 (0x2a)(42)
RandomVariableSSD ::= OCTET STRING
-- 6.5.2.104
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 1 0 1 1 (0x2b)(43)
RandomVariableUniqueChallenge ::= OCTET STRING
-- 6.5.2.105
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 0 1 0 0 (0x14)(148)
RANDValidTime ::= OCTET STRING
-- 6.5.2.106
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 0 0 1 0 0 0 (0x48)(72)
ReceivedSignalQuality ::= INTEGER (0..255)
-- 6.5.2.107
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 0 1 0 0 (0x64)(100)
RedirectingNumberDigits ::= DigitsType
-- 6.5.2.108
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 0 1 0 1 (0x65)(101)
RedirectingNumberString ::= DigitsType
-- 6.5.2.109
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 0 1 1 0 (0x66)(102)
RedirectingSubaddress ::= Subaddress
-- 6.5.2.110 RedirectionReason updated N.S0021
-- 1 0 0 1 0 0 1 1 (0x93)(19)
RedirectionReason ::= ENUMERATED {
not-used (0),
busy (1),
no-Answer (2),
unconditional (3),
no-Page-Response (4),
unavailable (5),
unroutable (6),
call-accepted (7),
call-refused (8),
uSCFvm-Divert-to-voice-mail (9),
uSCFms-Divert-to-an-MS-provided-DN (10),
uSCFnr-Divert-to-a-network-registered-DN (11),
...
}
-- 6.5.2.111 ReleaseReason updated N.S0029-0 v1.0
-- 1 0 0 0 1 0 1 0 (0x8a)
ReleaseReason ::= ENUMERATED {
unspecified (0),
callOverClearForward (1),
callOverClearBackward (2),
handoffSuccessful (3),
handoffAbort-call-over (4),
handoffAbort-not-received (5),
abnormalMobileTermination (6),
abnormalSwitchTermination (7),
specialFeatureRelease (8),
sessionOverClearForward (9),
sessionOverClearBackward (10),
clearAllServicesForward (11),
clearAllServicesBackward (12),
anchor-MSC-was-removed-from-the-packet-data-session (13),
keep-MS-on-traffic-channel (14),
...
}
-- 6.5.2.112
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 1 1 0 0 (0x2c)
ReportType ::= ENUMERATED {
not-used ( 0 ),
unspecified-security-violation ( 1 ),
mSID-ESN-mismatch ( 2 ),
rANDC-mismatch ( 3 ),
reserved ( 4 ),
sSD-update-failed ( 5 ),
reserved ( 6 ),
cOUNT-mismatch ( 7 ),
reserved ( 8 ),
unique-Challenge-failed ( 9 ),
unsolicited-Base-Station-Challenge ( 10 ),
sSD-Update-no-response ( 11 ),
cOUNT-Update-no-response ( 12 ),
unique-Challenge-no-response ( 13 ),
aUTHR-mismatch ( 14 ),
tERMTYP-mismatch ( 15 ),
missing-authentication-parameters ( 16 ),
...
}
-- 6.5.2.113
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 0 1 0 1 (0x15)(227)
RestrictionDigits ::= DigitsType
-- 6.5.2.114
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 0 1 1 0 (0x16)(150)
RoutingDigits ::= DigitsType
-- 6.5.2.115
-- 1 0 0 0 1 1 1 1 (0x8f)
SeizureType ::= ENUMERATED {
unspecified ( 0 ),
loop-back ( 1 ),
...
}
-- 6.5.2.116
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 0 1 1 1
SenderIdentificationNumber ::= DigitsType
-- 6.5.2.117
-- 1 0 0 0 0 0 1 0 (0x82)(0x2)
ServingCellID ::= OCTET STRING
-- 6.5.2.118
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 0 1 1 1 (0x17)(151)
SetupResult ::= OCTET STRING
-- 6.5.2.119
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 1 1 1 0 (0x2e)(46)
SharedSecretData ::= OCTET STRING
-- 6.5.2.120
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 1 1 0 1 (0x2d)(45)
SignalingMessageEncryptionKey ::= OCTET STRING
-- 6.5.2.121
-- 1 0 0 0 1 0 1 1 (0x8b)(11)
SignalQuality ::= INTEGER{
not-a-usable-signal (0),
treat-as-Not-a-usable-signal (1),
treat-as-Not-a-usable-signal (2),
treat-as-Not-a-usable-signal (3),
treat-as-Not-a-usable-signal (4),
treat-as-Not-a-usable-signal (5),
treat-as-Not-a-usable-signal (6),
treat-as-Not-a-usable-signal (7),
treat-as-Not-a-usable-signal (8),
usable-signal-range (9),
usable-signal-range (245),
treat-the-same-as-interference (246),
treat-the-same-as-interference (247),
treat-the-same-as-interference (248),
treat-the-same-as-interference (249),
treat-the-same-as-interference (250),
treat-the-same-as-interference (251),
treat-the-same-as-interference (252),
treat-the-same-as-interference (253),
treat-the-same-as-interference (254),
interference (255)
} (0..255)
-- 6.5.2.122
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 1 0 0 0 (0x18)(152)
SMS-AccessDeniedReason ::= OCTET STRING
-- 6.5.2.123
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 1 0 0 0 (0x68)(104)
SMS-Address ::= DigitsType
-- 6.5.2.124
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 1 0 0 1 (0x69)(105)
SMS-BearerData ::= OCTET STRING
-- 6.5.2.125
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 1 0 0 1 (0x19)(153)
SMS-CauseCode ::= OCTET STRING
-- 6.5.2.126
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 1 0 1 0 (0x6a)(106)
SMS-ChargeIndicator ::= OCTET STRING
-- 6.5.2.127
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 1 0 1 1 (0x6b)(107)
SMS-DestinationAddress ::= DigitsType
-- 6.5.2.128
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 1 1 0 0 (0x6c)(108)
SMS-MessageCount ::= OCTET STRING
-- 6.5.2.129
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 0 1 1 0 (0x76)(118)
SMS-MessageWaitingIndicator ::= NULL
-- 6.5.2.130
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 1 1 0 1 (0x6d)(109)
SMS-NotificationIndicator ::= OCTET STRING
-- 6.5.2.131
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 1 1 1 0 (0x6e)(110)
SMS-OriginalDestinationAddress ::= DigitsType
-- 6.5.2.132
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 0 1 1 1 1 (0x6f)(111)
SMS-OriginalDestinationSubaddress ::= Subaddress
-- 6.5.2.133
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 0 0 0 0 (0x70)(112)
SMS-OriginalOriginatingAddress ::= DigitsType
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 0 0 0 1 (0x71)(113)
-- 6.5.2.134
SMS-OriginalOriginatingSubaddress ::= Subaddress
-- 6.5.2.135
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 0 0 1 0 (0x72)(114)
SMS-OriginatingAddress ::= DigitsType
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 0 0 1 1 (0x73)(115)
-- 6.5.2.136
SMS-OriginationRestrictions ::= OCTET STRING
-- 6.5.2.137
-- N.S0005-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 0 1 0 0 (0x74)(116)
SMS-TeleserviceIdentifier ::= OCTET STRING
-- SMS-TeleserviceIdentifier ::= INTEGER
-- 6.5.2.138
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 0 1 0 1 (0x75)(117)
SMS-TerminationRestrictions ::= OCTET STRING
-- 6.5.2.139
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 1 0 1 0 (0x1a)(154)
SPINIPIN ::= DigitsType
-- 6.5.2.140
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 1 0 1 1 (0x1b)(155)
SPINITriggers ::= OCTET STRING
-- 6.5.2.141
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 0 1 0 0 (0x34) (52)
SSDNotShared ::= ENUMERATED {
not-used ( 0 ),
discard-SSD ( 1 ),
...
}
-- 6.5.2.142
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 1 1 0 0 (0x1c)(156)
SSDUpdateReport ::= OCTET STRING
-- 6.5.2.143
-- 1 0 0 0 1 1 0 0 (0x8c)(18)
StationClassMark ::= OCTET STRING
-- 6.5.2.144
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 1 0 0 0 (0x38)(56)
SystemAccessData ::= OCTET STRING
-- 6.5.2.145
-- 1 0 0 1 1 1 1 1 (0x9f) (0x9c)
-- 0 0 1 0 0 0 1 0 (0x22)(34)
SystemAccessType ::= ENUMERATED {
not-used (0),
unspecified (1),
flash-request (2),
autonomous-registration (3),
call-origination (4),
page-response (5),
no-access (6),
power-down-registration (7),
sms-page-response (8),
otasp (9),
...
}
-- 6.5.2.146
-- 1 0 0 1 1 1 1 1 (0x9f) (0x9c)
-- 0 0 1 1 0 0 0 1 (0x31)(49)
SystemCapabilities ::= OCTET STRING
-- 6.5.2.147
-- 1 0 0 1 0 1 1 0 (0x96)(22)
SystemMyTypeCode ::= ENUMERATED {
not-used ( 0 ),
eDS ( 1 ),
astronet ( 2 ),
lucent-Technologies ( 3 ),
ericsson ( 4 ),
gTE ( 5 ),
motorola ( 6 ),
nEC ( 7 ),
nORTEL ( 8 ),
novAtel ( 9 ),
plexsys ( 10 ),
digital-Equipment-Corp ( 11 ),
iNET ( 12 ),
bellcore ( 13 ),
alcatel-SEL ( 14 ),
compaq ( 15 ),
qUALCOMM ( 16 ),
aldiscon ( 17 ),
celcore ( 18 ),
tELOS ( 19 ),
aDI-Limited ( 20 ),
coral-Systems ( 21 ),
synacom-Technology ( 22 ),
dSC ( 23 ),
mCI ( 24 ),
newNet ( 25 ),
sema-Group-Telecoms ( 26 ),
lG-Information-and-Communications ( 27 ),
cBIS ( 28 ),
siemens ( 29 ),
samsung-Electronics ( 30 ),
readyCom-Inc ( 31 ),
aG-Communication-Systems ( 32 ),
hughes-Network-Systems ( 33 ),
phoenix-Wireless-Group ( 34 )
}
-- 6.5.2.148
-- 1 0 0 0 0 0 1 1 (0x83)(0x3)
TargetCellID ::= OCTET STRING
-- 6.5.2.149
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 1 1 0 1 (0x1d)(157)
TargetMeasurementInformation ::= SEQUENCE{
targetCellID [3] IMPLICIT TargetCellID,
-- M 6.5.2.148
signalQuality [11] IMPLICIT SignalQuality,
-- M 6.5.2.121
...
}
-- 6.5.2.150
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 1 1 1 0 (0x1e)(158)
TargetMeasurementList ::= SEQUENCE OF [157] IMPLICIT TargetMeasurementInformation
-- 6.5.2.151
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 0 1 1 1 1 1 (0x1f)(31)
TDMABurstIndicator ::= OCTET STRING
-- 6.5.2.152
-- 1 0 0 1 1 1 0 1 (0x9d)(29)
TDMACallMode ::= OCTET STRING
-- 6.5.2.153
-- 1 0 0 1 1 1 0 0 (0x9c)(28)
TDMAChannelData ::= OCTET STRING
-- 6.5.2.154
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 0 1 1 1 1 (0x2f)(47)
TerminalType ::= ENUMERATED {
not-used ( 0 ),
not-distinguished ( 1 ),
iS-54-B ( 2 ),
iS-136 ( 3 ),
j-STD-011 ( 4 ),
iS-136-A-or-TIA-EIA-136-Revision-0 ( 5 ),
tIA-EIA-136-A ( 6 ),
iA-EIA-136-B ( 7 ),
iS-95 ( 32 ),
iS-95B ( 33 ),
j-STD-008 ( 34 ),
tIA-EIA-95-B ( 35 ),
iS-2000 ( 36 ),
iS-88 ( 64 ),
iS-94 ( 65 ),
iS-91 ( 66 ),
j-STD-014 ( 67 ),
tIA-EIA-553-A ( 68 ),
iS-91-A ( 69 ),
...
}
-- 6.5.2.155
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 0 1 1 1 (0x77)(119)
TerminationAccessType ::= OCTET STRING
-- 6.5.2.156
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 0 1 1 1 1 0 0 0 (0x78)(120)
TerminationList ::= SET OF CHOICE {
intersystemTermination [89] IMPLICIT IntersystemTermination,
-- O 6.5.2.74 b, c, d
localTermination [91] IMPLICIT LocalTermination,
-- O 6.5.2.76 b, c, e
pstnTermination [95] IMPLICIT PSTNTermination,
-- O 6.5.2.98 b, c, f
...
}
-- 6.5.2.157
-- 1 0 0 1 1 0 0 0 (0x98)(24)
TerminationRestrictionCode ::= ENUMERATED {
not-used ( 0 ),
termination-denied ( 1 ),
unrestricted ( 2 ),
the-treatment-for-this-value-is-not-specified ( 3 ),
...
}
-- 6.5.2.158
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 1 0 0 1 (0x79)(121)
TerminationTreatment ::= OCTET STRING
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 1 0 1 0 (0x7a)(122)
-- 6.5.2.159
TerminationTriggers ::= OCTET STRING
-- 6.5.2.160
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 1 0 1 1 (0x9b)(123)
TransactionCapability ::= OCTET STRING
-- 6.5.2.161
-- 1 0 0 1 0 0 0 0 (0x90)(16)
TrunkStatus ::= ENUMERATED {
idle ( 0 ),
blocked ( 1 ),
...
}
-- 6.5.2.162
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 1 1 1 1 1 0 0 (0x7c)(124)
UniqueChallengeReport ::= OCTET STRING
-- 6.5.2.163
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 0 0 1 1 (0x33) (51)
UpdateCount ::= ENUMERATED {
not-used ( 0 ),
update-COUNT ( 1 ),
...
}
-- 6.5.2.164
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 0 0 0 0 (0x20)(160)
VoiceMailboxNumber ::= DigitsType
-- 6.5.2.165
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 0 1 1 1 1 1 (0x1f)(159)
VoiceMailboxPIN ::= DigitsType
-- 6.5.2.166
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 0 0 1 1 0 0 0 0 (0x30)(48)
VoicePrivacyMask ::= OCTET STRING
-- 6.5.2.a N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 1 0 1 0 (0x2a)(170)
-- a. See CDMA [TSB76] for the definition of this parameter.
CDMABandClass ::= OCTET STRING
-- 6.5.2.b N.S0010-0 v 1.0 N.S0006
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 1 0 1 1 (0x2b)(171)
CDMABandClassInformation ::= SEQUENCE{
cdmaBandClass [170] IMPLICIT CDMABandClass,
-- M 6.5.2.a a
cdmaMobileProtocolRevision [66] IMPLICIT CDMAMobileProtocolRevision OPTIONAL,
-- O 6.5.2.34 b
cdmaStationClassMark2 [177] IMPLICIT CDMAStationClassMark2 OPTIONAL,
-- O 6.5.2.h b
...
}
-- 6.5.2.c N.S0010-0 v 1.0
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 1 1 0 0 (0x2c)(172)
CDMABandClassList ::= SEQUENCE OF [171] IMPLICIT CDMABandClassInformation
-- 6.5.2.d N.S0010-0 v 1.0 N.S0006
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 1 1 0 1 (0x2d)(173)
CDMAPilotPN ::= OCTET STRING
-- 6.5.2.e (TSB76) N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 1 1 1 0 (0x2e)(174)
CDMAServiceConfigurationRecord ::= OCTET STRING
-- a. This field carries the CDMA Service Configuration Record. The bit-layout is the
-- same as that of Service Configuration Record in TSB74, and J-STD-008.
-- 6.5.2.f (TSB76) CDMAServiceOption N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 0 1 1 1 1 (0x2f)(175)
CDMAServiceOption ::= OCTET STRING
--a. This field carries the CDMA Service Option. The bit-layout is the same as that of
-- Service Option in TSB74 and J-STD-008.
-- 6.5.2.g N.S0010-0 v 1.0
-- 1 0 1 1 1 1 1 1 (0xbf)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 0 0 0 0 (0x30)(176)
CDMAServiceOptionList ::= SEQUENCE OF [175] IMPLICIT CDMAServiceOption
-- 6.5.2.h N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 0 0 0 1 (0x31)(177)
CDMAStationClassMark2 ::= OCTET STRING
-- 6 .5.2.i N.S0007-0 v 1.0 N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 0 0 1 0 (0x32)(178)
TDMAServiceCode ::= OCTET STRING
-- 6.5.2.j N.S0007-0 v 1.0 N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 0 0 1 1 (0x33)(179)
TDMATerminalCapability ::= OCTET STRING
-- 6.5.2.k N.S0007-0 v 1.0 N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 0 1 0 0 (0x34)(180)
-- last TSB76 assigned identifier)
TDMAVoiceCoder ::= OCTET STRING
-- 6.5.2.aa (N.S0007-0 v 1.0)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 0 1 0 1 (0x45)(197)
BaseStationManufacturerCode ::= OCTET STRING
-- 6.5.2.ab (N.S0007-0 v 1.0)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 0 1 1 0 (0x46)(198)
BSMCStatus ::= OCTET STRING
-- 6.5.2.ac (N.S0007-0 v 1.0) N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 0 1 1 1 (0x49)(199)
ControlChannelMode ::= OCTET STRING
-- 6 .5.2.ad (N.S0007-0 v 1.0)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 1 0 0 0 (0x48)(200)
NonPublicData ::= OCTET STRING
-- 6.5.2.ae (N.S0007-0 v 1.0)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 1 0 0 1 (0x49)(201)
PagingFrameClass ::= OCTET STRING
-- 6.5.2.af (N.S0007-0 v 1.0)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 1 0 1 0 (0x4a)(202)
PSID-RSIDInformation ::= OCTET STRING
-- 6.5.2.ag (N.S0007-0 v 1.0)
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 1 0 1 1 (0x4b)(203)
PSID-RSIDList ::= SEQUENCE{
pSID-RSIDInformation [202] IMPLICIT PSID-RSIDInformation,
-- M 6.5.2.af
pSID-RSIDInformation1 [202] IMPLICIT PSID-RSIDInformation OPTIONAL
--O 6.5.2.af a
}
-- 6.5.2.ah (N.S0007-0 v 1.0)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 1 1 0 0 (0x4c)(204)
ServicesResult ::= OCTET STRING
-- 6.5.2.ai (N.S0007-0 v 1.0)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 1 1 0 1 (0x4d)(205)
SOCStatus ::= OCTET STRING
-- 6.5.2.aj (N.S0007-0 v 1.0)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 1 1 1 0 (0x4e)(206)
SystemOperatorCode ::= OCTET STRING
-- 6.5.2.aj
-- XXX Same code as ISLPinformation???
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 1 0 0 1 (0x59)()
-- SecondInterMSCCircuitID N.S0008-0 v 1.0
-- 6.5.2.ak (N.S0007-0 v 1.0)
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 1 1 1 1 (0x4f)(207)
TargetCellIDList ::= SEQUENCE {
targetCellID [3] IMPLICIT TargetCellID,
-- M 6.5.2.148
targetCellID1 [3] IMPLICIT TargetCellID OPTIONAL
-- O 6.5.2.148
}
-- 6.5.2.al (N.S0007-0 v 1.0)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 0 0 0 0 (0x50)(208)
UserGroup ::= OCTET STRING
-- 6.5.2.am (N.S0007-0 v 1.0)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 0 0 0 1 (0x51)(209)
UserZoneData ::= OCTET STRING
-- 6.5.2.ap (IS-737)
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 0 0 1 1 (0x53)(211)
CDMAConnectionReferenceInformation ::= SEQUENCE {
cdmaConnectionReference [208] IMPLICIT CDMAConnectionReference,
-- M 6.5.2.bb d
cdmaServiceOption [175] IMPLICIT CDMAServiceOption,
-- M 6.5.2.f
cdmaState [213] IMPLICIT CDMAState OPTIONAL,
-- O 6.5.2.ad a
dataPrivacyParameters [216] IMPLICIT DataPrivacyParameters OPTIONAL,
-- O 6.5.2.au b
cdmaServiceOptionConnectionIdentifier [361] IMPLICIT CDMAServiceOptionConnectionIdentifier OPTIONAL,
--O 6.5.2.gr e
...
}
-- 6.5.2.ad (IS-737)
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 0 1 0 0 (0x54)(212)
CDMAConnectionReferenceList ::= SEQUENCE OF SEQUENCE {
cdmaConnectionReferenceInformation [211] IMPLICIT CDMAConnectionReferenceInformation,
-- M 6.5.2.ap
cdmaConnectionReferenceInformation2 [211] IMPLICIT CDMAConnectionReferenceInformation OPTIONAL,
-- O 6.5.2.ap a
...
}
--6.5.2.ar
-- 6.5.2.ad CDMAState N.S0008-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 0 1 0 1 (0x55)(213)
CDMAState ::= OCTET STRING
-- 6.5.2.as N.S0008-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 0 1 1 0 (0x56)(214)
ChangeServiceAttributes ::= OCTET STRING
-- 6.5.2.at
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 0 1 1 1 (0x57)(215)
DataKey ::= OCTET STRING
-- 6.5.2.au
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 1 0 0 0 (0x58)(216)
DataPrivacyParameters ::= OCTET STRING
-- 6.5.2.av
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 1 0 0 1 (0x59)(217)
ISLPInformation ::= OCTET STRING
-- 6.5.2.aw ReasonList N.S0008-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 1 0 1 0 (0x5a)(218)
ReasonList ::= ENUMERATED {
unknown (0),
unable-to-configure-ISLP (1),
iSLP-failure (2),
service-allowed-but-facilities-not-available (3),
service-not-allowed (4),
no-Response-to-TMSI-assignment (5),
required-parameters-unavailable (6)
}
-- 6.5.2.ay N.S0008-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 1 1 0 0 (0x5c)(220)
TDMABandwidth ::= OCTET STRING
-- 6.5.2.az N.S0008-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 1 1 0 1 (0x5d)(221)
TDMADataFeaturesIndicator ::= OCTET STRING
-- 6.5.2.ba
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 1 1 1 0 (0x5e)(222)
TDMADataMode ::= OCTET STRING
-- 6.5.2.bb
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 1 1 1 1 (0x5f)(223)
TDMAVoiceMode ::= OCTET STRING
-- 6.5.2.bb
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 1 0 0 1 0 (0x52)(208)
CDMAConnectionReference ::= OCTET STRING
-- a. This field carries the CDMA Service Option Connection Reference. The bitlayout
-- is the same as that of Service Option Connection Reference in TSB74 and
-- J-STD-008.
-- 6.5.2.bc N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 0 0 0 0 (0x60)(224)
AnalogRedirectInfo ::= OCTET STRING
-- 6.5.2.bd N.S0010-0 v 1.0
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 0 0 0 1 (0x61)(225)
AnalogRedirectRecord ::= SEQUENCE {
analogRedirectInfo [224] IMPLICIT AnalogRedirectInfo,
-- M 6.5.2.bc
mscid [21] IMPLICIT MSCID,
-- M 6.5.2.82
...
}
-- 6.5.2.be N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 0 0 1 0 (0x62)(226)
CDMAChannelNumber ::= OCTET STRING
-- 6.5.2.bf N.S0010-0 v 1.0
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 0 0 1 1 (0x63)(227)
CDMAChannelNumberList ::= SEQUENCE OF SEQUENCE{
cdmaChannelNumber [226] IMPLICIT CDMAChannelNumber,
-- M 6.5.2.be
cdmaChannelNumber2 [226] IMPLICIT CDMAChannelNumber,
-- O 6.5.2.be a
...
}
-- 6.5.2.bg N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 0 1 0 0 (0x64)(228)
CDMAPowerCombinedIndicator ::= OCTET STRING
-- 6.5.2.bh N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 0 1 0 1 (0x65)(229)
CDMARedirectRecord ::= SEQUENCE {
cdmaBandClass [170] IMPLICIT CDMABandClass,
-- M 6.5.2.a a
cdmaChannelNumberList [227] IMPLICIT CDMAChannelNumberList,
-- M 6.5.2.bf
mscid [21] IMPLICIT MSCID,
-- M 6.5.2.82
cdmaNetworkIdentification [232] IMPLICIT CDMANetworkIdentification,
-- M 6.5.2.bk
...
}
-- 6.5.2.bi N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 0 1 1 0 (0x66)(230)
CDMASearchParameters ::= OCTET STRING
-- 6.5.2.bj N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 0 1 1 1 (0x67)(231)
-- Reserved
-- 6.5.2.bk N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 1 0 0 0 (0x68)(232)
CDMANetworkIdentification ::= OCTET STRING
-- 6.5.2.bl N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 1 0 0 1 (0x69)(233)
-- XXX Is this correct? see (N.S0005-0 v 1.0 Chapter 5, page 219)
-- Changed from DigitsType to Octetstring J-STD-036-AD-1
NetworkTMSI ::= OCTET STRING
-- 6.5.2.bm N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 1 0 1 0 (0x6a)(234)
NetworkTMSIExpirationTime ::= OCTET STRING
-- 6.5.2.bn N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 1 0 1 1 (0x6b)(235)
NewNetworkTMSI ::= DigitsType
-- 6.5.2.bo N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 1 1 0 0 (0x6c)(236)
RequiredParametersMask ::= OCTET STRING
-- 6.5.2.bp N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 1 1 0 1 (0x6d)(237)
ServiceRedirectionCause ::= OCTET STRING
-- 6.5.2.bq N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 1 1 1 0 (0x6e)(238)
ServiceRedirectionInfo ::= OCTET STRING
-- 6.5.2.br N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 0 1 1 1 1 (0x6f)(239)
RoamingIndication ::= OCTET STRING
-- 6.5.2.bs
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 0 0 0 0 (0x6f)(239)
EmergencyServicesRoutingDigits ::= DigitsType
-- 6.5.2.bu
-- N.S0010-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 0 0 0 0 (0x70)(240)
-- MSID
-- 6.5.2.bv MSID
MSID ::= CHOICE {
mobileIdentificationNumber [8] IMPLICIT MobileIdentificationNumber,
imsi [242] IMPLICIT IMSI
}
-- 6.5.2.bu (IS-751)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 0 0 1 0 (0x72)(242)
-- Import from GSM MAP for convenience
-- IMSI ::= OCTET STRING
-- 6.5.2.bw N.S0012-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 0 0 1 1 (0x73)(243)
CallingPartyName ::= OCTET STRING
-- 6.5.2.bx N.S0012-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 0 1 0 0 (0x74)(244)
DisplayText ::= OCTET STRING
-- 6.5.2.by N.S0012-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 0 1 0 1 (0x75)(245)
RedirectingPartyName ::= OCTET STRING
-- 6.5.2.bz N.S0012-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 0 1 1 0 (0x76)(246)
ServiceID ::= OCTET STRING
--6.5.2.ca
-- Ref N.S0013-0_v1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 0 1 1 1 (0x77) (247)
AllOrNone ::= ENUMERATED{
notUsed ( 0 ),
allChangesMustSucceedOrNoneShouldBeApplied (1),
treatEachChangeIndependently (2)
}
-- 6.5.2.cb N.S0013-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 1 0 0 0 (0x78)(248)
Change ::= ENUMERATED {
setDataItemToDefaultValue (1),
addDataItem (2),
deleteDataItem (3),
replaceDataItemWithAssociatedDataValue (4),
...}
-- 6.5.2.cc N.S0013-0 v 1.0
-- 1 0 1 1 1 1 1 1 (0xbf)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 1 0 0 1 (0x79)(249)
DataAccessElement ::= SEQUENCE {
dataID [251] IMPLICIT DataID,
-- M 6.5.2.ce
change [248] IMPLICIT Change OPTIONAL,
-- O 6.5.2.cb a
dataValue [256]IMPLICIT DataValue OPTIONAL,
-- O 6.5.2.cj a
...}
-- 6.5.2.cd N.S0013-0 v 1.0
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 1 0 1 0 (0x7a) (250)
DataAccessElementList ::= SEQUENCE OF SEQUENCE{
dataAccessElement1 [249] IMPLICIT DataAccessElement,
dataAccessElement2 [249] IMPLICIT DataAccessElement OPTIONAL
}
-- 6.5.2.ce N.S0013-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 1 0 1 1 (0x7b)(251)
DataID ::= OCTET STRING
-- 6.5.2.cf N.S0013-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 1 1 0 0 (0x7c)(252)
DatabaseKey ::= OCTET STRING
-- 6.5.2.cg N.S0013-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 1 1 0 1 (0x7d)(253)
DataResult ::= ENUMERATED {
not-used ( 0 ),
successful ( 1 ),
unsuccessful-unspecified ( 2 ),
unsuccessful-no-default-value-available ( 3 ),
reserved ( 4 ) }
-- 6.5.2.ch N.S0013-0 v 1.0
-- 1 0 1 1 1 1 1 1 (0xbf)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 1 1 1 0 (0x7e)(254)
DataUpdateResult ::= SEQUENCE {
dataID [251] IMPLICIT DataID,
-- M 6.5.2.ce
dataResult [253] IMPLICIT DataResult
-- M 6.5.2.cg
}
-- 6.5.2.ci N.S0013-0 v 1.0
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 1 1 1 1 1 1 (0x7f)(255)
DataUpdateResultList ::= SEQUENCE OF DataUpdateResult
--DataUpdateResultList ::= SEQUENCE OF SEQUENCE{
-- dataUpdateResult [254] IMPLICIT DataUpdateResult,
-- M 6.5.2.ch
-- dataUpdateResultopt [254] IMPLICIT DataUpdateResult OPTIONAL
-- O 6.5.2.ch
--}
-- 6.5.2.cj N.S0013-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 0 0 0 0 (0x00)(256)
DataValue ::= OCTET STRING
-- 6.5.2.ck DestinationAddress N.S0013-0 v 1.0
DestinationAddress ::= CHOICE {
globalTitle [261] IMPLICIT GlobalTitle,
pC-SSN [32] IMPLICIT PC-SSN
}
DetectionPointType ::= ENUMERATED {
tDP-R (1),
tDP-N (2),
eDP-R (3),
eDP-N (4)
}
-- 6.5.2.cl N.S0013-0 v 1.0
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 0 0 1 0 (0x02)(386)
ExecuteScript ::= SEQUENCE {
scriptName [268] IMPLICIT ScriptName,
-- M 6.5.2.cw a
scriptArgument [267] IMPLICIT ScriptArgument OPTIONAL
-- O 6.5.2.cv b
}
-- 6.5.2.cm N.S0013-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 0 0 1 1 (0x03)(387)
FailureCause ::= OCTET STRING
--encoding of this parameter is based on the encoding of
--the information elements in T1.113.3 section 2.3.9.
-- 6.5.2.cn N.S0013-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 0 1 0 0 (0x04)(260)
FailureType ::= ENUMERATED {
callAbandoned (1),
resourceDisconnect (2),
failureAtMSC (3),
sSFTExpiration (4)
}
-- 6.5.2.co N.S0013-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 0 1 0 1 (0x05)(261)
GlobalTitle ::= OCTET STRING
--parameter carries the SCCP Global Title as defined in
--Section 3 of ANSI T1.112.
-- 6.5.2.cp N.S0013-0 v 1.0
-- ModificationRequest
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 0 1 1 0 (0x06)(262)
ModificationRequest ::= SEQUENCE {
serviceDataAccessElementList [271] IMPLICIT ServiceDataAccessElementList OPTIONAL,
allOrNone [247] IMPLICIT AllOrNone
}
-- 6.5.2.cq N.S0013-0 v 1.0
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 0 1 1 1 (0x07)(263)
ModificationRequestList ::= SEQUENCE OF [262] IMPLICIT ModificationRequest
-- 6.5.2.cr ModificationResult N.S0013-0 v 1.0
-- The ModificationResult CHOICE is not explicitly encoded with a parameter identifier and length
ModificationResult ::= CHOICE
{dataResult [253] IMPLICIT DataResult,
serviceDataResultList [273] IMPLICIT ServiceDataResultList
}
-- 6.5.2.cs N.S0013-0 v 1.0
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 1 0 0 0 (0x08)(264)
ModificationResultList ::= SEQUENCE OF ModificationResult
-- 6.5.2.ct N.S0013-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 1 0 0 1 (0x09)(265)
PrivateSpecializedResource ::= OCTET STRING
--values are allocated by network operators for use
--within their networks
-- 6.5.2.cu N.S0013-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 1 0 1 0 (0x0a)(266)
ResumePIC ::= ENUMERATED {
continue-Call-Processing (1),
collect-Information-PIC (2),
analyze-Information-PIC (3),
select-Route-PIC (4),
authorize-Origination-Attempt-PIC (5),
authorize-Call-Setup-PIC (6),
send-Call-PIC (7),
o-Alerting-PIC (8),
o-Active-PIC (9),
o-Suspended-PIC (10),
o-Null-PIC (11),
select-Facility-PIC (32),
present-Call-PIC (33),
authorize-Termination-Attempt-PIC (34),
t-Alerting-PIC (35),
t-Active-PIC (36),
t-Suspended-PIC (37),
t-Null-PIC (38)
}
-- 6.5.2.cv
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 1 0 1 1 (0x0b)(267)
ScriptArgument ::= OCTET STRING
-- 6.5.2.cw
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 1 1 0 0 (0x0c)(268)
ScriptName ::= OCTET STRING
-- 6.5.2.cx
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 1 1 0 1 (0x0d)(269)
ScriptResult ::= OCTET STRING
-- 6.5.2.cy
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 1 1 1 0 (0x0e) (270)
ServiceDataAccessElement ::= SEQUENCE {
dataAccessElementList [250] IMPLICIT DataAccessElementList,
serviceID [246] IMPLICIT ServiceID OPTIONAL
}
-- 6.5.2.cz
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 0 1 1 1 1 (0x0f)(271)
ServiceDataAccessElementList ::= SEQUENCE OF [270] IMPLICIT ServiceDataAccessElement
-- 6.5.2.da
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 0 0 0 0 (0x10)(272)
ServiceDataResult ::= SEQUENCE {
dataUpdateResultList [255] IMPLICIT DataUpdateResultList,
serviceID [246] IMPLICIT ServiceID OPTIONAL
}
-- 6.5.2.db
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 0 0 0 1 (0x11)(273)
ServiceDataResultList ::= SEQUENCE OF [272] IMPLICIT ServiceDataResult
-- 6.5.2.dc
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 0 0 1 0 (0x12)(274)
SpecializedResource ::= OCTET STRING
--SRFCapability ::= SET {
-- specializedResource [274] IMPLICIT SpecializedResource OPTIONAL,
-- privateSpecializedResource [265] IMPLICIT PrivateSpecializedResource OPTIONAL
-- }
--at least one must be present
-- 6.5.2.dd
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 0 0 1 1 (0x13)(275)
TimeDateOffset ::= OCTET STRING
-- 6.5.2.de
-- 1 0 1 1 1 1 1 1 (0xbf)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 0 1 0 0 (0x14)(276)
TriggerAddressList ::= SET{
triggerList [278] IMPLICIT TriggerList,
-- M 6.5.2.dg
triggerListOpt [278] IMPLICIT TriggerList OPTIONAL
-- O 6.5.2.dg a
}
-- 6.5.2.df TIA/EIA/IS-848 N.S0004
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 0 1 0 1 (0x15)(277)
TriggerCapability ::= OCTET STRING
--see 6.5.2.gg for encoding
-- 6.5.2.dg
-- 1 0 1 1 1 1 1 1 (0xbf) (0xbf)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 0 1 1 0 (0x16)(278)
-- 6.5.2.ck DestinationAddress N.S0013-0 v 1.0
--DestinationAddress ::= CHOICE {
-- globalTitle [261] IMPLICIT GlobalTitle,
-- pC-SSN [32] IMPLICIT PC-SSN
-- }
TriggerList ::= SET{
destinationAddress DestinationAddress,
wIN-TriggerList [283] IMPLICIT WIN-TriggerList
-- M 6.5.2.dk
}
-- 6.5.2.dh
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 0 1 1 1 (0x17)(279)
TriggerType ::= ENUMERATED {
all-Calls (1),
double-Introducing-Star (2),
single-Introducing-Star (3),
reserved-for-Home-System-Feature-Code (4),
double-Introducing-Pound (5),
single-Introducing-Pound (6),
revertive-Call (7),
a0-Digit (8),
a1-Digit (9),
a2-Digit (10),
a3-Digit (11),
a4-Digit (12),
a5-Digit (13),
a6-Digit (14),
a7-Digit (15),
a8-Digit (16),
a9-Digit (17),
a10-Digit (18),
a11-Digit (19),
a12-Digit (20),
a13-Digit (21),
a14-Digit (22),
a15-Digit (23),
local-Call (24),
intra-LATA-Toll-Call (25),
inter-LATA-Toll-Call (26),
world-Zone-Call (27),
international-Call (28),
unrecognized-Number (29),
prior-Agreement (30),
specific-Called-Party-Digit-String (31),
mobile-Termination (32),
advanced-Termination (33),
location (34),
locally-Allowed-Specific-Digit-String (35),
origination-Attempt-Authorized (36),
calling-Routing-Address-Available (37),
initial-Termination (38),
called-Routing-Address-Available (39),
o-Answer (40),
o-Disconnect (41),
o-Called-Party-Busy (42),
o-No-Answer (43),
terminating-Resource-Available (64),
t-Busy (65),
t-No-Answer (66),
t-No-Page-Response (67),
t-Routable (68),
t-Answer (69),
t-Disconnect (70),
reserved-for-TDP-R-DP-Type-value (220),
reserved-for-TDP-N-DP-Type-value (221),
reserved-for-EDP-R-DP-Type-value (222),
reserved-for-EDP-N-DP-Type-value (223),
...
}
-- 1 0 1 1 1 1 1 1 (0x9f) (0xbf)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 1 0 0 0 (0x18)(280)
-- 6.5.2.di
WINCapability ::= SET {
triggerCapability [277] IMPLICIT TriggerCapability OPTIONAL,
-- O 6.5.2.df a
wINOperationsCapability [281] IMPLICIT WINOperationsCapability OPTIONAL
-- O 6.5.2.dj a
}
-- 6.5.2.dj
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 1 0 0 1 (0x19)(281)
WINOperationsCapability ::= OCTET STRING
--see 6.5.2.kk for encoding
--WIN-Trigger ::= SEQUENCE {
-- triggerType [279] IMPLICIT TriggerType OPTIONAL,
-- detectionPointType DetectionPointType
-- }
--6.5.2.dk N.S0013-0 v 1.0,X.S0004-550-E v1.0 2.301
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 1 0 1 1 (0x1b)(283)
-- WIN-TriggerList ::= SET OF WIN-Trigger
WIN-TriggerList ::= OCTET STRING
-- 6.5.2.do
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 1 1 0 1 (0x1d)(285)
SuspiciousAccess ::= ENUMERATED {
not-used (0),
anomalous-Digits (1),
unspecified (2),
...
}
-- 6.5.2.dp 1e 286
-- 6.5.2.dq 1f 287
-- 6.5.2.dr 20 288
-- 6.5.2.ds 21 289
-- (ANSI-41 6.5.2.dt) 2.2.2.25 J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 0 0 0 1 0 (0x22)(290)
Teleservice-Priority ::= OCTET STRING
-- 6.5.2.eb
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 0 1 0 1 0 1 0
-- [298)
--CommandCode
--(IS-764 modification)
-- 6.5.2.ec
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 0 1 0 1 0 1 1
-- (299)
DisplayText2 ::= OCTET STRING
-- 6.5.2.ed
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 0 1 0 1 1 0 0
-- (300)
-- PageCount
PageCount ::= OCTET STRING
-- 6.5.2.ee
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 0 1 0 1 1 0 1
-- (301)
-- PageResponseTime
PageResponseTime ::= OCTET STRING
-- 2.258 X.S0004-550-E v2.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 0 1 1 1 0 (0x2e)(302)
SMS-TransactionID ::= OCTET STRING
-- 6.5.2.eg
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 0 1 1 1 1 (0x2f)(303)
CallRecoveryID ::= SET{
billingID [1] IMPLICIT BillingID ,
timeDateOffset [275] IMPLICIT TimeDateOffset,
timeOfDay [309] IMPLICIT TimeOfDay,
...}
-- 6.5.2.eh
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 0 0 0 0 (0x30)(304)
CallRecoveryIDList ::= SET OF [303] IMPLICIT CallRecoveryID
-- callRecoveryID [303] IMPLICIT CallRecoveryID,
-- callRecoveryIDopt [303] IMPLICIT CallRecoveryID OPTIONAL,
-- }
-- 6.5.2.ei TIA/EIA-41.5-D Modifications N.S0018Re ??
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 0 0 0 1 (0x31)(305)
DMH-ServiceID ::= OCTET STRING
-- 6.5.2.ej
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 0 0 1 0 (0x32)(306)
FeatureIndicator ::= ENUMERATED {
not-used (0),
user-selective-call-forwarding (38),
...
}
-- See the DMH FeatureIndicator parameter for the values of this field.
-- Dummy define here
-- 6.5.2.ek
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 0 0 1 1 (0x33)(307)
ControlNetworkID ::= OCTET STRING
-- 6.5.2.el
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 0 1 0 0 (0x34)(308)
ReleaseCause ::= ENUMERATED {
unspecified (0),
calling-Party (1),
called-Party (2),
commanded-Disconnect (3),
...
}
-- 6.5.2.em
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 0 1 0 1 (0x35) (309)
TimeOfDay ::= INTEGER
-- 6.5.2.en
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 0 1 1 0 (0x36) (310)
CallStatus ::= ENUMERATED {
not-used (0),
call-Setup-in-Progress (1),
called-Party (2),
locally-Allowed-Call-No-Action (3),
...
}
-- 6.5.2.eo
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 0 1 1 1 (0x37)(311)
DMH-ChargeInformation ::= OCTET STRING
-- 6.5.2.ep
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 1 0 0 0 (0x38)(312)
DMH-BillingIndicator ::= ENUMERATED {
unspecified (0)
}
-- b. See the DMH BillingIndicator parameter for the values of this field. (?? Huh?)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 1 0 0 1 (0x39)(313)
-- 6.5.2.eq
MSStatus ::= OCTET STRING
-- 6.5.2.er
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 1 0 1 1 (0x3b)(315)
PositionInformationCode::= OCTET STRING
-- 2.38 http://www.3gpp2.org/Public_html/specs/X.S0004-550-E_v1.0_040406.pdf
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 1 1 1 1 0 0 (0x3c)(316)
CaveKey ::= OCTET STRING
-- 2.41 http://www.3gpp2.org/Public_html/specs/X.S0004-550-E_v1.0_040406.pdf
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 0 0 0 1 (0x41)(321)
CDMA2000MobileSupportedCapabilities ::= OCTET STRING
-- 2.114 http://www.3gpp2.org/Public_html/specs/X.S0004-550-E_v1.0_040406.pdf
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 0 1 0 1 (0x45)(325)
EnhancedPrivacyEncryptionReport ::= OCTET STRING
-- 6.5.2.fd
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 0 1 1 0 (0x46)(326)
InterMessageTime ::= OCTET STRING
-- 6.5.2.fe
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 0 1 1 1 (0x47)(327)
-- (3xx)
MSIDUsage ::= OCTET STRING
-- 6.5.2.ff
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 1 0 0 0 (0x48)(328)
-- (3xx)
NewMINExtension ::= MINType
-- (ANSI-41 6.5.2.fg) 2.2.2.7 J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 1 0 0 1 (0x49)(329)
DTXIndication ::= OCTET STRING
-- (ANSI-4a1 6.5.2.fh) 2.2.2.5 J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 1 0 1 0 (0x4a)(330)
CDMAMobileCapabilities ::= OCTET STRING
-- H G F E D C B A octet Notes
-- Reserved MIPLI 1 a ( Bit A)
--
-- 0 No MS-initiated position determination.
-- 1 MS-initiated position determination.
-- (ANSI-41 6.5.2.fi) 2.2.2.8 J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 1 0 1 1 (0x4b)(331)
-- GeneralizedTime
-- Generalized Time is included by reference to Chapter 7. The definition from
-- X.680 that is referenced from Chapter 7 should be used, and not the definition
-- from TIA/EIA-41-D.
-- (ANSI-41 6.5.2.fj) 2.2.2.9 J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 1 1 0 0 (0x4c)(332)
-- GenericDigits
-- (ANSI-41 6.5.2.fk) 2.2.2.10 J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 1 1 0 1 (0x4d)(333)
GeographicPosition ::= OCTET STRING
-- 2.2.2.11 (ANSI-41 6.5.2.fl) J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 1 1 1 0 (0x4e)(334)
-- MobileCallStatus ::= OCTET STRING
-- 2.2.2.12 (ANSI-41 6.5.2.fm) J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 0 1 1 1 1 (0x4f)(335)
MobilePositionCapability ::= OCTET STRING
-- 2.3.2.14 MobInfo_AMPS
-- The MobInfo_AMPS (AMPS Analog Mobile Information) is a collection of information
-- needed to determine the position of an MS that is currently operating in the AMPS analog mode.
-- The MobInfo_AMPS macro has been defined solely for editorial convenience, and does not
-- affect the encoding in any way.
-- channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) M 6.5.2.47
-- dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
-- receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
-- 2.3.2.15 MobInfo_CDMA
-- 6.5.2.fo MobInfo_CDMA
-- MobInfo_CDMA Macro
-- cdmaChannelData [63] IMPLICIT CDMAChannelData OPTIONAL,
-- (Serving) O 6.5.2.30 c
-- cdmaCodeChannel [68] IMPLICIT CDMACodeChannel OPTIONAL,
-- O 6.5.2.31 a
-- cdmaMobileCapabilities [330] IMPLICIT CDMAMobileCapabilities OPTIONAL,
-- O 6.5.2.xx a
-- cdmaPrivateLongCodeMask [67] IMPLICIT CDMAPrivateLongCodeMask OPTIONAL,
-- O 6.5.2.36 a
-- cdmaServingOneWayDelay2 [347] IMPLICIT CDMAServingOneWayDelay2 OPTIONAL,
-- O 6.5.2.gd a
-- cdmaServiceOption [175] IMPLICIT CDMAServiceOption OPTIONAL,
-- O 6.5.2.f m
-- cdmaTargetMAHOList [136] IMPLICIT CDMATargetMAHOList OPTIONAL,
-- O 6.5.2.43 g
-- cdmaPSMMList [346] IMPLICIT CDMAPSMMList OPTIONAL,
-- O 6.5.2.gc a
-- 2.3.2.16 MobInfo_NAMPS TIA/EIA/J-STD-036-A
-- channelData [5] IMPLICIT ChannelData OPTIONAL,
-- (Serving) M 6.5.2.47
-- nampsChannelData [76] IMPLICIT NAMPSChannelData OPTIONAL,
-- (Serving) M 6.5.2.86
-- dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
-- receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
-- 2.3.2.17 MobInfo_TDMA
-- (new for ANSI-41-D Chapter 5, page 5-306)
-- The MobInfo_TDMA (TDMA Mobile Information) is a collection of information needed to
-- determine the position of an MS that is currently operating in the TDMA mode. The
-- MobInfo_TDMA macro has been defined solely for editorial convenience, and does not affect
-- the encoding in any way.
-- tdmaChannelData [28] IMPLICIT TDMAChannelData,
-- M 6.5.2.153
-- dtxIndication [329] IMPLICIT DTXIndication OPTIONAL,
-- O 6.5.2.fg a
-- receivedSignalQuality [72] IMPLICIT ReceivedSignalQuality OPTIONAL,
-- O 6.5.2.106 a
-- targetMeasurementList [157] IMPLICIT TargetMeasurementList OPTIONAL,
-- O 6.5.2.150 a
-- tdma-MAHO-CELLID [359] IMPLICIT TDMA-MAHO-CELLID OPTIONAL,
-- O 2.3.2.26 b
-- tdma-MAHO-CHANNEL [360] IMPLICIT TDMA-MAHO-CHANNEL OPTIONAL,
-- O 2.3.2.27 c
-- tdma-TimeAlignment [362] IMPLICIT TDMA-TimeAlignment OPTIONAL,
-- O 2.3.2.29 d
-- tdmaVoiceMode [223] IMPLICIT TDMAVoiceMode OPTIONAL,
-- O ANSI-41-E a
-- voicePrivacyMask [48] IMPLICIT VoicePrivacyMask OPTIONAL,
-- O 6.5.2.166 a
-- 2.2.2.18 (ANSI-41 6.5.2.fr) J-STD-036-AD-1
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 0 0 0 0 (0x50)(336)
PositionInformation ::= SET {
generalizedTime [331] IMPLICIT GeneralizedTime,
-- M 6.5.2.fi
geographicPosition [333] IMPLICIT GeographicPosition,
-- M 6.5.2.fk
positionSource [339] IMPLICIT PositionSource OPTIONAL,
-- O 6.5.2.fu
horizontal-Velocity [379] IMPLICIT Horizontal-Velocity OPTIONAL,
-- O 6.5.2.hk
vertical-Velocity [380] IMPLICIT Vertical-Velocity OPTIONAL,
-- O 6.5.2.hl
...
}
-- 2.2.2.19 (ANSI-41 6.5.2.fs) J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 0 0 0 1 (0x51)(337)
PositionRequestType ::= OCTET STRING
-- 2.2.2.20 (ANSI-41 6.5.2.ft) J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 0 0 1 0 (0x52)(338)
PositionResult ::= OCTET STRING
-- 2.2.2.21 (ANSI-41 6.5.2.fu) J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 0 0 1 1 (0x53)(339)
PositionSource ::= OCTET STRING
-- 6.5.2.fv ACGEncountered N.S0023-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 0 1 0 0 (0x54)(340)
ACGEncountered ::= OCTET STRING
-- 6.5.2.fw N.S0023-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 0 1 0 1 (0x55)(341)
ControlType ::= OCTET STRING
-- 6.5.2.fx GapDuration N.S0023-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 0 1 1 0 (0x56)(342)
GapDuration ::= ENUMERATED{
not-used (0)
}
-- 6.5.2.fy GapInterval
-- The GapInterval (GAPINT) identifies the average minimum amount of time in seconds
-- that the NE must wait before sending another query of the type under control. The
-- GapInterval CHOICE is not explicitly encoded with a parameter identifier and length.
GapInterval ::= CHOICE {
sCFOverloadGapInterval [343] IMPLICIT SCFOverloadGapInterval,
-- O 6.5.2.fz a
serviceManagementSystemGapInterval [344] IMPLICIT ServiceManagementSystemGapInterval
-- O 6.5.2.ga b
}
-- 6.5.2.fz N.S0023-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 0 1 1 1 (0x57)(343)
SCFOverloadGapInterval ::= ENUMERATED {
not-used (0)
}
-- 6.5.2.ga N.S0023-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 1 0 0 0 (0x58)(344)
ServiceManagementSystemGapInterval ::= ENUMERATED{
not-used (0)
}
-- 2.2.2.3 (ANSI-41 6.5.2.gb) J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 0 1 1 0 0 1(0x59)(345)
CDMAPSMMCount ::= OCTET STRING
-- 2.2.2.4 (ANSI-41 6.5.2.gc) J-STD-036-AD-1
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 1 0 1 0 (0x5a)(346)
CDMAPSMMList ::= SET OF SET{
cdmaServingOneWayDelay2 [347] IMPLICIT CDMAServingOneWayDelay2,
-- M 6.5.2.gd
cdmaTargetMAHOList [136] IMPLICIT CDMATargetMAHOList,
-- M 6.5.2.43
cdmaTargetMAHOList2 [136] IMPLICIT CDMATargetMAHOList OPTIONAL
-- O 6.5.2.43 a
}
-- 2.2.2.5 (ANSI-41 6.5.2.gd) J-STD-036-AD-1
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 1 0 1 1 (0x5b)(347)
CDMAServingOneWayDelay2 ::= OCTET STRING
-- 6.5.2.ge (Misc. 10.9)
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 1 1 0 0 (0x5c)(348)
QoSPriority ::= OCTET STRING
-- 6.5.2.gf
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 1 1 0 1 (0x5d)(349)
PDSNAddress ::= OCTET STRING
-- 6.5.2.gg
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 1 1 1 0 (0x5e)(350)
PDSNProtocolType ::= OCTET STRING
-- 6.5.2.gh
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 0 1 1 1 1 1 (0x5f)(351)
CDMAMSMeasuredChannelIdentity ::= OCTET STRING
-- 6.5.2.gj Range N.S0025-B v1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 0 0 0 0 (0x60)(352)
Range ::= INTEGER
-- 6.5.2.gk InvokingNEType N.S0025-B v1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 0 0 0 1 (0x61)(353)
InvokingNEType ::= INTEGER
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 0 0 1 0 (0x62)(354)
-- 6.5.2.gl
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 0 0 1 1 (0x63)(355)
CallingPartyCategory ::= OCTET STRING
--The CallingPartyCategory (CPC) parameter identifies the Calling Party's Category. This
--parameter is based on the Calling Party's Category parameter defined in Section 3.11 of
--ITU-T Q.763-1997 and includes the "reserved for national use" values.
-- 6.5.2.gm
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 0 1 0 0 (0x64)(356)
CDMA2000HandoffInvokeIOSData ::= OCTET STRING
-- 6.5.2.gn
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 0 1 0 1 (0x65)(357)
CDMA2000HandoffResponseIOSData ::= OCTET STRING
-- 6.5.2.go X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 0 1 1 0 (0x66)(358)
LCS-Client-ID ::= DigitsType
-- 2.3.2.26 TIA/EIA/J-STD-036-A
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 0 1 1 1 (0x67)(359)
TDMA-MAHO-CELLID ::= OCTET STRING
-- 2.3.2.27
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 1 0 0 0 (0x68)(360)
TDMA-MAHO-CHANNEL ::= OCTET STRING
-- 2.3.2.29
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 1 0 1 0 (0x6a)(362)
TDMA-TimeAlignment ::= OCTET STRING
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 1 1 0 0 (0x6c)(364)
-- 2.3.2.28
TDMA-MAHORequest ::= OCTET STRING
-- 6.5.2.gr
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 1 0 0 1 (0x69)(361)
CDMAServiceOptionConnectionIdentifier ::= OCTET STRING
-- (0x6a)(362)
-- (0x6b)(363)
-- (0x6c)(364)
-- (0x6d)(365)
-- (0x6e)(366)
-- 6.5.2.gx X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 0 1 1 1 1 (0x6f)(367)
LCSBillingID ::= OCTET STRING
-- 6.5.2.gy X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 1 0 0 0 0 (0x70)(368)
LIRAuthorization ::= ENUMERATED {
not-used (0),
user-Authorized (1)
}
-- 6.5.2.gz X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 1 0 0 0 1 (0x71)(369)
LIRMode ::= ENUMERATED {
not-used (0),
unconditionally-Restricted (1),
pre-Authorized-LCS-Clients-Only (2),
pre-Authorized-LCS-Clients-and-User-Authorized-LCS-Clients (3),
unrestricted (4)
}
-- 6.5.2.ha X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 1 1 0 0 1 0 (0x72)(370)
MPCAddress ::= DigitsType
-- 6.5.2.hb X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 1 1 0 0 1 1 (0x73)(371)
MPCID ::= DigitsType
--6.5.2.hc PositionQualityOfService
--(New for MAP, Section 6.5.2)
--The PositionQualityOfService (PQOS) is a collection of the required levels for the
--independent positioning attributes that should be satisfied by the position estimate. The
--PositionQualityOfService macro has been defined solely for editorial convenience and
--does not affect the encoding in any way.
-- pqos-HorizontalPosition [372] IMPLICIT PQOS-HorizontalPosition OPTIONAL,
-- O 6.5.2.hd a, b
-- pqos-HorizontalVelocity [373] IMPLICIT PQOS-HorizontalVelocity OPTIONAL,
-- O 6.5.2.he c
-- pqos-MaximumPositionAge [374] IMPLICIT PQOS-MaximumPositionAge OPTIONAL,
-- O 6.5.2.hf d
-- pqos-PositionPriority [375] IMPLICIT PQOS-PositionPriority OPTIONAL,
-- O 6.5.2.hg e
-- pqos-ResponseTime [376] IMPLICIT PQOS-ResponseTime OPTIONAL,
-- O 6.5.2.hh f
-- pqos-VerticalPosition [377] IMPLICIT PQOS-VerticalPosition OPTIONAL,
-- O 6.5.2.hi g
-- pqos-VerticalVelocity [378] IMPLICIT PQOS-VerticalVelocity OPTIONAL,
-- O 6.5.2.hj h
-- 6.5.2.hd X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 1 1 0 1 0 0 (0x74)(372)
PQOS-HorizontalPosition ::= OCTET STRING
-- 6.5.2.he X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 1 1 0 1 0 1 (0x75)(373)
PQOS-HorizontalVelocity ::= OCTET STRING
-- 6.5.2.hf X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 1 1 0 1 1 0 (0x76)(374)
PQOS-MaximumPositionAge ::= OCTET STRING
-- 6.5.2.hg X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 1 1 0 1 1 1 (0x77)(375)
PQOS-PositionPriority ::= OCTET STRING
-- 6.5.2.hh X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 1 1 1 0 0 0 (0x78)(376)
PQOS-ResponseTime ::= ENUMERATED {
not-used (0),
no-Delay (1),
low-Delay (2),
delay-Tolerant (3)
}
-- 6.5.2.hi X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 1 1 1 0 0 1 (0x79)(377)
PQOS-VerticalPosition ::= OCTET STRING
-- 6.5.2.hj X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 1 1 1 0 1 0 (0x7a)(378)
PQOS-VerticalVelocity ::= OCTET STRING
-- 6.5.2.hk X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 1 1 1 0 1 1 (0x7b)(379)
Horizontal-Velocity ::= OCTET STRING
-- 6.5.2.hl X.S0002-0 v2.0
-- 1 0 0 1 1 1 1 1
-- 1 0 0 0 0 0 1 0
-- 0 1 1 1 1 1 0 0 (0x7c)(380)
Vertical-Velocity ::= OCTET STRING
-- 6.5.2.hm X.S0002-0 v2.0
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 1 1 1 1 1 0 1 (0x7d)(381)
MPCAddressList ::= SET{
mpcAddress [370] IMPLICIT MPCAddress,
-- M 6.5.2.ha
mpcAddress2 [370] IMPLICIT MPCAddress OPTIONAL,
-- O 6.5.2.ha a
...
}
-- (0x7e)(382)
-- (0x7f)(383)
-- (0x00)(384)
-- (0x01)(385)
-- (0x02)(386)
-- (0x03)(387)
-- 2.138 http://www.3gpp2.org/Public_html/specs/X.S0004-550-E_v1.0_040406.pdf
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 1 (0x83)
-- 0 0 0 0 0 1 0 0 (0x04)(388)
MINExtension ::= OCTET STRING
-- 3.3.2.2 X.S0008-0 v1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 1 (0x83)
-- 0 0 0 0 0 1 0 1 (0x05)(389)
Information-Record ::= OCTET STRING
-- 3.3.2.3 X.S0008-0 v1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 1 (0x83)
-- 0 0 0 0 0 1 1 0 (0x06)(390)
MEID ::= OCTET STRING
-- 3.3.2.97 X.S0008-0 v1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 1 (0x83)
-- 0 0 0 0 0 1 1 1 (0x07)(391)
MEIDStatus ::= OCTET STRING
-- 3.3.2.98 X.S0008-0 v1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 1 (0x83)
-- 0 0 0 0 1 0 0 0 (0x08)(392)
Record-Type ::= OCTET STRING
-- 3.3.2.98 X.S0008-0 v1.0, X.S0004-550
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 1 (0x83)
-- 0 0 0 1 0 0 0 1 (0x11)(401)
MEIDValidated ::= NULL
-- 6.5.2.lB N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 0 1 0 1 (0x35)(181)
AKeyProtocolVersion ::= OCTET STRING
-- 6.5.2.mT N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 0 1 1 0 (0x36)(182)
AuthenticationResponseReauthentication ::= OCTET STRING
-- 6.5.2.nB N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 0 1 1 1 (0x37)(183)
BaseStationPartialKey ::= OCTET STRING
-- 6.5.2.oC N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 1 0 0 0 (0x38)(184)
MobileStationMIN ::= MINType
-- b. Refer to the MINType parameter type (see 6.5.3.u1) for notes and field encoding.
-- 6.5.2.pB N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 1 0 0 1 (0x39)(185)
MobileStationPartialKey ::= OCTET STRING
-- 6.5.2.qB N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 1 0 1 0 (0x3a)(186)
ModulusValue ::= OCTET STRING
-- 6.5.2.rB N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 1 0 1 1 (0x3b)(187)
NewlyAssignedMIN ::= MINType
-- 6.5.2.sB N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 1 1 0 1 (0x3d)(189)
OTASP-ResultCode ::= OCTET STRING
-- 6.5.2.tB N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 1 1 1 0 (0x3e)(190)
PrimitiveValue ::= OCTET STRING
-- 6.5.2.uT N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 0 1 1 1 1 1 1 (0x3f)(191)
RandomVariableReauthentication ::= OCTET STRING
-- 6.5.2.vT N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 0 0 0 0 (0x40)(192)
ReauthenticationReport ::= OCTET STRING
-- 6.5.2.wB N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 0 0 0 1 (0x41)(193)
ServiceIndicator ::= OCTET STRING
-- 6.5.2.xB N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 0 0 1 0 (0x42)(194)
SignalingMessageEncryptionReport ::= OCTET STRING
-- 6.5.2.yC N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 0 0 1 1 (0x43)(195)
TemporaryReferenceNumber ::= MINType
-- 6.5.2.zB N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 0 1 (0x81)
-- 0 1 0 0 0 1 0 0 (0x44)(196)
VoicePrivacyReport::= OCTET STRING
-- 6.5.2.dnC N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 1 1 0 0 (0x1c)(284)
MSC-Address::= DigitsType
-- 6.5.2.dpC N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 1 1 1 0 (0x1e)(286)
MobileStationIMSI ::= IMSIType
-- 6.5.2.dqB N.S0011-0 v 1.0
-- 1 0 0 1 1 1 1 1 (0x9f)
-- 1 0 0 0 0 0 1 0 (0x82)
-- 0 0 0 1 1 1 1 1 (0x1f)(287)
NewlyAssignedIMSI ::= IMSIType
-- 6.5.2.adC MobileStationMSID N.S0011-0 v 1.0
--The MobileStationMSID (MS_MSID) identifies the MIN or the IMSI value stored in the
--MS's permanent memory at an OTASP call origination. The MS_MSID CHOICE is not
--explicitly encoded with a parameter ID and length.
MobileStationMSID ::= CHOICE {
mobileStationMIN [184] IMPLICIT MobileStationMIN,
-- O 6.5.2.oC
mobileStationIMSI [286] IMPLICIT MobileStationIMSI
-- O 6.5.2.dpC
}
-- 6.5.2.aeB NewlyAssignedMSID
--The NewlyAssignedMSID (NEWMSID) identifies the MIN or the IMSI value that may be
--assigned following the successful completion of the OTASP process. The MS_MSID
--CHOICE is not explicitly encoded with a parameter ID and length.
NewlyAssignedMSID ::= CHOICE {
newlyAssignedMIN [187] IMPLICIT NewlyAssignedMIN,
-- O 6.5.2.rB
newlyAssignedIMSI [287] IMPLICIT NewlyAssignedIMSI
-- O 6.5.2.dqB
}
--Notes:
--a. Parameters with references ending with a "B" in them, such as "6.5.2.qB" are
--common to BOTH CDMA and TDMA OTASP.
--b. Parameters with references ending with a "C" in them, such as "6.5.2.oC" are
--unique to CDMA OTASP.
--c. Parameters with references ending with a "T" in them, such as "6.5.2.uT" are
--unique to TDMA OTASP.
-- 6.5.3 Parameter Type Definitions
-- 6.5.3.2
DigitsType ::= OCTET STRING
-- 6.5.3.13
Subaddress ::= OCTET STRING
-- 6.5.3.u1 MINType
MINType ::= OCTET STRING
-- 6.5.3.u2 IMSIType
IMSIType ::= OCTET STRING
-- Definition to support ASN2WRS generating hf_indices
InvokeData ::= SEQUENCE {
handoffMeasurementRequest HandoffMeasurementRequest,
facilitiesDirective FacilitiesDirective,
handoffBack HandoffBack,
facilitiesRelease FacilitiesRelease,
qualificationRequest QualificationRequest,
qualificationDirective QualificationDirective,
blocking Blocking,
unblocking Unblocking,
resetCircuit ResetCircuit,
trunkTest TrunkTest,
trunkTestDisconnect TrunkTestDisconnect,
registrationNotification RegistrationNotification,
registrationCancellation RegistrationCancellation,
locationRequest LocationRequest,
routingRequest RoutingRequest,
featureRequest FeatureRequest,
unreliableRoamerDataDirective UnreliableRoamerDataDirective,
mSInactive MSInactive,
transferToNumberRequest TransferToNumberRequest,
redirectionRequest RedirectionRequest,
handoffToThird HandoffToThird,
flashRequest FlashRequest,
authenticationDirective AuthenticationDirective,
authenticationRequest AuthenticationRequest,
baseStationChallenge BaseStationChallenge,
authenticationFailureReport AuthenticationFailureReport,
countRequest CountRequest,
interSystemPage InterSystemPage,
unsolicitedResponse UnsolicitedResponse,
bulkDeregistration BulkDeregistration,
handoffMeasurementRequest2 HandoffMeasurementRequest2,
facilitiesDirective2 FacilitiesDirective2,
handoffBack2 HandoffBack2,
handoffToThird2 HandoffToThird2,
authenticationDirectiveForward AuthenticationDirectiveForward,
authenticationStatusReport AuthenticationStatusReport,
informationDirective InformationDirective,
informationForward InformationForward,
interSystemAnswer InterSystemAnswer,
interSystemPage2 InterSystemPage2,
interSystemSetup InterSystemSetup,
originationRequest OriginationRequest,
randomVariableRequest RandomVariableRequest,
redirectionDirective RedirectionDirective,
remoteUserInteractionDirective RemoteUserInteractionDirective,
sMSDeliveryBackward SMSDeliveryBackward,
sMSDeliveryForward SMSDeliveryForward,
sMSDeliveryPointToPoint SMSDeliveryPointToPoint,
sMSNotification SMSNotification,
sMSRequest SMSRequest,
oTASPRequest OTASPRequest,
changeFacilities ChangeFacilities,
changeService ChangeService,
parameterRequest ParameterRequest,
tMSIDirective TMSIDirective,
numberPortabilityRequest NumberPortabilityRequest,
serviceRequest ServiceRequest,
analyzedInformation AnalyzedInformation,
connectionFailureReport ConnectionFailureReport,
connectResource ConnectResource,
facilitySelectedAndAvailable FacilitySelectedAndAvailable,
modify Modify,
search Search,
seizeResource SeizeResource,
sRFDirective SRFDirective,
tBusy TBusy,
tNoAnswer TNoAnswer,
smsDeliveryPointToPointAck SMSDeliveryPointToPointAck,
messageDirective MessageDirective,
bulkDisconnection BulkDisconnection,
callControlDirective CallControlDirective,
oAnswer OAnswer,
oDisconnect ODisconnect,
callRecoveryReport CallRecoveryReport,
tAnswer TAnswer,
tDisconnect TDisconnect,
unreliableCallData UnreliableCallData,
oCalledPartyBusy OCalledPartyBusy,
oNoAnswer ONoAnswer,
positionRequest PositionRequest,
positionRequestForward PositionRequestForward,
callTerminationReport CallTerminationReport,
geoPositionRequest GeoPositionRequest,
interSystemPositionRequest InterSystemPositionRequest,
interSystemPositionRequestForward InterSystemPositionRequestForward,
aCGDirective ACGDirective,
roamerDatabaseVerificationRequest RoamerDatabaseVerificationRequest,
addService AddService,
dropService DropService,
lcsParameterRequest LCSParameterRequest,
checkMEID CheckMEID,
positionEventNotification PositionEventNotification,
statusRequest StatusRequest,
interSystemSMSDeliveryPointToPoint InterSystemSMSDeliveryPointToPoint,
qualificationRequest2 QualificationRequest2
}
ReturnData ::= SEQUENCE {
handoffMeasurementRequestRes HandoffMeasurementRequestRes,
facilitiesDirectiveRes FacilitiesDirectiveRes,
handoffBackRes HandoffBackRes,
facilitiesReleaseRes FacilitiesReleaseRes,
qualificationDirectiveRes QualificationDirectiveRes,
qualificationRequestRes QualificationRequestRes,
resetCircuitRes ResetCircuitRes,
registrationNotificationRes RegistrationNotificationRes,
registrationCancellationRes RegistrationCancellationRes,
locationRequestRes LocationRequestRes,
routingRequestRes RoutingRequestRes,
featureRequestRes FeatureRequestRes,
transferToNumberRequestRes TransferToNumberRequestRes,
handoffToThirdRes HandoffToThirdRes,
authenticationDirectiveRes AuthenticationDirectiveRes,
authenticationRequestRes AuthenticationRequestRes,
baseStationChallengeRes BaseStationChallengeRes,
authenticationFailureReportRes AuthenticationFailureReportRes,
countRequestRes CountRequestRes,
interSystemPageRes InterSystemPageRes,
unsolicitedResponseRes UnsolicitedResponseRes,
handoffMeasurementRequest2Res HandoffMeasurementRequest2Res,
facilitiesDirective2Res FacilitiesDirective2Res,
handoffBack2Res HandoffBack2Res,
handoffToThird2Res HandoffToThird2Res,
authenticationDirectiveForwardRes AuthenticationDirectiveForwardRes,
authenticationStatusReportRes AuthenticationStatusReportRes,
informationDirectiveRes InformationDirectiveRes,
informationForwardRes InformationForwardRes,
interSystemPage2Res InterSystemPage2Res,
interSystemSetupRes InterSystemSetupRes,
originationRequestRes OriginationRequestRes,
randomVariableRequestRes RandomVariableRequestRes,
remoteUserInteractionDirectiveRes RemoteUserInteractionDirectiveRes,
sMSDeliveryBackwardRes SMSDeliveryBackwardRes,
sMSDeliveryForwardRes SMSDeliveryForwardRes,
sMSDeliveryPointToPointRes SMSDeliveryPointToPointRes,
sMSNotificationRes SMSNotificationRes,
sMSRequestRes SMSRequestRes,
oTASPRequestRes OTASPRequestRes,
changeFacilitiesRes ChangeFacilitiesRes,
changeServiceRes ChangeServiceRes,
parameterRequestRes ParameterRequestRes,
tMSIDirectiveRes TMSIDirectiveRes,
numberPortabilityRequestRes NumberPortabilityRequestRes,
serviceRequestRes ServiceRequestRes,
analyzedInformationRes AnalyzedInformationRes,
facilitySelectedAndAvailableRes FacilitySelectedAndAvailableRes,
modifyRes ModifyRes,
searchRes SearchRes,
seizeResourceRes SeizeResourceRes,
sRFDirectiveRes SRFDirectiveRes,
tBusyRes TBusyRes,
tNoAnswerRes TNoAnswerRes,
callControlDirectiveRes CallControlDirectiveRes,
oDisconnectRes ODisconnectRes,
tDisconnectRes TDisconnectRes,
oCalledPartyBusyRes OCalledPartyBusyRes,
oNoAnswerRes ONoAnswerRes,
positionRequestRes PositionRequestRes,
positionRequestForwardRes PositionRequestForwardRes,
interSystemPositionRequestRes InterSystemPositionRequestRes,
interSystemPositionRequestForwardRes InterSystemPositionRequestForwardRes,
roamerDatabaseVerificationRequestRes RoamerDatabaseVerificationRequestRes,
addServiceRes AddServiceRes,
dropServiceRes DropServiceRes,
interSystemSMSPage InterSystemSMSPage,
lcsParameterRequestRes LCSParameterRequestRes,
checkMEIDRes CheckMEIDRes,
statusRequestRes StatusRequestRes,
interSystemSMSDeliveryPointToPointRes InterSystemSMSDeliveryPointToPointRes,
qualificationRequest2Res QualificationRequest2Res
}
END |
Configuration | wireshark/epan/dissectors/asn1/ansi_map/ansi_map.cnf | # ansi_map.cnf
# ansi_map conformation file
# Copyright 2005-2007 Anders Broman
#.IMPORT ../gsm_map/gsm_map-exp.cnf
#.EXPORTS
#.OMIT_ASSIGNMENT
DetectionPointType
EnhancedPrivacyEncryptionReport
MINExtension
#.USE_VALS_EXT
# AnnouncementCode-std-ann
TriggerType
SMS-CauseCode
SystemMyTypeCode
# AnnouncementCode-tone
DMH-RedirectionIndicator
ActionCode
SignalQuality
# AlertCode-Cadence
TerminalType
#.NO_EMIT
InvokeData
ReturnData
#.TYPE_RENAME
#.FIELD_RENAME
# N.S0005-0 v 1.0 TCAP Formats and Procedures 5-16 Application Services
# 6.3.2 Component Portion
# The Operation Code is partitioned into an Operation Family followed by a
# Specifier associated with each Operation Family member. For TIA/EIA-41 the
# Operation Family is coded as decimal 9. Bit H of the Operation Family is always
# coded as 0.
#.FN_BODY MINType VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_min_type(parameter_tvb,actx->pinfo,tree, actx);
}
#.FN_BODY DigitsType VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_digits_type(parameter_tvb,actx->pinfo,tree, actx);
}
#.FN_BODY Subaddress VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_subaddress(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.3 AlertCode
#.FN_BODY AlertCode VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_alertcode(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.5 AnnouncementCode
#.FN_BODY AnnouncementCode VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_announcementcode(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.14 AuthorizationPeriod
#.FN_BODY AuthorizationPeriod VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_authorizationperiod(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.16 BillingID
#.FN_BODY BillingID VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_billingid(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.20 CallingFeaturesIndicator
#.FN_BODY CallingFeaturesIndicator VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_callingfeaturesindicator(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.29 CDMACallMode
#.FN_BODY CDMACallMode VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_cdmacallmode(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.30 CDMAChannelData
#.FN_BODY CDMAChannelData VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_cdmachanneldata(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.41 CDMAStationClassMark
#.FN_BODY CDMAStationClassMark VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_cdmastationclassmark(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.47 ChannelData
#.FN_BODY ChannelData VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_channeldata(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.50 ConfidentialityModes
#.FN_BODY ConfidentialityModes VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_confidentialitymodes(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.51 ControlChannelData
#.FN_BODY ControlChannelData VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_controlchanneldata(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.53 DeniedAuthorizationPeriod
#.FN_BODY DeniedAuthorizationPeriod VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_deniedauthorizationperiod(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.64 ExtendedMSCID
#.FN_BODY ExtendedMSCID VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_extendedmscid(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.65 ExtendedSystemMyTypeCode
#.FN_BODY ExtendedSystemMyTypeCode VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_extendedsystemmytypecode(parameter_tvb, actx->pinfo, tree, actx);
}
#6.5.2.71 HandoffState
#.FN_BODY HandoffState VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_handoffstate(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.72 InterMSCCircuitID
#.FN_BODY InterMSCCircuitID VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_intermsccircuitid(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.78 MessageWaitingNotificationCount
#.FN_BODY MessageWaitingNotificationCount VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_messagewaitingnotificationcount(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.79 MessageWaitingNotificationType
#.FN_BODY MessageWaitingNotificationType VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_messagewaitingnotificationtype(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.82 MSCID
#.FN_BODY MSCID VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_mscid(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.84 MSLocation
#.FN_BODY MSLocation VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_mslocation(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.85 NAMPSCallMode
#.FN_BODY NAMPSCallMode VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_nampscallmode(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.86 NAMPSChannelData
#.FN_BODY NAMPSChannelData VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_nampschanneldata(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.88 OneTimeFeatureIndicator
#.FN_BODY OneTimeFeatureIndicator VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_onetimefeatureindicator(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.90 OriginationTriggers
#.FN_BODY OriginationTriggers VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_originationtriggers(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.91 PACAIndicator
#.FN_BODY PACAIndicator VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_pacaindicator(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.93 PC_SSN
#.FN_BODY PC-SSN VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_pc_ssn(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.94 PilotBillingID
#.FN_BODY PilotBillingID VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_pilotbillingid(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.124
#.FN_BODY SMS-BearerData VAL_PTR = &SMS_BearerData_tvb
int length;
SMS_BearerData_tvb = NULL;
%(DEFAULT_BODY)s
if (SMS_BearerData_tvb){
/* A zero length OCTET STRING will return a zero length tvb */
length = tvb_reported_length_remaining(SMS_BearerData_tvb,0);
if (length <=0){
proto_item_append_text(actx->created_item," length %%u",length);
SMS_BearerData_tvb = NULL;
return offset;
}
if (ansi_map_sms_tele_id != -1)
{
dissector_try_uint(is637_tele_id_dissector_table, ansi_map_sms_tele_id, SMS_BearerData_tvb, g_pinfo, g_tree);
}
else
{
switch(ServiceIndicator){
case 1: /* CDMA OTASP Service */
case 3: /* CDMA OTAPA Service */
dissector_try_uint(is683_dissector_table, ansi_map_is_invoke ? 0 : 1, SMS_BearerData_tvb, g_pinfo, g_tree);
break;
case 4: /* CDMA Position Determination Service */
dissector_try_uint(is801_dissector_table, ansi_map_is_invoke ? 0 : 1, SMS_BearerData_tvb, g_pinfo, g_tree);
break;
default:
break;
}
}
}
# 6.5.2.136 SMS-OriginationRestrictions
#.FN_BODY SMS-OriginationRestrictions VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_sms_originationrestrictions(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.137
# N.S0005-0 v 1.0
#.FN_BODY SMS-TeleserviceIdentifier VAL_PTR = ¶meter_tvb
int length;
tvbuff_t *parameter_tvb = NULL;
ansi_map_sms_tele_id = -1;
%(DEFAULT_BODY)s
if (parameter_tvb){
/* A zero length OCTET STRING will return a zero length tvb */
length = tvb_reported_length_remaining(parameter_tvb,0);
if (length <=0){
proto_item_append_text(actx->created_item, " length %%u",length);
return offset;
}
ansi_map_sms_tele_id = tvb_get_ntohs(tvb,0);
if ((ansi_map_sms_tele_id != -1)&&(SMS_BearerData_tvb !=NULL))
{
dissector_try_uint(is637_tele_id_dissector_table, ansi_map_sms_tele_id, SMS_BearerData_tvb, g_pinfo, g_tree);
}
}
# 6.5.2.146 SystemCapabilities */
# Updated in N.S0008-0 v 1.0 */
#.FN_BODY SystemCapabilities VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_systemcapabilities(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.159 TerminationTriggers
#.FN_BODY TerminationTriggers VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_terminationtriggers(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.160 TransactionCapability
#.FN_BODY TransactionCapability VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_transactioncapability(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.f (TSB76) CDMAServiceOption N.S0010-0 v 1.0
#.FN_BODY CDMAServiceOption VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_cdmaserviceoption(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.aj SecondInterMSCCircuitID
# -- XXX Same code as ISLPinformation???
# 6.5.2.bw CallingPartyName N.S0012-0 v 1.0
#.FN_BODY CallingPartyName VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_callingpartyname(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.df TriggerCapability
#.FN_BODY TriggerCapability VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_triggercapability(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.dj WINOperationsCapability
#.FN_BODY WINOperationsCapability VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_winoperationscapability(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.dk WIN-TriggerList
#.FN_BODY WIN-TriggerList VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_win_trigger_list(parameter_tvb,actx->pinfo,tree, actx);
}
# 6.5.2.ek ControlNetworkID
#.FN_BODY ControlNetworkID VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
dissect_ansi_map_controlnetworkid(parameter_tvb,actx->pinfo,tree, actx);
}
#6.5.2.gm CDMA2000HandoffInvokeIOSData
#.FN_BODY CDMA2000HandoffInvokeIOSData VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb){
subtree = proto_item_add_subtree(actx->created_item, ett_CDMA2000HandoffInvokeIOSData);
dissect_cdma2000_a1_elements(parameter_tvb, actx->pinfo, subtree,
0, tvb_reported_length_remaining(parameter_tvb,0));
}
#6.5.2.gn CDMA2000HandoffResponseIOSData
#.FN_BODY CDMA2000HandoffResponseIOSData VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb){
subtree = proto_item_add_subtree(actx->created_item, ett_CDMA2000HandoffResponseIOSData);
dissect_cdma2000_a1_elements(parameter_tvb, actx->pinfo, subtree,
0, tvb_reported_length_remaining(parameter_tvb,0));
}
#6.5.2.wB ServiceIndicator N.S0011-0 v 1.0
#.FN_BODY ServiceIndicator VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
ServiceIndicator = tvb_get_guint8(parameter_tvb,0);
if (SMS_BearerData_tvb !=NULL)
{
switch(ServiceIndicator){
case 1: /* CDMA OTASP Service */
case 3: /* CDMA OTAPA Service */
dissector_try_uint(is683_dissector_table, ansi_map_is_invoke ? 0 : 1, SMS_BearerData_tvb, g_pinfo, g_tree);
break;
case 4: /* CDMA Position Determination Service */
dissector_try_uint(is801_dissector_table, ansi_map_is_invoke ? 0 : 1, SMS_BearerData_tvb, g_pinfo, g_tree);
break;
default:
break;
}
}
}
#.TYPE_ATTR
# Don't put the bytes after the name in the display
CDMA2000HandoffInvokeIOSData TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
CDMA2000HandoffResponseIOSData TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
InterMSCCircuitID TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
MobileIdentificationNumber TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
MobileStationMIN TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
CallingPartyNumberString1 TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
CallingPartyNumberString2 TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
SMS-Address TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
SMS-DestinationAddress TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
SMS-OriginatingAddress TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
SMS-OriginalOriginatingAddress TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
SMS-OriginalDestinationAddress TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
SenderIdentificationNumber TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
MobileDirectoryNumber TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
Digits TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
MSCIdentificationNumber TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
NewlyAssignedMIN TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
RedirectingNumberDigits = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
RedirectingNumberString = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
CallingPartyNumberDigits1 = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
CallingPartyNumberDigits2 = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
TemporaryReferenceNumber TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL
ActionCode TYPE = FT_UINT8 DISPLAY = BASE_DEC|BASE_EXT_STRING STRINGS = &ansi_map_ActionCode_vals_ext
AuthenticationCapability TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_AuthenticationCapability_vals)
AlertResult TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_AlertResult_result_vals)
AvailabilityType TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_AvailabilityType_vals)
CancellationType TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_CancellationType_vals)
GeographicAuthorization TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_GeographicAuthorization_vals)
CountUpdateReport TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_CountUpdateReport_vals)
ControlChannelMode TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_ControlChannelMode_vals)
PageIndicator TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_PageIndicator_vals)
SMS-AccessDeniedReason TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_SMS_AccessDeniedReason_vals)
SMS-CauseCode TYPE = FT_UINT8 DISPLAY = BASE_DEC|BASE_EXT_STRING STRINGS = &ansi_map_SMS_CauseCode_vals_ext
SMS-ChargeIndicator TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_SMS_ChargeIndicator_vals)
SMS-NotificationIndicator TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_SMS_NotificationIndicator_vals)
#SMS-TeleserviceIdentifier TYPE = FT_UINT16 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_SMS_TeleserviceIdentifier_vals)
TDMABandwidth TYPE = FT_UINT8 DISPLAY = BASE_DEC BITMASK = 0x0f STRINGS = VALS(ansi_map_TDMABandwidth_vals)
TDMAServiceCode TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_TDMAServiceCode_vals)
OTASP-ResultCode TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_OTASP_ResultCode_vals)
ServiceIndicator TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_ServiceIndicator_vals)
TerminationAccessType TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_TerminationAccessType_vals)
TerminationTreatment TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_TerminationTreatment_vals)
SignalingMessageEncryptionReport TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_SMEReport_vals)
VoicePrivacyReport TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_VoicePrivacyReport_vals)
PreferredLanguageIndicator TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_PreferredLanguageIndicator_vals)
SetupResult TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_SetupResult_vals)
UniqueChallengeReport TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_UniqueChallengeReport_vals)
ISLPInformation TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_islp_type_vals)
ServiceRedirectionCause TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_ServiceRedirectionCause_type_vals)
SSDUpdateReport TYPE = FT_UINT16 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_SSDUpdateReport_vals)
ReauthenticationReport TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ansi_map_ReauthenticationReport_vals)
MSIDUsage TYPE = FT_UINT8 DISPLAY = BASE_DEC BITMASK = 0x03 STRINGS = VALS(ansi_MSIDUsage_m_or_i_vals)
BSMCStatus TYPE = FT_UINT8 DISPLAY = BASE_DEC BITMASK = 0x03 STRINGS = VALS(ansi_map_BSMCStatus_vals)
PagingFrameClass TYPE = FT_UINT8 DISPLAY = BASE_DEC BITMASK = 0x03 STRINGS = VALS(ansi_map_PagingFrameClass_vals)
ServicesResult TYPE = FT_UINT8 DISPLAY = BASE_DEC BITMASK = 0x03 STRINGS = VALS(ansi_map_ServicesResult_ppr_vals)
SOCStatus TYPE = FT_UINT8 DISPLAY = BASE_DEC BITMASK = 0x03 STRINGS = VALS(ansi_map_SOCStatus_vals)
#.END |
Text | wireshark/epan/dissectors/asn1/ansi_map/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME ansi_map )
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
"${CMAKE_CURRENT_BINARY_DIR}/../gsm_map/gsm_map-exp.cnf"
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/ansi_map/packet-ansi_map-template.c | /* packet-ansi_map.c
* Routines for ANSI 41 Mobile Application Part (IS41 MAP) dissection
* Specications from 3GPP2 (www.3gpp2.org)
* Based on the dissector by :
* Michael Lum <mlum [AT] telostech.com>
* In association with Telos Technology Inc.
*
* Copyright 2005 - 2009, Anders Broman <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* Credit to Tomas Kukosa for developing the asn2wrs compiler.
*
* Title 3GPP2 Other
*
* Cellular Radiotelecommunications Intersystem Operations
* 3GPP2 N.S0005-0 v 1.0 ANSI/TIA/EIA-41-D
*
* Network Support for MDN-Based Message Centers
* 3GPP2 N.S0024-0 v1.0 IS-841
*
* Enhanced International Calling
* 3GPP2 N.S0027 IS-875
*
* ANSI-41-D Miscellaneous Enhancements Revision 0
* 3GPP2 N.S0015 PN-3590 (ANSI-41-E)
*
* Authentication Enhancements
* 3GPP2 N.S0014-0 v1.0 IS-778
*
* Features In CDMA
* 3GPP2 N.S0010-0 v1.0 IS-735
*
* OTASP and OTAPA
* 3GPP2 N.S0011-0 v1.0 IS-725-A
*
* Circuit Mode Services
* 3GPP2 N.S0008-0 v1.0 IS-737
* XXX SecondInterMSCCircuitID not implemented, parameter ID conflicts with ISLP Information!
*
* IMSI
* 3GPP2 N.S0009-0 v1.0 IS-751
*
* WIN Phase 1
* 3GPP2 N.S0013-0 v1.0 IS-771
*
* DCCH (Clarification of Audit Order with Forced
* Re-Registration in pre-TIA/EIA-136-A Implementation
* 3GPP2 A.S0017-B IS-730
*
* UIM
* 3GPP2 N.S0003
*
* WIN Phase 2
* 3GPP2 N.S0004-0 v1.0 IS-848
*
* TIA/EIA-41-D Pre-Paid Charging
* 3GPP2 N.S0018-0 v1.0 IS-826
*
* User Selective Call Forwarding
* 3GPP2 N.S0021-0 v1.0 IS-838
*
*
* Answer Hold
* 3GPP2 N.S0022-0 v1.0 IS-837
*
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/expert.h>
#include <epan/tap.h>
#include <epan/stat_tap_ui.h>
#include <epan/asn1.h>
#include "packet-ber.h"
#include "packet-ansi_map.h"
#include "packet-ansi_a.h"
#include "packet-gsm_map.h"
#include "packet-tcap.h"
#include "packet-ansi_tcap.h"
#define PNAME "ANSI Mobile Application Part"
#define PSNAME "ANSI MAP"
#define PFNAME "ansi_map"
void proto_register_ansi_map(void);
void proto_reg_handoff_ansi_map(void);
/* Preference settings */
#define MAX_SSN 254
static range_t *global_ssn_range;
#define ANSI_MAP_TID_ONLY 0
#define ANSI_MAP_TID_AND_SOURCE 1
#define ANSI_MAP_TID_SOURCE_AND_DEST 2
static gint ansi_map_response_matching_type = ANSI_MAP_TID_AND_SOURCE;
static dissector_handle_t ansi_map_handle=NULL;
/* Initialize the protocol and registered fields */
static int ansi_map_tap = -1;
static int proto_ansi_map = -1;
#if 0
static int hf_ansi_map_op_code_fam = -1;
static int hf_ansi_map_op_code = -1;
#endif
static int hf_ansi_map_reservedBitH = -1;
static int hf_ansi_map_reservedBitHG = -1;
static int hf_ansi_map_reservedBitHGFE = -1;
static int hf_ansi_map_reservedBitFED = -1;
static int hf_ansi_map_reservedBitD = -1;
static int hf_ansi_map_reservedBitED = -1;
static int hf_ansi_map_type_of_digits = -1;
static int hf_ansi_map_na = -1;
static int hf_ansi_map_pi = -1;
static int hf_ansi_map_navail = -1;
static int hf_ansi_map_si = -1;
static int hf_ansi_map_digits_enc = -1;
static int hf_ansi_map_np = -1;
static int hf_ansi_map_nr_digits = -1;
static int hf_ansi_map_bcd_digits = -1;
static int hf_ansi_map_ia5_digits = -1;
static int hf_ansi_map_subaddr_type = -1;
static int hf_ansi_map_subaddr_odd_even = -1;
static int hf_ansi_alertcode_cadence = -1;
static int hf_ansi_alertcode_pitch = -1;
static int hf_ansi_alertcode_alertaction = -1;
static int hf_ansi_map_announcementcode_tone = -1;
static int hf_ansi_map_announcementcode_class = -1;
static int hf_ansi_map_announcementcode_std_ann = -1;
static int hf_ansi_map_announcementcode_cust_ann = -1;
static int hf_ansi_map_authorizationperiod_period = -1;
static int hf_ansi_map_value = -1;
static int hf_ansi_map_msc_type = -1;
static int hf_ansi_map_handoffstate_pi = -1;
static int hf_ansi_map_tgn = -1;
static int hf_ansi_map_tmn = -1;
static int hf_ansi_map_messagewaitingnotificationcount_tom = -1;
static int hf_ansi_map_messagewaitingnotificationcount_no_mw = -1;
static int hf_ansi_map_messagewaitingnotificationtype_mwi = -1;
static int hf_ansi_map_messagewaitingnotificationtype_apt = -1;
static int hf_ansi_map_messagewaitingnotificationtype_pt = -1;
static int hf_ansi_map_trans_cap_prof = -1;
static int hf_ansi_map_trans_cap_busy = -1;
static int hf_ansi_map_trans_cap_ann = -1;
static int hf_ansi_map_trans_cap_rui = -1;
static int hf_ansi_map_trans_cap_spini = -1;
static int hf_ansi_map_trans_cap_uzci = -1;
static int hf_ansi_map_trans_cap_ndss = -1;
static int hf_ansi_map_trans_cap_nami = -1;
static int hf_ansi_trans_cap_multerm = -1;
static int hf_ansi_map_terminationtriggers_busy = -1;
static int hf_ansi_map_terminationtriggers_rf = -1;
static int hf_ansi_map_terminationtriggers_npr = -1;
static int hf_ansi_map_terminationtriggers_na = -1;
static int hf_ansi_map_terminationtriggers_nr = -1;
static int hf_ansi_trans_cap_tl = -1;
static int hf_ansi_map_cdmaserviceoption = -1;
static int hf_ansi_trans_cap_waddr = -1;
static int hf_ansi_map_MarketID = -1;
static int hf_ansi_map_swno = -1;
static int hf_ansi_map_idno = -1;
static int hf_ansi_map_segcount = -1;
static int hf_ansi_map_sms_originationrestrictions_fmc = -1;
static int hf_ansi_map_sms_originationrestrictions_direct = -1;
static int hf_ansi_map_sms_originationrestrictions_default = -1;
static int hf_ansi_map_systemcapabilities_auth = -1;
static int hf_ansi_map_systemcapabilities_se = -1;
static int hf_ansi_map_systemcapabilities_vp = -1;
static int hf_ansi_map_systemcapabilities_cave = -1;
static int hf_ansi_map_systemcapabilities_ssd = -1;
static int hf_ansi_map_systemcapabilities_dp = -1;
static int hf_ansi_map_mslocation_lat = -1;
static int hf_ansi_map_mslocation_long = -1;
static int hf_ansi_map_mslocation_res = -1;
static int hf_ansi_map_nampscallmode_namps = -1;
static int hf_ansi_map_nampscallmode_amps = -1;
static int hf_ansi_map_nampschanneldata_navca = -1;
static int hf_ansi_map_nampschanneldata_CCIndicator = -1;
static int hf_ansi_map_callingfeaturesindicator_cfufa = -1;
static int hf_ansi_map_callingfeaturesindicator_cfbfa = -1;
static int hf_ansi_map_callingfeaturesindicator_cfnafa = -1;
static int hf_ansi_map_callingfeaturesindicator_cwfa = -1;
static int hf_ansi_map_callingfeaturesindicator_3wcfa = -1;
static int hf_ansi_map_callingfeaturesindicator_pcwfa =-1;
static int hf_ansi_map_callingfeaturesindicator_dpfa = -1;
static int hf_ansi_map_callingfeaturesindicator_ahfa = -1;
static int hf_ansi_map_callingfeaturesindicator_uscfvmfa = -1;
static int hf_ansi_map_callingfeaturesindicator_uscfmsfa = -1;
static int hf_ansi_map_callingfeaturesindicator_uscfnrfa = -1;
static int hf_ansi_map_callingfeaturesindicator_cpdsfa = -1;
static int hf_ansi_map_callingfeaturesindicator_ccsfa = -1;
static int hf_ansi_map_callingfeaturesindicator_epefa = -1;
static int hf_ansi_map_callingfeaturesindicator_cdfa = -1;
static int hf_ansi_map_callingfeaturesindicator_vpfa = -1;
static int hf_ansi_map_callingfeaturesindicator_ctfa = -1;
static int hf_ansi_map_callingfeaturesindicator_cnip1fa = -1;
static int hf_ansi_map_callingfeaturesindicator_cnip2fa = -1;
static int hf_ansi_map_callingfeaturesindicator_cnirfa = -1;
static int hf_ansi_map_callingfeaturesindicator_cniroverfa = -1;
static int hf_ansi_map_cdmacallmode_cdma = -1;
static int hf_ansi_map_cdmacallmode_amps = -1;
static int hf_ansi_map_cdmacallmode_namps = -1;
static int hf_ansi_map_cdmacallmode_cls1 = -1;
static int hf_ansi_map_cdmacallmode_cls2 = -1;
static int hf_ansi_map_cdmacallmode_cls3 = -1;
static int hf_ansi_map_cdmacallmode_cls4 = -1;
static int hf_ansi_map_cdmacallmode_cls5 = -1;
static int hf_ansi_map_cdmacallmode_cls6 = -1;
static int hf_ansi_map_cdmacallmode_cls7 = -1;
static int hf_ansi_map_cdmacallmode_cls8 = -1;
static int hf_ansi_map_cdmacallmode_cls9 = -1;
static int hf_ansi_map_cdmacallmode_cls10 = -1;
static int hf_ansi_map_cdmachanneldata_Frame_Offset = -1;
static int hf_ansi_map_cdmachanneldata_CDMA_ch_no = -1;
static int hf_ansi_map_cdmachanneldata_band_cls = -1;
static int hf_ansi_map_cdmachanneldata_lc_mask_b6 = -1;
static int hf_ansi_map_cdmachanneldata_lc_mask_b5 = -1;
static int hf_ansi_map_cdmachanneldata_lc_mask_b4 = -1;
static int hf_ansi_map_cdmachanneldata_lc_mask_b3 = -1;
static int hf_ansi_map_cdmachanneldata_lc_mask_b2 = -1;
static int hf_ansi_map_cdmachanneldata_lc_mask_b1 = -1;
static int hf_ansi_map_cdmachanneldata_np_ext = -1;
static int hf_ansi_map_cdmachanneldata_nominal_pwr = -1;
static int hf_ansi_map_cdmachanneldata_nr_preamble = -1;
static int hf_ansi_map_cdmastationclassmark_pc = -1;
static int hf_ansi_map_cdmastationclassmark_dtx = -1;
static int hf_ansi_map_cdmastationclassmark_smi = -1;
static int hf_ansi_map_cdmastationclassmark_dmi = -1;
static int hf_ansi_map_channeldata_vmac = -1;
static int hf_ansi_map_channeldata_dtx = -1;
static int hf_ansi_map_channeldata_scc = -1;
static int hf_ansi_map_channeldata_chno = -1;
static int hf_ansi_map_ConfidentialityModes_vp = -1;
static int hf_ansi_map_controlchanneldata_dcc = -1;
static int hf_ansi_map_controlchanneldata_cmac = -1;
static int hf_ansi_map_controlchanneldata_chno = -1;
static int hf_ansi_map_controlchanneldata_sdcc1 = -1;
static int hf_ansi_map_controlchanneldata_sdcc2 = -1;
static int hf_ansi_map_ConfidentialityModes_se = -1;
static int hf_ansi_map_deniedauthorizationperiod_period = -1;
static int hf_ansi_map_ConfidentialityModes_dp = -1;
static int hf_ansi_map_originationtriggers_all = -1;
static int hf_ansi_map_originationtriggers_local = -1;
static int hf_ansi_map_originationtriggers_ilata = -1;
static int hf_ansi_map_originationtriggers_olata = -1;
static int hf_ansi_map_originationtriggers_int = -1;
static int hf_ansi_map_originationtriggers_wz = -1;
static int hf_ansi_map_originationtriggers_unrec = -1;
static int hf_ansi_map_originationtriggers_rvtc = -1;
static int hf_ansi_map_originationtriggers_star = -1;
static int hf_ansi_map_originationtriggers_ds = -1;
static int hf_ansi_map_originationtriggers_pound = -1;
static int hf_ansi_map_originationtriggers_dp = -1;
static int hf_ansi_map_originationtriggers_pa = -1;
static int hf_ansi_map_originationtriggers_nodig = -1;
static int hf_ansi_map_originationtriggers_onedig = -1;
static int hf_ansi_map_originationtriggers_twodig = -1;
static int hf_ansi_map_originationtriggers_threedig = -1;
static int hf_ansi_map_originationtriggers_fourdig = -1;
static int hf_ansi_map_originationtriggers_fivedig = -1;
static int hf_ansi_map_originationtriggers_sixdig = -1;
static int hf_ansi_map_originationtriggers_sevendig = -1;
static int hf_ansi_map_originationtriggers_eightdig = -1;
static int hf_ansi_map_originationtriggers_ninedig = -1;
static int hf_ansi_map_originationtriggers_tendig = -1;
static int hf_ansi_map_originationtriggers_elevendig = -1;
static int hf_ansi_map_originationtriggers_twelvedig = -1;
static int hf_ansi_map_originationtriggers_thirteendig = -1;
static int hf_ansi_map_originationtriggers_fourteendig = -1;
static int hf_ansi_map_originationtriggers_fifteendig = -1;
static int hf_ansi_map_triggercapability_init = -1;
static int hf_ansi_map_triggercapability_kdigit = -1;
static int hf_ansi_map_triggercapability_all = -1;
static int hf_ansi_map_triggercapability_rvtc = -1;
static int hf_ansi_map_triggercapability_oaa = -1;
static int hf_ansi_map_triggercapability_oans = -1;
static int hf_ansi_map_triggercapability_odisc = -1;
static int hf_ansi_map_triggercapability_ona = -1;
static int hf_ansi_map_triggercapability_ct = -1;
static int hf_ansi_map_triggercapability_unrec =-1;
static int hf_ansi_map_triggercapability_pa = -1;
static int hf_ansi_map_triggercapability_at = -1;
static int hf_ansi_map_triggercapability_cgraa = -1;
static int hf_ansi_map_triggercapability_it = -1;
static int hf_ansi_map_triggercapability_cdraa = -1;
static int hf_ansi_map_triggercapability_obsy = -1;
static int hf_ansi_map_triggercapability_tra = -1;
static int hf_ansi_map_triggercapability_tbusy = -1;
static int hf_ansi_map_triggercapability_tna = -1;
static int hf_ansi_map_triggercapability_tans = -1;
static int hf_ansi_map_triggercapability_tdisc = -1;
static int hf_ansi_map_winoperationscapability_conn = -1;
static int hf_ansi_map_winoperationscapability_ccdir = -1;
static int hf_ansi_map_winoperationscapability_pos = -1;
static int hf_ansi_map_PACA_Level = -1;
static int hf_ansi_map_pacaindicator_pa = -1;
static int hf_ansi_map_point_code = -1;
static int hf_ansi_map_SSN = -1;
static int hf_ansi_map_win_trigger_list = -1;
#include "packet-ansi_map-hf.c"
/* Initialize the subtree pointers */
static gint ett_ansi_map = -1;
static gint ett_mintype = -1;
static gint ett_digitstype = -1;
static gint ett_billingid = -1;
static gint ett_sms_bearer_data = -1;
static gint ett_sms_teleserviceIdentifier = -1;
static gint ett_extendedmscid = -1;
static gint ett_extendedsystemmytypecode = -1;
static gint ett_handoffstate = -1;
static gint ett_mscid = -1;
static gint ett_cdmachanneldata = -1;
static gint ett_cdmastationclassmark = -1;
static gint ett_channeldata = -1;
static gint ett_confidentialitymodes = -1;
static gint ett_controlchanneldata = -1;
static gint ett_CDMA2000HandoffInvokeIOSData = -1;
static gint ett_CDMA2000HandoffResponseIOSData = -1;
static gint ett_originationtriggers = -1;
static gint ett_pacaindicator = -1;
static gint ett_callingpartyname = -1;
static gint ett_triggercapability = -1;
static gint ett_winoperationscapability = -1;
static gint ett_win_trigger_list = -1;
static gint ett_controlnetworkid = -1;
static gint ett_transactioncapability = -1;
static gint ett_cdmaserviceoption = -1;
static gint ett_systemcapabilities = -1;
static gint ett_sms_originationrestrictions = -1;
#include "packet-ansi_map-ett.c"
static expert_field ei_ansi_map_nr_not_used = EI_INIT;
static expert_field ei_ansi_map_unknown_invokeData_blob = EI_INIT;
static expert_field ei_ansi_map_no_data = EI_INIT;
/* Global variables */
static dissector_table_t is637_tele_id_dissector_table; /* IS-637 Teleservice ID */
static dissector_table_t is683_dissector_table; /* IS-683-A (OTA) */
static dissector_table_t is801_dissector_table; /* IS-801 (PLD) */
static packet_info *g_pinfo;
static proto_tree *g_tree;
tvbuff_t *SMS_BearerData_tvb = NULL;
gint32 ansi_map_sms_tele_id = -1;
static gboolean is683_ota;
static gboolean is801_pld;
static gboolean ansi_map_is_invoke;
static guint32 OperationCode;
static guint8 ServiceIndicator;
struct ansi_map_invokedata_t {
guint32 opcode;
guint8 ServiceIndicator;
};
static void dissect_ansi_map_win_trigger_list(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_);
/* Transaction table */
static wmem_multimap_t *TransactionId_table=NULL;
/* Store Invoke information needed for the corresponding reply */
static void
update_saved_invokedata(packet_info *pinfo, struct ansi_tcap_private_t *p_private_tcap){
struct ansi_map_invokedata_t *ansi_map_saved_invokedata;
address* src = &(pinfo->src);
address* dst = &(pinfo->dst);
guint8 *src_str;
guint8 *dst_str;
const char *buf = NULL;
src_str = address_to_str(pinfo->pool, src);
dst_str = address_to_str(pinfo->pool, dst);
/* Data from the TCAP dissector */
if ((!pinfo->fd->visited)&&(p_private_tcap->TransactionID_str)){
/* Only do this once XXX I hope it's the right thing to do */
/* The hash string needs to contain src and dest to distiguish differnt flows */
switch(ansi_map_response_matching_type){
case ANSI_MAP_TID_ONLY:
buf = wmem_strdup(pinfo->pool, p_private_tcap->TransactionID_str);
break;
case ANSI_MAP_TID_AND_SOURCE:
buf = wmem_strdup_printf(pinfo->pool, "%s%s",p_private_tcap->TransactionID_str,src_str);
break;
case ANSI_MAP_TID_SOURCE_AND_DEST:
default:
buf = wmem_strdup_printf(pinfo->pool, "%s%s%s",p_private_tcap->TransactionID_str,src_str,dst_str);
break;
}
ansi_map_saved_invokedata = wmem_new(wmem_file_scope(), struct ansi_map_invokedata_t);
ansi_map_saved_invokedata->opcode = p_private_tcap->d.OperationCode_private;
ansi_map_saved_invokedata->ServiceIndicator = ServiceIndicator;
wmem_multimap_insert32(TransactionId_table,
wmem_strdup(wmem_file_scope(), buf),
pinfo->num,
ansi_map_saved_invokedata);
/*ws_warning("Invoke Hash string %s pkt: %u",buf,pinfo->num);*/
}
}
/* value strings */
const value_string ansi_map_opr_code_strings[] = {
{ 1, "Handoff Measurement Request" },
{ 2, "Facilities Directive" },
{ 3, "Mobile On Channel" },
{ 4, "Handoff Back" },
{ 5, "Facilities Release" },
{ 6, "Qualification Request" },
{ 7, "Qualification Directive" },
{ 8, "Blocking" },
{ 9, "Unblocking" },
{ 10, "Reset Circuit" },
{ 11, "Trunk Test" },
{ 12, "Trunk Test Disconnect" },
{ 13, "Registration Notification" },
{ 14, "Registration Cancellation" },
{ 15, "Location Request" },
{ 16, "Routing Request" },
{ 17, "Feature Request" },
{ 18, "Reserved 18 (Service Profile Request, IS-41-C)" },
{ 19, "Reserved 19 (Service Profile Directive, IS-41-C)" },
{ 20, "Unreliable Roamer Data Directive" },
{ 21, "Reserved 21 (Call Data Request, IS-41-C)" },
{ 22, "MS Inactive" },
{ 23, "Transfer To Number Request" },
{ 24, "Redirection Request" },
{ 25, "Handoff To Third" },
{ 26, "Flash Request" },
{ 27, "Authentication Directive" },
{ 28, "Authentication Request" },
{ 29, "Base Station Challenge" },
{ 30, "Authentication Failure Report" },
{ 31, "Count Request" },
{ 32, "Inter System Page" },
{ 33, "Unsolicited Response" },
{ 34, "Bulk Deregistration" },
{ 35, "Handoff Measurement Request 2" },
{ 36, "Facilities Directive 2" },
{ 37, "Handoff Back 2" },
{ 38, "Handoff To Third 2" },
{ 39, "Authentication Directive Forward" },
{ 40, "Authentication Status Report" },
{ 41, "Reserved 41" },
{ 42, "Information Directive" },
{ 43, "Information Forward" },
{ 44, "Inter System Answer" },
{ 45, "Inter System Page 2" },
{ 46, "Inter System Setup" },
{ 47, "Origination Request" },
{ 48, "Random Variable Request" },
{ 49, "Redirection Directive" },
{ 50, "Remote User Interaction Directive" },
{ 51, "SMS Delivery Backward" },
{ 52, "SMS Delivery Forward" },
{ 53, "SMS Delivery Point to Point" },
{ 54, "SMS Notification" },
{ 55, "SMS Request" },
{ 56, "OTASP Request" },
{ 57, "Information Backward" },
{ 58, "Change Facilities" },
{ 59, "Change Service" },
{ 60, "Parameter Request" },
{ 61, "TMSI Directive" },
{ 62, "NumberPortabilityRequest" },
{ 63, "Service Request" },
{ 64, "Analyzed Information Request" },
{ 65, "Connection Failure Report" },
{ 66, "Connect Resource" },
{ 67, "Disconnect Resource" },
{ 68, "Facility Selected and Available" },
{ 69, "Instruction Request" },
{ 70, "Modify" },
{ 71, "Reset Timer" },
{ 72, "Search" },
{ 73, "Seize Resource" },
{ 74, "SRF Directive" },
{ 75, "T Busy" },
{ 76, "T NoAnswer" },
{ 77, "Release" },
{ 78, "SMS Delivery Point to Point Ack" },
{ 79, "Message Directive" },
{ 80, "Bulk Disconnection" },
{ 81, "Call Control Directive" },
{ 82, "O Answer" },
{ 83, "O Disconnect" },
{ 84, "Call Recovery Report" },
{ 85, "T Answer" },
{ 86, "T Disconnect" },
{ 87, "Unreliable Call Data" },
{ 88, "O CalledPartyBusy" },
{ 89, "O NoAnswer" },
{ 90, "Position Request" },
{ 91, "Position Request Forward" },
{ 92, "Call Termination Report" },
{ 93, "Geo Position Directive" },
{ 94, "Geo Position Request" },
{ 95, "Inter System Position Request" },
{ 96, "Inter System Position Request Forward" },
{ 97, "ACG Directive" },
{ 98, "Roamer Database Verification Request" },
{ 99, "Add Service" },
{ 100, "Drop Service" },
{ 101, "InterSystemSMSPage" },
{ 102, "LCSParameterRequest" },
{ 103, "Unknown ANSI-MAP PDU" },
{ 104, "Unknown ANSI-MAP PDU" },
{ 105, "Unknown ANSI-MAP PDU" },
{ 106, "PositionEventNotification" },
{ 107, "Unknown ANSI-MAP PDU" },
{ 108, "Unknown ANSI-MAP PDU" },
{ 109, "Unknown ANSI-MAP PDU" },
{ 110, "Unknown ANSI-MAP PDU" },
{ 111, "InterSystemSMSDelivery-PointToPoint" },
{ 112, "QualificationRequest2" },
{ 0, NULL },
};
static value_string_ext ansi_map_opr_code_strings_ext = VALUE_STRING_EXT_INIT(ansi_map_opr_code_strings);
static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx);
static int dissect_returnData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx);
static int dissect_ansi_map_SystemMyTypeCode(bool implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_);
/* Type of Digits (octet 1, bits A-H) */
static const value_string ansi_map_type_of_digits_vals[] = {
{ 0, "Not Used" },
{ 1, "Dialed Number or Called Party Number" },
{ 2, "Calling Party Number" },
{ 3, "Caller Interaction" },
{ 4, "Routing Number" },
{ 5, "Billing Number" },
{ 6, "Destination Number" },
{ 7, "LATA" },
{ 8, "Carrier" },
{ 0, NULL }
};
/* Nature of Number (octet 2, bits A-H )*/
static const true_false_string ansi_map_na_bool_val = {
"International",
"National"
};
static const true_false_string ansi_map_pi_bool_val = {
"Presentation Restricted",
"Presentation Allowed"
};
static const true_false_string ansi_map_navail_bool_val = {
"Number is not available",
"Number is available"
};
#if 0
static const true_false_string ansi_map_si_bool_val = {
"User provided, screening passed",
"User provided, not screened"
};
#endif
static const value_string ansi_map_si_vals[] = {
{ 0, "User provided, not screened"},
{ 1, "User provided, screening passed"},
{ 2, "User provided, screening failed"},
{ 3, "Network provided"},
{ 0, NULL }
};
/* Encoding (octet 3, bits A-D) */
static const value_string ansi_map_digits_enc_vals[] = {
{ 0, "Not used"},
{ 1, "BCD"},
{ 2, "IA5"},
{ 3, "Octet string"},
{ 0, NULL }
};
/* Numbering Plan (octet 3, bits E-H) */
static const value_string ansi_map_np_vals[] = {
{ 0, "Unknown or not applicable"},
{ 1, "ISDN Numbering"},
{ 2, "Telephony Numbering (ITU-T Rec. E.164,E.163)"},
{ 3, "Data Numbering (ITU-T Rec. X.121)"},
{ 4, "Telex Numbering (ITU-T Rec. F.69)"},
{ 5, "Maritime Mobile Numbering"},
{ 6, "Land Mobile Numbering (ITU-T Rec. E.212)"},
{ 7, "Private Numbering Plan"},
{ 13, "SS7 Point Code (PC) and Subsystem Number (SSN)"},
{ 14, "Internet Protocol (IP) Address."},
{ 15, "Reserved for extension"},
{ 0, NULL }
};
static void
dissect_ansi_map_min_type(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
char *digit_str;
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_mintype);
proto_tree_add_item_ret_display_string(subtree, hf_ansi_map_bcd_digits, tvb, offset, tvb_reported_length_remaining(tvb, offset), ENC_BCD_DIGITS_0_9, pinfo->pool, &digit_str);
proto_item_append_text(actx->created_item, " - %s", digit_str);
}
static void
dissect_ansi_map_digits_type(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
guint8 octet , octet_len;
guint8 b1,b2,b3,b4;
int offset = 0;
char *digit_str;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_digitstype);
/* Octet 1 */
proto_tree_add_item(subtree, hf_ansi_map_type_of_digits, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Octet 2 */
proto_tree_add_item(subtree, hf_ansi_map_reservedBitHG, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_si, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_reservedBitD, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_navail, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_pi, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_na, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Octet 3 */
octet = tvb_get_guint8(tvb,offset);
proto_tree_add_item(subtree, hf_ansi_map_np, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_digits_enc, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Octet 4 - */
switch(octet>>4){
case 0:/* Unknown or not applicable */
switch ((octet&0xf)){
case 1:
/* BCD Coding */
octet_len = tvb_get_guint8(tvb,offset);
proto_tree_add_item(subtree, hf_ansi_map_nr_digits, tvb, offset, 1, ENC_BIG_ENDIAN);
if(octet_len == 0)
return;
offset++;
proto_tree_add_item_ret_display_string(subtree, hf_ansi_map_bcd_digits, tvb, offset, -1, ENC_KEYPAD_BC_TBCD, pinfo->pool, &digit_str);
proto_item_append_text(actx->created_item, " - %s", digit_str);
break;
case 2:
{
const guint8* digits;
/* IA5 Coding */
octet_len = tvb_get_guint8(tvb,offset);
proto_tree_add_item(subtree, hf_ansi_map_nr_digits, tvb, offset, 1, ENC_BIG_ENDIAN);
if(octet_len == 0)
return;
offset++;
proto_tree_add_item_ret_string(subtree, hf_ansi_map_ia5_digits, tvb, offset, tvb_reported_length_remaining(tvb,offset),
ENC_ASCII|ENC_NA, pinfo->pool, &digits);
proto_item_append_text(actx->created_item, " - %s", digits);
}
break;
case 3:
/* Octet string */
break;
default:
break;
}
break;
case 1:/* ISDN Numbering (not used in this Standard). */
case 3:/* Data Numbering (ITU-T Rec. X.121) (not used in this Standard). */
case 4:/* Telex Numbering (ITU-T Rec. F.69) (not used in this Standard). */
case 5:/* Maritime Mobile Numbering (not used in this Standard). */
proto_tree_add_expert(subtree, pinfo, &ei_ansi_map_nr_not_used, tvb, offset, -1);
break;
case 2:/* Telephony Numbering (ITU-T Rec. E.164,E.163). */
case 6:/* Land Mobile Numbering (ITU-T Rec. E.212) */
case 7:/* Private Numbering Plan */
octet_len = tvb_get_guint8(tvb,offset);
proto_tree_add_item(subtree, hf_ansi_map_nr_digits, tvb, offset, 1, ENC_BIG_ENDIAN);
if(octet_len == 0)
return;
offset++;
switch ((octet&0xf)){
case 1:
/* BCD Coding */
proto_tree_add_item_ret_display_string(subtree, hf_ansi_map_bcd_digits, tvb, offset, -1, ENC_KEYPAD_BC_TBCD, pinfo->pool, &digit_str);
proto_item_append_text(actx->created_item, " - %s", digit_str);
break;
case 2:
{
const guint8* digits;
/* IA5 Coding */
proto_tree_add_item_ret_string(subtree, hf_ansi_map_ia5_digits, tvb, offset, tvb_reported_length_remaining(tvb,offset),
ENC_ASCII|ENC_NA, pinfo->pool, &digits);
proto_item_append_text(actx->created_item, " - %s", digits);
}
break;
case 3:
/* Octet string */
break;
default:
break;
}
break;
case 13:/* ANSI SS7 Point Code (PC) and Subsystem Number (SSN). */
switch ((octet&0xf)){
case 3:
/* Octet string */
/* Point Code Member Number octet 2 */
b1 = tvb_get_guint8(tvb,offset);
offset++;
/* Point Code Cluster Number octet 3 */
b2 = tvb_get_guint8(tvb,offset);
offset++;
/* Point Code Network Number octet 4 */
b3 = tvb_get_guint8(tvb,offset);
offset++;
proto_tree_add_bytes_format_value(subtree, hf_ansi_map_point_code, tvb, offset-3, 3, NULL, "%u-%u-%u", b3, b2, b1);
/* Subsystem Number (SSN) octet 5 */
b4 = tvb_get_guint8(tvb,offset);
proto_tree_add_item(subtree, hf_ansi_map_SSN, tvb, offset, 1, ENC_NA);
proto_item_append_text(actx->created_item, " - Point Code %u-%u-%u SSN %u", b3, b2, b1, b4);
break;
default:
break;
}
break;
case 14:/* Internet Protocol (IP) Address. */
break;
default:
proto_tree_add_expert(subtree, pinfo, &ei_ansi_map_nr_not_used, tvb, offset, -1);
break;
}
}
/* 6.5.3.13. Subaddress */
#if 0
static const true_false_string ansi_map_Odd_Even_Ind_bool_val = {
"Odd",
"Even"
};
#endif
/* Type of Subaddress (octet 1, bits E-G) */
static const value_string ansi_map_sub_addr_type_vals[] = {
{ 0, "NSAP (CCITT Rec. X.213 or ISO 8348 AD2)"},
{ 1, "User specified"},
{ 2, "Reserved"},
{ 3, "Reserved"},
{ 4, "Reserved"},
{ 5, "Reserved"},
{ 6, "Reserved"},
{ 7, "Reserved"},
{ 0, NULL }
};
static void
dissect_ansi_map_subaddress(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
/* Type of Subaddress (octet 1, bits E-G) */
proto_tree_add_item(subtree, hf_ansi_map_subaddr_type, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Odd/Even Indicator (O/E) (octet 1, bit D) */
proto_tree_add_item(subtree, hf_ansi_map_subaddr_odd_even, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/*
* 6.5.2.2 ActionCode
* Table 114 ActionCode value
*
* 6.5.2.2 ActionCode(TIA/EIA-41.5-D, page 5-129) */
static const value_string ansi_map_ActionCode_vals[] = {
{ 0, "Not used"},
{ 1, "Continue processing"},
{ 2, "Disconnect call"},
{ 3, "Disconnect call leg"},
{ 4, "Conference Calling Drop Last Party"},
{ 5, "Bridge call leg(s) to conference call"},
{ 6, "Drop call leg on busy or routing failure"},
{ 7, "Disconnect all call legs"},
{ 8, "Attach MSC to OTAF"},
{ 9, "Initiate RegistrationNotification"},
{ 10, "Generate Public Encryption values"},
{ 11, "Generate A-key"},
{ 12, "Perform SSD Update procedure"},
{ 13, "Perform Re-authentication procedure"},
{ 14, "Release TRN"},
{ 15, "Commit A-key"},
{ 16, "Release Resources (e.g., A-key, Traffic Channel)"},
{ 17, "Record NEWMSID"},
{ 18, "Allocate Resources (e.g., Multiple message traffic channel delivery)."},
{ 19, "Generate Authentication Signature"},
{ 20, "Release leg and redirect subscriber"},
{ 21, "Do Not Wait For MS User Level Response"},
{ 22, "Prepare for CDMA Handset-Based Position Determination"},
{ 23, "CDMA Handset-Based Position Determination Complete"},
{ 0, NULL }
};
static value_string_ext ansi_map_ActionCode_vals_ext = VALUE_STRING_EXT_INIT(ansi_map_ActionCode_vals);
/* 6.5.2.3 AlertCode */
/* Pitch (octet 1, bits G-H) */
static const value_string ansi_map_AlertCode_Pitch_vals[] = {
{ 0, "Medium pitch"},
{ 1, "High pitch"},
{ 2, "Low pitch"},
{ 3, "Reserved"},
{ 0, NULL }
};
/* Cadence (octet 1, bits A-F) */
static const value_string ansi_map_AlertCode_Cadence_vals[] = {
{ 0, "NoTone"},
{ 1, "Long"},
{ 2, "ShortShort"},
{ 3, "ShortShortLong"},
{ 4, "ShortShort2"},
{ 5, "ShortLongShort"},
{ 6, "ShortShortShortShort"},
{ 7, "PBXLong"},
{ 8, "PBXShortShort"},
{ 9, "PBXShortShortLong"},
{ 10, "PBXShortLongShort"},
{ 11, "PBXShortShortShortShort"},
{ 12, "PipPipPipPip"},
{ 13, "Reserved. Treat the same as value 0, NoTone"},
{ 14, "Reserved. Treat the same as value 0, NoTone"},
{ 15, "Reserved. Treat the same as value 0, NoTone"},
{ 16, "Reserved. Treat the same as value 0, NoTone"},
{ 17, "Reserved. Treat the same as value 0, NoTone"},
{ 18, "Reserved. Treat the same as value 0, NoTone"},
{ 19, "Reserved. Treat the same as value 0, NoTone"},
{ 0, NULL }
};
/* Alert Action (octet 2, bits A-C) */
static const value_string ansi_map_AlertCode_Alert_Action_vals[] = {
{ 0, "Alert without waiting to report"},
{ 1, "Apply a reminder alert once"},
{ 2, "Other values reserved. Treat the same as value 0, Alert without waiting to report"},
{ 3, "Other values reserved. Treat the same as value 0, Alert without waiting to report"},
{ 4, "Other values reserved. Treat the same as value 0, Alert without waiting to report"},
{ 5, "Other values reserved. Treat the same as value 0, Alert without waiting to report"},
{ 6, "Other values reserved. Treat the same as value 0, Alert without waiting to report"},
{ 7, "Other values reserved. Treat the same as value 0, Alert without waiting to report"},
{ 0, NULL }
};
static void
dissect_ansi_map_alertcode(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
/* Pitch (octet 1, bits G-H) */
proto_tree_add_item(subtree, hf_ansi_alertcode_pitch, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Cadence (octet 1, bits A-F) */
proto_tree_add_item(subtree, hf_ansi_alertcode_cadence, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Alert Action (octet 2, bits A-C) */
proto_tree_add_item(subtree, hf_ansi_alertcode_alertaction, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.4 AlertResult */
/* Result (octet 1) */
static const value_string ansi_map_AlertResult_result_vals[] = {
{ 0, "Not specified"},
{ 1, "Success"},
{ 2, "Failure"},
{ 3, "Denied"},
{ 4, "NotAttempted"},
{ 5, "NoPageResponse"},
{ 6, "Busy"},
{ 0, NULL }
};
/* 6.5.2.5 AnnouncementCode Updatef from NS0018Re*/
/* Tone (octet 1) */
static const value_string ansi_map_AnnouncementCode_tone_vals[] = {
{ 0, "DialTone"},
{ 1, "RingBack or AudibleAlerting"},
{ 2, "InterceptTone or MobileReorder"},
{ 3, "CongestionTone or ReorderTone"},
{ 4, "BusyTone"},
{ 5, "ConfirmationTone"},
{ 6, "AnswerTone"},
{ 7, "CallWaitingTone"},
{ 8, "OffHookTone"},
{ 17, "RecallDialTone"},
{ 18, "BargeInTone"},
{ 20, "PPCInsufficientTone"},
{ 21, "PPCWarningTone1"},
{ 22, "PPCWarningTone2"},
{ 23, "PPCWarningTone3"},
{ 24, "PPCDisconnectTone"},
{ 25, "PPCRedirectTone"},
{ 63, "TonesOff"},
{ 192, "PipTone"},
{ 193, "AbbreviatedIntercept"},
{ 194, "AbbreviatedCongestion"},
{ 195, "WarningTone"},
{ 196, "DenialToneBurst"},
{ 197, "DialToneBurst"},
{ 250, "IncomingAdditionalCallTone"},
{ 251, "PriorityAdditionalCallTone"},
{ 0, NULL }
};
/* Class (octet 2, bits A-D) */
static const value_string ansi_map_AnnouncementCode_class_vals[] = {
{ 0, "Concurrent"},
{ 1, "Sequential"},
{ 0, NULL }
};
/* Standard Announcement (octet 3) Updated with N.S0015 */
static const value_string ansi_map_AnnouncementCode_std_ann_vals[] = {
{ 0, "None"},
{ 1, "UnauthorizedUser"},
{ 2, "InvalidESN"},
{ 3, "UnauthorizedMobile"},
{ 4, "SuspendedOrigination"},
{ 5, "OriginationDenied"},
{ 6, "ServiceAreaDenial"},
{ 16, "PartialDial"},
{ 17, "Require1Plus"},
{ 18, "Require1PlusNPA"},
{ 19, "Require0Plus"},
{ 20, "Require0PlusNPA"},
{ 21, "Deny1Plus"},
{ 22, "Unsupported10plus"},
{ 23, "Deny10plus"},
{ 24, "Unsupported10XXX"},
{ 25, "Deny10XXX"},
{ 26, "Deny10XXXLocally"},
{ 27, "Require10Plus"},
{ 28, "RequireNPA"},
{ 29, "DenyTollOrigination"},
{ 30, "DenyInternationalOrigination"},
{ 31, "Deny0Minus"},
{ 48, "DenyNumber"},
{ 49, "AlternateOperatorServices"},
{ 64, "No Circuit or AllCircuitsBusy or FacilityProblem"},
{ 65, "Overload"},
{ 66, "InternalOfficeFailure"},
{ 67, "NoWinkReceived"},
{ 68, "InterofficeLinkFailure"},
{ 69, "Vacant"},
{ 70, "InvalidPrefix or InvalidAccessCode"},
{ 71, "OtherDialingIrregularity"},
{ 80, "VacantNumber or DisconnectedNumber"},
{ 81, "DenyTermination"},
{ 82, "SuspendedTermination"},
{ 83, "ChangedNumber"},
{ 84, "InaccessibleSubscriber"},
{ 85, "DenyIncomingTol"},
{ 86, "RoamerAccessScreening"},
{ 87, "RefuseCall"},
{ 88, "RedirectCall"},
{ 89, "NoPageResponse"},
{ 90, "NoAnswer"},
{ 96, "RoamerIntercept"},
{ 97, "GeneralInformation"},
{ 112, "UnrecognizedFeatureCode"},
{ 113, "UnauthorizedFeatureCode"},
{ 114, "RestrictedFeatureCode"},
{ 115, "InvalidModifierDigits"},
{ 116, "SuccessfulFeatureRegistration"},
{ 117, "SuccessfulFeatureDeRegistration"},
{ 118, "SuccessfulFeatureActivation"},
{ 119, "SuccessfulFeatureDeActivation"},
{ 120, "InvalidForwardToNumber"},
{ 121, "CourtesyCallWarning"},
{ 128, "EnterPINSendPrompt"},
{ 129, "EnterPINPrompt"},
{ 130, "ReEnterPINSendPrompt"},
{ 131, "ReEnterPINPrompt"},
{ 132, "EnterOldPINSendPrompt"},
{ 133, "EnterOldPINPrompt"},
{ 134, "EnterNewPINSendPrompt"},
{ 135, "EnterNewPINPrompt"},
{ 136, "ReEnterNewPINSendPrompt"},
{ 137, "ReEnterNewPINPrompt"},
{ 138, "EnterPasswordPrompt"},
{ 139, "EnterDirectoryNumberPrompt"},
{ 140, "ReEnterDirectoryNumberPrompt"},
{ 141, "EnterFeatureCodePrompt"},
{ 142, "EnterEnterCreditCardNumberPrompt"},
{ 143, "EnterDestinationNumberPrompt"},
{ 152, "PPCInsufficientAccountBalance"},
{ 153, "PPCFiveMinuteWarning"},
{ 154, "PPCThreeMinuteWarning"},
{ 155, "PPCTwoMinuteWarning"},
{ 156, "PPCOneMinuteWarning"},
{ 157, "PPCDisconnect"},
{ 158, "PPCRedirect"},
{ 0, NULL }
};
static void
dissect_ansi_map_announcementcode(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
/* Tone (octet 1) */
proto_tree_add_item(subtree, hf_ansi_map_announcementcode_tone, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Class (octet 2, bits A-D) */
proto_tree_add_item(subtree, hf_ansi_map_announcementcode_class, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Standard Announcement (octet 3) */
proto_tree_add_item(subtree, hf_ansi_map_announcementcode_std_ann, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Custom Announcement ( octet 4 )
e. The assignment of this octet is left to bilateral agreement. When a Custom
Announcement is specified it takes precedence over either the Standard
Announcement or Tone
*/
proto_tree_add_item(subtree, hf_ansi_map_announcementcode_cust_ann, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.8 AuthenticationCapability Updated N.S0003*/
static const value_string ansi_map_AuthenticationCapability_vals[] = {
{ 0, "Not used"},
{ 1, "No authentication required"},
{ 2, "Authentication required"},
{ 128, "Authentication required and UIM capable."},
{ 0, NULL }
};
/* 6.5.2.14 AuthorizationPeriod*/
/* Period (octet 1) */
static const value_string ansi_map_authorizationperiod_period_vals[] = {
{ 0, "Not used"},
{ 1, "Per Call"},
{ 2, "Hours"},
{ 3, "Days"},
{ 4, "Weeks"},
{ 5, "Per Agreement"},
{ 6, "Indefinite (i.e., authorized until canceled or deregistered)"},
{ 7, "Number of calls. Re-authorization should be attempted after this number of (rejected) call attempts"},
{ 0, NULL }
};
/* Value (octet 2)
Number of minutes hours, days, weeks, or
number of calls (as per Period). If Period
indicates anything else the Value is set to zero
on sending and ignored on receipt.
*/
static void
dissect_ansi_map_authorizationperiod(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
proto_tree_add_item(subtree, hf_ansi_map_authorizationperiod_period, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
proto_tree_add_item(subtree, hf_ansi_map_value, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.15 AvailabilityType */
static const value_string ansi_map_AvailabilityType_vals[] = {
{ 0, "Not used"},
{ 1, "Unspecified MS inactivity type"},
{ 0, NULL }
};
/* 6.5.2.16 BillingID */
static void
dissect_ansi_map_billingid(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
proto_tree_add_item(subtree, hf_ansi_map_MarketID, tvb, offset, 2, ENC_BIG_ENDIAN);
offset = offset + 2;
proto_tree_add_item(subtree, hf_ansi_map_swno, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* ID Number */
proto_tree_add_item(subtree, hf_ansi_map_idno, tvb, offset, 3, ENC_BIG_ENDIAN);
offset = offset + 3;
proto_tree_add_item(subtree, hf_ansi_map_segcount, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.20 CallingFeaturesIndicator */
static const value_string ansi_map_FeatureActivity_vals[] = {
{ 0, "Not used"},
{ 1, "Not authorized"},
{ 2, "Authorized but de-activated"},
{ 3, "Authorized and activated"},
{ 0, NULL }
};
static void
dissect_ansi_map_callingfeaturesindicator(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
int length;
proto_tree *subtree;
length = tvb_reported_length_remaining(tvb,offset);
subtree = proto_item_add_subtree(actx->created_item, ett_mscid);
/* Call Waiting: FeatureActivity, CW-FA (Octet 1 bits GH ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cwfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Forwarding No Answer FeatureActivity, CFNA-FA (Octet 1 bits EF ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfnafa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Forwarding Busy FeatureActivity, CFB-FA (Octet 1 bits CD ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfbfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Forwarding Unconditional FeatureActivity, CFU-FA (Octet 1 bits AB ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfufa, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
length--;
/* Call Transfer: FeatureActivity, CT-FA (Octet 2 bits GH ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_ctfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Voice Privacy FeatureActivity, VP-FA (Octet 2 bits EF ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_vpfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Delivery: FeatureActivity (not interpreted on reception by IS-41-C or later)
CD-FA (Octet 2 bits CD ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cdfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Three-Way Calling FeatureActivity, 3WC-FA (Octet 2 bits AB ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_3wcfa, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
length--;
/* Calling Number Identification Restriction Override FeatureActivity CNIROver-FA (Octet 3 bits GH ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cniroverfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Calling Number Identification Restriction: FeatureActivity CNIR-FA (Octet 3 bits EF ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cnirfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Calling Number Identification Presentation: FeatureActivity CNIP2-FA (Octet 3 bits CD ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cnip2fa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Calling Number Identification Presentation: FeatureActivity CNIP1-FA (Octet 3 bits AB ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cnip1fa, tvb, offset, 1, ENC_BIG_ENDIAN);
length--;
if ( length == 0)
return;
offset++;
/* USCF divert to voice mail: FeatureActivity USCFvm-FA (Octet 4 bits GH ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_uscfvmfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Answer Hold: FeatureActivity AH-FA (Octet 4 bits EF ) N.S0029-0 v1.0 */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_ahfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Data Privacy Feature Activity DP-FA (Octet 4 bits CD ) N.S0008-0 v 1.0 */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_dpfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Priority Call Waiting FeatureActivity PCW-FA (Octet 4 bits AB ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_pcwfa, tvb, offset, 1, ENC_BIG_ENDIAN);
length--;
if ( length == 0)
return;
offset++;
/* USCF divert to mobile station provided DN:FeatureActivity.USCFms-FA (Octet 5 bits AB ) */
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_uscfmsfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* USCF divert to network registered DN:FeatureActivity. USCFnr-FA (Octet 5 bits CD )*/
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_uscfnrfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* CDMA-Packet Data Service: FeatureActivity. CPDS-FA (Octet 5 bits EF ) N.S0029-0 v1.0*/
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cpdsfa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* CDMA-Concurrent Service:FeatureActivity. CCS-FA (Octet 5 bits GH ) N.S0029-0 v1.0*/
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_ccsfa, tvb, offset, 1, ENC_BIG_ENDIAN);
length--;
if ( length == 0)
return;
offset++;
/* TDMA Enhanced Privacy and Encryption:FeatureActivity.TDMA EPE-FA (Octet 6 bits AB ) N.S0029-0 v1.0*/
proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_epefa, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.27 CancellationType */
static const value_string ansi_map_CancellationType_vals[] = {
{ 0, "Not used"},
{ 1, "ServingSystemOption"},
{ 2, "ReportInCall."},
{ 3, "Discontinue"},
{ 0, NULL }
};
/* 6.5.2.29 CDMACallMode Updated with N.S0029-0 v1.0*/
/* Call Mode (octet 1, bit A) */
static const true_false_string ansi_map_CDMACallMode_cdma_bool_val = {
"CDMA 800 MHz channel (Band Class 0) acceptable.",
"CDMA 800 MHz channel (Band Class 0) not acceptable"
};
/* Call Mode (octet 1, bit B) */
static const true_false_string ansi_map_CallMode_amps_bool_val = {
"AAMPS 800 MHz channel acceptable",
"AMPS 800 MHz channel not acceptable"
};
/* Call Mode (octet 1, bit C) */
static const true_false_string ansi_map_CallMode_namps_bool_val = {
"NAMPS 800 MHz channel acceptable",
"NAMPS 800 MHz channel not acceptable"
};
/* Call Mode (octet 1, bit D) */
static const true_false_string ansi_map_CDMACallMode_cls1_bool_val = {
"CDMA 1900 MHz channel (Band Class 1) acceptable.",
"CDMA 1900 MHz channel (Band Class 1) not acceptable"
};
/* Call Mode (octet 1, bit E) */
static const true_false_string ansi_map_CDMACallMode_cls2_bool_val = {
"TACS channel (Band Class 2) acceptable",
"TACS channel (Band Class 2) not acceptable"
};
/* Call Mode (octet 1, bit F) */
static const true_false_string ansi_map_CDMACallMode_cls3_bool_val = {
"JTACS channel (Band Class 3) acceptable",
"JTACS channel (Band Class 3) not acceptable"
};
/* Call Mode (octet 1, bit G) */
static const true_false_string ansi_map_CDMACallMode_cls4_bool_val = {
"Korean PCS channel (Band Class 4) acceptable",
"Korean PCS channel (Band Class 4) not acceptable"
};
/* Call Mode (octet 1, bit H) */
static const true_false_string ansi_map_CDMACallMode_cls5_bool_val = {
"450 MHz channel (Band Class 5) acceptable",
"450 MHz channel (Band Class 5) not acceptable"
};
/* Call Mode (octet 2, bit A) */
static const true_false_string ansi_map_CDMACallMode_cls6_bool_val = {
"2 GHz channel (Band Class 6) acceptable.",
"2 GHz channel (Band Class 6) not acceptable."
};
/* Call Mode (octet 2, bit B) */
static const true_false_string ansi_map_CDMACallMode_cls7_bool_val = {
"700 MHz channel (Band Class 7) acceptable",
"700 MHz channel (Band Class 7) not acceptable"
};
/* Call Mode (octet 2, bit C) */
static const true_false_string ansi_map_CDMACallMode_cls8_bool_val = {
"1800 MHz channel (Band Class 8) acceptable",
"1800 MHz channel (Band Class 8) not acceptable"
};
/* Call Mode (octet 2, bit D) */
static const true_false_string ansi_map_CDMACallMode_cls9_bool_val = {
"900 MHz channel (Band Class 9) acceptable",
"900 MHz channel (Band Class 9) not acceptable"
};
/* Call Mode (octet 2, bit E) */
static const true_false_string ansi_map_CDMACallMode_cls10_bool_val = {
"Secondary 800 MHz channel (Band Class 10) acceptable.",
"Secondary 800 MHz channel (Band Class 10) not acceptable."
};
static void
dissect_ansi_map_cdmacallmode(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
int length;
proto_tree *subtree;
length = tvb_reported_length_remaining(tvb,offset);
subtree = proto_item_add_subtree(actx->created_item, ett_mscid);
/* Call Mode (octet 1, bit H) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_cls5, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Mode (octet 1, bit G) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_cls4, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Mode (octet 1, bit F) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_cls3, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Mode (octet 1, bit E) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_cls2, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Mode (octet 1, bit D) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_cls1, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Mode (octet 1, bit C) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_namps, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Mode (octet 1, bit B) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_amps, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Mode (octet 1, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_cdma, tvb, offset, 1, ENC_BIG_ENDIAN);
length--;
if ( length == 0)
return;
offset++;
/* Call Mode (octet 2, bit E) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_cls10, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Mode (octet 2, bit D) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_cls9, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Mode (octet 2, bit C) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_cls8, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Mode (octet 2, bit B) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_cls7, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Mode (octet 2, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_cdmacallmode_cls6, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.30 CDMAChannelData */
/* Updated with N.S0010-0 v 1.0 */
static const value_string ansi_map_cdmachanneldata_band_cls_vals[] = {
{ 0, "800 MHz Cellular System"},
{ 0, NULL }
};
static void
dissect_ansi_map_cdmachanneldata(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
int length;
proto_tree *subtree;
length = tvb_reported_length_remaining(tvb,offset);
subtree = proto_item_add_subtree(actx->created_item, ett_cdmachanneldata);
proto_tree_add_item(subtree, hf_ansi_map_reservedBitH, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_Frame_Offset, tvb, offset, 1, ENC_BIG_ENDIAN);
/* CDMA Channel Number */
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_CDMA_ch_no, tvb, offset, 2, ENC_BIG_ENDIAN);
offset = offset + 2;
length = length -2;
/* Band Class */
proto_tree_add_item(subtree, hf_ansi_map_reservedBitH, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_band_cls, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Long Code Mask */
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_lc_mask_b6, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_lc_mask_b5, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_lc_mask_b4, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_lc_mask_b3, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_lc_mask_b2, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_lc_mask_b1, tvb, offset, 1, ENC_BIG_ENDIAN);
length = length - 6;
if (length == 0)
return;
offset++;
/* NP_EXT */
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_np_ext, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Nominal Power */
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_nominal_pwr, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Number Preamble */
proto_tree_add_item(subtree, hf_ansi_map_cdmachanneldata_nr_preamble, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.31 CDMACodeChannel */
/* 6.5.2.41 CDMAStationClassMark */
/* Power Class: (PC) (octet 1, bits A and B) */
static const value_string ansi_map_CDMAStationClassMark_pc_vals[] = {
{ 0, "Class I"},
{ 1, "Class II"},
{ 2, "Class III"},
{ 3, "Reserved"},
{ 0, NULL }
};
/* Analog Transmission: (DTX) (octet 1, bit C) */
static const true_false_string ansi_map_CDMAStationClassMark_dtx_bool_val = {
"Discontinuous",
"Continuous"
};
/* Slotted Mode Indicator: (SMI) (octet 1, bit F) */
static const true_false_string ansi_map_CDMAStationClassMark_smi_bool_val = {
"Slotted capable",
"Slotted incapable"
};
/* Dual-mode Indicator(DMI) (octet 1, bit G) */
static const true_false_string ansi_map_CDMAStationClassMark_dmi_bool_val = {
"Dual-mode CDMA",
"CDMA only"
};
static void
dissect_ansi_map_cdmastationclassmark(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_cdmastationclassmark);
proto_tree_add_item(subtree, hf_ansi_map_reservedBitH, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Dual-mode Indicator(DMI) (octet 1, bit G) */
proto_tree_add_item(subtree, hf_ansi_map_cdmastationclassmark_dmi, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Slotted Mode Indicator: (SMI) (octet 1, bit F) */
proto_tree_add_item(subtree, hf_ansi_map_cdmastationclassmark_smi, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_reservedBitED, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Analog Transmission: (DTX) (octet 1, bit C) */
proto_tree_add_item(subtree, hf_ansi_map_cdmastationclassmark_dtx, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Power Class: (PC) (octet 1, bits A and B) */
proto_tree_add_item(subtree, hf_ansi_map_cdmastationclassmark_pc, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.47 ChannelData */
/* Discontinuous Transmission Mode (DTX) (octet 1, bits E and D) */
static const value_string ansi_map_ChannelData_dtx_vals[] = {
{ 0, "DTX disabled"},
{ 1, "Reserved. Treat the same as value 00, DTX disabled."},
{ 2, "DTX-low mode"},
{ 3, "DTX mode active or acceptable"},
{ 0, NULL }
};
static void
dissect_ansi_map_channeldata(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_channeldata);
/* SAT Color Code (SCC) (octet 1, bits H and G) */
proto_tree_add_item(subtree, hf_ansi_map_channeldata_scc, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Discontinuous Transmission Mode (DTX) (octet 1, bits E and D) */
proto_tree_add_item(subtree, hf_ansi_map_channeldata_dtx, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Voice Mobile Attenuation Code (VMAC) (octet 1, bits A - C)*/
proto_tree_add_item(subtree, hf_ansi_map_channeldata_vmac, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Channel Number (CHNO) ( octet 2 and 3 ) */
proto_tree_add_item(subtree, hf_ansi_map_channeldata_chno, tvb, offset, 2, ENC_BIG_ENDIAN);
}
/* 6.5.2.50 ConfidentialityModes */
/* Updated with N.S0008-0 v 1.0*/
/* Voice Privacy (VP) Confidentiality Status (octet 1, bit A) */
static const true_false_string ansi_map_ConfidentialityModes_bool_val = {
"On",
"Off"
};
static void
dissect_ansi_map_confidentialitymodes(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_confidentialitymodes);
/* DataPrivacy (DP) Confidentiality Status (octet 1, bit C) */
proto_tree_add_item(subtree, hf_ansi_map_ConfidentialityModes_dp, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Signaling Message Encryption (SE) Confidentiality Status (octet 1, bit B) */
proto_tree_add_item(subtree, hf_ansi_map_ConfidentialityModes_se, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Voice Privacy (VP) Confidentiality Status (octet 1, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_ConfidentialityModes_vp, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.51 ControlChannelData */
/* Digital Color Code (DCC) (octet 1, bit H and G) */
/* Control Mobile Attenuation Code (CMAC) (octet 1, bit A - C) */
/* Channel Number (CHNO) ( octet 2 and 3 ) */
/* Supplementary Digital Color Codes (SDCC1 and SDCC2) */
/* SDCC1 ( octet 4, bit D and C )*/
/* SDCC2 ( octet 4, bit A and B )*/
static void
dissect_ansi_map_controlchanneldata(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_controlchanneldata);
/* Digital Color Code (DCC) (octet 1, bit H and G) */
proto_tree_add_item(subtree, hf_ansi_map_controlchanneldata_dcc, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_reservedBitFED, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Control Mobile Attenuation Code (CMAC) (octet 1, bit A - C) */
proto_tree_add_item(subtree, hf_ansi_map_controlchanneldata_cmac, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Channel Number (CHNO) ( octet 2 and 3 ) */
proto_tree_add_item(subtree, hf_ansi_map_controlchanneldata_chno, tvb, offset, 2, ENC_BIG_ENDIAN);
/* Supplementary Digital Color Codes (SDCC1 and SDCC2) */
offset = offset +2;
/* SDCC1 ( octet 4, bit D and C )*/
proto_tree_add_item(subtree, hf_ansi_map_controlchanneldata_sdcc1, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_reservedBitHGFE, tvb, offset, 1, ENC_BIG_ENDIAN);
/* SDCC2 ( octet 4, bit A and B )*/
proto_tree_add_item(subtree, hf_ansi_map_controlchanneldata_sdcc2, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.52 CountUpdateReport */
static const value_string ansi_map_CountUpdateReport_vals[] = {
{ 0, "Class I"},
{ 1, "Class II"},
{ 2, "Class III"},
{ 3, "Reserved"},
{ 0, NULL }
};
/* 6.5.2.53 DeniedAuthorizationPeriod */
/* Period (octet 1) */
static const value_string ansi_map_deniedauthorizationperiod_period_vals[] = {
{ 0, "Not used"},
{ 1, "Per Call. Re-authorization should be attempted on the next call attempt"},
{ 2, "Hours"},
{ 3, "Days"},
{ 4, "Weeks"},
{ 5, "Per Agreement"},
{ 6, "Reserved"},
{ 7, "Number of calls. Re-authorization should be attempted after this number of (rejected) call attempts"},
{ 8, "Minutes"},
{ 0, NULL }
};
/* Value (octet 2)
Number of minutes hours, days, weeks, or
number of calls (as per Period). If Period
indicates anything else the Value is set to zero
on sending and ignored on receipt.
*/
static void
dissect_ansi_map_deniedauthorizationperiod(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
proto_tree_add_item(subtree, hf_ansi_map_deniedauthorizationperiod_period, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
proto_tree_add_item(subtree, hf_ansi_map_value, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.57 DigitCollectionControl */
/* TODO Add decoding here */
/* 6.5.2.64 ExtendedMSCID */
static const value_string ansi_map_msc_type_vals[] = {
{ 0, "Not specified"},
{ 1, "Serving MSC"},
{ 2, "Home MSC"},
{ 3, "Gateway MSC"},
{ 4, "HLR"},
{ 5, "VLR"},
{ 6, "EIR (reserved)"},
{ 7, "AC"},
{ 8, "Border MSC"},
{ 9, "Originating MSC"},
{ 0, NULL }
};
static void
dissect_ansi_map_extendedmscid(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_extendedmscid);
/* Type (octet 1) */
proto_tree_add_item(subtree, hf_ansi_map_msc_type, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
proto_tree_add_item(subtree, hf_ansi_map_MarketID, tvb, offset, 2, ENC_BIG_ENDIAN);
offset = offset + 2;
proto_tree_add_item(subtree, hf_ansi_map_swno, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.65 ExtendedSystemMyTypeCode */
static void
dissect_ansi_map_extendedsystemmytypecode(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_extendedsystemmytypecode);
/* Type (octet 1) */
proto_tree_add_item(subtree, hf_ansi_map_msc_type, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
dissect_ansi_map_SystemMyTypeCode(TRUE, tvb, offset, actx, subtree, hf_ansi_map_systemMyTypeCode);
}
/* 6.5.2.68 GeographicAuthorization */
/* Geographic Authorization (octet 1) */
static const value_string ansi_map_GeographicAuthorization_vals[] = {
{ 0, "Not used"},
{ 1, "Authorized for all MarketIDs served by the VLR"},
{ 2, "Authorized for this MarketID only"},
{ 3, "Authorized for this MarketID and Switch Number only"},
{ 4, "Authorized for this LocationAreaID within a MarketID only"},
{ 5, "VLR"},
{ 6, "EIR (reserved)"},
{ 7, "AC"},
{ 8, "Border MSC"},
{ 9, "Originating MSC"},
{ 0, NULL }
};
/* 6.5.2.71 HandoffState */
/* Party Involved (PI) (octet 1, bit A) */
static const true_false_string ansi_map_HandoffState_pi_bool_val = {
"Terminator is handing off",
"Originator is handing off"
};
static void
dissect_ansi_map_handoffstate(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_handoffstate);
/* Party Involved (PI) (octet 1, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_handoffstate_pi, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.72 InterMSCCircuitID */
/* Trunk Member Number (M) Octet2 */
static void
dissect_ansi_map_intermsccircuitid(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
guint8 octet, octet2;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
/* Trunk Group Number (G) Octet 1 */
octet = tvb_get_guint8(tvb,offset);
proto_tree_add_item(subtree, hf_ansi_map_tgn, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Trunk Member Number (M) Octet2 */
octet2 = tvb_get_guint8(tvb,offset);
proto_tree_add_item(subtree, hf_ansi_map_tmn, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_item_append_text(actx->created_item, " (G %u/M %u)", octet, octet2);
}
/* 6.5.2.78 MessageWaitingNotificationCount */
/* Type of messages (octet 1) */
static const value_string ansi_map_MessageWaitingNotificationCount_type_vals[] = {
{ 0, "Voice messages"},
{ 1, "Short Message Services (SMS) messages"},
{ 2, "Group 3 (G3) Fax messages"},
{ 0, NULL }
};
static void
dissect_ansi_map_messagewaitingnotificationcount(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
/* Type of messages (octet 1) */
proto_tree_add_item(subtree, hf_ansi_map_messagewaitingnotificationcount_tom, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Number of Messages Waiting (octet 2) */
proto_tree_add_item(subtree, hf_ansi_map_messagewaitingnotificationcount_no_mw, tvb, offset, 1, ENC_BIG_ENDIAN);
}
#if 0
/* 6.5.2.79 MessageWaitingNotificationType */
/* Pip Tone (PT) (octet 1, bit A) */
static const true_false_string ansi_map_MessageWaitingNotificationType_pt_bool_val = {
"Pip Tone (PT) notification is required",
"Pip Tone (PT) notification is not authorized or no notification is required"
};
#endif
#if 0
/* Alert Pip Tone (APT) (octet 1, bit B) */
static const true_false_string ansi_map_MessageWaitingNotificationType_apt_bool_val = {
"Alert Pip Tone (APT) notification is required",
"Alert Pip Tone (APT) notification is not authorized or notification is not required"
};
#endif
/* Message Waiting Indication (MWI) (octet 1, bits C and D) */
static const value_string ansi_map_MessageWaitingNotificationType_mwi_vals[] = {
{ 0, "No MWI. Message Waiting Indication (MWI) notification is not authorized or notification is not required"},
{ 1, "Reserved"},
{ 2, "MWI On. Message Waiting Indication (MWI) notification is required. Messages waiting"},
{ 3, "MWI Off. Message Waiting Indication (MWI) notification is required. No messages waiting"},
{ 0, NULL }
};
static void
dissect_ansi_map_messagewaitingnotificationtype(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
/* Message Waiting Indication (MWI) (octet 1, bits C and D) */
proto_tree_add_item(subtree, hf_ansi_map_messagewaitingnotificationtype_mwi, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Alert Pip Tone (APT) (octet 1, bit B) */
proto_tree_add_item(subtree, hf_ansi_map_messagewaitingnotificationtype_apt, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Pip Tone (PT) (octet 1, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_messagewaitingnotificationtype_pt, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.81 MobileIdentificationNumber */
/* 6.5.2.82 MSCID */
static void
dissect_ansi_map_mscid(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_mscid);
proto_tree_add_item(subtree, hf_ansi_map_MarketID, tvb, offset, 2, ENC_BIG_ENDIAN);
offset = offset + 2;
proto_tree_add_item(subtree, hf_ansi_map_swno, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.84 MSLocation */
static void
dissect_ansi_map_mslocation(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_mscid);
/* Latitude in tenths of a second octet 1 - 3 */
proto_tree_add_item(subtree, hf_ansi_map_mslocation_lat, tvb, offset, 3, ENC_BIG_ENDIAN);
offset = offset + 3;
/* Longitude in tenths of a second octet 4 - 6 */
proto_tree_add_item(subtree, hf_ansi_map_mslocation_long, tvb, offset, 3, ENC_BIG_ENDIAN);
offset = offset + 3;
/* Resolution in units of 1 foot octet 7, octet 8 optional */
proto_tree_add_item(subtree, hf_ansi_map_mslocation_res, tvb, offset, -1, ENC_BIG_ENDIAN);
}
/* 6.5.2.85 NAMPSCallMode */
static void
dissect_ansi_map_nampscallmode(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_mscid);
/* Call Mode (octet 1, bits A and B) */
proto_tree_add_item(subtree, hf_ansi_map_nampscallmode_amps, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_nampscallmode_namps, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.86 NAMPSChannelData */
/* Narrow Analog Voice Channel Assignment (NAVCA) (octet 1, bits A and B) */
static const value_string ansi_map_NAMPSChannelData_navca_vals[] = {
{ 0, "Wide. 30 kHz AMPS voice channel"},
{ 1, "Upper. 10 kHz NAMPS voice channel"},
{ 2, "Middle. 10 kHz NAMPS voice channel"},
{ 3, "Lower. 10 kHz NAMPS voice channel"},
{ 0, NULL }
};
/* Color Code Indicator (CCIndicator) (octet 1, bits C, D, and E) */
static const value_string ansi_map_NAMPSChannelData_ccinidicator_vals[] = {
{ 0, "ChannelData parameter SCC field applies"},
{ 1, "Digital SAT Color Code 1 (ignore SCC field)"},
{ 2, "Digital SAT Color Code 2 (ignore SCC field)"},
{ 3, "Digital SAT Color Code 3 (ignore SCC field)"},
{ 4, "Digital SAT Color Code 4 (ignore SCC field)"},
{ 5, "Digital SAT Color Code 5 (ignore SCC field)"},
{ 6, "Digital SAT Color Code 6 (ignore SCC field)"},
{ 7, "Digital SAT Color Code 7 (ignore SCC field)"},
{ 0, NULL }
};
static void
dissect_ansi_map_nampschanneldata(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_mscid);
/* Color Code Indicator (CCIndicator) (octet 1, bits C, D, and E) */
proto_tree_add_item(subtree, hf_ansi_map_nampschanneldata_CCIndicator, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Narrow Analog Voice Channel Assignment (NAVCA) (octet 1, bits A and B) */
proto_tree_add_item(subtree, hf_ansi_map_nampschanneldata_navca, tvb, offset, 1, ENC_BIG_ENDIAN);
}
#if 0
/* 6.5.2.88 OneTimeFeatureIndicator */
/* updated with N.S0012 */
/* Call Waiting for Future Incoming Call (CWFI) (octet 1, bits A and B) */
/* Call Waiting for Incoming Call (CWIC) (octet 1, bits C and D) */
static const value_string ansi_map_onetimefeatureindicator_cw_vals[] = {
{ 0, "Ignore"},
{ 1, "No CW"},
{ 2, "Normal CW"},
{ 3, "Priority CW"},
{ 0, NULL }
};
#endif
#if 0
/* MessageWaitingNotification (MWN) (octet 1, bits E and F) */
static const value_string ansi_map_onetimefeatureindicator_mwn_vals[] = {
{ 0, "Ignore"},
{ 1, "Pip Tone Inactive"},
{ 2, "Pip Tone Active"},
{ 3, "Reserved"},
{ 0, NULL }
};
#endif
#if 0
/* Calling Number Identification Restriction (CNIR) (octet 1, bits G and H)*/
static const value_string ansi_map_onetimefeatureindicator_cnir_vals[] = {
{ 0, "Ignore"},
{ 1, "CNIR Inactive"},
{ 2, "CNIR Active"},
{ 3, "Reserved"},
{ 0, NULL }
};
#endif
#if 0
/* Priority Access and Channel Assignment (PACA) (octet 2, bits A and B)*/
static const value_string ansi_map_onetimefeatureindicator_paca_vals[] = {
{ 0, "Ignore"},
{ 1, "PACA Demand Inactive"},
{ 2, "PACA Demand Activated"},
{ 3, "Reserved"},
{ 0, NULL }
};
#endif
#if 0
/* Flash Privileges (Flash) (octet 2, bits C and D) */
static const value_string ansi_map_onetimefeatureindicator_flash_vals[] = {
{ 0, "Ignore"},
{ 1, "Flash Inactive"},
{ 2, "Flash Active"},
{ 3, "Reserved"},
{ 0, NULL }
};
#endif
#if 0
/* Calling Name Restriction (CNAR) (octet 2, bits E and F) */
static const value_string ansi_map_onetimefeatureindicator_cnar_vals[] = {
{ 0, "Ignore"},
{ 1, "Presentation Allowed"},
{ 2, "Presentation Restricted."},
{ 3, "Blocking Toggle"},
{ 0, NULL }
};
#endif
static void
dissect_ansi_map_onetimefeatureindicator(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
/*
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_mscid);
*/
/* Calling Number Identification Restriction (CNIR) (octet 1, bits G and H)*/
/* MessageWaitingNotification (MWN) (octet 1, bits E and F) */
/* Call Waiting for Incoming Call (CWIC) (octet 1, bits C and D) */
/* Call Waiting for Future Incoming Call (CWFI) (octet 1, bits A and B) */
/*offset++;*/
/* Calling Name Restriction (CNAR) (octet 2, bits E and F) */
/* Flash Privileges (Flash) (octet 2, bits C and D) */
/* Priority Access and Channel Assignment (PACA) (octet 2, bits A and B)*/
}
/* 6.5.2.90 OriginationTriggers */
/* All Origination (All) (octet 1, bit A) */
static const true_false_string ansi_map_originationtriggers_all_bool_val = {
"Launch an OriginationRequest for any call attempt. This overrides all other values",
"Trigger is not active"
};
/* Local (octet 1, bit B) */
static const true_false_string ansi_map_originationtriggers_local_bool_val = {
"Launch an OriginationRequest for any local call attempt",
"Trigger is not active"
};
/* Intra-LATA Toll (ILATA) (octet 1, bit C) */
static const true_false_string ansi_map_originationtriggers_ilata_bool_val = {
"Launch an OriginationRequest for any intra-LATA call attempt",
"Trigger is not active"
};
/* Inter-LATA Toll (OLATA) (octet 1, bit D) */
static const true_false_string ansi_map_originationtriggers_olata_bool_val = {
"Launch an OriginationRequest for any inter-LATA toll call attempt",
"Trigger is not active"
};
/* International (Int'l ) (octet 1, bit E) */
static const true_false_string ansi_map_originationtriggers_int_bool_val = {
"Launch an OriginationRequest for any international call attempt",
"Trigger is not active"
};
/* World Zone (WZ) (octet 1, bit F) */
static const true_false_string ansi_map_originationtriggers_wz_bool_val = {
"Launch an OriginationRequest for any call attempt outside of the current World Zone (as defined in ITU-T Rec. E.164)",
"Trigger is not active"
};
/* Unrecognized Number (Unrec) (octet 1, bit G) */
static const true_false_string ansi_map_originationtriggers_unrec_bool_val = {
"Launch an OriginationRequest for any call attempt to an unrecognized number",
"Trigger is not active"
};
/* Revertive Call (RvtC) (octet 1, bit H)*/
static const true_false_string ansi_map_originationtriggers_rvtc_bool_val = {
"Launch an OriginationRequest for any Revertive Call attempt",
"Trigger is not active"
};
/* Star (octet 2, bit A) */
static const true_false_string ansi_map_originationtriggers_star_bool_val = {
"Launch an OriginationRequest for any number beginning with a Star '*' digit",
"Trigger is not active"
};
/* Double Star (DS) (octet 2, bit B) */
static const true_false_string ansi_map_originationtriggers_ds_bool_val = {
"Launch an OriginationRequest for any number beginning with two Star '**' digits",
"Trigger is not active"
};
/* Pound (octet 2, bit C) */
static const true_false_string ansi_map_originationtriggers_pound_bool_val = {
"Launch an OriginationRequest for any number beginning with a Pound '#' digit",
"Trigger is not active"
};
/* Double Pound (DP) (octet 2, bit D) */
static const true_false_string ansi_map_originationtriggers_dp_bool_val = {
"Launch an OriginationRequest for any number beginning with two Pound '##' digits",
"Trigger is not active"
};
/* Prior Agreement (PA) (octet 2, bit E) */
static const true_false_string ansi_map_originationtriggers_pa_bool_val = {
"Launch an OriginationRequest for any number matching a criteria of a prior agreement",
"Trigger is not active"
};
/* No digits (octet 3, bit A) */
static const true_false_string ansi_map_originationtriggers_nodig_bool_val = {
"Launch an OriginationRequest for any call attempt with no digits",
"Trigger is not active"
};
/* 1 digit (octet 3, bit B) */
static const true_false_string ansi_map_originationtriggers_onedig_bool_val = {
"Launch an OriginationRequest for any call attempt with 1 digit",
"Trigger is not active"
};
/* 1 digit (octet 3, bit C) */
static const true_false_string ansi_map_originationtriggers_twodig_bool_val = {
"Launch an OriginationRequest for any call attempt with 2 digits",
"Trigger is not active"
};
/* 1 digit (octet 3, bit D) */
static const true_false_string ansi_map_originationtriggers_threedig_bool_val = {
"Launch an OriginationRequest for any call attempt with 3 digits",
"Trigger is not active"
};
/* 1 digit (octet 3, bit E) */
static const true_false_string ansi_map_originationtriggers_fourdig_bool_val = {
"Launch an OriginationRequest for any call attempt with 4 digits",
"Trigger is not active"
};
/* 1 digit (octet 3, bit F) */
static const true_false_string ansi_map_originationtriggers_fivedig_bool_val = {
"Launch an OriginationRequest for any call attempt with 5 digits",
"Trigger is not active"
};
/* 1 digit (octet 3, bit G) */
static const true_false_string ansi_map_originationtriggers_sixdig_bool_val = {
"Launch an OriginationRequest for any call attempt with 6 digits",
"Trigger is not active"
};
/* 1 digit (octet 3, bit H) */
static const true_false_string ansi_map_originationtriggers_sevendig_bool_val = {
"Launch an OriginationRequest for any call attempt with 7 digits",
"Trigger is not active"
};
/* 1 digit (octet 4, bit A) */
static const true_false_string ansi_map_originationtriggers_eightdig_bool_val = {
"Launch an OriginationRequest for any call attempt with 8 digits",
"Trigger is not active"
};
/* 1 digit (octet 4, bit B) */
static const true_false_string ansi_map_originationtriggers_ninedig_bool_val = {
"Launch an OriginationRequest for any call attempt with 9 digits",
"Trigger is not active"
};
/* 1 digit (octet 4, bit C) */
static const true_false_string ansi_map_originationtriggers_tendig_bool_val = {
"Launch an OriginationRequest for any call attempt with 10 digits",
"Trigger is not active"
};
/* 1 digit (octet 4, bit D) */
static const true_false_string ansi_map_originationtriggers_elevendig_bool_val = {
"Launch an OriginationRequest for any call attempt with 11 digits",
"Trigger is not active"
};
/* 1 digit (octet 4, bit E) */
static const true_false_string ansi_map_originationtriggers_twelvedig_bool_val = {
"Launch an OriginationRequest for any call attempt with 12 digits",
"Trigger is not active"
};
/* 1 digit (octet 4, bit F) */
static const true_false_string ansi_map_originationtriggers_thirteendig_bool_val = {
"Launch an OriginationRequest for any call attempt with 13 digits",
"Trigger is not active"
};
/* 1 digit (octet 4, bit G) */
static const true_false_string ansi_map_originationtriggers_fourteendig_bool_val = {
"Launch an OriginationRequest for any call attempt with 14 digits",
"Trigger is not active"
};
/* 1 digit (octet 4, bit H) */
static const true_false_string ansi_map_originationtriggers_fifteendig_bool_val = {
"Launch an OriginationRequest for any call attempt with 15 digits",
"Trigger is not active"
};
static void
dissect_ansi_map_originationtriggers(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_originationtriggers);
/* Revertive Call (RvtC) (octet 1, bit H)*/
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_rvtc, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Unrecognized Number (Unrec) (octet 1, bit G) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_unrec, tvb, offset, 1, ENC_BIG_ENDIAN);
/* World Zone (WZ) (octet 1, bit F) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_wz, tvb, offset, 1, ENC_BIG_ENDIAN);
/* International (Int'l ) (octet 1, bit E) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_int, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Inter-LATA Toll (OLATA) (octet 1, bit D) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_olata, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Intra-LATA Toll (ILATA) (octet 1, bit C) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_ilata, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Local (octet 1, bit B) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_local, tvb, offset, 1, ENC_BIG_ENDIAN);
/* All Origination (All) (octet 1, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_all, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/*Prior Agreement (PA) (octet 2, bit E) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_pa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Double Pound (DP) (octet 2, bit D) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_dp, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Pound (octet 2, bit C) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_pound, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Double Star (DS) (octet 2, bit B) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_ds, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Star (octet 2, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_star, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* 7 digit (octet 3, bit H) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_sevendig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 6 digit (octet 3, bit G) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_sixdig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 5 digit (octet 3, bit F) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_fivedig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 4 digit (octet 3, bit E) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_fourdig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 3 digit (octet 3, bit D) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_threedig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 2 digit (octet 3, bit C) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_twodig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 1 digit (octet 3, bit B) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_onedig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* No digits (octet 3, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_nodig, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* 15 digit (octet 4, bit H) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_fifteendig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 14 digit (octet 4, bit G) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_fourteendig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 13 digit (octet 4, bit F) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_thirteendig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 12 digit (octet 4, bit E) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_twelvedig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 11 digit (octet 4, bit D) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_elevendig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 10 digit (octet 4, bit C) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_tendig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 9 digit (octet 4, bit B) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_ninedig, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 8 digits (octet 4, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_originationtriggers_eightdig, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.91 PACAIndicator */
/* Permanent Activation (PA) (octet 1, bit A) */
static const true_false_string ansi_map_pacaindicator_pa_bool_val = {
"PACA is permanently activated",
"PACA is not permanently activated"
};
static const value_string ansi_map_PACA_Level_vals[] = {
{ 0, "Not used"},
{ 1, "Priority Level. 1 This is the highest level"},
{ 2, "Priority Level 2"},
{ 3, "Priority Level 3"},
{ 4, "Priority Level 4"},
{ 5, "Priority Level 5"},
{ 6, "Priority Level 6"},
{ 7, "Priority Level 7"},
{ 8, "Priority Level 8"},
{ 9, "Priority Level 9"},
{ 10, "Priority Level 10"},
{ 11, "Priority Level 11"},
{ 12, "Priority Level 12"},
{ 13, "Priority Level 13"},
{ 14, "Priority Level 14"},
{ 15, "Priority Level 15"},
{ 0, NULL }
};
static void
dissect_ansi_map_pacaindicator(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_pacaindicator);
/* PACA Level (octet 1, bits B-E) */
proto_tree_add_item(subtree, hf_ansi_map_PACA_Level, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Permanent Activation (PA) (octet 1, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_pacaindicator_pa, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.92 PageIndicator */
static const value_string ansi_map_PageIndicator_vals[] = {
{ 0, "Not used"},
{ 1, "Page"},
{ 2, "Listen only"},
{ 0, NULL }
};
/* 6.5.2.93 PC_SSN */
static void
dissect_ansi_map_pc_ssn(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
guint8 b1,b2,b3;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
/* Type (octet 1) */
proto_tree_add_item(subtree, hf_ansi_map_msc_type, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* Point Code Member Number octet 2 */
b1 = tvb_get_guint8(tvb,offset);
offset++;
/* Point Code Cluster Number octet 3 */
b2 = tvb_get_guint8(tvb,offset);
offset++;
/* Point Code Network Number octet 4 */
b3 = tvb_get_guint8(tvb,offset);
offset++;
proto_tree_add_bytes_format_value(subtree, hf_ansi_map_point_code, tvb, offset-3, 3, NULL, "%u-%u-%u", b3, b2, b1);
proto_tree_add_item(subtree, hf_ansi_map_SSN, tvb, offset, 1, ENC_NA);
}
/* 6.5.2.94 PilotBillingID */
static void
dissect_ansi_map_pilotbillingid(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
/* First Originating MarketID octet 1 and 2 */
proto_tree_add_item(subtree, hf_ansi_map_MarketID, tvb, offset, 2, ENC_BIG_ENDIAN);
offset = offset + 2;
/* First Originating Switch Number octet 3*/
proto_tree_add_item(subtree, hf_ansi_map_swno, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* ID Number */
proto_tree_add_item(subtree, hf_ansi_map_idno, tvb, offset, 3, ENC_BIG_ENDIAN);
offset = offset + 3;
proto_tree_add_item(subtree, hf_ansi_map_segcount, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.96 PreferredLanguageIndicator */
static const value_string ansi_map_PreferredLanguageIndicator_vals[] = {
{ 0, "Unspecified"},
{ 1, "English"},
{ 2, "French"},
{ 3, "Spanish"},
{ 4, "German"},
{ 5, "Portuguese"},
{ 0, NULL }
};
/* 6.5.2.106 ReceivedSignalQuality */
/* a. This octet is encoded the same as octet 1 in the SignalQuality parameter (see
6.5.2.121).
*/
/* 6.5.2.118 SetupResult */
static const value_string ansi_map_SetupResult_vals[] = {
{ 0, "Not used"},
{ 1, "Unsuccessful"},
{ 2, "Successful"},
{ 0, NULL }
};
/* 6.5.2.121 SignalQuality */
/* TODO */
/* 6.5.2.122 SMS_AccessDeniedReason (TIA/EIA-41.5-D, page 5-256)
N.S0011-0 v 1.0
*/
static const value_string ansi_map_SMS_AccessDeniedReason_vals[] = {
{ 0, "Not used"},
{ 1, "Denied"},
{ 2, "Postponed"},
{ 3, "Unavailable"},
{ 4, "Invalid"},
{ 0, NULL }
};
/* 6.5.2.125 SMS_CauseCode (TIA/EIA-41.5-D, page 5-262)
N.S0011-0 v 1.0
*/
static const value_string ansi_map_SMS_CauseCode_vals[] = {
{ 0, "Address vacant"},
{ 1, "Address translation failure"},
{ 2, "Network resource shortage"},
{ 3, "Network failure"},
{ 4, "Invalid Teleservice ID"},
{ 5, "Other network problem"},
{ 6, "Unsupported network interface"},
{ 8, "CDMA handset-based position determination failure"},
{ 9, "CDMA handset-based position determination resources released - voice service request"},
{ 10, "CDMA handset-based position determination resources released - voice service request - message acknowledged"},
{ 11, "Reserved"},
{ 12, "Reserved"},
{ 13, "Reserved"},
{ 14, "Emergency Services Call Precedence"},
{ 32, "No page response"},
{ 33, "Destination busy"},
{ 34, "No acknowledgment"},
{ 35, "Destination resource shortage"},
{ 36, "SMS delivery postponed"},
{ 37, "Destination out of service"},
{ 38, "Destination no longer at this address"},
{ 39, "Other terminal problem"},
{ 64, "Radio interface resource shortage"},
{ 65, "Radio interface incompatibility"},
{ 66, "Other radio interface problem"},
{ 67, "Unsupported Base Station Capability"},
{ 96, "Encoding problem"},
{ 97, "Service origination denied"},
{ 98, "Service termination denied"},
{ 99, "Supplementary service not supported"},
{ 100, "Service not supported"},
{ 101, "Reserved"},
{ 102, "Missing expected parameter"},
{ 103, "Missing mandatory parameter"},
{ 104, "Unrecognized parameter value"},
{ 105, "Unexpected parameter value"},
{ 106, "User Data size error"},
{ 107, "Other general problems"},
{ 108, "Session not active"},
{ 109, "Reserved"},
{ 110, "MS Disconnect"},
{ 0, NULL }
};
static value_string_ext ansi_map_SMS_CauseCode_vals_ext = VALUE_STRING_EXT_INIT(ansi_map_SMS_CauseCode_vals);
/* 6.5.2.126 SMS_ChargeIndicator */
/* SMS Charge Indicator (octet 1) */
static const value_string ansi_map_SMS_ChargeIndicator_vals[] = {
{ 0, "Not used"},
{ 1, "No charge"},
{ 2, "Charge original originator"},
{ 3, "Charge original destination"},
{ 0, NULL }
};
/* 4 through 63 Reserved. Treat the same as value 1, No charge.
64 through 127 Reserved. Treat the same as value 2, Charge original originator.
128 through 223 Reserved. Treat the same as value 3, Charge original destination.
224 through 255 Reserved for TIA/EIA-41 protocol extension. If unknown, treat the same as value 2, Charge
original originator.
*/
/* 6.5.2.130 SMS_NotificationIndicator N.S0005-0 v 1.0*/
static const value_string ansi_map_SMS_NotificationIndicator_vals[] = {
{ 0, "Not used"},
{ 1, "Notify when available"},
{ 2, "Do not notify when available"},
{ 0, NULL }
};
/* 6.5.2.136 SMS_OriginationRestrictions */
/* DEFAULT (octet 1, bits A and B) */
static const value_string ansi_map_SMS_OriginationRestrictions_default_vals[] = {
{ 0, "Block all"},
{ 1, "Reserved"},
{ 2, "Allow specific"},
{ 3, "Allow all"},
{ 0, NULL }
};
/* DIRECT (octet 1, bit C) */
static const true_false_string ansi_map_SMS_OriginationRestrictions_direct_bool_val = {
"Allow Direct",
"Block Direct"
};
/* Force Message Center (FMC) (octet 1, bit D) */
static const true_false_string ansi_map_SMS_OriginationRestrictions_fmc_bool_val = {
"Force Indirect",
"No effect"
};
static void
dissect_ansi_map_sms_originationrestrictions(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_sms_originationrestrictions);
proto_tree_add_item(subtree, hf_ansi_map_reservedBitHGFE, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_sms_originationrestrictions_fmc, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_sms_originationrestrictions_direct, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_sms_originationrestrictions_default, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.137 SMS_TeleserviceIdentifier */
/* Updated with N.S0011-0 v 1.0 */
#if 0
/* SMS Teleservice Identifier (octets 1 and 2) */
static const value_string ansi_map_SMS_TeleserviceIdentifier_vals[] = {
{ 0, "Not used"},
{ 1, "Reserved for maintenance"},
{ 2, "SSD Update no response"},
{ 3, "SSD Update successful"},
{ 4, "SSD Update failed"},
{ 4096, "AMPS Extended Protocol Enhanced Services" },
{ 4097, "CDMA Cellular Paging Teleservice" },
{ 4098, "CDMA Cellular Messaging Teleservice" },
{ 4099, "CDMA Voice Mail Notification" },
{ 32513, "TDMA Cellular Messaging Teleservice" },
{ 32520, "TDMA System Assisted Mobile Positioning through Satellite (SAMPS)" },
{ 32584, "TDMA Segmented System Assisted Mobile Positioning Service" },
{ 0, NULL }
};
#endif
/* 6.5.2.140 SPINITriggers */
/* All Origination (All) (octet 1, bit A) */
/* 6.5.2.142 SSDUpdateReport */
static const value_string ansi_map_SSDUpdateReport_vals[] = {
{ 0, "Not used"},
{ 4096, "AMPS Extended Protocol Enhanced Services"},
{ 4097, "CDMA Cellular Paging Teleservice"},
{ 4098, "CDMA Cellular Messaging Teleservice"},
{ 32513, "TDMA Cellular Messaging Teleservice"},
{ 32514, "TDMA Cellular Paging Teleservice (CPT-136)"},
{ 32515, "TDMA Over-the-Air Activation Teleservice (OATS)"},
{ 32516, "TDMA Over-the-Air Programming Teleservice (OPTS)"},
{ 32517, "TDMA General UDP Transport Service (GUTS)"},
{ 32576, "Reserved"},
{ 32577, "TDMA Segmented Cellular MessagingTeleservice"},
{ 32578, "TDMA Segmented Cellular Paging Teleservice"},
{ 32579, "TDMA Segmented Over-the-Air Activation Teleservice (OATS)"},
{ 32580, "TDMA Segmented Over-the-Air Programming Teleservice (OPTS)."},
{ 32581, "TDMA Segmented General UDP Transport Service (GUTS)"},
{ 32576, "Reserved"},
{ 0, NULL }
};
/* 6.5.2.143 StationClassMark */
/* 6.5.2.144 SystemAccessData */
/* 6.5.2.146 SystemCapabilities */
/* Updated in N.S0008-0 v 1.0 */
static const true_false_string ansi_map_systemcapabilities_auth_bool_val = {
"Authentication parameters were requested on this system access (AUTH=1 in the OMT)",
"Authentication parameters were not requested on this system access (AUTH=0 in the OMT)."
};
static const true_false_string ansi_map_systemcapabilities_se_bool_val = {
"Signaling Message Encryption supported by the system",
"Signaling Message Encryption not supported by the system"
};
static const true_false_string ansi_map_systemcapabilities_vp_bool_val = {
"Voice Privacy supported by the system",
"Voice Privacy not supported by the system"
};
static const true_false_string ansi_map_systemcapabilities_cave_bool_val = {
"System can execute the CAVE algorithm and share SSD for the indicated MS",
"System cannot execute the CAVE algorithm and cannot share SSD for the indicated MS"
};
static const true_false_string ansi_map_systemcapabilities_ssd_bool_val = {
"SSD is shared with the system for the indicated MS",
"SSD is not shared with the system for the indicated MS"
};
static const true_false_string ansi_map_systemcapabilities_dp_bool_val = {
"DP is supported by the system",
"DP is not supported by the system"
};
static void
dissect_ansi_map_systemcapabilities(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_systemcapabilities);
proto_tree_add_item(subtree, hf_ansi_map_reservedBitHG, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_systemcapabilities_dp, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_systemcapabilities_ssd, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_systemcapabilities_cave, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_systemcapabilities_vp, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_systemcapabilities_se, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_map_systemcapabilities_auth, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.151 TDMABurstIndicator */
/* 6.5.2.152 TDMACallMode */
/* 6.5.2.153 TDMAChannelData Updated in N.S0007-0 v 1.0*/
/* 6.5.2.155 TerminationAccessType */
/* XXX Fix Me, Fill up the values or do special decoding? */
static const value_string ansi_map_TerminationAccessType_vals[] = {
{ 0, "Not used"},
{ 1, "Reserved for controlling system assignment (may be a trunk group identifier)."},
/* 1 through 127 */
{ 127, "Reserved for controlling system assignment (may be a trunk group identifier)."},
{ 128, "Reserved for TIA/EIA-41 protocol extension. If unknown, treat the same as value 253, Land-to-Mobile Directory Number access"},
/* 128 through 160 */
{ 160, "Reserved for TIA/EIA-41 protocol extension. If unknown, treat the same as value 253, Land-to-Mobile Directory Number access"},
{ 161, "Reserved for this Standard"},
/* 161 through 251 */
{ 151, "Reserved for this Standard"},
{ 252, "Mobile-to-Mobile Directory Number access"},
{ 253, "Land-to-Mobile Directory Number access"},
{ 254, "Remote Feature Control port access"},
{ 255, "Roamer port access"},
{ 0, NULL }
};
/* 6.5.2.158 TerminationTreatment */
static const value_string ansi_map_TerminationTreatment_vals[] = {
{ 0, "Not used"},
{ 1, "MS Termination"},
{ 2, "Voice Mail Storage"},
{ 3, "Voice Mail Retrieval"},
{ 4, "Dialogue Termination"},
{ 0, NULL }
};
/* 6.5.2.159 TerminationTriggers */
/* Busy (octet 1, bits A and B) */
static const value_string ansi_map_terminationtriggers_busy_vals[] = {
{ 0, "Busy Call"},
{ 1, "Busy Trigger"},
{ 2, "Busy Leg"},
{ 3, "Reserved. Treat as an unrecognized parameter value"},
{ 0, NULL }
};
/* Routing Failure (RF) (octet 1, bits C and D) */
static const value_string ansi_map_terminationtriggers_rf_vals[] = {
{ 0, "Failed Call"},
{ 1, "Routing Failure Trigger"},
{ 2, "Failed Leg"},
{ 3, "Reserved. Treat as an unrecognized parameter value"},
{ 0, NULL }
};
/* No Page Response (NPR) (octet 1, bits E and F) */
static const value_string ansi_map_terminationtriggers_npr_vals[] = {
{ 0, "No Page Response Call"},
{ 1, "No Page Response Trigger"},
{ 2, "No Page Response Leg"},
{ 3, "Reserved. Treat as an unrecognized parameter value"},
{ 0, NULL }
};
/* No Answer (NA) (octet 1, bits G and H) */
static const value_string ansi_map_terminationtriggers_na_vals[] = {
{ 0, "No Answer Call"},
{ 1, "No Answer Trigger"},
{ 2, "No Answer Leg"},
{ 3, "Reserved"},
{ 0, NULL }
};
/* None Reachable (NR) (octet 2, bit A) */
static const value_string ansi_map_terminationtriggers_nr_vals[] = {
{ 0, "Member Not Reachable"},
{ 1, "Group Not Reachable"},
{ 0, NULL }
};
/* 6.5.2.159 TerminationTriggers N.S0005-0 v 1.0*/
static void
dissect_ansi_map_terminationtriggers(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_transactioncapability);
proto_tree_add_item(subtree, hf_ansi_map_reservedBitH, tvb, offset, 1, ENC_BIG_ENDIAN);
/* No Page Response (NPR) (octet 1, bits E and F) */
proto_tree_add_item(subtree, hf_ansi_map_terminationtriggers_npr, tvb, offset, 1, ENC_BIG_ENDIAN);
/* No Answer (NA) (octet 1, bits G and H) */
proto_tree_add_item(subtree, hf_ansi_map_terminationtriggers_na, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Routing Failure (RF) (octet 1, bits C and D) */
proto_tree_add_item(subtree, hf_ansi_map_terminationtriggers_rf, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Busy (octet 1, bits A and B) */
proto_tree_add_item(subtree, hf_ansi_map_terminationtriggers_busy, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* None Reachable (NR) (octet 2, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_terminationtriggers_nr, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.160 TransactionCapability (TIA/EIA-41.5-D, page 5-315) */
/* Updated with N.S0010-0 v 1.0, N.S0012-0 v 1.0 N.S0013-0 v 1.0 */
static const true_false_string ansi_map_trans_cap_prof_bool_val = {
"The system is capable of supporting the IS-41-C profile parameters",
"The system is not capable of supporting the IS-41-C profile parameters"
};
static const true_false_string ansi_map_trans_cap_busy_bool_val = {
"The system is capable of detecting a busy condition at the current time",
"The system is not capable of detecting a busy condition at the current time"
};
static const true_false_string ansi_map_trans_cap_ann_bool_val = {
"The system is capable of honoring the AnnouncementList parameter at the current time",
"The system is not capable of honoring the AnnouncementList parameter at the current time"
};
static const true_false_string ansi_map_trans_cap_rui_bool_val = {
"The system is capable of interacting with the user",
"The system is not capable of interacting with the user"
};
static const true_false_string ansi_map_trans_cap_spini_bool_val = {
"The system is capable of supporting local SPINI operation",
"The system is not capable of supporting local SPINI operation at the current time"
};
static const true_false_string ansi_map_trans_cap_uzci_bool_val = {
"The system is User Zone capable at the current time",
"The system is not User Zone capable at the current time"
};
static const true_false_string ansi_map_trans_cap_ndss_bool_val = {
"Serving system is NDSS capable",
"Serving system is not NDSS capable"
};
static const true_false_string ansi_map_trans_cap_nami_bool_val = {
"The system is CNAP/CNAR capable",
"The system is not CNAP/CNAR capable"
};
static const value_string ansi_map_trans_cap_multerm_vals[] = {
{ 0, "The system cannot accept a termination at this time (i.e., cannot accept routing information)"},
{ 1, "The system supports the number of call legs indicated"},
{ 2, "The system supports the number of call legs indicated"},
{ 3, "The system supports the number of call legs indicated"},
{ 4, "The system supports the number of call legs indicated"},
{ 5, "The system supports the number of call legs indicated"},
{ 6, "The system supports the number of call legs indicated"},
{ 7, "The system supports the number of call legs indicated"},
{ 8, "The system supports the number of call legs indicated"},
{ 9, "The system supports the number of call legs indicated"},
{ 10, "The system supports the number of call legs indicated"},
{ 11, "The system supports the number of call legs indicated"},
{ 12, "The system supports the number of call legs indicated"},
{ 13, "The system supports the number of call legs indicated"},
{ 14, "The system supports the number of call legs indicated"},
{ 15, "The system supports the number of call legs indicated"},
{ 0, NULL }
};
static const true_false_string ansi_map_trans_cap_tl_bool_val = {
"The system is capable of supporting the TerminationList parameter at the current time",
"The system is not capable of supporting the TerminationList parameter at the current time"
};
static const true_false_string ansi_map_trans_cap_waddr_bool_val = {
"The system is capable of supporting the TriggerAddressList parameter",
"The system is not capable of supporting the TriggerAddressList parameter"
};
static void
dissect_ansi_map_transactioncapability(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_transactioncapability);
/*NAME Capability Indicator (NAMI) (octet 1, bit H) */
proto_tree_add_item(subtree, hf_ansi_map_trans_cap_nami, tvb, offset, 1, ENC_BIG_ENDIAN);
/* NDSS Capability (NDSS) (octet 1, bit G) */
proto_tree_add_item(subtree, hf_ansi_map_trans_cap_ndss, tvb, offset, 1, ENC_BIG_ENDIAN);
/* UZ Capability Indicator (UZCI) (octet 1, bit F) */
proto_tree_add_item(subtree, hf_ansi_map_trans_cap_uzci, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Subscriber PIN Intercept (SPINI) (octet 1, bit E) */
proto_tree_add_item(subtree, hf_ansi_map_trans_cap_spini, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Remote User Interaction (RUI) (octet 1, bit D) */
proto_tree_add_item(subtree, hf_ansi_map_trans_cap_rui, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Announcements (ANN) (octet 1, bit C) */
proto_tree_add_item(subtree, hf_ansi_map_trans_cap_ann, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Busy Detection (BUSY) (octet 1, bit B) */
proto_tree_add_item(subtree, hf_ansi_map_trans_cap_busy, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Profile (PROF) (octet 1, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_trans_cap_prof, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* WIN Addressing (WADDR) (octet 2, bit F) */
proto_tree_add_item(subtree, hf_ansi_trans_cap_waddr, tvb, offset, 1, ENC_BIG_ENDIAN);
/* TerminationList (TL) (octet 2, bit E) */
proto_tree_add_item(subtree, hf_ansi_trans_cap_tl, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Multiple Terminations (octet 2, bits A-D) */
proto_tree_add_item(subtree, hf_ansi_trans_cap_multerm, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.162 UniqueChallengeReport */
/* Unique Challenge Report (octet 1) */
static const value_string ansi_map_UniqueChallengeReport_vals[] = {
{ 0, "Not used"},
{ 1, "Unique Challenge not attempted"},
{ 2, "Unique Challenge no response"},
{ 3, "Unique Challenge successful"},
{ 4, "Unique Challenge failed"},
{ 0, NULL }
};
/* 6.5.2.166 VoicePrivacyMask */
/* 6.5.2.e (TSB76) CDMAServiceConfigurationRecord N.S0008-0 v 1.0 */
/* a. This field carries the CDMA Service Configuration Record. The bit-layout is the
same as that of Service Configuration Record in TSB74, and J-STD-008.
*/
/* 6.5.2.f CDMAServiceOption N.S0010-0 v 1.0 */
/* values copied from old ANSI map dissector */
static const range_string cdmaserviceoption_vals[] = {
{ 1, 1, "Basic Variable Rate Voice Service (8 kbps)" },
{ 2, 2, "Mobile Station Loopback (8 kbps)" },
{ 3, 3, "Enhanced Variable Rate Voice Service (8 kbps)" },
{ 4, 4, "Asynchronous Data Service (9.6 kbps)" },
{ 5, 5, "Group 3 Facsimile (9.6 kbps)" },
{ 6, 6, "Short Message Services (Rate Set 1)" },
{ 7, 7, "Packet Data Service: Internet or ISO Protocol Stack (9.6 kbps)" },
{ 8, 8, "Packet Data Service: CDPD Protocol Stack (9.6 kbps)" },
{ 9, 9, "Mobile Station Loopback (13 kbps)" },
{ 10, 10, "STU-III Transparent Service" },
{ 11, 11, "STU-III Non-Transparent Service" },
{ 12, 12, "Asynchronous Data Service (14.4 or 9.6 kbps)" },
{ 13, 13, "Group 3 Facsimile (14.4 or 9.6 kbps)" },
{ 14, 14, "Short Message Services (Rate Set 2)" },
{ 15, 15, "Packet Data Service: Internet or ISO Protocol Stack (14.4 kbps)" },
{ 16, 16, "Packet Data Service: CDPD Protocol Stack (14.4 kbps)" },
{ 17, 17, "High Rate Voice Service (13 kbps)" },
{ 18, 18, "Over-the-Air Parameter Administration (Rate Set 1)" },
{ 19, 19, "Over-the-Air Parameter Administration (Rate Set 2)" },
{ 20, 20, "Group 3 Analog Facsimile (Rate Set 1)" },
{ 21, 21, "Group 3 Analog Facsimile (Rate Set 2)" },
{ 22, 22, "High Speed Packet Data Service: Internet or ISO Protocol Stack (RS1 forward, RS1 reverse)" },
{ 23, 23, "High Speed Packet Data Service: Internet or ISO Protocol Stack (RS1 forward, RS2 reverse)" },
{ 24, 24, "High Speed Packet Data Service: Internet or ISO Protocol Stack (RS2 forward, RS1 reverse)" },
{ 25, 25, "High Speed Packet Data Service: Internet or ISO Protocol Stack (RS2 forward, RS2 reverse)" },
{ 26, 26, "High Speed Packet Data Service: CDPD Protocol Stack (RS1 forward, RS1 reverse)" },
{ 27, 27, "High Speed Packet Data Service: CDPD Protocol Stack (RS1 forward, RS2 reverse)" },
{ 28, 28, "High Speed Packet Data Service: CDPD Protocol Stack (RS2 forward, RS1 reverse)" },
{ 29, 29, "High Speed Packet Data Service: CDPD Protocol Stack (RS2 forward, RS2 reverse)" },
{ 30, 30, "Supplemental Channel Loopback Test for Rate Set 1" },
{ 31, 31, "Supplemental Channel Loopback Test for Rate Set 2" },
{ 32, 32, "Test Data Service Option (TDSO)" },
{ 33, 33, "cdma2000 High Speed Packet Data Service, Internet or ISO Protocol Stack" },
{ 34, 34, "cdma2000 High Speed Packet Data Service, CDPD Protocol Stack" },
{ 35, 35, "Location Services, Rate Set 1 (9.6 kbps)" },
{ 36, 36, "Location Services, Rate Set 2 (14.4 kbps)" },
{ 37, 37, "ISDN Interworking Service (64 kbps)" },
{ 38, 38, "GSM Voice" },
{ 39, 39, "GSM Circuit Data" },
{ 40, 40, "GSM Packet Data" },
{ 41, 41, "GSM Short Message Service" },
{ 42, 42, "None Reserved for MC-MAP standard service options" },
{ 54, 54, "Markov Service Option (MSO)" },
{ 55, 55, "Loopback Service Option (LSO)" },
{ 56, 56, "Selectable Mode Vocoder" },
{ 57, 57, "32 kbps Circuit Video Conferencing" },
{ 58, 58, "64 kbps Circuit Video Conferencing" },
{ 59, 59, "HRPD Accounting Records Identifier" },
{ 60, 60, "Link Layer Assisted Robust Header Compression (LLA ROHC) - Header Removal" },
{ 61, 61, "Link Layer Assisted Robust Header Compression (LLA ROHC) - Header Compression" },
{ 62, 62, "Source-Controlled Variable-Rate Multimode Wideband Speech Codec (VMR-WB) Rate Set 2" },
{ 63, 63, "Source-Controlled Variable-Rate Multimode Wideband Speech Codec (VMR-WB) Rate Set 1" },
{ 64, 64, "HRPD auxiliary Packet Data Service instance" },
{ 65, 65, "cdma2000/GPRS Inter-working" },
{ 66, 66, "cdma2000 High Speed Packet Data Service, Internet or ISO Protocol Stack" },
{ 67, 67, "HRPD Packet Data IP Service where Higher Layer Protocol is IP or ROHC" },
{ 68, 68, "Enhanced Variable Rate Voice Service (EVRC-B)" },
{ 69, 69, "HRPD Packet Data Service, which when used in paging over the 1x air interface, a page response is required" },
{ 70, 70, "Enhanced Variable Rate Voice Service (EVRC-WB)" },
{ 71, 4099, "None Reserved for standard service options" },
{ 4100, 4100, "Asynchronous Data Service, Revision 1 (9.6 or 14.4 kbps)" },
{ 4101, 4101, "Group 3 Facsimile, Revision 1 (9.6 or 14.4 kbps)" },
{ 4102, 4102, "Reserved for standard service option" },
{ 4103, 4103, "Packet Data Service: Internet or ISO Protocol Stack, Revision 1 (9.6 or 14.4 kbps)" },
{ 4104, 4104, "Packet Data Service: CDPD Protocol Stack, Revision 1 (9.6 or 14.4 kbps)" },
{ 4105, 32767, "Reserved for standard service options" },
{ 32768, 32768, "QCELP (13 kbps)" },
{ 32769, 32771, "Proprietary QUALCOMM Incorporated" },
{ 32772, 32775, "Proprietary OKI Telecom" },
{ 32776, 32779, "Proprietary Lucent Technologies" },
{ 32780, 32783, "Nokia" },
{ 32784, 32787, "NORTEL NETWORKS" },
{ 32788, 32791, "Sony Electronics Inc" },
{ 32792, 32795, "Motorola" },
{ 32796, 32799, "QUALCOMM Incorporated" },
{ 32800, 32803, "QUALCOMM Incorporated" },
{ 32804, 32807, "QUALCOMM Incorporated" },
{ 32808, 32811, "QUALCOMM Incorporated" },
{ 32812, 32815, "Lucent Technologies" },
{ 32816, 32819, "Denso International" },
{ 32820, 32823, "Motorola" },
{ 32824, 32827, "Denso International" },
{ 32828, 32831, "Denso International" },
{ 32832, 32835, "Denso International" },
{ 32836, 32839, "NEC America" },
{ 32840, 32843, "Samsung Electronics" },
{ 32844, 32847, "Texas Instruments Incorporated" },
{ 32848, 32851, "Toshiba Corporation" },
{ 32852, 32855, "LG Electronics Inc." },
{ 32856, 32859, "VIA Telecom Inc." },
{ 0, 0, NULL }
};
static void
dissect_ansi_map_cdmaserviceoption(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_cdmaserviceoption);
proto_tree_add_item(subtree, hf_ansi_map_cdmaserviceoption, tvb, offset, 2, ENC_BIG_ENDIAN);
}
/* 6.5.2.f (TSB76) CDMAServiceOption N.S0008-0 v 1.0*/
/* This field carries the CDMA Service Option. The bit-layout is the same as that of
Service Option in TSB74 and J-STD-008.*/
/* 6.5.2.i (IS-730) TDMAServiceCode N.S0008-0 v 1.0 */
static const value_string ansi_map_TDMAServiceCode_vals[] = {
{ 0, "Analog Speech Only"},
{ 1, "Digital Speech Only"},
{ 2, "Analog or Digital Speech, Analog Preferred"},
{ 3, "Analog or Digital Speech, Digital Preferred"},
{ 4, "Asynchronous Data"},
{ 5, "G3 Fax"},
{ 6, "Not Used (Service Rejected)"},
{ 7, "STU-III"},
{ 0, NULL }
};
#if 0
/* 6.5.2.j (IS-730) TDMATerminalCapability N.S0008-0 v 1.0 Updted with N.S0015-0 */
/* Supported Frequency Band (octet 1) */
/* Voice Coder (octet 2) */
/* Protocol Version (octet 3) N.S0015-0 */
static const value_string ansi_map_TDMATerminalCapability_prot_ver_vals[] = {
{ 0, "EIA-553 or IS-54-A"},
{ 1, "TIA/EIA-627.(IS-54-B)"},
{ 2, "IS-136"},
{ 3, "Permanently Reserved (ANSI J-STD-011).Treat the same as value 4, IS-136-A."},
{ 4, "PV 0 as published in TIA/EIA-136-0 and IS-136-A."},
{ 5, "PV 1 as published in TIA/EIA-136-A."},
{ 6, "PV 2 as published in TIA/EIA-136-A."},
{ 7, "PV 3 as published in TIA/EIA-136-A."},
{ 0, NULL }
};
#endif
/* Asynchronous Data (ADS) (octet 4, bit A) N.S0007-0*/
/* Group 3 Fax (G3FAX) (octet 4, bit B) */
/* Secure Telephone Unit III (STU3) (octet 4, bit C) */
/* Analog Voice (AVOX) (octet 4, bit D) */
/* Half Rate (HRATE) (octet 4, bit E) */
/* Full Rate (FRATE) (octet 4, bit F) */
/* Double Rate (2RATE) (octet 4, bit G) */
/* Triple Rate (3RATE) (octet 4, bit H) */
/* 6.5.2.k (IS-730)) TDMAVoiceCoder N.S0008-0 v 1.0, N.S0007-0 */
/* VoiceCoder (octet 1) */
/* 6.5.2.p UserZoneData N.S0015-0 */
/* 6.5.2.aa BaseStationManufacturerCode N.S0007-0 v 1.0 */
/* The BaseStationManufacturerCode (BSMC) parameter specifies the manufacturer of the
base station that is currently serving the MS (see IS-136 for enumeration of values).*/
/* 6.5.2.ab BSMCStatus */
/* BSMC Status (octet 1) */
static const value_string ansi_map_BSMCStatus_vals[] = {
{ 0, "Same BSMC Value shall not be supported"},
{ 1, "Same BSMC Value shall be supported"},
{ 0, NULL }
};
/*- 6.5.2.ac ControlChannelMode (N.S0007-0 v 1.0)*/
static const value_string ansi_map_ControlChannelMode_vals[] = {
{ 0, "Unknown"},
{ 1, "MS is in Analog CC Mode"},
{ 2, "MS is in Digital CC Mode"},
{ 3, "MS is in NAMPS CC Mode"},
{ 0, NULL }
};
/* 6.5.2.ad NonPublicData N.S0007-0 v 1.0*/
/* NP Only Service (NPOS) (octet 1, bits A and B) */
/* Charging Area Tone Service (CATS) (octet 1, bits C - F) */
/* PSID/RSID Download Order (PRDO) (octet 1, bits G and H) */
/* 6.5.2.ae PagingFrameClass N.S0007-0 v 1.0*/
/* Paging Frame Class (octet 1) */
static const value_string ansi_map_PagingFrameClass_vals[] = {
{ 0, "PagingFrameClass 1 (1.28 seconds)"},
{ 1, "PagingFrameClass 2 (2.56 seconds)"},
{ 2, "PagingFrameClass 3 (3.84 seconds)"},
{ 3, "PagingFrameClass 4 (7.68 seconds)"},
{ 4, "PagingFrameClass 5 (15.36 seconds)"},
{ 5, "PagingFrameClass 6 (30.72 seconds)"},
{ 6, "PagingFrameClass 7 (61.44 seconds)"},
{ 7, "PagingFrameClass 8 (122.88 seconds)"},
{ 8, "Reserved. Treat the same as value 0, PagingFrameClass 1"},
{ 0, NULL }
};
/* 6.5.2.af PSID_RSIDInformation N.S0007-0 v 1.0*/
/* PSID/RSID Indicator (octet 1, bit A) */
/* PSID/RSID Type (octet 1, bits B-D) */
/* 6.5.2.ah ServicesResult N.S0007-0 v 1.0*/
/* PSID/RSID Download Result (PRDR) (octet 1, bits A and B) */
static const value_string ansi_map_ServicesResult_ppr_vals[] = {
{ 0, "No Indication"},
{ 1, "Unsuccessful PSID/RSID download"},
{ 2, "Successful PSID/RSID download"},
{ 3, "Reserved. Treat the same as value 0, No Indication"},
{ 0, NULL }
};
/* 6.5.2.ai SOCStatus N.S0007-0 v 1.0*/
/* SOC Status (octet 1) */
static const value_string ansi_map_SOCStatus_vals[] = {
{ 0, "Same SOC Value shall not be supported"},
{ 1, "Same SOC Value shall be supported"},
{ 0, NULL }
};
/* 6.5.2.aj SystemOperatorCode N.S0007-0 v 1.0*/
/* The SystemOperatorCode (SOC) parameter specifies the system operator that is currently
providing service to a MS (see IS-136 for enumeration of values) */
/* 6.5.2.al UserGroup N.S0007-0 v 1.0*/
/* 6.5.2.am UserZoneData N.S0007-0 v 1.0*/
/*Table 6.5.2.ay TDMABandwidth value N.S0008-0 v 1.0 */
static const value_string ansi_map_TDMABandwidth_vals[] = {
{ 0, "Half-Rate Digital Traffic Channel Only"},
{ 1, "Full-Rate Digital Traffic Channel Only"},
{ 2, "Half-Rate or Full-rate Digital Traffic Channel - Full-Rate Preferred"},
{ 3, "Half-rate or Full-rate Digital Traffic Channel - Half-rate Preferred"},
{ 4, "Double Full-Rate Digital Traffic Channel Only"},
{ 5, "Triple Full-Rate Digital Traffic Channel Only"},
{ 6, "Reserved. Treat reserved values the same as value 1 - Full-Rate Digital Traffic Channel Only"},
{ 7, "Reserved. Treat reserved values the same as value 1 - Full-Rate Digital Traffic Channel Only"},
{ 8, "Reserved. Treat reserved values the same as value 1 - Full-Rate Digital Traffic Channel Only"},
{ 9, "Reserved. Treat reserved values the same as value 1 - Full-Rate Digital Traffic Channel Only"},
{ 10, "Reserved. Treat reserved values the same as value 1 - Full-Rate Digital Traffic Channel Only"},
{ 11, "Reserved. Treat reserved values the same as value 1 - Full-Rate Digital Traffic Channel Only"},
{ 12, "Reserved. Treat reserved values the same as value 1 - Full-Rate Digital Traffic Channel Only"},
{ 13, "Reserved. Treat reserved values the same as value 1 - Full-Rate Digital Traffic Channel Only"},
{ 14, "Reserved. Treat reserved values the same as value 1 - Full-Rate Digital Traffic Channel Only"},
{ 15, "Reserved. Treat reserved values the same as value 1 - Full-Rate Digital Traffic Channel Only"},
{ 0, NULL }
};
/* 6.5.2.az TDMADataFeaturesIndicator N.S0008-0 v 1.0 */
/* TDMADataFeaturesIndicator
ansi_map_FeatureActivity_vals
ADS FeatureActivity ADS-FA ( octet 1 bit A and B )
G3 Fax FeatureActivity G3FAX-FA ( octet 1 bit C and D )
STU-III FeatureActivity STUIII-FA ( octet 1 bit E and F )
Half Rate data FeatureActivity HRATE-FA ( octet 2 bit A and B )
Full Rate data FeatureActivity FRATE-FA ( octet 2 bit C and D )
Double Rate data FeatureActivity 2RATE-FA ( octet 2 bit E and F )
Triple Rate data FeatureActivity 3RATE-FA ( octet g bit G and H )
Table 6.5.2.azt TDMADataFeaturesIndicator value
static const value_string ansi_map_TDMADataFeaturesIndicator_vals[] = {
{ 0, "Not Used"},
{ 1, "Not Authorized"},
{ 2, "Authorized, but de-activated"},
{ 3, "Authorized and activated"},
{ 0, NULL }
};
*/
/* 6.5.2.ba TDMADataMode N.S0008-0 v 1.0*/
/* 6.5.2.bb TDMAVoiceMode */
/* 6.5.2.bb CDMAConnectionReference N.S0008-0 v 1.0 */
/* Service Option Connection Reference Octet 1 */
/* a. This field carries the CDMA Service Option Connection Reference. The bitlayout
is the same as that of Service Option Connection Reference in TSB74 and
J-STD-008.
*/
/* 6.5.2.ad CDMAState N.S0008-0 v 1.0 */
/* Service Option State Octet 1 */
/* a. This field carries the CDMA Service Option State information. The CDMA
Service Option State is defined in the current CDMA Service Options standard.
If CDMA Service Option State is not explicitly defined within a section of the
relevant CDMA Service Option standard, the CDMA Service Option State shall
carry the value of the ORD_Q octet of all current Service Option Control Orders
(see IS-95), or the contents of all current CDMA Service Option Control
Messages (see TSB74) type specific field for this connection reference. */
/* 6.5.2.aj SecondInterMSCCircuitID */
/* -- XXX Same code as ISLPinformation???
dissect_ansi_map_secondintermsccircuitid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_billingid);
/ Trunk Group Number (G) Octet 1 /
proto_tree_add_item(subtree, hf_ansi_map_tgn, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/ Trunk Member Number (M) Octet2 /
proto_tree_add_item(subtree, hf_ansi_map_tmn, tvb, offset, 1, ENC_BIG_ENDIAN);
}
*/
#if 0
/* 6.5.2.as ChangeServiceAttributes N.S0008-0 v 1.0 */
/* Change Facilities Flag (CHGFAC)(octet 1, bits A - B) */
static const value_string ansi_map_ChangeServiceAttributes_chgfac_vals[] = {
{ 0, "Change Facilities Operation Requested"},
{ 1, "Change Facilities Operation Not Requested"},
{ 2, "Change Facilities Operation Used"},
{ 3, "Change Facilities Operation Not Used"},
{ 0, NULL }
};
#endif
#if 0
/* Service Negotiate Flag (SRVNEG)(octet 1, bits C - D) */
static const value_string ansi_map_ChangeServiceAttributes_srvneg_vals[] = {
{ 0, "Service Negotiation Used"},
{ 1, "Service Negotiation Not Used"},
{ 2, "Service Negotiation Required"},
{ 3, "Service Negotiation Not Required"},
{ 0, NULL }
};
#endif
#if 0
/* 6.5.2.au DataPrivacyParameters N.S0008-0 v 1.0*/
/* Privacy Mode (PM) (octet 1, Bits A and B) */
static const value_string ansi_map_DataPrivacyParameters_pm_vals[] = {
{ 0, "Privacy inactive or not supported"},
{ 1, "Privacy Requested or Acknowledged"},
{ 2, "Reserved. Treat reserved values the same as value 0, Privacy inactive or not supported."},
{ 3, "Reserved. Treat reserved values the same as value 0, Privacy inactive or not supported."},
{ 0, NULL }
};
#endif
#if 0
/* Data Privacy Version (PM) (octet 2) */
static const value_string ansi_map_DataPrivacyParameters_data_priv_ver_vals[] = {
{ 0, "Not used"},
{ 1, "Data Privacy Version 1"},
{ 0, NULL }
};
#endif
/* 6.5.2.av ISLPInformation N.S0008-0 v 1.0*/
/* ISLP Type (octet 1) */
static const value_string ansi_map_islp_type_vals[] = {
{ 0, "No ISLP supported"},
{ 1, "ISLP supported"},
{ 0, NULL }
};
/* 6.5.2.bc AnalogRedirectInfo */
/* Sys Ordering (octet 1, bits A-E) */
/* Ignore CDMA (IC) (octet 1, bit F) */
/* 6.5.2.be CDMAChannelNumber N.S0010-0 v 1.0*/
/* 6.5.2.bg CDMAPowerCombinedIndicator N.S0010-0 v 1.0*/
/* 6.5.2.bi CDMASearchParameters N.S0010-0 v 1.0*/
/* 6.5.2.bk CDMANetworkIdentification N.S0010-0 v 1.0*/
/* See CDMA [J-STD-008] for encoding of this field. */
/* 6.5.2.bo RequiredParametersMask N.S0010-0 v 1.0 */
/* 6.5.2.bp ServiceRedirectionCause */
static const value_string ansi_map_ServiceRedirectionCause_type_vals[] = {
{ 0, "Not used"},
{ 1, "NormalRegistration"},
{ 2, "SystemNotFound."},
{ 3, "ProtocolMismatch."},
{ 4, "RegistrationRejection."},
{ 5, "WrongSID."},
{ 6, "WrongNID.."},
{ 0, NULL }
};
/* 6.5.2.bq ServiceRedirectionInfo N.S0010-0 v 1.0 */
/* 6.5.2.br RoamingIndication N.S0010-0 v 1.0*/
/* See CDMA [TSB58] for the definition of this field. */
/* 6.5.2.bw CallingPartyName N.S0012-0 v 1.0*/
#if 0
/* Presentation Status (octet 1, bits A and B) */
static const value_string ansi_map_Presentation_Status_vals[] = {
{ 0, "Presentation allowed"},
{ 1, "Presentation restricted"},
{ 2, "Blocking toggle"},
{ 3, "No indication"},
{ 0, NULL }
};
#endif
#if 0
/* Availability (octet 1, bit E) N.S0012-0 v 1.0*/
static const true_false_string ansi_map_Availability_bool_val = {
"Name not available",
"Name available/unknown"
};
#endif
static void
dissect_ansi_map_callingpartyname(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
/* Availability (octet 1, bit E) N.S0012-0 v 1.0*/
/* Presentation Status (octet 1, bits A and B) */
}
/* 6.5.2.bx DisplayText N.S0012-0 v 1.0*/
/* a. Refer to ANSI T1.610 for field encoding. */
/* 6.5.2.bz ServiceID
Service Identifier (octets 1 to n)
0 Not used.
1 Calling Name Presentation - No RND.
2 Calling Name Presentation with RND.
*/
/* 6.5.2.co GlobalTitle N.S0013-0 v 1.0
* Refer to Section 3 of ANSI T1.112 for the encoding of this field.
*/
/* Address Indicator octet 1 */
/* Global Title Octet 2 - n */
#if 0
/* 6.5.2.dc SpecializedResource N.S0013-0 v 1.0*/
/* Resource Type (octet 1) */
static const value_string ansi_map_resource_type_vals[] = {
{ 0, "Not used"},
{ 1, "DTMF tone detector"},
{ 2, "Automatic Speech Recognition - Speaker Independent - Digits"},
{ 3, "Automatic Speech Recognition - Speaker Independent - Speech User Interface Version 1"},
{ 0, NULL }
};
#endif
/* 6.5.2.df TriggerCapability */
/* Updated with N.S0004 N.S0013-0 v 1.0*/
static const true_false_string ansi_map_triggercapability_bool_val = {
"triggers can be armed by the TriggerAddressList parameter",
"triggers cannot be armed by the TriggerAddressList parameter"
};
static void
dissect_ansi_map_triggercapability(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_triggercapability);
/* O_No_Answer (ONA) (octet 1, bit H)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_ona, tvb, offset, 1, ENC_BIG_ENDIAN);
/* O_Disconnect (ODISC) (octet 1, bit G)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_odisc, tvb, offset, 1, ENC_BIG_ENDIAN);
/* O_Answer (OANS) (octet 1, bit F)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_oans, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Origination_Attempt_Authorized (OAA) (octet 1, bit E)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_oaa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Revertive_Call (RvtC) (octet 1, bit D)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_rvtc, tvb, offset, 1, ENC_BIG_ENDIAN);
/* All_Calls (All) (octet 1, bit C)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_all, tvb, offset, 1, ENC_BIG_ENDIAN);
/* K-digit (K-digit) (octet 1, bit B)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_kdigit, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Introducing Star/Pound (INIT) (octet 1, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_init, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* O_Called_Party_Busy (OBSY) (octet 2, bit H)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_obsy, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Called_Routing_Address_Available (CdRAA) (octet 2, bit G)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_cdraa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Initial_Termination (IT) (octet 2, bit F)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_it, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Calling_Routing_Address_Available (CgRAA)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_cgraa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Advanced_Termination (AT) (octet 2, bit D)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_at, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Prior_Agreement (PA) (octet 2, bit C)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_pa, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Unrecognized_Number (Unrec) (octet 2, bit B)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_unrec, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Call Types (CT) (octet 2, bit A)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_ct, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/* */
/* */
/* */
/* T_Disconnect (TDISC) (octet 3, bit E)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_tdisc, tvb, offset, 1, ENC_BIG_ENDIAN);
/* T_Answer (TANS) (octet 3, bit D)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_tans, tvb, offset, 1, ENC_BIG_ENDIAN);
/* T_No_Answer (TNA) (octet 3, bit C)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_tna, tvb, offset, 1, ENC_BIG_ENDIAN);
/* T_Busy (TBusy) (octet 3, bit B)*/
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_tbusy, tvb, offset, 1, ENC_BIG_ENDIAN);
/* Terminating_Resource_Available (TRA) (octet 3, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_triggercapability_tra, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/* 6.5.2.ei DMH_ServiceID N.S0018 */
/* 6.5.2.dj WINOperationsCapability */
/* Updated with N.S0004 */
/* ConnectResource (CONN) (octet 1, bit A) */
static const true_false_string ansi_map_winoperationscapability_conn_bool_val = {
"Sender is capable of supporting the ConnectResource, DisconnectResource, ConnectionFailureReport and ResetTimer (SSFT timer) operations",
"Sender is not capable of supporting the ConnectResource, DisconnectResource,ConnectionFailureReport and ResetTimer (SSFT timer) operations"
};
/* CallControlDirective (CCDIR) (octet 1, bit B) */
static const true_false_string ansi_map_winoperationscapability_ccdir_bool_val = {
"Sender is capable of supporting the CallControlDirective operation",
"Sender is not capable of supporting the CallControlDirective operation"
};
/* PositionRequest (POS) (octet 1, bit C) */
static const true_false_string ansi_map_winoperationscapability_pos_bool_val = {
"Sender is capable of supporting the PositionRequest operation",
"Sender is not capable of supporting the PositionRequest operation"
};
static void
dissect_ansi_map_winoperationscapability(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_winoperationscapability);
/* PositionRequest (POS) (octet 1, bit C) */
proto_tree_add_item(subtree, hf_ansi_map_winoperationscapability_pos, tvb, offset, 1, ENC_BIG_ENDIAN);
/* CallControlDirective (CCDIR) (octet 1, bit B) */
proto_tree_add_item(subtree, hf_ansi_map_winoperationscapability_ccdir, tvb, offset, 1, ENC_BIG_ENDIAN);
/* ConnectResource (CONN) (octet 1, bit A) */
proto_tree_add_item(subtree, hf_ansi_map_winoperationscapability_conn, tvb, offset, 1, ENC_BIG_ENDIAN);
}
/*
* 6.5.2.dk N.S0013-0 v 1.0,X.S0004-550-E v1.0 2.301
* Code to be found after include functions.
*/
/* 6.5.2.ei TIA/EIA-41.5-D Modifications N.S0018Re */
/* Octet 1,2 1st MarketID */
/* Octet 3 1st MarketSegmentID */
/* Octet 4,5 1st DMH_ServiceID value */
/* Second marcet ID etc */
/* 6.5.2.ek ControlNetworkID N.S0018*/
static void
dissect_ansi_map_controlnetworkid(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_controlnetworkid);
/* MarketID octet 1 and 2 */
proto_tree_add_item(subtree, hf_ansi_map_MarketID, tvb, offset, 2, ENC_BIG_ENDIAN);
offset = offset + 2;
/* Switch Number octet 3*/
proto_tree_add_item(subtree, hf_ansi_map_swno, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
}
/* 6.5.2.dk WIN_TriggerList N.S0013-0 v 1.0 */
/* 6.5.2.ec DisplayText2 Updated in N.S0015-0*/
/* 6.5.2.eq MSStatus N.S0004 */
/* 6.5.2.er PositionInformationCode N.S0004 */
/* 6.5.2.fd InterMessageTime N.S0015-0*/
/* Timer value (in 10s of seconds) octet 1 */
/* 6.5.2.fe MSIDUsage N.S0015-0 */
/* M and I Report (octet 1, bits A and B) */
static const value_string ansi_MSIDUsage_m_or_i_vals[] = {
{ 0, "Not used"},
{ 1, "MIN last used"},
{ 2, "IMSI last used"},
{ 3, "Reserved"},
{ 0, NULL }
};
/* 6.5.2.ff NewMINExtension N.S0015-0 */
#if 0
/* 6.5.2.fv ACGEncountered N.S0023-0 v 1.0 */
/* ACG Encountered (octet 1, bits A-F) */
static const value_string ansi_ACGEncountered_vals[] = {
{ 0, "PC_SSN"},
{ 1, "1-digit control"},
{ 2, "2-digit control"},
{ 3, "3-digit control"},
{ 4, "4-digit control"},
{ 5, "5-digit control"},
{ 6, "6-digit control"},
{ 7, "7-digit control"},
{ 8, "8-digit control"},
{ 9, "9-digit control"},
{ 10, "10-digit control"},
{ 11, "11-digit control"},
{ 12, "12-digit control"},
{ 13, "13-digit control"},
{ 14, "14-digit control"},
{ 15, "15-digit control"},
{ 0, NULL }
};
#endif
#if 0
/* Control Type (octet 1, bits G-H) */
static const value_string ansi_ACGEncountered_cntrl_type_vals[] = {
{ 0, "Not used."},
{ 1, "Service Management System Initiated control encountered"},
{ 2, "SCF Overload control encountered"},
{ 3, "Reserved. Treat the same as value 0, Not used."},
{ 0, NULL }
};
#endif
/* 6.5.2.fw ControlType N.S0023-0 v 1.0 */
#if 0
/* 6.5.2.ge QoSPriority N.S0029-0 v1.0*/
/* 6.5.2.xx QOSPriority */
/* Non-Assured Priority (octet 1, bits A-D) */
static const value_string ansi_map_Priority_vals[] = {
{ 0, "Priority Level 0. This is the lowest level"},
{ 1, "Priority Level 1"},
{ 2, "Priority Level 2"},
{ 3, "Priority Level 3"},
{ 4, "Priority Level 4"},
{ 5, "Priority Level 5"},
{ 6, "Priority Level 6"},
{ 7, "Priority Level 7"},
{ 8, "Priority Level 8"},
{ 8, "Priority Level 9"},
{ 10, "Priority Level 10"},
{ 11, "Priority Level 11"},
{ 12, "Priority Level 12"},
{ 13, "Priority Level 13"},
{ 14, "Reserved"},
{ 15, "Reserved"},
{ 0, NULL }
};
#endif
/* Assured Priority (octet 1, bits E-H)*/
/* 6.5.2.gf PDSNAddress N.S0029-0 v1.0*/
/* a. See IOS Handoff Request message for the definition of this field. */
/* 6.5.2.gg PDSNProtocolType N.S0029-0 v1.0*/
/* See IOS Handoff Request message for the definition of this field. */
/* 6.5.2.gh CDMAMSMeasuredChannelIdentity N.S0029-0 v1.0*/
/* 6.5.2.gl CallingPartyCategory N.S0027*/
/* a. Refer to ITU-T Q.763 (Signalling System No. 7 ISDN user part formats and
codes) for encoding of this parameter.
b. Refer to national ISDN user part specifications for definitions and encoding of the
reserved for national use values.
*/
/* 6.5.2.gm CDMA2000HandoffInvokeIOSData N.S0029-0 v1.0*/
/* IOS A1 Element Handoff Invoke Information */
/* 6.5.2.gn CDMA2000HandoffResponseIOSData */
/* IOS A1 Element Handoff Response Information N.S0029-0 v1.0*/
/* 6.5.2.gr CDMAServiceOptionConnectionIdentifier N.S0029-0 v1.0*/
/* 6.5.2.fk GeographicPosition */
/* Calling Geodetic Location (CGL)
* a. See T1.628 for encoding.
* b. Ignore extra octets, if received. Send only defined (or significant) octets.
*/
/* 6.5.2.fs PositionRequestType (See J-STD-036, page 8-47) X.S0002-0 v2.0
*/
/* Position Request Type (octet 1, bits A-H) */
/*
static const value_string ansi_map_Position_Request_Type_vals[] = {
{ 0, "Not used"},
{ 1, "Initial Position"},
{ 2, "Return the updated position"},
{ 3, "Return the updated or last known position"},
{ 4, "Reserved for LSP interface"},
{ 5, "Initial Position Only"},
{ 6, "Return the last known position"},
{ 7, "Return the updated position based on the serving cell identity"},
*/
/*
values through 95 Reserved. Treat the same as value 1, Initial position.
96 through 255 Reserved for TIA/EIA-41 protocol extension. If unknown, treat the
same as value 1, Initial position.
*
{ 0, NULL }
};
*/
/* LCS Client Type (CTYP) (octet 2, bit A) *
0 Emergency services LCS Client.
1 Non-emergency services LCS Client.
Call-Related Indicator (CALL) (octet 2, bit B)
Decimal Value Meaning
0 Call-related LCS Client request.
1 Non call-related LCS Client request.
Current Serving Cell Information for Coarse Position Determination (CELL) (octet 2, bit C)
Decimal Value Meaning
0 No specific request.
1 Current serving cell information. Current serving cell information for
Target MS requested. Radio contact with Target MS is required.
*/
/* 6.5.2.ft PositionResult *
static const value_string ansi_map_PositionResult_vals[] = {
{ 0, "Not used"},
{ 1, "Initial position returned"},
{ 2, "Updated position returned"},
{ 3, "Last known position returned"},
{ 4, "Requested position is not available"},
{ 5, "Target MS disconnect"},
{ 6, "Target MS has handed-off"},
{ 7, "Identified MS is inactive or has roamed to another system"},
{ 8, "Unresponsive"},
{ 9, "Identified MS is responsive, but refused position request"},
{ 10, "System Failure"},
{ 11, "MSID is not known"},
{ 12, "Callback number is not known"},
{ 13, "Improper request"},
{ 14, "Mobile information returned"},
{ 15, "Signal not detected"},
{ 16, "PDE Timeout"},
{ 17, "Position pending"},
{ 18, "TDMA MAHO Information Returned"},
{ 19, "TDMA MAHO Information is not available"},
{ 20, "Access Denied"},
{ 21, "Requested PQOS not met"},
{ 22, "Resource required for CDMA handset-based position determination is currently unavailable"},
{ 23, "CDMA handset-based position determination failure"},
{ 24, "CDMA handset-based position determination failure detected by the PDE"},
{ 25, "CDMA handset-based position determination incomplete traffic channel requested for voice services"},
{ 26, "Emergency services call notification"},
{ 27, "Emergency services call precedence"},
{ 28, "Request acknowledged"},
{ 0, NULL }
};
*/
#if 0
/* 6.5.2.bp-1 ServiceRedirectionCause value */
static const value_string ansi_map_ServiceRedirectionCause_vals[] = {
{ 0, "Not used"},
{ 1, "NormalRegistration"},
{ 2, "SystemNotFound"},
{ 3, "ProtocolMismatch"},
{ 4, "RegistrationRejection"},
{ 5, "WrongSID"},
{ 6, "WrongNID"},
{ 0, NULL }
};
#endif
/* 6.5.2.mT AuthenticationResponseReauthentication N.S0011-0 v 1.0*/
/* 6.5.2.vT ReauthenticationReport N.S0011-0 v 1.0*/
static const value_string ansi_map_ReauthenticationReport_vals[] = {
{ 0, "Not used"},
{ 1, "Reauthentication not attempted"},
{ 2, "Reauthentication no response"},
{ 3, "Reauthentication successful"},
{ 4, "Reauthentication failed"},
{ 0, NULL }
};
#if 0
/* 6.5.2.lB AKeyProtocolVersion
N.S0011-0 v 1.0
*/
static const value_string ansi_map_AKeyProtocolVersion_vals[] = {
{ 0, "Not used"},
{ 1, "A-key Generation not supported"},
{ 2, "Diffie Hellman with 768-bit modulus, 160-bit primitive, and 160-bit exponents"},
{ 3, "Diffie Hellman with 512-bit modulus, 160-bit primitive, and 160-bit exponents"},
{ 4, "Diffie Hellman with 768-bit modulus, 32-bit primitive, and 160-bit exponents"},
{ 0, NULL }
};
#endif
/* 6.5.2.sB OTASP_ResultCode
N.S0011-0 v 1.0
*/
static const value_string ansi_map_OTASP_ResultCode_vals[] = {
{ 0, "Accepted - Successful"},
{ 1, "Rejected - Unknown cause."},
{ 2, "Computation Failure - E.g., unable to compute A-key"},
{ 3, "CSC Rejected - CSC challenge failure"},
{ 4, "Unrecognized OTASPCallEntry"},
{ 5, "Unsupported AKeyProtocolVersion(s)"},
{ 6, "Unable to Commit"},
{ 0, NULL }
};
/*6.5.2.wB ServiceIndicator
N.S0011-0 v 1.0
*/
static const value_string ansi_map_ServiceIndicator_vals[] = {
{ 0, "Undefined Service"},
{ 1, "CDMA OTASP Service"},
{ 2, "TDMA OTASP Service"},
{ 3, "CDMA OTAPA Service"},
{ 4, "CDMA Position Determination Service (Emergency Services)"},
{ 5, "AMPS Position Determination Service (Emergency Services)"},
{ 6, "CDMA Position Determination Service (Value Added Services)"},
{ 0, NULL }
};
/* 6.5.2.xB SignalingMessageEncryptionReport
N.S0011-0 v 1.0
*/
static const value_string ansi_map_SMEReport_vals[] = {
{ 0, "Not used"},
{ 1, "Signaling Message Encryption enabling not attempted"},
{ 2, "Signaling Message Encryption enabling no response"},
{ 3, "Signaling Message Encryption is enabled"},
{ 4, "Signaling Message Encryption enabling failed"},
{ 0, NULL }
};
/* 6.5.2.zB VoicePrivacyReport
N.S0011-0 v 1.0
*/
static const value_string ansi_map_VoicePrivacyReport_vals[] = {
{ 0, "Not used"},
{ 1, "Voice Privacy not attempted"},
{ 2, "Voice Privacy no response"},
{ 3, "Voice Privacy is active"},
{ 4, "Voice Privacy failed"},
{ 0, NULL }
};
#include "packet-ansi_map-fn.c"
/*
* 6.5.2.dk N.S0013-0 v 1.0,X.S0004-550-E v1.0 2.301
*/
static void
dissect_ansi_map_win_trigger_list(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){
int offset = 0;
int end_offset = 0;
int j = 0;
proto_tree *subtree;
guint8 octet;
end_offset = tvb_reported_length_remaining(tvb,offset);
subtree = proto_item_add_subtree(actx->created_item, ett_win_trigger_list);
while(offset< end_offset) {
octet = tvb_get_guint8(tvb,offset);
switch (octet){
case 0xdc:
proto_tree_add_uint_format(subtree, hf_ansi_map_win_trigger_list, tvb, offset, 1, octet, "TDP-R's armed");
j=0;
break;
case 0xdd:
proto_tree_add_uint_format(subtree, hf_ansi_map_win_trigger_list, tvb, offset, 1, octet, "TDP-N's armed");
j=0;
break;
case 0xde:
proto_tree_add_uint_format(subtree, hf_ansi_map_win_trigger_list, tvb, offset, 1, octet, "EDP-R's armed");
j=0;
break;
case 0xdf:
proto_tree_add_uint_format(subtree, hf_ansi_map_win_trigger_list, tvb, offset, 1, octet, "EDP-N's armed");
j=0;
break;
default:
proto_tree_add_uint_format(subtree, hf_ansi_map_win_trigger_list, tvb, offset, 1, octet, "[%u] (%u) %s",j,octet,val_to_str_ext(octet, &ansi_map_TriggerType_vals_ext, "Unknown TriggerType (%u)"));
j++;
break;
}
offset++;
}
}
static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx) {
static gboolean opCodeKnown = TRUE;
static ansi_map_tap_rec_t tap_rec[16];
static ansi_map_tap_rec_t *tap_p;
static int tap_current=0;
/*
* set tap record pointer
*/
tap_current++;
if (tap_current == array_length(tap_rec))
{
tap_current = 0;
}
tap_p = &tap_rec[tap_current];
switch(OperationCode){
case 1: /*Handoff Measurement Request*/
offset = dissect_ansi_map_HandoffMeasurementRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffMeasurementRequest);
break;
case 2: /*Facilities Directive*/
offset = dissect_ansi_map_FacilitiesDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_facilitiesDirective);
break;
case 3: /*Mobile On Channel*/
proto_tree_add_expert(tree, actx->pinfo, &ei_ansi_map_no_data, tvb, offset, -1);
break;
case 4: /*Handoff Back*/
offset = dissect_ansi_map_HandoffBack(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffBack);
break;
case 5: /*Facilities Release*/
offset = dissect_ansi_map_FacilitiesRelease(TRUE, tvb, offset, actx, tree, hf_ansi_map_facilitiesRelease);
break;
case 6: /*Qualification Request*/
offset = dissect_ansi_map_QualificationRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_qualificationRequest);
break;
case 7: /*Qualification Directive*/
offset = dissect_ansi_map_QualificationDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_qualificationDirective);
break;
case 8: /*Blocking*/
offset = dissect_ansi_map_Blocking(TRUE, tvb, offset, actx, tree, hf_ansi_map_blocking);
break;
case 9: /*Unblocking*/
offset = dissect_ansi_map_Unblocking(TRUE, tvb, offset, actx, tree, hf_ansi_map_unblocking);
break;
case 10: /*Reset Circuit*/
offset = dissect_ansi_map_ResetCircuit(TRUE, tvb, offset, actx, tree, hf_ansi_map_resetCircuit);
break;
case 11: /*Trunk Test*/
offset = dissect_ansi_map_TrunkTest(TRUE, tvb, offset, actx, tree, hf_ansi_map_trunkTest);
break;
case 12: /*Trunk Test Disconnect*/
offset = dissect_ansi_map_TrunkTestDisconnect(TRUE, tvb, offset, actx, tree, hf_ansi_map_trunkTestDisconnect);
break;
case 13: /*Registration Notification*/
offset = dissect_ansi_map_RegistrationNotification(TRUE, tvb, offset, actx, tree, hf_ansi_map_registrationNotification);
break;
case 14: /*Registration Cancellation*/
offset = dissect_ansi_map_RegistrationCancellation(TRUE, tvb, offset, actx, tree, hf_ansi_map_registrationCancellation);
break;
case 15: /*Location Request*/
offset = dissect_ansi_map_LocationRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_locationRequest);
break;
case 16: /*Routing Request*/
offset = dissect_ansi_map_RoutingRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_routingRequest);
break;
case 17: /*Feature Request*/
offset = dissect_ansi_map_FeatureRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_featureRequest);
break;
case 18: /*Reserved 18 (Service Profile Request, IS-41-C)*/
proto_tree_add_expert_format(tree, actx->pinfo, &ei_ansi_map_unknown_invokeData_blob, tvb, offset, -1, "Unknown invokeData blob(18 (Service Profile Request, IS-41-C)");
break;
case 19: /*Reserved 19 (Service Profile Directive, IS-41-C)*/
proto_tree_add_expert_format(tree, actx->pinfo, &ei_ansi_map_unknown_invokeData_blob, tvb, offset, -1, "Unknown invokeData blob(19 Service Profile Directive, IS-41-C)");
break;
case 20: /*Unreliable Roamer Data Directive*/
offset = dissect_ansi_map_UnreliableRoamerDataDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_unreliableRoamerDataDirective);
break;
case 21: /*Reserved 21 (Call Data Request, IS-41-C)*/
proto_tree_add_expert_format(tree, actx->pinfo, &ei_ansi_map_unknown_invokeData_blob, tvb, offset, -1, "Unknown invokeData blob(Reserved 21 (Call Data Request, IS-41-C)");
break;
case 22: /*MS Inactive*/
offset = dissect_ansi_map_MSInactive(TRUE, tvb, offset, actx, tree, hf_ansi_map_mSInactive);
break;
case 23: /*Transfer To Number Request*/
offset = dissect_ansi_map_TransferToNumberRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_transferToNumberRequest);
break;
case 24: /*Redirection Request*/
offset = dissect_ansi_map_RedirectionRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_redirectionRequest);
break;
case 25: /*Handoff To Third*/
offset = dissect_ansi_map_HandoffToThird(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffToThird);
break;
case 26: /*Flash Request*/
offset = dissect_ansi_map_FlashRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_flashRequest);
break;
case 27: /*Authentication Directive*/
offset = dissect_ansi_map_AuthenticationDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_authenticationDirective);
break;
case 28: /*Authentication Request*/
offset = dissect_ansi_map_AuthenticationRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_authenticationRequest);
break;
case 29: /*Base Station Challenge*/
offset = dissect_ansi_map_BaseStationChallenge(TRUE, tvb, offset, actx, tree, hf_ansi_map_baseStationChallenge);
break;
case 30: /*Authentication Failure Report*/
offset = dissect_ansi_map_AuthenticationFailureReport(TRUE, tvb, offset, actx, tree, hf_ansi_map_authenticationFailureReport);
break;
case 31: /*Count Request*/
offset = dissect_ansi_map_CountRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_countRequest);
break;
case 32: /*Inter System Page*/
offset = dissect_ansi_map_InterSystemPage(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemPage);
break;
case 33: /*Unsolicited Response*/
offset = dissect_ansi_map_UnsolicitedResponse(TRUE, tvb, offset, actx, tree, hf_ansi_map_unsolicitedResponse);
break;
case 34: /*Bulk Deregistration*/
offset = dissect_ansi_map_BulkDeregistration(TRUE, tvb, offset, actx, tree, hf_ansi_map_bulkDeregistration);
break;
case 35: /*Handoff Measurement Request 2*/
offset = dissect_ansi_map_HandoffMeasurementRequest2(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffMeasurementRequest2);
break;
case 36: /*Facilities Directive 2*/
offset = dissect_ansi_map_FacilitiesDirective2(TRUE, tvb, offset, actx, tree, hf_ansi_map_facilitiesDirective2);
break;
case 37: /*Handoff Back 2*/
offset = dissect_ansi_map_HandoffBack2(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffBack2);
break;
case 38: /*Handoff To Third 2*/
offset = dissect_ansi_map_HandoffToThird2(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffToThird2);
break;
case 39: /*Authentication Directive Forward*/
offset = dissect_ansi_map_AuthenticationDirectiveForward(TRUE, tvb, offset, actx, tree, hf_ansi_map_authenticationDirectiveForward);
break;
case 40: /*Authentication Status Report*/
offset = dissect_ansi_map_AuthenticationStatusReport(TRUE, tvb, offset, actx, tree, hf_ansi_map_authenticationStatusReport);
break;
case 41: /*Reserved 41*/
proto_tree_add_expert_format(tree, actx->pinfo, &ei_ansi_map_unknown_invokeData_blob, tvb, offset, -1, "Reserved 41, Unknown invokeData blob");
break;
case 42: /*Information Directive*/
offset = dissect_ansi_map_InformationDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_informationDirective);
break;
case 43: /*Information Forward*/
offset = dissect_ansi_map_InformationForward(TRUE, tvb, offset, actx, tree, hf_ansi_map_informationForward);
break;
case 44: /*Inter System Answer*/
offset = dissect_ansi_map_InterSystemAnswer(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemAnswer);
break;
case 45: /*Inter System Page 2*/
offset = dissect_ansi_map_InterSystemPage2(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemPage2);
break;
case 46: /*Inter System Setup*/
offset = dissect_ansi_map_InterSystemSetup(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemSetup);
break;
case 47: /*OriginationRequest*/
offset = dissect_ansi_map_OriginationRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_originationRequest);
break;
case 48: /*Random Variable Request*/
offset = dissect_ansi_map_RandomVariableRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_randomVariableRequest);
break;
case 49: /*Redirection Directive*/
offset = dissect_ansi_map_RedirectionDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_redirectionDirective);
break;
case 50: /*Remote User Interaction Directive*/
offset = dissect_ansi_map_RemoteUserInteractionDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_remoteUserInteractionDirective);
break;
case 51: /*SMS Delivery Backward*/
offset = dissect_ansi_map_SMSDeliveryBackward(TRUE, tvb, offset, actx, tree, hf_ansi_map_sMSDeliveryBackward);
break;
case 52: /*SMS Delivery Forward*/
offset = dissect_ansi_map_SMSDeliveryForward(TRUE, tvb, offset, actx, tree, hf_ansi_map_sMSDeliveryForward);
break;
case 53: /*SMS Delivery Point to Point*/
offset = dissect_ansi_map_SMSDeliveryPointToPoint(TRUE, tvb, offset, actx, tree, hf_ansi_map_sMSDeliveryPointToPoint);
break;
case 54: /*SMS Notification*/
offset = dissect_ansi_map_SMSNotification(TRUE, tvb, offset, actx, tree, hf_ansi_map_sMSNotification);
break;
case 55: /*SMS Request*/
offset = dissect_ansi_map_SMSRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_sMSRequest);
break;
/* End N.S0005*/
/* N.S0010-0 v 1.0 */
/* N.S0011-0 v 1.0 */
case 56: /*OTASP Request 6.4.2.CC*/
offset = dissect_ansi_map_OTASPRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_oTASPRequest);
break;
/*End N.S0011-0 v 1.0 */
case 57: /*Information Backward*/
break;
/* N.S0008-0 v 1.0 */
case 58: /*Change Facilities*/
offset = dissect_ansi_map_ChangeFacilities(TRUE, tvb, offset, actx, tree, hf_ansi_map_changeFacilities);
break;
case 59: /*Change Service*/
offset = dissect_ansi_map_ChangeService(TRUE, tvb, offset, actx, tree, hf_ansi_map_changeService);
break;
/* End N.S0008-0 v 1.0 */
case 60: /*Parameter Request*/
offset = dissect_ansi_map_ParameterRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_parameterRequest);
break;
case 61: /*TMSI Directive*/
offset = dissect_ansi_map_TMSIDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_tMSIDirective);
break;
/*End N.S0010-0 v 1.0 */
case 62: /*NumberPortabilityRequest 62*/
offset = dissect_ansi_map_NumberPortabilityRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_numberPortabilityRequest);
break;
case 63: /*Service Request N.S0012-0 v 1.0*/
offset = dissect_ansi_map_ServiceRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_serviceRequest);
break;
/* N.S0013 */
case 64: /*Analyzed Information Request*/
offset = dissect_ansi_map_AnalyzedInformation(TRUE, tvb, offset, actx, tree, hf_ansi_map_analyzedInformation);
break;
case 65: /*Connection Failure Report*/
offset = dissect_ansi_map_ConnectionFailureReport(TRUE, tvb, offset, actx, tree, hf_ansi_map_connectionFailureReport);
break;
case 66: /*Connect Resource*/
offset = dissect_ansi_map_ConnectResource(TRUE, tvb, offset, actx, tree, hf_ansi_map_connectResource);
break;
case 67: /*Disconnect Resource*/
/* No data */
break;
case 68: /*Facility Selected and Available*/
offset = dissect_ansi_map_FacilitySelectedAndAvailable(TRUE, tvb, offset, actx, tree, hf_ansi_map_facilitySelectedAndAvailable);
break;
case 69: /*Instruction Request*/
/* No data */
break;
case 70: /*Modify*/
offset = dissect_ansi_map_Modify(TRUE, tvb, offset, actx, tree, hf_ansi_map_modify);
break;
case 71: /*Reset Timer*/
/*No Data*/
break;
case 72: /*Search*/
offset = dissect_ansi_map_Search(TRUE, tvb, offset, actx, tree, hf_ansi_map_search);
break;
case 73: /*Seize Resource*/
offset = dissect_ansi_map_SeizeResource(TRUE, tvb, offset, actx, tree, hf_ansi_map_seizeResource);
break;
case 74: /*SRF Directive*/
offset = dissect_ansi_map_SRFDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_sRFDirective);
break;
case 75: /*T Busy*/
offset = dissect_ansi_map_TBusy(TRUE, tvb, offset, actx, tree, hf_ansi_map_tBusy);
break;
case 76: /*T NoAnswer*/
offset = dissect_ansi_map_TNoAnswer(TRUE, tvb, offset, actx, tree, hf_ansi_map_tNoAnswer);
break;
/*END N.S0013 */
case 77: /*Release*/
break;
case 78: /*SMS Delivery Point to Point Ack*/
offset = dissect_ansi_map_SMSDeliveryPointToPointAck(TRUE, tvb, offset, actx, tree, hf_ansi_map_smsDeliveryPointToPointAck);
break;
/* N.S0024*/
case 79: /*Message Directive*/
offset = dissect_ansi_map_MessageDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_messageDirective);
break;
/*END N.S0024*/
/* N.S0018 PN-4287*/
case 80: /*Bulk Disconnection*/
offset = dissect_ansi_map_BulkDisconnection(TRUE, tvb, offset, actx, tree, hf_ansi_map_bulkDisconnection);
break;
case 81: /*Call Control Directive*/
offset = dissect_ansi_map_CallControlDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_callControlDirective);
break;
case 82: /*O Answer*/
offset = dissect_ansi_map_OAnswer(TRUE, tvb, offset, actx, tree, hf_ansi_map_oAnswer);
break;
case 83: /*O Disconnect*/
offset = dissect_ansi_map_ODisconnect(TRUE, tvb, offset, actx, tree, hf_ansi_map_oDisconnect);
break;
case 84: /*Call Recovery Report*/
offset = dissect_ansi_map_CallRecoveryReport(TRUE, tvb, offset, actx, tree, hf_ansi_map_callRecoveryReport);
break;
case 85: /*T Answer*/
offset = dissect_ansi_map_TAnswer(TRUE, tvb, offset, actx, tree, hf_ansi_map_tAnswer);
break;
case 86: /*T Disconnect*/
offset = dissect_ansi_map_TDisconnect(TRUE, tvb, offset, actx, tree, hf_ansi_map_tDisconnect);
break;
case 87: /*Unreliable Call Data*/
offset = dissect_ansi_map_UnreliableCallData(TRUE, tvb, offset, actx, tree, hf_ansi_map_unreliableCallData);
break;
/* N.S0018 PN-4287*/
/*N.S0004 */
case 88: /*O CalledPartyBusy*/
offset = dissect_ansi_map_OCalledPartyBusy(TRUE, tvb, offset, actx, tree, hf_ansi_map_oCalledPartyBusy);
break;
case 89: /*O NoAnswer*/
offset = dissect_ansi_map_ONoAnswer(TRUE, tvb, offset, actx, tree, hf_ansi_map_oNoAnswer);
break;
case 90: /*Position Request*/
offset = dissect_ansi_map_PositionRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_positionRequest);
break;
case 91: /*Position Request Forward*/
offset = dissect_ansi_map_PositionRequestForward(TRUE, tvb, offset, actx, tree, hf_ansi_map_positionRequestForward);
break;
/*END N.S0004 */
case 92: /*Call Termination Report*/
offset = dissect_ansi_map_CallTerminationReport(TRUE, tvb, offset, actx, tree, hf_ansi_map_callTerminationReport);
break;
case 93: /*Geo Position Directive*/
break;
case 94: /*Geo Position Request*/
offset = dissect_ansi_map_GeoPositionRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_geoPositionRequest);
break;
case 95: /*Inter System Position Request*/
offset = dissect_ansi_map_InterSystemPositionRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemPositionRequest);
break;
case 96: /*Inter System Position Request Forward*/
offset = dissect_ansi_map_InterSystemPositionRequestForward(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemPositionRequestForward);
break;
/* 3GPP2 N.S0023-0 */
case 97: /*ACG Directive*/
offset = dissect_ansi_map_ACGDirective(TRUE, tvb, offset, actx, tree, hf_ansi_map_aCGDirective);
break;
/* END 3GPP2 N.S0023-0 */
case 98: /*Roamer Database Verification Request*/
offset = dissect_ansi_map_RoamerDatabaseVerificationRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_roamerDatabaseVerificationRequest);
break;
/* N.S0029 X.S0001-A v1.0*/
case 99: /*Add Service*/
offset = dissect_ansi_map_AddService(TRUE, tvb, offset, actx, tree, hf_ansi_map_addService);
break;
case 100: /*Drop Service*/
offset = dissect_ansi_map_DropService(TRUE, tvb, offset, actx, tree, hf_ansi_map_dropService);
break;
/*End N.S0029 X.S0001-A v1.0*/
/* X.S0002-0 v1.0 */
/* LCSParameterRequest */
case 101: /* InterSystemSMSPage 101 */
offset = dissect_ansi_map_InterSystemSMSPage(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemSMSPage);
break;
case 102:
offset = dissect_ansi_map_LCSParameterRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_lcsParameterRequest);
break;
/* CheckMEID X.S0008-0 v1.0*/
case 104:
offset = dissect_ansi_map_CheckMEID(TRUE, tvb, offset, actx, tree, hf_ansi_map_checkMEID);
break;
/* PositionEventNotification */
case 106:
offset = dissect_ansi_map_PositionEventNotification(TRUE, tvb, offset, actx, tree, hf_ansi_map_positionEventNotification);
break;
case 107:
/* StatusRequest X.S0008-0 v1.0*/
offset = dissect_ansi_map_StatusRequest(TRUE, tvb, offset, actx, tree, hf_ansi_map_statusRequest);
break;
/* InterSystemSMSDelivery-PointToPoint 111 X.S0004-540-E v2.0*/
case 111:
/* InterSystemSMSDeliveryPointToPoint X.S0004-540-E v2.0 */
offset = dissect_ansi_map_InterSystemSMSDeliveryPointToPoint(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemSMSDeliveryPointToPoint);
break;
case 112:
/* QualificationRequest2 112 X.S0004-540-E v2.0*/
offset = dissect_ansi_map_QualificationRequest2(TRUE, tvb, offset, actx, tree, hf_ansi_map_qualificationRequest2);
break;
default:
proto_tree_add_expert(tree, actx->pinfo, &ei_ansi_map_unknown_invokeData_blob, tvb, offset, -1);
opCodeKnown = FALSE;
break;
}
if (opCodeKnown)
{
tap_p->message_type = OperationCode;
tap_p->size = 0; /* should be number of octets in message */
tap_queue_packet(ansi_map_tap, g_pinfo, tap_p);
}
return offset;
}
static int dissect_returnData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx) {
static gboolean opCodeKnown = TRUE;
static ansi_map_tap_rec_t tap_rec[16];
static ansi_map_tap_rec_t *tap_p;
static int tap_current=0;
/*
* set tap record pointer
*/
tap_current++;
if (tap_current == array_length(tap_rec))
{
tap_current = 0;
}
tap_p = &tap_rec[tap_current];
switch(OperationCode){
case 1: /*Handoff Measurement Request*/
offset = dissect_ansi_map_HandoffMeasurementRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffMeasurementRequestRes);
break;
case 2: /*Facilities Directive*/
offset = dissect_ansi_map_FacilitiesDirectiveRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_facilitiesDirectiveRes);
break;
case 4: /*Handoff Back*/
offset = dissect_ansi_map_HandoffBackRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffBackRes);
break;
case 5: /*Facilities Release*/
offset = dissect_ansi_map_FacilitiesReleaseRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_facilitiesReleaseRes);
break;
case 6: /*Qualification Request*/
offset = dissect_ansi_map_QualificationRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_qualificationRequestRes);
break;
case 7: /*Qualification Directive*/
offset = dissect_ansi_map_QualificationDirectiveRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_qualificationDirectiveRes);
break;
case 10: /*Reset Circuit*/
offset = dissect_ansi_map_ResetCircuitRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_resetCircuitRes);
break;
case 13: /*Registration Notification*/
offset = dissect_ansi_map_RegistrationNotificationRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_registrationNotificationRes);
break;
case 14: /*Registration Cancellation*/
offset = dissect_ansi_map_RegistrationCancellationRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_registrationCancellationRes);
break;
case 15: /*Location Request*/
offset = dissect_ansi_map_LocationRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_locationRequestRes);
break;
case 16: /*Routing Request*/
offset = dissect_ansi_map_RoutingRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_routingRequestRes);
break;
case 17: /*Feature Request*/
offset = dissect_ansi_map_FeatureRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_featureRequestRes);
break;
case 23: /*Transfer To Number Request*/
offset = dissect_ansi_map_TransferToNumberRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_transferToNumberRequestRes);
break;
case 25: /*Handoff To Third*/
offset = dissect_ansi_map_HandoffToThirdRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffToThirdRes);
break;
case 26: /*Flash Request*/
/* No data */
proto_tree_add_expert(tree, actx->pinfo, &ei_ansi_map_no_data, tvb, offset, -1);
break;
case 27: /*Authentication Directive*/
offset = dissect_ansi_map_AuthenticationDirectiveRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_authenticationDirectiveRes);
break;
case 28: /*Authentication Request*/
offset = dissect_ansi_map_AuthenticationRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_authenticationRequestRes);
break;
case 29: /*Base Station Challenge*/
offset = dissect_ansi_map_BaseStationChallengeRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_baseStationChallengeRes);
break;
case 30: /*Authentication Failure Report*/
offset = dissect_ansi_map_AuthenticationFailureReportRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_authenticationFailureReportRes);
break;
case 31: /*Count Request*/
offset = dissect_ansi_map_CountRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_countRequestRes);
break;
case 32: /*Inter System Page*/
offset = dissect_ansi_map_InterSystemPageRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemPageRes);
break;
case 33: /*Unsolicited Response*/
offset = dissect_ansi_map_UnsolicitedResponseRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_unsolicitedResponseRes);
break;
case 35: /*Handoff Measurement Request 2*/
offset = dissect_ansi_map_HandoffMeasurementRequest2Res(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffMeasurementRequest2Res);
break;
case 36: /*Facilities Directive 2*/
offset = dissect_ansi_map_FacilitiesDirective2Res(TRUE, tvb, offset, actx, tree, hf_ansi_map_facilitiesDirective2Res);
break;
case 37: /*Handoff Back 2*/
offset = dissect_ansi_map_HandoffBack2Res(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffBack2Res);
break;
case 38: /*Handoff To Third 2*/
offset = dissect_ansi_map_HandoffToThird2Res(TRUE, tvb, offset, actx, tree, hf_ansi_map_handoffToThird2Res);
break;
case 39: /*Authentication Directive Forward*/
offset = dissect_ansi_map_AuthenticationDirectiveForwardRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_authenticationDirectiveForwardRes);
break;
case 40: /*Authentication Status Report*/
offset = dissect_ansi_map_AuthenticationStatusReportRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_authenticationStatusReportRes);
break;
/*Reserved 41*/
case 42: /*Information Directive*/
offset = dissect_ansi_map_InformationDirectiveRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_informationDirectiveRes);
break;
case 43: /*Information Forward*/
offset = dissect_ansi_map_InformationForwardRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_informationForwardRes);
break;
case 45: /*Inter System Page 2*/
offset = dissect_ansi_map_InterSystemPage2Res(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemPage2Res);
break;
case 46: /*Inter System Setup*/
offset = dissect_ansi_map_InterSystemSetupRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemSetupRes);
break;
case 47: /*OriginationRequest*/
offset = dissect_ansi_map_OriginationRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_originationRequestRes);
break;
case 48: /*Random Variable Request*/
offset = dissect_ansi_map_RandomVariableRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_randomVariableRequestRes);
break;
case 50: /*Remote User Interaction Directive*/
offset = dissect_ansi_map_RemoteUserInteractionDirectiveRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_remoteUserInteractionDirectiveRes);
break;
case 51: /*SMS Delivery Backward*/
offset = dissect_ansi_map_SMSDeliveryBackwardRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_sMSDeliveryBackwardRes);
break;
case 52: /*SMS Delivery Forward*/
offset = dissect_ansi_map_SMSDeliveryForwardRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_sMSDeliveryForwardRes);
break;
case 53: /*SMS Delivery Point to Point*/
offset = dissect_ansi_map_SMSDeliveryPointToPointRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_sMSDeliveryPointToPointRes);
break;
case 54: /*SMS Notification*/
offset = dissect_ansi_map_SMSNotificationRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_sMSNotificationRes);
break;
case 55: /*SMS Request*/
offset = dissect_ansi_map_SMSRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_sMSRequestRes);
break;
/* N.S0008-0 v 1.0 */
case 56: /*OTASP Request 6.4.2.CC*/
offset = dissect_ansi_map_OTASPRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_oTASPRequestRes);
break;
/* 57 Information Backward*/
case 58: /*Change Facilities*/
offset = dissect_ansi_map_ChangeFacilitiesRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_changeFacilitiesRes);
break;
case 59: /*Change Service*/
offset = dissect_ansi_map_ChangeServiceRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_changeServiceRes);
break;
case 60: /*Parameter Request*/
offset = dissect_ansi_map_ParameterRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_parameterRequestRes);
break;
case 61: /*TMSI Directive*/
offset = dissect_ansi_map_TMSIDirectiveRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_tMSIDirectiveRes);
break;
case 62: /*NumberPortabilityRequest */
offset = dissect_ansi_map_NumberPortabilityRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_numberPortabilityRequestRes);
break;
case 63: /*Service Request*/
offset = dissect_ansi_map_ServiceRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_serviceRequestRes);
break;
/* N.S0013 */
case 64: /*Analyzed Information Request*/
offset = dissect_ansi_map_AnalyzedInformationRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_analyzedInformationRes);
break;
/* 65 Connection Failure Report*/
/* 66 Connect Resource*/
/* 67 Disconnect Resource*/
case 68: /*Facility Selected and Available*/
offset = dissect_ansi_map_FacilitySelectedAndAvailableRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_facilitySelectedAndAvailableRes);
break;
/* 69 Instruction Request*/
case 70: /*Modify*/
offset = dissect_ansi_map_ModifyRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_modifyRes);
break;
case 72: /*Search*/
offset = dissect_ansi_map_SearchRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_searchRes);
break;
case 73: /*Seize Resource*/
offset = dissect_ansi_map_SeizeResourceRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_seizeResourceRes);
break;
case 74: /*SRF Directive*/
offset = dissect_ansi_map_SRFDirectiveRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_sRFDirectiveRes);
break;
case 75: /*T Busy*/
offset = dissect_ansi_map_TBusyRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_tBusyRes);
break;
case 76: /*T NoAnswer*/
offset = dissect_ansi_map_TNoAnswerRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_tNoAnswerRes);
break;
case 81: /*Call Control Directive*/
offset = dissect_ansi_map_CallControlDirectiveRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_callControlDirectiveRes);
break;
case 83: /*O Disconnect*/
offset = dissect_ansi_map_ODisconnectRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_oDisconnectRes);
break;
case 86: /*T Disconnect*/
offset = dissect_ansi_map_TDisconnectRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_tDisconnectRes);
break;
case 88: /*O CalledPartyBusy*/
offset = dissect_ansi_map_OCalledPartyBusyRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_oCalledPartyBusyRes);
break;
case 89: /*O NoAnswer*/
offset = dissect_ansi_map_ONoAnswerRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_oNoAnswerRes);
break;
case 90: /*Position Request*/
offset = dissect_ansi_map_PositionRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_positionRequestRes);
break;
case 91: /*Position Request Forward*/
offset = dissect_ansi_map_PositionRequestForwardRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_positionRequestForwardRes);
break;
case 95: /*Inter System Position Request*/
offset = dissect_ansi_map_InterSystemPositionRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemPositionRequestRes);
break;
case 96: /*Inter System Position Request Forward*/
offset = dissect_ansi_map_InterSystemPositionRequestForwardRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemPositionRequestForwardRes);
break;
case 98: /*Roamer Database Verification Request*/
offset = dissect_ansi_map_RoamerDatabaseVerificationRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_roamerDatabaseVerificationRequestRes);
break;
case 99: /*Add Service*/
offset = dissect_ansi_map_AddServiceRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_addServiceRes);
break;
case 100: /*Drop Service*/
offset = dissect_ansi_map_DropServiceRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_dropServiceRes);
break;
/*End N.S0029 */
/* X.S0002-0 v1.0 */
/* LCSParameterRequest */
case 102:
offset = dissect_ansi_map_LCSParameterRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_lcsParameterRequestRes);
break;
/* CheckMEID X.S0008-0 v1.0*/
case 104:
offset = dissect_ansi_map_CheckMEIDRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_checkMEIDRes);
break;
/* PositionEventNotification *
case 106:
offset = dissect_ansi_map_PositionEventNotification(TRUE, tvb, offset, actx, tree, hf_ansi_map_positionEventNotificationRes);
break;
*/
case 107:
/* StatusRequest X.S0008-0 v1.0*/
offset = dissect_ansi_map_StatusRequestRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_statusRequestRes);
break;
case 111:
/* InterSystemSMSDeliveryPointToPointRes X.S0004-540-E v2.0 */
offset = dissect_ansi_map_InterSystemSMSDeliveryPointToPointRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_interSystemSMSDeliveryPointToPointRes);
break;
case 112:
/* QualificationRequest2Res 112 X.S0004-540-E v2.0*/
offset = dissect_ansi_map_QualificationRequest2Res(TRUE, tvb, offset, actx, tree, hf_ansi_map_qualificationRequest2Res);
break;
default:
proto_tree_add_expert(tree, actx->pinfo, &ei_ansi_map_unknown_invokeData_blob, tvb, offset, -1);
opCodeKnown = FALSE;
break;
}
if (opCodeKnown)
{
tap_p->message_type = OperationCode;
tap_p->size = 0; /* should be number of octets in message */
tap_queue_packet(ansi_map_tap, g_pinfo, tap_p);
}
return offset;
}
static int
find_saved_invokedata(asn1_ctx_t *actx, struct ansi_tcap_private_t *p_private_tcap){
struct ansi_map_invokedata_t *ansi_map_saved_invokedata;
address* src = &(actx->pinfo->src);
address* dst = &(actx->pinfo->dst);
guint8 *src_str;
guint8 *dst_str;
char *buf;
buf=(char *)wmem_alloc(actx->pinfo->pool, 1024);
/* Data from the TCAP dissector */
/* The hash string needs to contain src and dest to distiguish differnt flows */
src_str = address_to_str(actx->pinfo->pool, src);
dst_str = address_to_str(actx->pinfo->pool, dst);
/* Reverse order to invoke */
switch(ansi_map_response_matching_type){
case ANSI_MAP_TID_ONLY:
snprintf(buf,1024,"%s",p_private_tcap->TransactionID_str);
break;
case ANSI_MAP_TID_AND_SOURCE:
snprintf(buf,1024,"%s%s",p_private_tcap->TransactionID_str,dst_str);
break;
case ANSI_MAP_TID_SOURCE_AND_DEST:
default:
snprintf(buf,1024,"%s%s%s",p_private_tcap->TransactionID_str,dst_str,src_str);
break;
}
/*ws_warning("Find Hash string %s pkt: %u",buf,actx->pinfo->num);*/
ansi_map_saved_invokedata = (struct ansi_map_invokedata_t *)wmem_multimap_lookup32_le(TransactionId_table, buf, actx->pinfo->num);
if(ansi_map_saved_invokedata){
OperationCode = ansi_map_saved_invokedata->opcode & 0xff;
ServiceIndicator = ansi_map_saved_invokedata->ServiceIndicator;
}else{
OperationCode = OperationCode & 0x00ff;
}
return OperationCode;
}
static int
dissect_ansi_map(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
{
proto_item *ansi_map_item;
proto_tree *ansi_map_tree = NULL;
struct ansi_tcap_private_t *p_private_tcap = (struct ansi_tcap_private_t *)data;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
SMS_BearerData_tvb = NULL;
ansi_map_sms_tele_id = -1;
g_pinfo = pinfo;
g_tree = tree;
/* The TCAP dissector should have provided data but didn't so reject it. */
if (data == NULL)
return 0;
/*
* Make entry in the Protocol column on summary display
*/
col_set_str(pinfo->cinfo, COL_PROTOCOL, "ANSI MAP");
/*
* create the ansi_map protocol tree
*/
ansi_map_item = proto_tree_add_item(tree, proto_ansi_map, tvb, 0, -1, ENC_NA);
ansi_map_tree = proto_item_add_subtree(ansi_map_item, ett_ansi_map);
ansi_map_is_invoke = FALSE;
is683_ota = FALSE;
is801_pld = FALSE;
ServiceIndicator = 0;
switch(p_private_tcap->d.pdu){
/*
1 : invoke,
2 : returnResult,
3 : returnError,
4 : reject
*/
case 1:
OperationCode = p_private_tcap->d.OperationCode_private & 0x00ff;
ansi_map_is_invoke = TRUE;
col_add_fstr(pinfo->cinfo, COL_INFO,"%s Invoke ", val_to_str_ext(OperationCode, &ansi_map_opr_code_strings_ext, "Unknown ANSI-MAP PDU (%u)"));
proto_item_append_text(p_private_tcap->d.OperationCode_item," %s",val_to_str_ext(OperationCode, &ansi_map_opr_code_strings_ext, "Unknown ANSI-MAP PDU (%u)"));
dissect_invokeData(ansi_map_tree, tvb, 0, &asn1_ctx);
update_saved_invokedata(pinfo, p_private_tcap);
break;
case 2:
OperationCode = find_saved_invokedata(&asn1_ctx, p_private_tcap);
col_add_fstr(pinfo->cinfo, COL_INFO,"%s ReturnResult ", val_to_str_ext(OperationCode, &ansi_map_opr_code_strings_ext, "Unknown ANSI-MAP PDU (%u)"));
proto_item_append_text(p_private_tcap->d.OperationCode_item," %s",val_to_str_ext(OperationCode, &ansi_map_opr_code_strings_ext, "Unknown ANSI-MAP PDU (%u)"));
dissect_returnData(ansi_map_tree, tvb, 0, &asn1_ctx);
break;
case 3:
col_add_fstr(pinfo->cinfo, COL_INFO,"%s ReturnError ", val_to_str_ext(OperationCode, &ansi_map_opr_code_strings_ext, "Unknown ANSI-MAP PDU (%u)"));
break;
case 4:
col_add_fstr(pinfo->cinfo, COL_INFO,"%s Reject ", val_to_str_ext(OperationCode, &ansi_map_opr_code_strings_ext, "Unknown ANSI-MAP PDU (%u)"));
break;
default:
/* Must be Invoke ReturnResult ReturnError or Reject */
DISSECTOR_ASSERT_NOT_REACHED();
break;
}
return tvb_captured_length(tvb);
}
static void range_delete_callback(guint32 ssn, gpointer ptr _U_)
{
if (ssn) {
delete_ansi_tcap_subdissector(ssn, ansi_map_handle);
}
}
static void range_add_callback(guint32 ssn, gpointer ptr _U_)
{
if (ssn) {
add_ansi_tcap_subdissector(ssn, ansi_map_handle);
}
}
/* TAP STAT INFO */
typedef enum
{
OPCODE_COLUMN = 0,
OPERATION_COLUMN,
COUNT_COLUMN,
TOTAL_BYTES_COLUMN,
AVG_BYTES_COLUMN
} ansi_map_stat_columns;
static stat_tap_table_item stat_fields[] = {{TABLE_ITEM_UINT, TAP_ALIGN_RIGHT, "OpCode", "0x%02x"}, {TABLE_ITEM_STRING, TAP_ALIGN_LEFT, "Operation Name", "%-50s"},
{TABLE_ITEM_UINT, TAP_ALIGN_RIGHT, "Count", " %d "}, {TABLE_ITEM_UINT, TAP_ALIGN_RIGHT, "Total Bytes", " %d "},
{TABLE_ITEM_FLOAT, TAP_ALIGN_RIGHT, "Avg Bytes", " %8.2f "}};
static void ansi_map_stat_init(stat_tap_table_ui* new_stat)
{
const char *table_name = "ANSI MAP Operation Statistics";
int num_fields = sizeof(stat_fields)/sizeof(stat_tap_table_item);
stat_tap_table *table;
int i = 0;
stat_tap_table_item_type items[sizeof(stat_fields)/sizeof(stat_tap_table_item)];
table = stat_tap_find_table(new_stat, table_name);
if (table) {
if (new_stat->stat_tap_reset_table_cb) {
new_stat->stat_tap_reset_table_cb(table);
}
return;
}
table = stat_tap_init_table(table_name, num_fields, 0, "ansi_map.op_code");
stat_tap_add_table(new_stat, table);
/* Add a fow for each value type */
while (ansi_map_opr_code_strings[i].strptr)
{
items[OPCODE_COLUMN].type = TABLE_ITEM_UINT;
items[OPCODE_COLUMN].value.uint_value = ansi_map_opr_code_strings[i].value;
items[OPERATION_COLUMN].type = TABLE_ITEM_STRING;
items[OPERATION_COLUMN].value.string_value = ansi_map_opr_code_strings[i].strptr;
items[COUNT_COLUMN].type = TABLE_ITEM_UINT;
items[COUNT_COLUMN].value.uint_value = 0;
items[TOTAL_BYTES_COLUMN].type = TABLE_ITEM_UINT;
items[TOTAL_BYTES_COLUMN].value.uint_value = 0;
items[AVG_BYTES_COLUMN].type = TABLE_ITEM_FLOAT;
items[AVG_BYTES_COLUMN].value.float_value = 0.0f;
stat_tap_init_table_row(table, ansi_map_opr_code_strings[i].value, num_fields, items);
i++;
}
}
static tap_packet_status
ansi_map_stat_packet(void *tapdata, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const void *data, tap_flags_t flags _U_)
{
stat_data_t* stat_data = (stat_data_t*)tapdata;
const ansi_map_tap_rec_t *data_p = (const ansi_map_tap_rec_t *)data;
stat_tap_table* table;
stat_tap_table_item_type* item_data;
guint count, total_bytes;
/* Only tracking field values we know */
if (try_val_to_str(data_p->message_type, ansi_map_opr_code_strings) == NULL)
return TAP_PACKET_DONT_REDRAW;
table = g_array_index(stat_data->stat_tap_data->tables, stat_tap_table*, 0);
item_data = stat_tap_get_field_data(table, data_p->message_type, COUNT_COLUMN);
item_data->value.uint_value++;
count = item_data->value.uint_value;
stat_tap_set_field_data(table, data_p->message_type, COUNT_COLUMN, item_data);
item_data = stat_tap_get_field_data(table, data_p->message_type, TOTAL_BYTES_COLUMN);
item_data->value.uint_value += data_p->size;
total_bytes = item_data->value.uint_value;
stat_tap_set_field_data(table, data_p->message_type, TOTAL_BYTES_COLUMN, item_data);
item_data = stat_tap_get_field_data(table, data_p->message_type, AVG_BYTES_COLUMN);
item_data->value.float_value = (float)total_bytes/(float)count;
stat_tap_set_field_data(table, data_p->message_type, AVG_BYTES_COLUMN, item_data);
return TAP_PACKET_REDRAW;
}
static void
ansi_map_stat_reset(stat_tap_table* table)
{
guint element;
stat_tap_table_item_type* item_data;
for (element = 0; element < table->num_elements; element++)
{
item_data = stat_tap_get_field_data(table, element, COUNT_COLUMN);
item_data->value.uint_value = 0;
stat_tap_set_field_data(table, element, COUNT_COLUMN, item_data);
item_data = stat_tap_get_field_data(table, element, TOTAL_BYTES_COLUMN);
item_data->value.uint_value = 0;
stat_tap_set_field_data(table, element, TOTAL_BYTES_COLUMN, item_data);
item_data = stat_tap_get_field_data(table, element, AVG_BYTES_COLUMN);
item_data->value.float_value = 0.0f;
stat_tap_set_field_data(table, element, AVG_BYTES_COLUMN, item_data);
}
}
void
proto_reg_handoff_ansi_map(void)
{
static gboolean ansi_map_prefs_initialized = FALSE;
static range_t *ssn_range;
if(!ansi_map_prefs_initialized)
{
ansi_map_prefs_initialized = TRUE;
}
else
{
range_foreach(ssn_range, range_delete_callback, NULL);
wmem_free(wmem_epan_scope(), ssn_range);
}
ssn_range = range_copy(wmem_epan_scope(), global_ssn_range);
range_foreach(ssn_range, range_add_callback, NULL);
}
/*--- proto_register_ansi_map -------------------------------------------*/
void proto_register_ansi_map(void) {
module_t *ansi_map_module;
/* List of fields */
static hf_register_info hf[] = {
#if 0
{ &hf_ansi_map_op_code_fam,
{ "Operation Code Family", "ansi_map.op_code_fam",
FT_UINT8, BASE_DEC, NULL, 0,
NULL, HFILL }},
#endif
{ &hf_ansi_map_reservedBitH,
{ "Reserved", "ansi_map.reserved_bitH",
FT_BOOLEAN, 8, NULL,0x80,
NULL, HFILL }},
{ &hf_ansi_map_reservedBitD,
{ "Reserved", "ansi_map.reserved_bitD",
FT_BOOLEAN, 8, NULL,0x08,
NULL, HFILL }},
{ &hf_ansi_map_reservedBitHG,
{ "Reserved", "ansi_map.reserved_bitHG",
FT_UINT8, BASE_DEC, NULL, 0xc0,
NULL, HFILL }},
{ &hf_ansi_map_reservedBitHGFE,
{ "Reserved", "ansi_map.reserved_bitHGFE",
FT_UINT8, BASE_DEC, NULL, 0xf0,
NULL, HFILL }},
{ &hf_ansi_map_reservedBitFED,
{ "Reserved", "ansi_map.reserved_bitFED",
FT_UINT8, BASE_DEC, NULL, 0x38,
NULL, HFILL }},
{ &hf_ansi_map_reservedBitED,
{ "Reserved", "ansi_map.reserved_bitED",
FT_UINT8, BASE_DEC, NULL, 0x18,
NULL, HFILL }},
#if 0
{ &hf_ansi_map_op_code,
{ "Operation Code", "ansi_map.op_code",
FT_UINT8, BASE_DEC|BASE_EXT_STRING, &ansi_map_opr_code_strings_ext, 0x0,
NULL, HFILL }},
#endif
{ &hf_ansi_map_type_of_digits,
{ "Type of Digits", "ansi_map.type_of_digits",
FT_UINT8, BASE_DEC, VALS(ansi_map_type_of_digits_vals), 0x0,
NULL, HFILL }},
{ &hf_ansi_map_na,
{ "Nature of Number", "ansi_map.na",
FT_BOOLEAN, 8, TFS(&ansi_map_na_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_pi,
{ "Presentation Indication", "ansi_map.type_of_pi",
FT_BOOLEAN, 8, TFS(&ansi_map_pi_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_navail,
{ "Number available indication", "ansi_map.navail",
FT_BOOLEAN, 8, TFS(&ansi_map_navail_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_si,
{ "Screening indication", "ansi_map.si",
FT_UINT8, BASE_DEC, VALS(ansi_map_si_vals), 0x30,
NULL, HFILL }},
{ &hf_ansi_map_digits_enc,
{ "Encoding", "ansi_map.enc",
FT_UINT8, BASE_DEC, VALS(ansi_map_digits_enc_vals), 0x0f,
NULL, HFILL }},
{ &hf_ansi_map_np,
{ "Numbering Plan", "ansi_map.np",
FT_UINT8, BASE_DEC, VALS(ansi_map_np_vals), 0xf0,
NULL, HFILL }},
{ &hf_ansi_map_nr_digits,
{ "Number of Digits", "ansi_map.nr_digits",
FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
{ &hf_ansi_map_bcd_digits,
{ "BCD digits", "ansi_map.bcd_digits",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_ansi_map_ia5_digits,
{ "IA5 digits", "ansi_map.ia5_digits",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_ansi_map_subaddr_type,
{ "Type of Subaddress", "ansi_map.subaddr_type",
FT_UINT8, BASE_DEC, VALS(ansi_map_sub_addr_type_vals), 0x70,
NULL, HFILL }},
{ &hf_ansi_map_subaddr_odd_even,
{ "Odd/Even Indicator", "ansi_map.subaddr_odd_even",
FT_BOOLEAN, 8, TFS(&ansi_map_navail_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_alertcode_cadence,
{ "Cadence", "ansi_map.alertcode.cadence",
FT_UINT8, BASE_DEC, VALS(ansi_map_AlertCode_Cadence_vals), 0x3f,
NULL, HFILL }},
{ &hf_ansi_alertcode_pitch,
{ "Pitch", "ansi_map.alertcode.pitch",
FT_UINT8, BASE_DEC, VALS(ansi_map_AlertCode_Pitch_vals), 0xc0,
NULL, HFILL }},
{ &hf_ansi_alertcode_alertaction,
{ "Alert Action", "ansi_map.alertcode.alertaction",
FT_UINT8, BASE_DEC, VALS(ansi_map_AlertCode_Alert_Action_vals), 0x07,
NULL, HFILL }},
{ &hf_ansi_map_announcementcode_tone,
{ "Tone", "ansi_map.announcementcode.tone",
FT_UINT8, BASE_DEC, VALS(ansi_map_AnnouncementCode_tone_vals), 0x0,
NULL, HFILL }},
{ &hf_ansi_map_announcementcode_class,
{ "Tone", "ansi_map.announcementcode.class",
FT_UINT8, BASE_DEC, VALS(ansi_map_AnnouncementCode_class_vals), 0xf,
NULL, HFILL }},
{ &hf_ansi_map_announcementcode_std_ann,
{ "Standard Announcement", "ansi_map.announcementcode.std_ann",
FT_UINT8, BASE_DEC, VALS(ansi_map_AnnouncementCode_std_ann_vals), 0x0,
NULL, HFILL }},
{ &hf_ansi_map_announcementcode_cust_ann,
{ "Custom Announcement", "ansi_map.announcementcode.cust_ann",
FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
{ &hf_ansi_map_authorizationperiod_period,
{ "Period", "ansi_map.authorizationperiod.period",
FT_UINT8, BASE_DEC, VALS(ansi_map_authorizationperiod_period_vals), 0x0,
NULL, HFILL }},
{ &hf_ansi_map_value,
{ "Value", "ansi_map.value",
FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
{ &hf_ansi_map_msc_type,
{ "Type", "ansi_map.extendedmscid.type",
FT_UINT8, BASE_DEC, VALS(ansi_map_msc_type_vals), 0x0,
NULL, HFILL }},
{ &hf_ansi_map_handoffstate_pi,
{ "Party Involved (PI)", "ansi_map.handoffstate.pi",
FT_BOOLEAN, 8, TFS(&ansi_map_HandoffState_pi_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_tgn,
{ "Trunk Group Number (G)", "ansi_map.tgn",
FT_UINT8, BASE_DEC, NULL,0x0,
NULL, HFILL }},
{ &hf_ansi_map_tmn,
{ "Trunk Member Number (M)", "ansi_map.tmn",
FT_UINT8, BASE_DEC, NULL,0x0,
NULL, HFILL }},
{ &hf_ansi_map_messagewaitingnotificationcount_tom,
{ "Type of messages", "ansi_map.messagewaitingnotificationcount.tom",
FT_UINT8, BASE_DEC, VALS(ansi_map_MessageWaitingNotificationCount_type_vals), 0x0,
NULL, HFILL }},
{ &hf_ansi_map_messagewaitingnotificationcount_no_mw,
{ "Number of Messages Waiting", "ansi_map.messagewaitingnotificationcount.nomw",
FT_UINT8, BASE_DEC, NULL,0x0,
NULL, HFILL }},
{ &hf_ansi_map_messagewaitingnotificationtype_mwi,
{ "Message Waiting Indication (MWI)", "ansi_map.messagewaitingnotificationcount.mwi",
FT_UINT8, BASE_DEC, VALS(ansi_map_MessageWaitingNotificationType_mwi_vals), 0x0,
NULL, HFILL }},
{ &hf_ansi_map_messagewaitingnotificationtype_apt,
{ "Alert Pip Tone (APT)", "ansi_map.messagewaitingnotificationtype.apt",
FT_BOOLEAN, 8, TFS(&ansi_map_HandoffState_pi_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_messagewaitingnotificationtype_pt,
{ "Pip Tone (PT)", "ansi_map.messagewaitingnotificationtype.pt",
FT_UINT8, BASE_DEC, VALS(ansi_map_MessageWaitingNotificationType_mwi_vals), 0xc0,
NULL, HFILL }},
{ &hf_ansi_map_trans_cap_prof,
{ "Profile (PROF)", "ansi_map.trans_cap_prof",
FT_BOOLEAN, 8, TFS(&ansi_map_trans_cap_prof_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_trans_cap_busy,
{ "Busy Detection (BUSY)", "ansi_map.trans_cap_busy",
FT_BOOLEAN, 8, TFS(&ansi_map_trans_cap_busy_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_trans_cap_ann,
{ "Announcements (ANN)", "ansi_map.trans_cap_ann",
FT_BOOLEAN, 8, TFS(&ansi_map_trans_cap_ann_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_trans_cap_rui,
{ "Remote User Interaction (RUI)", "ansi_map.trans_cap_rui",
FT_BOOLEAN, 8, TFS(&ansi_map_trans_cap_rui_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_trans_cap_spini,
{ "Subscriber PIN Intercept (SPINI)", "ansi_map.trans_cap_spini",
FT_BOOLEAN, 8, TFS(&ansi_map_trans_cap_spini_bool_val),0x10,
NULL, HFILL }},
{ &hf_ansi_map_trans_cap_uzci,
{ "UZ Capability Indicator (UZCI)", "ansi_map.trans_cap_uzci",
FT_BOOLEAN, 8, TFS(&ansi_map_trans_cap_uzci_bool_val),0x20,
NULL, HFILL }},
{ &hf_ansi_map_trans_cap_ndss,
{ "NDSS Capability (NDSS)", "ansi_map.trans_cap_ndss",
FT_BOOLEAN, 8, TFS(&ansi_map_trans_cap_ndss_bool_val),0x40,
NULL, HFILL }},
{ &hf_ansi_map_trans_cap_nami,
{ "NAME Capability Indicator (NAMI)", "ansi_map.trans_cap_nami",
FT_BOOLEAN, 8, TFS(&ansi_map_trans_cap_nami_bool_val),0x80,
NULL, HFILL }},
{ &hf_ansi_trans_cap_multerm,
{ "Multiple Terminations", "ansi_map.trans_cap_multerm",
FT_UINT8, BASE_DEC, VALS(ansi_map_trans_cap_multerm_vals), 0x0f,
NULL, HFILL }},
{ &hf_ansi_map_terminationtriggers_busy,
{ "Busy", "ansi_map.terminationtriggers.busy",
FT_UINT8, BASE_DEC, VALS(ansi_map_terminationtriggers_busy_vals), 0x03,
NULL, HFILL }},
{ &hf_ansi_map_terminationtriggers_rf,
{ "Routing Failure (RF)", "ansi_map.terminationtriggers.rf",
FT_UINT8, BASE_DEC, VALS(ansi_map_terminationtriggers_rf_vals), 0x0c,
NULL, HFILL }},
{ &hf_ansi_map_terminationtriggers_npr,
{ "No Page Response (NPR)", "ansi_map.terminationtriggers.npr",
FT_UINT8, BASE_DEC, VALS(ansi_map_terminationtriggers_npr_vals), 0x30,
NULL, HFILL }},
{ &hf_ansi_map_terminationtriggers_na,
{ "No Answer (NA)", "ansi_map.terminationtriggers.na",
FT_UINT8, BASE_DEC, VALS(ansi_map_terminationtriggers_na_vals), 0xc0,
NULL, HFILL }},
{ &hf_ansi_map_terminationtriggers_nr,
{ "None Reachable (NR)", "ansi_map.terminationtriggers.nr",
FT_UINT8, BASE_DEC, VALS(ansi_map_terminationtriggers_nr_vals), 0x01,
NULL, HFILL }},
{ &hf_ansi_trans_cap_tl,
{ "TerminationList (TL)", "ansi_map.trans_cap_tl",
FT_BOOLEAN, 8, TFS(&ansi_map_trans_cap_tl_bool_val),0x10,
NULL, HFILL }},
{ &hf_ansi_map_cdmaserviceoption,
{ "CDMAServiceOption", "ansi_map.cdmaserviceoption",
FT_UINT16, BASE_RANGE_STRING | BASE_DEC, RVALS(cdmaserviceoption_vals), 0x0,
NULL, HFILL }},
{ &hf_ansi_trans_cap_waddr,
{ "WIN Addressing (WADDR)", "ansi_map.trans_cap_waddr",
FT_BOOLEAN, 8, TFS(&ansi_map_trans_cap_waddr_bool_val),0x20,
NULL, HFILL }},
{ &hf_ansi_map_MarketID,
{ "MarketID", "ansi_map.marketid",
FT_UINT16, BASE_DEC, NULL, 0,
NULL, HFILL }},
{ &hf_ansi_map_swno,
{ "Switch Number (SWNO)", "ansi_map.swno",
FT_UINT8, BASE_DEC, NULL, 0,
NULL, HFILL }},
{ &hf_ansi_map_idno,
{ "ID Number", "ansi_map.idno",
FT_UINT32, BASE_DEC, NULL, 0,
NULL, HFILL }},
{ &hf_ansi_map_segcount,
{ "Segment Counter", "ansi_map.segcount",
FT_UINT8, BASE_DEC, NULL, 0,
NULL, HFILL }},
{ &hf_ansi_map_sms_originationrestrictions_direct,
{ "DIRECT", "ansi_map.originationrestrictions.direct",
FT_BOOLEAN, 8, TFS(&ansi_map_SMS_OriginationRestrictions_direct_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_sms_originationrestrictions_default,
{ "DEFAULT", "ansi_map.originationrestrictions.default",
FT_UINT8, BASE_DEC, VALS(ansi_map_SMS_OriginationRestrictions_default_vals), 0x03,
NULL, HFILL }},
{ &hf_ansi_map_sms_originationrestrictions_fmc,
{ "Force Message Center (FMC)", "ansi_map.originationrestrictions.fmc",
FT_BOOLEAN, 8, TFS(&ansi_map_SMS_OriginationRestrictions_fmc_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_systemcapabilities_auth,
{ "Authentication Parameters Requested (AUTH)", "ansi_map.systemcapabilities.auth",
FT_BOOLEAN, 8, TFS(&ansi_map_systemcapabilities_auth_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_systemcapabilities_se,
{ "Signaling Message Encryption Capable (SE )", "ansi_map.systemcapabilities.se",
FT_BOOLEAN, 8, TFS(&ansi_map_systemcapabilities_se_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_systemcapabilities_vp,
{ "Voice Privacy Capable (VP )", "ansi_map.systemcapabilities.vp",
FT_BOOLEAN, 8, TFS(&ansi_map_systemcapabilities_vp_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_systemcapabilities_cave,
{ "CAVE Algorithm Capable (CAVE)", "ansi_map.systemcapabilities.cave",
FT_BOOLEAN, 8, TFS(&ansi_map_systemcapabilities_cave_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_systemcapabilities_ssd,
{ "Shared SSD (SSD)", "ansi_map.systemcapabilities.ssd",
FT_BOOLEAN, 8, TFS(&ansi_map_systemcapabilities_ssd_bool_val),0x10,
NULL, HFILL }},
{ &hf_ansi_map_systemcapabilities_dp,
{ "Data Privacy (DP)", "ansi_map.systemcapabilities.dp",
FT_BOOLEAN, 8, TFS(&ansi_map_systemcapabilities_dp_bool_val),0x20,
NULL, HFILL }},
{ &hf_ansi_map_mslocation_lat,
{ "Latitude in tenths of a second", "ansi_map.mslocation.lat",
FT_UINT24, BASE_DEC, NULL, 0,
NULL, HFILL }},
{ &hf_ansi_map_mslocation_long,
{ "Longitude in tenths of a second", "ansi_map.mslocation.long",
FT_UINT24, BASE_DEC, NULL, 0,
"Switch Number (SWNO)", HFILL }},
{ &hf_ansi_map_mslocation_res,
{ "Resolution in units of 1 foot", "ansi_map.mslocation.res",
FT_UINT8, BASE_DEC, NULL, 0,
NULL, HFILL }},
{ &hf_ansi_map_nampscallmode_namps,
{ "Call Mode", "ansi_map.nampscallmode.namps",
FT_BOOLEAN, 8, TFS(&ansi_map_CallMode_namps_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_nampscallmode_amps,
{ "Call Mode", "ansi_map.nampscallmode.amps",
FT_BOOLEAN, 8, TFS(&ansi_map_CallMode_amps_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_nampschanneldata_navca,
{ "Narrow Analog Voice Channel Assignment (NAVCA)", "ansi_map.nampschanneldata.navca",
FT_UINT8, BASE_DEC, VALS(ansi_map_NAMPSChannelData_navca_vals), 0x03,
NULL, HFILL }},
{ &hf_ansi_map_nampschanneldata_CCIndicator,
{ "Color Code Indicator (CCIndicator)", "ansi_map.nampschanneldata.ccindicator",
FT_UINT8, BASE_DEC, VALS(ansi_map_NAMPSChannelData_ccinidicator_vals), 0x1c,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_cfufa,
{ "Call Forwarding Unconditional FeatureActivity, CFU-FA", "ansi_map.callingfeaturesindicator.cfufa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x03,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_cfbfa,
{ "Call Forwarding Busy FeatureActivity, CFB-FA", "ansi_map.callingfeaturesindicator.cfbafa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x0c,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_cfnafa,
{ "Call Forwarding No Answer FeatureActivity, CFNA-FA", "ansi_map.callingfeaturesindicator.cfnafa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x30,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_cwfa,
{ "Call Waiting: FeatureActivity, CW-FA", "ansi_map.callingfeaturesindicator.cwfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0xc0,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_3wcfa,
{ "Three-Way Calling FeatureActivity, 3WC-FA", "ansi_map.callingfeaturesindicator.3wcfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x03,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_pcwfa,
{ "Priority Call Waiting FeatureActivity PCW-FA", "ansi_map.callingfeaturesindicator.pcwfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x03,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_dpfa,
{ "Data Privacy Feature Activity DP-FA", "ansi_map.callingfeaturesindicator.dpfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x0c,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_ahfa,
{ "Answer Hold: FeatureActivity AH-FA", "ansi_map.callingfeaturesindicator.ahfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x30,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_uscfvmfa,
{ "USCF divert to voice mail: FeatureActivity USCFvm-FA", "ansi_map.callingfeaturesindicator.uscfvmfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0xc0,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_uscfmsfa,
{ "USCF divert to mobile station provided DN:FeatureActivity.USCFms-FA", "ansi_map.callingfeaturesindicator.uscfmsfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x03,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_uscfnrfa,
{ "USCF divert to network registered DN:FeatureActivity. USCFnr-FA", "ansi_map.callingfeaturesindicator.uscfnrfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x0c,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_cpdsfa,
{ "CDMA-Packet Data Service: FeatureActivity. CPDS-FA", "ansi_map.callingfeaturesindicator.cpdfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x30,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_ccsfa,
{ "CDMA-Concurrent Service:FeatureActivity. CCS-FA", "ansi_map.callingfeaturesindicator.ccsfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0xc0,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_epefa,
{ "TDMA Enhanced Privacy and Encryption:FeatureActivity.TDMA EPE-FA", "ansi_map.callingfeaturesindicator.epefa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x03,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_cdfa,
{ "Call Delivery: FeatureActivity, CD-FA", "ansi_map.callingfeaturesindicator.cdfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x0c,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_vpfa,
{ "Voice Privacy FeatureActivity, VP-FA", "ansi_map.callingfeaturesindicator.vpfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x30,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_ctfa,
{ "Call Transfer: FeatureActivity, CT-FA", "ansi_map.callingfeaturesindicator.ctfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0xc0,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_cnip1fa,
{ "One number (network-provided only) Calling Number Identification Presentation: FeatureActivity CNIP1-FA", "ansi_map.callingfeaturesindicator.cnip1fa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x03,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_cnip2fa,
{ "Two number (network-provided and user-provided) Calling Number Identification Presentation: FeatureActivity CNIP2-FA", "ansi_map.callingfeaturesindicator.cnip2fa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x0c,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_cnirfa,
{ "Calling Number Identification Restriction: FeatureActivity CNIR-FA", "ansi_map.callingfeaturesindicator.cnirfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0x30,
NULL, HFILL }},
{ &hf_ansi_map_callingfeaturesindicator_cniroverfa,
{ "Calling Number Identification Restriction Override FeatureActivity CNIROver-FA", "ansi_map.callingfeaturesindicator.cniroverfa",
FT_UINT8, BASE_DEC, VALS(ansi_map_FeatureActivity_vals), 0xc0,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_cdma,
{ "Call Mode", "ansi_map.cdmacallmode.cdma",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMACallMode_cdma_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_amps,
{ "Call Mode", "ansi_map.cdmacallmode.amps",
FT_BOOLEAN, 8, TFS(&ansi_map_CallMode_amps_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_namps,
{ "Call Mode", "ansi_map.cdmacallmode.namps",
FT_BOOLEAN, 8, TFS(&ansi_map_CallMode_namps_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_cls1,
{ "Call Mode", "ansi_map.cdmacallmode.cls1",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMACallMode_cls1_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_cls2,
{ "Call Mode", "ansi_map.cdmacallmode.cls2",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMACallMode_cls2_bool_val),0x10,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_cls3,
{ "Call Mode", "ansi_map.cdmacallmode.cls3",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMACallMode_cls3_bool_val),0x20,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_cls4,
{ "Call Mode", "ansi_map.cdmacallmode.cls4",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMACallMode_cls4_bool_val),0x40,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_cls5,
{ "Call Mode", "ansi_map.cdmacallmode.cls5",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMACallMode_cls5_bool_val),0x80,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_cls6,
{ "Call Mode", "ansi_map.cdmacallmode.cls6",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMACallMode_cls6_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_cls7,
{ "Call Mode", "ansi_map.cdmacallmode.cls7",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMACallMode_cls7_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_cls8,
{ "Call Mode", "ansi_map.cdmacallmode.cls8",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMACallMode_cls8_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_cls9,
{ "Call Mode", "ansi_map.cdmacallmode.cls9",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMACallMode_cls9_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_cdmacallmode_cls10,
{ "Call Mode", "ansi_map.cdmacallmode.cls10",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMACallMode_cls10_bool_val),0x10,
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_Frame_Offset,
{ "Frame Offset", "ansi_map.cdmachanneldata.frameoffset",
FT_UINT8, BASE_DEC, NULL, 0x78,
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_CDMA_ch_no,
{ "CDMA Channel Number", "ansi_map.cdmachanneldata.cdma_ch_no",
FT_UINT16, BASE_DEC, NULL, 0x07FF,
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_band_cls,
{ "Band Class", "ansi_map.cdmachanneldata.band_cls",
FT_UINT8, BASE_DEC, VALS(ansi_map_cdmachanneldata_band_cls_vals), 0x7c,
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_lc_mask_b6,
{ "Long Code Mask (byte 6) MSB", "ansi_map.cdmachanneldata.lc_mask_b6",
FT_UINT8, BASE_HEX, NULL, 0x03,
"Long Code Mask MSB (byte 6)", HFILL }},
{&hf_ansi_map_cdmachanneldata_lc_mask_b5,
{ "Long Code Mask (byte 5)", "ansi_map.cdmachanneldata.lc_mask_b5",
FT_UINT8, BASE_HEX, NULL, 0xff,
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_lc_mask_b4,
{ "Long Code Mask (byte 4)", "ansi_map.cdmachanneldata.lc_mask_b4",
FT_UINT8, BASE_HEX, NULL, 0xff,
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_lc_mask_b3,
{ "Long Code Mask (byte 3)", "ansi_map.cdmachanneldata.lc_mask_b3",
FT_UINT8, BASE_HEX, NULL, 0xff,
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_lc_mask_b2,
{ "Long Code Mask (byte 2)", "ansi_map.cdmachanneldata.lc_mask_b2",
FT_UINT8, BASE_HEX, NULL, 0xff,
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_lc_mask_b1,
{ "Long Code Mask LSB(byte 1)", "ansi_map.cdmachanneldata.lc_mask_b1",
FT_UINT8, BASE_HEX, NULL, 0xff,
"Long Code Mask (byte 1)LSB", HFILL }},
{&hf_ansi_map_cdmachanneldata_np_ext,
{ "NP EXT", "ansi_map.cdmachanneldata.np_ext",
FT_BOOLEAN, 8, NULL,0x80,
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_nominal_pwr,
{ "Nominal Power", "ansi_map.cdmachanneldata.nominal_pwr",
FT_UINT8, BASE_DEC, NULL, 0x78,
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_nr_preamble,
{ "Number Preamble", "ansi_map.cdmachanneldata.nr_preamble",
FT_UINT8, BASE_DEC, NULL, 0x07,
NULL, HFILL }},
{ &hf_ansi_map_cdmastationclassmark_pc,
{ "Power Class(PC)", "ansi_map.cdmastationclassmark.pc",
FT_UINT8, BASE_DEC, VALS(ansi_map_CDMAStationClassMark_pc_vals), 0x03,
NULL, HFILL }},
{ &hf_ansi_map_cdmastationclassmark_dtx,
{ "Analog Transmission: (DTX)", "ansi_map.cdmastationclassmark.dtx",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMAStationClassMark_dtx_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_cdmastationclassmark_smi,
{ "Slotted Mode Indicator: (SMI)", "ansi_map.cdmastationclassmark.smi",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMAStationClassMark_smi_bool_val),0x20,
NULL, HFILL }},
{ &hf_ansi_map_cdmastationclassmark_dmi,
{ "Dual-mode Indicator(DMI)", "ansi_map.cdmastationclassmark.dmi",
FT_BOOLEAN, 8, TFS(&ansi_map_CDMAStationClassMark_dmi_bool_val),0x40,
NULL, HFILL }},
{ &hf_ansi_map_channeldata_vmac,
{ "Voice Mobile Attenuation Code (VMAC)", "ansi_map.channeldata.vmac",
FT_UINT8, BASE_DEC, NULL, 0x07,
NULL, HFILL }},
{ &hf_ansi_map_channeldata_dtx,
{ "Discontinuous Transmission Mode (DTX)", "ansi_map.channeldata.dtx",
FT_UINT8, BASE_DEC, VALS(ansi_map_ChannelData_dtx_vals), 0x18,
NULL, HFILL }},
{ &hf_ansi_map_channeldata_scc,
{ "SAT Color Code (SCC)", "ansi_map.channeldata.scc",
FT_UINT8, BASE_DEC, NULL, 0xc0,
NULL, HFILL }},
{ &hf_ansi_map_channeldata_chno,
{ "Channel Number (CHNO)", "ansi_map.channeldata.chno",
FT_UINT16, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
{ &hf_ansi_map_ConfidentialityModes_vp,
{ "Voice Privacy (VP) Confidentiality Status", "ansi_map.confidentialitymodes.vp",
FT_BOOLEAN, 8, TFS(&ansi_map_ConfidentialityModes_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_controlchanneldata_dcc,
{ "Digital Color Code (DCC)", "ansi_map.controlchanneldata.dcc",
FT_UINT8, BASE_DEC, NULL, 0xc0,
NULL, HFILL }},
{ &hf_ansi_map_controlchanneldata_cmac,
{ "Control Mobile Attenuation Code (CMAC)", "ansi_map.controlchanneldata.cmac",
FT_UINT8, BASE_DEC, NULL, 0x07,
NULL, HFILL }},
{ &hf_ansi_map_controlchanneldata_chno,
{ "Channel Number (CHNO)", "ansi_map.controlchanneldata.chno",
FT_UINT16, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
{ &hf_ansi_map_controlchanneldata_sdcc1,
{ "Supplementary Digital Color Codes (SDCC1)", "ansi_map.controlchanneldata.ssdc1",
FT_UINT8, BASE_DEC, NULL, 0x0c,
NULL, HFILL }},
{ &hf_ansi_map_controlchanneldata_sdcc2,
{ "Supplementary Digital Color Codes (SDCC2)", "ansi_map.controlchanneldata.ssdc2",
FT_UINT8, BASE_DEC, NULL, 0x03,
NULL, HFILL }},
{ &hf_ansi_map_ConfidentialityModes_se,
{ "Signaling Message Encryption (SE) Confidentiality Status", "ansi_map.confidentialitymodes.se",
FT_BOOLEAN, 8, TFS(&ansi_map_ConfidentialityModes_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_ConfidentialityModes_dp,
{ "DataPrivacy (DP) Confidentiality Status", "ansi_map.confidentialitymodes.dp",
FT_BOOLEAN, 8, TFS(&ansi_map_ConfidentialityModes_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_deniedauthorizationperiod_period,
{ "Period", "ansi_map.deniedauthorizationperiod.period",
FT_UINT8, BASE_DEC, VALS(ansi_map_deniedauthorizationperiod_period_vals), 0x0,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_all,
{ "All Origination (All)", "ansi_map.originationtriggers.all",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_all_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_local,
{ "Local", "ansi_map.originationtriggers.local",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_local_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_ilata,
{ "Intra-LATA Toll (ILATA)", "ansi_map.originationtriggers.ilata",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_ilata_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_olata,
{ "Inter-LATA Toll (OLATA)", "ansi_map.originationtriggers.olata",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_olata_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_int,
{ "International (Int'l )", "ansi_map.originationtriggers.int",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_int_bool_val),0x10,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_wz,
{ "World Zone (WZ)", "ansi_map.originationtriggers.wz",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_wz_bool_val),0x20,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_unrec,
{ "Unrecognized Number (Unrec)", "ansi_map.originationtriggers.unrec",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_unrec_bool_val),0x40,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_rvtc,
{ "Revertive Call (RvtC)", "ansi_map.originationtriggers.rvtc",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_rvtc_bool_val),0x80,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_star,
{ "Star", "ansi_map.originationtriggers.star",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_star_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_ds,
{ "Double Star (DS)", "ansi_map.originationtriggers.ds",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_ds_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_pound,
{ "Pound", "ansi_map.originationtriggers.pound",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_pound_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_dp,
{ "Double Pound (DP)", "ansi_map.originationtriggers.dp",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_dp_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_pa,
{ "Prior Agreement (PA)", "ansi_map.originationtriggers.pa",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_pa_bool_val),0x10,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_nodig,
{ "No digits", "ansi_map.originationtriggers.nodig",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_nodig_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_onedig,
{ "1 digit", "ansi_map.originationtriggers.onedig",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_onedig_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_twodig,
{ "2 digits", "ansi_map.originationtriggers.twodig",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_twodig_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_threedig,
{ "3 digits", "ansi_map.originationtriggers.threedig",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_threedig_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_fourdig,
{ "4 digits", "ansi_map.originationtriggers.fourdig",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_fourdig_bool_val),0x10,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_fivedig,
{ "5 digits", "ansi_map.originationtriggers.fivedig",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_fivedig_bool_val),0x20,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_sixdig,
{ "6 digits", "ansi_map.originationtriggers.sixdig",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_sixdig_bool_val),0x40,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_sevendig,
{ "7 digits", "ansi_map.originationtriggers.sevendig",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_sevendig_bool_val),0x80,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_eightdig,
{ "8 digits", "ansi_map.originationtriggers.eight",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_eightdig_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_ninedig,
{ "9 digits", "ansi_map.originationtriggers.nine",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_ninedig_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_tendig,
{ "10 digits", "ansi_map.originationtriggers.ten",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_tendig_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_elevendig,
{ "11 digits", "ansi_map.originationtriggers.eleven",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_elevendig_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_twelvedig,
{ "12 digits", "ansi_map.originationtriggers.twelve",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_twelvedig_bool_val),0x10,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_thirteendig,
{ "13 digits", "ansi_map.originationtriggers.thirteen",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_thirteendig_bool_val),0x20,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_fourteendig,
{ "14 digits", "ansi_map.originationtriggers.fourteen",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_fourteendig_bool_val),0x40,
NULL, HFILL }},
{ &hf_ansi_map_originationtriggers_fifteendig,
{ "15 digits", "ansi_map.originationtriggers.fifteen",
FT_BOOLEAN, 8, TFS(&ansi_map_originationtriggers_fifteendig_bool_val),0x80,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_init,
{ "Introducing Star/Pound (INIT)", "ansi_map.triggercapability.init",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_kdigit,
{ "K-digit (K-digit)", "ansi_map.triggercapability.kdigit",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_all,
{ "All_Calls (All)", "ansi_map.triggercapability.all",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_rvtc,
{ "Revertive_Call (RvtC)", "ansi_map.triggercapability.rvtc",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_oaa,
{ "Origination_Attempt_Authorized (OAA)", "ansi_map.triggercapability.oaa",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x10,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_oans,
{ "O_Answer (OANS)", "ansi_map.triggercapability.oans",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x20,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_odisc,
{ "O_Disconnect (ODISC)", "ansi_map.triggercapability.odisc",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x40,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_ona,
{ "O_No_Answer (ONA)", "ansi_map.triggercapability.ona",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x80,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_ct ,
{ "Call Types (CT)", "ansi_map.triggercapability.ct",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_unrec,
{ "Unrecognized_Number (Unrec)", "ansi_map.triggercapability.unrec",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_pa,
{ "Prior_Agreement (PA)", "ansi_map.triggercapability.pa",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_at,
{ "Advanced_Termination (AT)", "ansi_map.triggercapability.at",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_cgraa,
{ "Calling_Routing_Address_Available (CgRAA)", "ansi_map.triggercapability.cgraa",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x10,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_it,
{ "Initial_Termination (IT)", "ansi_map.triggercapability.it",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x20,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_cdraa,
{ "Called_Routing_Address_Available (CdRAA)", "ansi_map.triggercapability.cdraa",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x40,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_obsy,
{ "O_Called_Party_Busy (OBSY)", "ansi_map.triggercapability.obsy",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x80,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_tra ,
{ "Terminating_Resource_Available (TRA)", "ansi_map.triggercapability.tra",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_tbusy,
{ "T_Busy (TBusy)", "ansi_map.triggercapability.tbusy",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_tna,
{ "T_No_Answer (TNA)", "ansi_map.triggercapability.tna",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_tans,
{ "T_Answer (TANS)", "ansi_map.triggercapability.tans",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x08,
NULL, HFILL }},
{ &hf_ansi_map_triggercapability_tdisc,
{ "T_Disconnect (TDISC)", "ansi_map.triggercapability.tdisc",
FT_BOOLEAN, 8, TFS(&ansi_map_triggercapability_bool_val),0x10,
NULL, HFILL }},
{ &hf_ansi_map_winoperationscapability_conn,
{ "ConnectResource (CONN)", "ansi_map.winoperationscapability.conn",
FT_BOOLEAN, 8, TFS(&ansi_map_winoperationscapability_conn_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_winoperationscapability_ccdir,
{ "CallControlDirective(CCDIR)", "ansi_map.winoperationscapability.ccdir",
FT_BOOLEAN, 8, TFS(&ansi_map_winoperationscapability_ccdir_bool_val),0x02,
NULL, HFILL }},
{ &hf_ansi_map_winoperationscapability_pos,
{ "PositionRequest (POS)", "ansi_map.winoperationscapability.pos",
FT_BOOLEAN, 8, TFS(&ansi_map_winoperationscapability_pos_bool_val),0x04,
NULL, HFILL }},
{ &hf_ansi_map_pacaindicator_pa,
{ "Permanent Activation (PA)", "ansi_map.pacaindicator_pa",
FT_BOOLEAN, 8, TFS(&ansi_map_pacaindicator_pa_bool_val),0x01,
NULL, HFILL }},
{ &hf_ansi_map_PACA_Level,
{ "PACA Level", "ansi_map.PACA_Level",
FT_UINT8, BASE_DEC, VALS(ansi_map_PACA_Level_vals), 0x1e,
NULL, HFILL }},
{ &hf_ansi_map_point_code,
{ "Point Code", "ansi_map.point_code",
FT_BYTES, BASE_NONE, NULL, 0x0,
NULL, HFILL }},
{ &hf_ansi_map_SSN,
{ "SSN", "ansi_map.SSN",
FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
{ &hf_ansi_map_win_trigger_list,
{ "WIN trigger list", "ansi_map.win_trigger_list",
FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
#include "packet-ansi_map-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_ansi_map,
&ett_mintype,
&ett_digitstype,
&ett_billingid,
&ett_sms_bearer_data,
&ett_sms_teleserviceIdentifier,
&ett_extendedmscid,
&ett_extendedsystemmytypecode,
&ett_handoffstate,
&ett_mscid,
&ett_cdmachanneldata,
&ett_cdmastationclassmark,
&ett_channeldata,
&ett_confidentialitymodes,
&ett_controlchanneldata,
&ett_CDMA2000HandoffInvokeIOSData,
&ett_CDMA2000HandoffResponseIOSData,
&ett_originationtriggers,
&ett_pacaindicator,
&ett_callingpartyname,
&ett_triggercapability,
&ett_winoperationscapability,
&ett_win_trigger_list,
&ett_controlnetworkid,
&ett_transactioncapability,
&ett_cdmaserviceoption,
&ett_sms_originationrestrictions,
&ett_systemcapabilities,
#include "packet-ansi_map-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_ansi_map_nr_not_used, { "ansi_map.nr_not_used", PI_PROTOCOL, PI_WARN, "This Number plan should not have been used", EXPFILL }},
{ &ei_ansi_map_unknown_invokeData_blob, { "ansi_map.unknown_invokeData_blob", PI_PROTOCOL, PI_WARN, "Unknown invokeData blob", EXPFILL }},
{ &ei_ansi_map_no_data, { "ansi_map.no_data", PI_PROTOCOL, PI_NOTE, "Carries no data", EXPFILL }},
};
expert_module_t* expert_ansi_map;
static const enum_val_t ansi_map_response_matching_type_values[] = {
{"Only Transaction ID will be used in Invoke/response matching", "Transaction ID only", ANSI_MAP_TID_ONLY},
{"Transaction ID and Source will be used in Invoke/response matching", "Transaction ID and Source", ANSI_MAP_TID_AND_SOURCE},
{"Transaction ID Source and Destination will be used in Invoke/response matching", "Transaction ID Source and Destination", ANSI_MAP_TID_SOURCE_AND_DEST},
{NULL, NULL, -1}
};
/* TAP STAT INFO */
static stat_tap_table_ui stat_table = {
REGISTER_STAT_GROUP_TELEPHONY_ANSI,
"Map Operation Statistics",
"ansi_map",
"ansi_map",
ansi_map_stat_init,
ansi_map_stat_packet,
ansi_map_stat_reset,
NULL,
NULL,
sizeof(stat_fields)/sizeof(stat_tap_table_item), stat_fields,
0, NULL,
NULL,
0
};
/* Register protocol */
proto_ansi_map = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_ansi_map, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_ansi_map = expert_register_protocol(proto_ansi_map);
expert_register_field_array(expert_ansi_map, ei, array_length(ei));
ansi_map_handle = register_dissector("ansi_map", dissect_ansi_map, proto_ansi_map);
is637_tele_id_dissector_table =
register_dissector_table("ansi_map.tele_id", "IS-637 Teleservice ID", proto_ansi_map,
FT_UINT8, BASE_DEC);
is683_dissector_table =
register_dissector_table("ansi_map.ota", "IS-683-A (OTA)", proto_ansi_map,
FT_UINT8, BASE_DEC);
is801_dissector_table =
register_dissector_table("ansi_map.pld", "IS-801 (PLD)", proto_ansi_map,
FT_UINT8, BASE_DEC);
ansi_map_tap = register_tap("ansi_map");
range_convert_str(wmem_epan_scope(), &global_ssn_range, "5-14", MAX_SSN);
ansi_map_module = prefs_register_protocol(proto_ansi_map, proto_reg_handoff_ansi_map);
prefs_register_range_preference(ansi_map_module, "map.ssn", "ANSI MAP SSNs",
"ANSI MAP SSNs to decode as ANSI MAP",
&global_ssn_range, MAX_SSN);
prefs_register_enum_preference(ansi_map_module, "transaction.matchtype",
"Type of matching invoke/response",
"Type of matching invoke/response, risk of mismatch if loose matching chosen",
&ansi_map_response_matching_type, ansi_map_response_matching_type_values, FALSE);
TransactionId_table = wmem_multimap_new_autoreset(wmem_epan_scope(), wmem_file_scope(), wmem_str_hash, g_str_equal);
register_stat_tap_table_ui(&stat_table);
}
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local variables:
* c-basic-offset: 4
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* vi: set shiftwidth=4 tabstop=8 expandtab:
* :indentSize=4:tabSize=8:noTabs=true:
*/ |
C/C++ | wireshark/epan/dissectors/asn1/ansi_map/packet-ansi_map-template.h | /* packet-ansi_map.h
* Routines for ansi_map packet dissection
* Copyright 2005, Anders Broman <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_ANSI_MAP_H
#define PACKET_ANSI_MAP_H
#include "ws_symbol_export.h"
#define ANSI_MAP_MAX_NUM_MESSAGE_TYPES 256
typedef struct _ansi_map_tap_rec_t {
guint8 message_type;
guint16 size;
} ansi_map_tap_rec_t;
/*
* the following allows TAP code access to the messages
* without having to duplicate it. With MSVC and a
* libwireshark.dll, we need a special declaration.
*/
WS_DLL_PUBLIC const value_string ansi_map_opr_code_strings[];
/*#include "packet-ansi_map-exp.h" */
#endif /* PACKET_ansi_map_H */ |
Configuration | wireshark/epan/dissectors/asn1/ansi_tcap/ansi_tcap.cnf | # tcap.cnf
# tcap conformation file
#.NO_EMIT ONLY_VALS
PackageType
#.OMIT_ASSIGNMENT
# Removed as they are giving 'defined but not used' warnings currently.
Priority
#.END
#.FIELD_RENAME
Invoke/parameter invoke_parameter
ReturnResult/parameter returnResult_parameter
ReturnError/parameter returnError_parameter
Reject/parameter reject_parameter
Abort/causeInformation/userInformation abort_userInformation
ErrorCode/private ec_private
#.FIELD_ATTR
ErrorCode/private ABBREV=ec_private
#--- OperationCode ---
#.FN_PARS
OperationCode VAL_PTR = &ansi_tcap_private.d.OperationCode
OperationCode/private VAL_PTR = &ansi_tcap_private.d.OperationCode_private
#.FN_FTR OperationCode
ansi_tcap_private.d.OperationCode_item = actx->created_item;
#.END
#.FN_BODY OperationCode/national VAL_PTR = &ansi_tcap_private.d.OperationCode_national
proto_tree *subtree;
proto_item *spcifier_item;
int start_offset = offset;
guint8 family;
guint8 specifier;
%(DEFAULT_BODY)s
/* mask off the H bit */
ansi_tcap_private.d.OperationCode_national = (ansi_tcap_private.d.OperationCode_national&0x7fff);
subtree = proto_item_add_subtree(actx->created_item, ett_ansi_tcap_op_code_nat);
/* Bit H is used to distinguish between Operations that require a reply and those that do not. A value of 1
* indicates that a reply is required; a value of 0 indicates that a reply is not required.
*/
family = (ansi_tcap_private.d.OperationCode_national & 0x7f00)>>8;
specifier = (guint8)(ansi_tcap_private.d.OperationCode_national & 0xff);
proto_tree_add_item(subtree, hf_ansi_tcap_bit_h, tvb, start_offset, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ansi_tcap_op_family, tvb, start_offset, 2, ENC_BIG_ENDIAN);
spcifier_item = proto_tree_add_item(subtree, hf_ansi_tcap_op_specifier, tvb, start_offset, 2, ENC_BIG_ENDIAN);
switch(family){
case 0:
/* All Families ( Not used ) */
break;
case 1:
/* Parameter */
if(specifier== 1){
proto_item_append_text(spcifier_item, " Provide Value");
}else if (specifier== 2){
proto_item_append_text(spcifier_item, " Set Value");
}
break;
case 2:
/* Charging */
if (specifier== 1){
proto_item_append_text(spcifier_item, " Bill Call");
}
break;
case 3:
/* Provide Instructions */
if (specifier== 1){
proto_item_append_text(spcifier_item, " Start");
}else if (specifier== 2){
proto_item_append_text(spcifier_item, " Assist");
}
break;
case 4:
/* Connection Control */
if (specifier== 1){
proto_item_append_text(spcifier_item, " Connect");
}else if (specifier== 2){
proto_item_append_text(spcifier_item, " Temporary Connect");
}else if (specifier== 3){
proto_item_append_text(spcifier_item, " Disconnect");
}else if (specifier== 4){
proto_item_append_text(spcifier_item, " Forward Disconnect");
}
break;
default:
break;
}
#--- INVOKE ---
#.FN_BODY Invoke/parameter
if(find_tcap_subdissector(tvb, actx, tree))
offset = tvb_reported_length(tvb);
#.FN_HDR Invoke
ansi_tcap_private.d.pdu = 1;
#--- RETURN RESULT ---
#.FIELD_ATTR
#.FN_BODY ReturnResult/parameter
if(find_tcap_subdissector(tvb, actx, tree))
offset = tvb_reported_length(tvb);
#.FN_HDR ReturnResult
ansi_tcap_private.d.pdu = 2;
#--- RETURN ERROR ---
#.FN_BODY ReturnError/parameter
if(find_tcap_subdissector(tvb, actx, tree))
offset = tvb_reported_length(tvb);
#.FN_HDR ReturnError
ansi_tcap_private.d.pdu = 3;
#--- ObjectIDApplicationContext --
#.FN_BODY ObjectIDApplicationContext FN_VARIANT = _str VAL_PTR = &oid_str
static const char * oid_str;
%(DEFAULT_BODY)s
ansi_tcap_private.objectApplicationId_oid= (const void*) oid_str;
ansi_tcap_private.oid_is_present=TRUE;
#.FN_HDR PackageType/unidirectional
gp_tcapsrt_info->ope=TC_ANSI_ALL;
col_set_str(actx->pinfo->cinfo, COL_INFO, "unidirectional ");
#.FN_HDR PackageType/queryWithPerm
gp_tcapsrt_info->ope=TC_ANSI_ALL;
col_set_str(actx->pinfo->cinfo, COL_INFO, "queryWithPerm ");
#.FN_HDR PackageType/queryWithoutPerm
gp_tcapsrt_info->ope=TC_ANSI_ALL;
col_set_str(actx->pinfo->cinfo, COL_INFO, "queryWithoutPerm ");
#.FN_HDR PackageType/response
gp_tcapsrt_info->ope=TC_ANSI_ALL;
col_set_str(actx->pinfo->cinfo, COL_INFO, "response ");
#.FN_HDR PackageType/conversationWithPerm
gp_tcapsrt_info->ope=TC_ANSI_ALL;
col_set_str(actx->pinfo->cinfo, COL_INFO, "conversationWithPerm ");
#.FN_HDR PackageType/conversationWithoutPerm
gp_tcapsrt_info->ope=TC_ANSI_ALL;
col_set_str(actx->pinfo->cinfo, COL_INFO, "conversationWithoutPerm ");
#.FN_HDR PackageType/abort
gp_tcapsrt_info->ope=TC_ANSI_ABORT;
col_set_str(actx->pinfo->cinfo, COL_INFO, "Abort ");
#.FN_BODY TransactionID/_untag VAL_PTR = &next_tvb
tvbuff_t *next_tvb;
guint8 len;
%(DEFAULT_BODY)s
if(next_tvb) {
len = tvb_reported_length_remaining(next_tvb, 0);
if(len !=0){
/* 0 octets for the Unidirectional,
* 4 octets for Query, Response & Abort
* 8 octets for Conversation in the order Originating then Responding TID
*
* In order to match this it seems like we should only use the last 4 octets
* in the 8 octets case.
*/
if (len > 4){
ansi_tcap_private.TransactionID_str = tvb_bytes_to_str(actx->pinfo->pool, next_tvb, 4,len-4);
}else{
ansi_tcap_private.TransactionID_str = tvb_bytes_to_str(actx->pinfo->pool, next_tvb, 0,len);
}
}
switch(len) {
case 1:
gp_tcapsrt_info->src_tid=tvb_get_guint8(next_tvb, 0);
break;
case 2:
gp_tcapsrt_info->src_tid=tvb_get_ntohs(next_tvb, 0);
break;
case 4:
gp_tcapsrt_info->src_tid=tvb_get_ntohl(next_tvb, 0);
break;
default:
gp_tcapsrt_info->src_tid=0;
break;
}
}
#.END |
Text | wireshark/epan/dissectors/asn1/ansi_tcap/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME ansi_tcap )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
TCAP-Remote-Operations-Information-Objects.asn
TCAPPackage.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/ansi_tcap/packet-ansi_tcap-template.c | /* packet-ansi_tcap-template.c
* Routines for ANSI TCAP
* Copyright 2007 Anders Broman <[email protected]>
* Built from the gsm-map dissector Copyright 2004 - 2005, Anders Broman <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
* References: T1.114
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/expert.h>
#include <epan/oids.h>
#include <epan/asn1.h>
#include <epan/strutil.h>
#include "packet-ber.h"
#include "packet-tcap.h"
#include "packet-ansi_tcap.h"
#define PNAME "ANSI Transaction Capabilities Application Part"
#define PSNAME "ANSI_TCAP"
#define PFNAME "ansi_tcap"
void proto_register_ansi_tcap(void);
void proto_reg_handoff_ansi_tcap(void);
/* Preference settings */
#define ANSI_TCAP_TID_ONLY 0
#define ANSI_TCAP_TID_AND_SOURCE 1
#define ANSI_TCAP_TID_SOURCE_AND_DEST 2
static gint ansi_tcap_response_matching_type = ANSI_TCAP_TID_ONLY;
/* Initialize the protocol and registered fields */
static int proto_ansi_tcap = -1;
#if 0
static int hf_ansi_tcapsrt_SessionId = -1;
static int hf_ansi_tcapsrt_Duplicate = -1;
static int hf_ansi_tcapsrt_BeginSession = -1;
static int hf_ansi_tcapsrt_EndSession = -1;
static int hf_ansi_tcapsrt_SessionTime = -1;
#endif
static int hf_ansi_tcap_bit_h = -1;
static int hf_ansi_tcap_op_family = -1;
static int hf_ansi_tcap_op_specifier = -1;
#include "packet-ansi_tcap-hf.c"
/* Initialize the subtree pointers */
static gint ett_tcap = -1;
static gint ett_param = -1;
static gint ett_ansi_tcap_op_code_nat = -1;
static gint ett_otid = -1;
static gint ett_dtid = -1;
static gint ett_ansi_tcap_stat = -1;
static expert_field ei_ansi_tcap_dissector_not_implemented = EI_INIT;
static struct tcapsrt_info_t * gp_tcapsrt_info;
static gboolean tcap_subdissector_used=FALSE;
static struct tcaphash_context_t * gp_tcap_context=NULL;
/* Note the high bit should be masked off when registering in this table (0x7fff)*/
static dissector_table_t ansi_tcap_national_opcode_table; /* National Operation Codes */
#include "packet-ansi_tcap-ett.c"
#define MAX_SSN 254
extern gboolean gtcap_PersistentSRT;
extern guint gtcap_RepetitionTimeout;
extern guint gtcap_LostTimeout;
/* When several Tcap components are received in a single TCAP message,
we have to use several buffers for the stored parameters
because else this data are erased during TAP dissector call */
#define MAX_TCAP_INSTANCE 10
int tcapsrt_global_current=0;
struct tcapsrt_info_t tcapsrt_global_info[MAX_TCAP_INSTANCE];
static dissector_table_t ber_oid_dissector_table=NULL;
static const char * cur_oid;
static const char * tcapext_oid;
static dissector_handle_t ansi_map_handle;
static dissector_handle_t ain_handle;
struct ansi_tcap_private_t ansi_tcap_private;
#define MAX_TID_STR_LEN 1024
static void ansi_tcap_ctx_init(struct ansi_tcap_private_t *a_tcap_ctx) {
memset(a_tcap_ctx, '\0', sizeof(*a_tcap_ctx));
a_tcap_ctx->signature = ANSI_TCAP_CTX_SIGNATURE;
a_tcap_ctx->oid_is_present = FALSE;
a_tcap_ctx->TransactionID_str = NULL;
}
static const value_string ansi_tcap_national_op_code_family_vals[] = {
{ 0x0, "All Families" },
{ 0x1, "Parameter" },
{ 0x2, "Charging" },
{ 0x3, "Provide Instructions" },
{ 0x4, "Connection Control" },
{ 0x5, "Caller Interaction" },
{ 0x6, "Send Notification" },
{ 0x7, "Network Management" },
{ 0x8, "Procedural" },
{ 0x9, "Operation Control" },
{ 0xa, "Report Event" },
/* Spare */
{ 0x7e, "Miscellaneous" },
{ 0x7f, "Reserved" },
{ 0, NULL }
};
/* Transaction tracking */
/* Transaction table */
struct ansi_tcap_invokedata_t {
gint OperationCode;
/*
0 : national,
1 : private
*/
gint32 OperationCode_private;
gint32 OperationCode_national;
};
static wmem_multimap_t *TransactionId_table=NULL;
/* Store Invoke information needed for the corresponding reply */
static void
save_invoke_data(packet_info *pinfo, proto_tree *tree _U_, tvbuff_t *tvb _U_){
struct ansi_tcap_invokedata_t *ansi_tcap_saved_invokedata;
gchar *src, *dst;
char *buf;
src = address_to_str(pinfo->pool, &(pinfo->src));
dst = address_to_str(pinfo->pool, &(pinfo->dst));
if ((!pinfo->fd->visited)&&(ansi_tcap_private.TransactionID_str)){
/* Only do this once XXX I hope it's the right thing to do */
/* The hash string needs to contain src and dest to distiguish differnt flows */
switch(ansi_tcap_response_matching_type){
case ANSI_TCAP_TID_ONLY:
buf = wmem_strdup(pinfo->pool, ansi_tcap_private.TransactionID_str);
break;
case ANSI_TCAP_TID_AND_SOURCE:
buf = wmem_strdup_printf(pinfo->pool, "%s%s",ansi_tcap_private.TransactionID_str,src);
break;
case ANSI_TCAP_TID_SOURCE_AND_DEST:
default:
buf = wmem_strdup_printf(pinfo->pool, "%s%s%s",ansi_tcap_private.TransactionID_str,src,dst);
break;
}
ansi_tcap_saved_invokedata = wmem_new(wmem_file_scope(), struct ansi_tcap_invokedata_t);
ansi_tcap_saved_invokedata->OperationCode = ansi_tcap_private.d.OperationCode;
ansi_tcap_saved_invokedata->OperationCode_national = ansi_tcap_private.d.OperationCode_national;
ansi_tcap_saved_invokedata->OperationCode_private = ansi_tcap_private.d.OperationCode_private;
wmem_multimap_insert32(TransactionId_table,
wmem_strdup(wmem_file_scope(), buf),
pinfo->num,
ansi_tcap_saved_invokedata);
/*
ws_warning("Tcap Invoke Hash string %s",buf);
*/
}
}
static gboolean
find_saved_invokedata(packet_info *pinfo, proto_tree *tree _U_, tvbuff_t *tvb _U_){
struct ansi_tcap_invokedata_t *ansi_tcap_saved_invokedata;
gchar *src, *dst;
char *buf;
if (!ansi_tcap_private.TransactionID_str) {
return FALSE;
}
src = address_to_str(pinfo->pool, &(pinfo->src));
dst = address_to_str(pinfo->pool, &(pinfo->dst));
/* The hash string needs to contain src and dest to distiguish differnt flows */
buf = (char *)wmem_alloc(pinfo->pool, MAX_TID_STR_LEN);
buf[0] = '\0';
/* Reverse order to invoke */
switch(ansi_tcap_response_matching_type){
case ANSI_TCAP_TID_ONLY:
snprintf(buf,MAX_TID_STR_LEN,"%s",ansi_tcap_private.TransactionID_str);
break;
case ANSI_TCAP_TID_AND_SOURCE:
snprintf(buf,MAX_TID_STR_LEN,"%s%s",ansi_tcap_private.TransactionID_str,dst);
break;
case ANSI_TCAP_TID_SOURCE_AND_DEST:
default:
snprintf(buf,MAX_TID_STR_LEN,"%s%s%s",ansi_tcap_private.TransactionID_str,dst,src);
break;
}
ansi_tcap_saved_invokedata = (struct ansi_tcap_invokedata_t *)wmem_multimap_lookup32_le(TransactionId_table, buf, pinfo->num);
if(ansi_tcap_saved_invokedata){
ansi_tcap_private.d.OperationCode = ansi_tcap_saved_invokedata->OperationCode;
ansi_tcap_private.d.OperationCode_national = ansi_tcap_saved_invokedata->OperationCode_national;
ansi_tcap_private.d.OperationCode_private = ansi_tcap_saved_invokedata->OperationCode_private;
return TRUE;
}
return FALSE;
}
/* As currently ANSI MAP is the only possible sub dissector this function
* must be improved to handle general cases.
*
*
*
* TODO:
* 1)Handle national codes
* Design option
* - Create a ansi.tcap.national dissector table and have dissectors for
* national codes register there and let ansi tcap call them.
* 2)Handle Private codes properly
* Design question
* Unclear how to differentiate between different private "code sets".
* Use SCCP SSN table as before? or a ansi.tcap.private dissector table?
*
*/
static gboolean
find_tcap_subdissector(tvbuff_t *tvb, asn1_ctx_t *actx, proto_tree *tree){
proto_item *item;
/* If "DialoguePortion objectApplicationId ObjectIDApplicationContext
* points to the subdissector this code can be used.
*
if(ansi_tcap_private.d.oid_is_present){
call_ber_oid_callback(ansi_tcap_private.objectApplicationId_oid, tvb, 0, actx-pinfo, tree, NULL);
return TRUE;
}
*/
if(ansi_tcap_private.d.pdu == 1){
/* Save Invoke data for this transaction */
save_invoke_data(actx->pinfo, tree, tvb);
}else{
/* Get saved data for this transaction */
if(find_saved_invokedata(actx->pinfo, tree, tvb)){
if(ansi_tcap_private.d.OperationCode == 0){
/* national */
item = proto_tree_add_int(tree, hf_ansi_tcap_national, tvb, 0, 0, ansi_tcap_private.d.OperationCode_national);
}else{
item = proto_tree_add_int(tree, hf_ansi_tcap_private, tvb, 0, 0, ansi_tcap_private.d.OperationCode_private);
}
proto_item_set_generated(item);
ansi_tcap_private.d.OperationCode_item = item;
}
}
if(ansi_tcap_private.d.OperationCode == 0){
/* national */
guint8 family = (ansi_tcap_private.d.OperationCode_national & 0x7f00)>>8;
guint8 specifier = (guint8)(ansi_tcap_private.d.OperationCode_national & 0xff);
if(!dissector_try_uint(ansi_tcap_national_opcode_table, ansi_tcap_private.d.OperationCode_national, tvb, actx->pinfo, actx->subtree.top_tree)){
proto_tree_add_expert_format(tree, actx->pinfo, &ei_ansi_tcap_dissector_not_implemented, tvb, 0, -1,
"Dissector for ANSI TCAP NATIONAL code:0x%x(Family %u, Specifier %u) \n"
"not implemented. Contact Wireshark developers if you want this supported(Spec required)",
ansi_tcap_private.d.OperationCode_national, family, specifier);
return FALSE;
}
return TRUE;
}else if(ansi_tcap_private.d.OperationCode == 1){
/* private */
if((ansi_tcap_private.d.OperationCode_private & 0xff00) == 0x0900){
/* This is abit of a hack as it assumes the private codes with a "family" of 0x09 is ANSI MAP
* See TODO above.
* N.S0005-0 v 1.0 TCAP Formats and Procedures 5-16 Application Services
* 6.3.2 Component Portion
* The Operation Code is partitioned into an Operation Family followed by a
* Specifier associated with each Operation Family member. For TIA/EIA-41 the
* Operation Family is coded as decimal 9. Bit H of the Operation Family is always
* coded as 0.
*/
call_dissector_with_data(ansi_map_handle, tvb, actx->pinfo, actx->subtree.top_tree, &ansi_tcap_private);
return TRUE;
} else if ((ansi_tcap_private.d.OperationCode_private & 0xf000) == 0x6000) {
call_dissector_with_data(ain_handle, tvb, actx->pinfo, actx->subtree.top_tree, &ansi_tcap_private);
return TRUE;
}
}
proto_tree_add_expert_format(tree, actx->pinfo, &ei_ansi_tcap_dissector_not_implemented, tvb, 0, -1,
"Dissector for ANSI TCAP PRIVATE code:%u not implemented.\n"
"Contact Wireshark developers if you want this supported(Spec required)",
ansi_tcap_private.d.OperationCode_private);
return FALSE;
}
#include "packet-ansi_tcap-fn.c"
static int
dissect_ansi_tcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data _U_)
{
proto_item *item=NULL;
proto_tree *tree=NULL;
#if 0
proto_item *stat_item=NULL;
proto_tree *stat_tree=NULL;
gint offset = 0;
struct tcaphash_context_t * p_tcap_context;
dissector_handle_t subdissector_handle;
#endif
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
ansi_tcap_ctx_init(&ansi_tcap_private);
asn1_ctx.subtree.top_tree = parent_tree;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "ANSI TCAP");
/* create display subtree for the protocol */
if(parent_tree){
item = proto_tree_add_item(parent_tree, proto_ansi_tcap, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_tcap);
}
cur_oid = NULL;
tcapext_oid = NULL;
gp_tcapsrt_info=tcapsrt_razinfo();
tcap_subdissector_used=FALSE;
gp_tcap_context=NULL;
dissect_ansi_tcap_PackageType(FALSE, tvb, 0, &asn1_ctx, tree, -1);
#if 0 /* Skip this part for now it will be rewritten */
if (g_ansi_tcap_HandleSRT && !tcap_subdissector_used ) {
if (gtcap_DisplaySRT && tree) {
stat_tree = proto_tree_add_subtree(tree, tvb, 0, 0, ett_ansi_tcap_stat, &stat_item, "Stat");
proto_item_set_generated(stat_item);
}
p_tcap_context=tcapsrt_call_matching(tvb, pinfo, stat_tree, gp_tcapsrt_info);
ansi_tcap_private.context=p_tcap_context;
/* If the current message is TCAP only,
* save the Application contexte name for the next messages
*/
if ( p_tcap_context && cur_oid && !p_tcap_context->oid_present ) {
/* Save the application context and the sub dissector */
(void) g_strlcpy(p_tcap_context->oid, cur_oid, sizeof(p_tcap_context->oid));
if ( (subdissector_handle = dissector_get_string_handle(ber_oid_dissector_table, cur_oid)) ) {
p_tcap_context->subdissector_handle=subdissector_handle;
p_tcap_context->oid_present=TRUE;
}
}
if (g_ansi_tcap_HandleSRT && p_tcap_context && p_tcap_context->callback) {
/* Callback fonction for the upper layer */
(p_tcap_context->callback)(tvb, pinfo, stat_tree, p_tcap_context);
}
}
#endif
return tvb_captured_length(tvb);
}
void
proto_reg_handoff_ansi_tcap(void)
{
ansi_map_handle = find_dissector_add_dependency("ansi_map", proto_ansi_tcap);
ain_handle = find_dissector_add_dependency("ain", proto_ansi_tcap);
ber_oid_dissector_table = find_dissector_table("ber.oid");
}
void
proto_register_ansi_tcap(void)
{
module_t *ansi_tcap_module;
/* Setup list of header fields See Section 1.6.1 for details*/
static hf_register_info hf[] = {
#if 0
/* Tcap Service Response Time */
{ &hf_ansi_tcapsrt_SessionId,
{ "Session Id",
"ansi_tcap.srt.session_id",
FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
{ &hf_ansi_tcapsrt_BeginSession,
{ "Begin Session",
"ansi_tcap.srt.begin",
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"SRT Begin of Session", HFILL }
},
{ &hf_ansi_tcapsrt_EndSession,
{ "End Session",
"ansi_tcap.srt.end",
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"SRT End of Session", HFILL }
},
{ &hf_ansi_tcapsrt_SessionTime,
{ "Session duration",
"ansi_tcap.srt.sessiontime",
FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
"Duration of the TCAP session", HFILL }
},
{ &hf_ansi_tcapsrt_Duplicate,
{ "Request Duplicate",
"ansi_tcap.srt.duplicate",
FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
#endif
{ &hf_ansi_tcap_bit_h,
{ "Require Reply", "ansi_tcap.req_rep",
FT_BOOLEAN, 16, NULL, 0x8000,
NULL, HFILL }
},
{ &hf_ansi_tcap_op_family,
{ "Family",
"ansi_tcap.op_family",
FT_UINT16, BASE_DEC, VALS(ansi_tcap_national_op_code_family_vals), 0x7f00,
NULL, HFILL }
},
{ &hf_ansi_tcap_op_specifier,
{ "Specifier",
"ansi_tcap.op_specifier",
FT_UINT16, BASE_DEC, NULL, 0x00ff,
NULL, HFILL }
},
#include "packet-ansi_tcap-hfarr.c"
};
/* Setup protocol subtree array */
static gint *ett[] = {
&ett_tcap,
&ett_param,
&ett_otid,
&ett_dtid,
&ett_ansi_tcap_stat,
&ett_ansi_tcap_op_code_nat,
#include "packet-ansi_tcap-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_ansi_tcap_dissector_not_implemented, { "ansi_tcap.dissector_not_implemented", PI_UNDECODED, PI_WARN, "Dissector not implemented", EXPFILL }},
};
expert_module_t* expert_ansi_tcap;
static const enum_val_t ansi_tcap_response_matching_type_values[] = {
{"Only Transaction ID will be used in Invoke/response matching", "Transaction ID only", ANSI_TCAP_TID_ONLY},
{"Transaction ID and Source will be used in Invoke/response matching", "Transaction ID and Source", ANSI_TCAP_TID_AND_SOURCE},
{"Transaction ID Source and Destination will be used in Invoke/response matching", "Transaction ID Source and Destination", ANSI_TCAP_TID_SOURCE_AND_DEST},
{NULL, NULL, -1}
};
/* Register the protocol name and description */
proto_ansi_tcap = proto_register_protocol(PNAME, PSNAME, PFNAME);
register_dissector("ansi_tcap", dissect_ansi_tcap, proto_ansi_tcap);
/* Note the high bit should be masked off when registering in this table (0x7fff)*/
ansi_tcap_national_opcode_table = register_dissector_table("ansi_tcap.nat.opcode", "ANSI TCAP National Opcodes", proto_ansi_tcap, FT_UINT16, BASE_DEC);
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_ansi_tcap, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_ansi_tcap = expert_register_protocol(proto_ansi_tcap);
expert_register_field_array(expert_ansi_tcap, ei, array_length(ei));
ansi_tcap_module = prefs_register_protocol(proto_ansi_tcap, proto_reg_handoff_ansi_tcap);
prefs_register_enum_preference(ansi_tcap_module, "transaction.matchtype",
"Type of matching invoke/response",
"Type of matching invoke/response, risk of mismatch if loose matching chosen",
&ansi_tcap_response_matching_type, ansi_tcap_response_matching_type_values, FALSE);
TransactionId_table = wmem_multimap_new_autoreset(wmem_epan_scope(), wmem_file_scope(), wmem_str_hash, g_str_equal);
} |
C/C++ | wireshark/epan/dissectors/asn1/ansi_tcap/packet-ansi_tcap-template.h | /* packet-ansi_tcap.h
*
* Copyright 2007 Anders Broman <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_ANSI_TCAP_H
#define PACKET_ANSI_TCAP_H
#define ANSI_TCAP_CTX_SIGNATURE 0x41544341 /* "ATCA" */
struct ansi_tcap_private_t {
guint32 signature;
gboolean oid_is_present; /* Is the Application Context Version present */
const void * objectApplicationId_oid;
guint32 session_id;
void * context;
gchar *TransactionID_str;
struct { /* "dynamic" data */
gint pdu;
/*
1 : invoke,
2 : returnResult,
3 : returnError,
4 : reject
*/
gint OperationCode;
/*
0 : national,
1 : private
*/
gint32 OperationCode_national;
gint32 OperationCode_private;
proto_item *OperationCode_item;
} d;
};
/*extern void add_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector);*/
/*extern void delete_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector);*/
#endif /* PACKET_ANSI_TCAP_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/ansi_tcap/TCAP-Remote-Operations-Information-Objects.asn | TCAP-Remote-Operations-Information-Objects {iso(1)
memberbody(2) usa(840) t1-114(10013) modules(0) informationObjects(1) version4(4) }
DEFINITIONS ::=
BEGIN
--Exports Everything
IMPORTS
emptyBind, emptyUnbind
FROM Remote-Operations-Useful-Definitions {joint-iso-ccitt remote-operations(4) useful-definitions(7) version1(0) };
OPERATION ::= CLASS {
&ArgumentType OPTIONAL,
&argumentTypeOptional BOOLEAN OPTIONAL,
&returnResult BOOLEAN DEFAULT TRUE,
&ResultType OPTIONAL,
&resultTypeOptional BOOLEAN OPTIONAL,
&Errors ERROR OPTIONAL,
&Linked OPERATION OPTIONAL,
&synchronous BOOLEAN DEFAULT FALSE,
&alwaysReturns BOOLEAN DEFAULT TRUE,
&InvokePriority Priority OPTIONAL,
&ResultPriority Priority OPTIONAL,
&invokeLast BOOLEAN DEFAULT FALSE,
&operationCode OperationCode UNIQUE OPTIONAL
}
WITH SYNTAX {
[ARGUMENT &ArgumentType
[OPTIONAL &argumentTypeOptional]]
[RESULT &ResultType
[OPTIONAL &resultTypeOptional]]
[RETURN RESULT &returnResult]
[ERRORS &Errors]
[LINKED &Linked]
[SYNCHRONOUS &synchronous]
[ALWAYS RETURNS &alwaysReturns]
[INVOKE PRIORITY &InvokePriority]
[RESULT PRIORITY &ResultPriority]
[LAST &invokeLast]
[CODE &operationCode]
}
ERROR ::= CLASS {
&ParameterType OPTIONAL,
¶meterTypeOptional BOOLEAN OPTIONAL,
&ErrorPriority Priority OPTIONAL,
&errorCode ErrorCode UNIQUE OPTIONAL
}
WITH SYNTAX {
[PARAMETER &ParameterType
[OPTIONAL ¶meterTypeOptional]]
[PRIORITY &ErrorPriority]
[CODE &errorCode]
}
OPERATION-PACKAGE ::= CLASS {
&Both OPERATION OPTIONAL,
&Consumer OPERATION OPTIONAL,
&Supplier OPERATION OPTIONAL,
&id OBJECT IDENTIFIER UNIQUE OPTIONAL
}
WITH SYNTAX {
[OPERATIONS &Both]
[CONSUMER INVOKES &Supplier]
[SUPPLIER INVOKES &Consumer]
[ID &id]
}
CONNECTION-PACKAGE ::= CLASS {
&bind OPERATION DEFAULT emptyBind,
&unbind OPERATION DEFAULT emptyUnbind,
&responderCanUnbind BOOLEAN DEFAULT FALSE,
&unbindCanFail BOOLEAN DEFAULT FALSE,
&id OBJECT IDENTIFIER UNIQUE OPTIONAL
}
WITH SYNTAX {
[BIND &bind]
[UNBIND &unbind]
[RESPONDER UNBIND &responderCanUnbind]
[FAILURE TO UNBIND &unbindCanFail]
[ID &id]
}
CONTRACT ::= CLASS {
&connection CONNECTION-PACKAGE OPTIONAL,
&OperationsOf OPERATION-PACKAGE OPTIONAL,
&InitiatorConsumerOf OPERATION-PACKAGE OPTIONAL,
&InitiatorSupplierOf OPERATION-PACKAGE OPTIONAL,
&id OBJECT IDENTIFIER UNIQUE OPTIONAL
}
WITH SYNTAX {
[CONNECTION &connection]
[OPERATIONS OF &OperationsOf]
[INITIATOR CONSUMER OF &InitiatorConsumerOf]
[RESPONDER CONSUMER OF &InitiatorSupplierOf]
[ID &id]
}
ROS-OBJECT-CLASS ::= CLASS {
&Is ROS-OBJECT-CLASS OPTIONAL,
&Initiates CONTRACT OPTIONAL,
&Responds CONTRACT OPTIONAL,
&InitiatesAndResponds CONTRACT OPTIONAL,
&id OBJECT IDENTIFIER UNIQUE
}
WITH SYNTAX {
[IS &Is]
[BOTH &InitiatesAndResponds]
[INITIATES &Initiates]
[RESPONDS &Responds]
ID &id
}
OperationCode ::= CHOICE{
national [PRIVATE 16] IMPLICIT INTEGER (-32768..32767),
private [PRIVATE 17] IMPLICIT INTEGER
}
ErrorCode ::= CHOICE {
national [PRIVATE 19] INTEGER (-128..127),
--WS adaptation This is only correct for ANSI MAP but that's the only user.
private [PRIVATE 20] IMPLICIT ANSIMAPPrivateErrorcode
}
ANSIMAPPrivateErrorcode ::= INTEGER {
unrecognized-MIN (129),
unrecognized-ESN (130),
mINorHLR-Mismatch (131),
operation-Sequence-Problem (132),
resource-Shortage (133),
operation-Not-Supported (134),
trunk-Unavailable (135),
parameter-Error (136),
system-Failure (137),
unrecognized-Parameter-Value (138),
feature-Inactive (139),
missing-Parameter (140)
} (0..255)
Priority ::= INTEGER (0..MAX)
END --end of Information Object Specifications |
ASN.1 | wireshark/epan/dissectors/asn1/ansi_tcap/TCAPPackage.asn | TCAPPackage {iso(1) memberbody(2) usa(840) t1-114(10013) modules(0) tcapPackage(0) version4(4)}
DEFINITIONS ::=
-- iso(1) memberbody(2)
-- usa(840) T1.114(10013)
BEGIN
-- defining a module called TCAPPackage which contains type
-- definitions for the contents of any generic TCAP message
--exports everything
IMPORTS OPERATION, ERROR FROM
TCAP-Remote-Operations-Information-Objects{iso(1) memberbody(2) usa(840) t1-114(10013) modules(0) information-objects(1) version4(4)};
PackageType ::= CHOICE { unidirectional [PRIVATE 1] IMPLICIT UniTransactionPDU,
queryWithPerm [PRIVATE 2] IMPLICIT TransactionPDU,
queryWithoutPerm [PRIVATE 3] IMPLICIT TransactionPDU,
response [PRIVATE 4] IMPLICIT TransactionPDU,
conversationWithPerm [PRIVATE 5] IMPLICIT TransactionPDU,
conversationWithoutPerm [PRIVATE 6] IMPLICIT TransactionPDU,
abort [PRIVATE 22] IMPLICIT Abort
}
UniTransactionPDU ::= SEQUENCE {
identifier TransactionID,
dialoguePortion DialoguePortion OPTIONAL,
componentPortion ComponentSequence
}
TransactionPDU ::= SEQUENCE {
identifier TransactionID,
dialoguePortion DialoguePortion OPTIONAL,
componentPortion ComponentSequence OPTIONAL
}
--TransactionPDU should include either a Dialogue Portion, a Component Sequence or both
TransactionID ::= [PRIVATE 7] IMPLICIT OCTET STRING
-- 0 octets for the Unidirectional, 4 octets for Query, Response & Abort
-- 8 octets for Conversation in the order Originating then Responding TID
Abort ::= SEQUENCE {
identifier TransactionID,
dialogPortion DialoguePortion OPTIONAL,
causeInformation CHOICE {
abortCause P-Abort-cause,
userInformation UserAbortInformation --OPTIONAL
}
}
-- When the Abort package is generated by the Transaction sublayer,
-- the P-Abort-cause must be present
P-Abort-cause ::= [PRIVATE 23] IMPLICIT INTEGER{
unrecognizedPackageType (1),
incorrectTransactionPortion (2),
badlyStructuredTransactionPortion (3),
unassignedRespondingTransactionID (4),
permissionToReleaseProblem (5), -- for further study
resourceUnavailable (6),
unrecognizedDialoguePortionID (7),
badlyStructuredDialoguePortion (8),
missingDialoguePortion (9),
inconsistentDialoguePortion (10)
}
DialoguePortion ::= [PRIVATE 25] IMPLICIT SEQUENCE {
version ProtocolVersion OPTIONAL,
applicationContext CHOICE {
integerApplicationId IntegerApplicationContext,
objectApplicationId ObjectIDApplicationContext
} OPTIONAL,
userInformation UserInformation OPTIONAL,
securityContext CHOICE {
integerSecurityId [0] IMPLICIT INTEGER,
objectSecurityId [1] IMPLICIT OBJECT IDENTIFIER
} OPTIONAL,
confidentiality [2] IMPLICIT Confidentiality OPTIONAL
}
ProtocolVersion ::=[PRIVATE 26] IMPLICIT OCTET STRING (SIZE (1))
--0000 0000 not used
--0000 0001 T1.114-1996
--0000 0010 T1.114-2000
--other reserved
--These values can be combined using the bit-wise logical or operation
-- to indicate support for more than one version, e.g. the value 0000 0011
-- means that both 1996 and 2000 versions are supported
IntegerApplicationContext ::= [PRIVATE 27] IMPLICIT INTEGER
ObjectIDApplicationContext ::= [PRIVATE 28] IMPLICIT OBJECT IDENTIFIER
UserInformation ::= [PRIVATE 29] IMPLICIT SEQUENCE OF EXTERNAL
Confidentiality ::= SEQUENCE {
confidentialityId CHOICE {
integerConfidentialityId [0] IMPLICIT INTEGER,
objectConfidentialityId [1] IMPLICIT OBJECT IDENTIFIER
} OPTIONAL
-- The extension marker indicates the possible presence of items
-- in the confidentiality set that are used by the confidentiality
-- algorithm.
}
UserAbortInformation ::= [PRIVATE 24] EXTERNAL
ComponentSequence ::= [PRIVATE 8] IMPLICIT SEQUENCE OF ComponentPDU
-- Component Portion specification starts below
ComponentPDU{ InvokeId: InvokeIdSet, OPERATION: Invocable, OPERATION: Returnable } ::=
CHOICE {
invokeLast [PRIVATE 9] IMPLICIT Invoke {{InvokeIdSet}, {Invocable}}
(CONSTRAINED BY { --invocable.&invokeLast must be TRUE -- }
! RejectProblem : general-incorrectComponentPortion),
returnResultLast [PRIVATE 10] IMPLICIT ReturnResult{{Returnable}},
returnError [PRIVATE 11] IMPLICIT ReturnError{{Errors{{Returnable}}}},
reject [PRIVATE 12] IMPLICIT Reject,
invokeNotLast [PRIVATE 13] IMPLICIT Invoke{{InvokeIdSet}, {Invocable}}
(CONSTRAINED BY { --invocable.&invokeLast must be FALSE -- }
! RejectProblem : general-incorrectComponentPortion),
returnResultNotLast [PRIVATE 14] IMPLICIT ReturnResult {{Returnable}}
}
(CONSTRAINED BY { -- must conform to the above definition -- }
! RejectProblem : general-unrecognisedComponentType)
Invoke{ InvokeID: InvokeIdSet, OPERATION: Operations } ::= SEQUENCE {
componentIDs [PRIVATE 15] IMPLICIT OCTET STRING (SIZE(0..2))
-- The invoke ID precedes the correlation id. There may be no
-- identifier,only an invoke ID, or both invoke and correlation
--ID's.
(CONSTRAINED BY { -- must be unambiguous -- }
! RejectProblem : invoke-duplicateInvocation )
(CONSTRAINED BY { -- correlation ID must identify an
-- outstanding operation -- }
! RejectProblem : invoke-unrecognisedCorrelationId )
OPTIONAL,
operationCode OPERATION.&operationCode
((Operations)
! RejectProblem : invoke-unrecognisedOperation),
parameter
OPERATION.&ParameterType
({Operations}{@opcode}
! RejectProblem : invoke-mistypedArgument ) OPTIONAL
}
(CONSTRAINED BY { -- must conform to the above definition -- }
! RejectProblem : general-incorrectComponentPortion )
(CONSTRAINED BY { -- must have consistent encoding -- }
! RejectProblem : general-badlyStructuredCompPortion )
(CONSTRAINED BY { -- must conform to T1.114.3 encoding rules -- }
! RejectProblem : general-incorrectComponentCoding )
ReturnResult{ OPERATION: Operations } ::= SEQUENCE {
componentID [PRIVATE 15] IMPLICIT OCTET STRING (SIZE(1))
(CONSTRAINED BY { --must be that of an outstanding operation--}
! RejectProblem : returnResult-unrecognisedCorrelationId)
(CONSTRAINED BY { -- which returns a result -- }
! RejectProblem : returnResult-unexpectedReturnResult),
parameter OPERATION.&ResultType
({Operations}{@opcode}
! RejectProblem : returnResult-incorrectParameter)
OPTIONAL
}
(CONSTRAINED BY { -- must conform to the above definition -- }
! RejectProblem : general-incorrectComponentPortion )
(CONSTRAINED BY { -- must have consistent encoding -- }
! RejectProblem : general-badlyStructuredCompPortion )
(CONSTRAINED BY { -- must conform to T1.114.3 encoding rules -- }
! RejectProblem : general-incorrectComponentCoding )
ReturnError{ ERROR: Errors } ::= SEQUENCE {
componentID [PRIVATE 15] IMPLICIT OCTET STRING (SIZE(1))
(CONSTRAINED BY { --must be that of an outstanding operation--}
! RejectProblem : returnError-unrecognisedCorrelationId)
(CONSTRAINED BY { --which returns an error-- }
! RejectProblem : returnError-unexpectedReturnError),
errorCode ERROR.&errorCode
({Errors}
! RejectProblem : returnError-unrecognisedError)
(CONSTRAINED BY { -- must be in the &Errors field of the
--associated operation -- }
! RejectProblem : returnError-unexpectedError),
parameter
ERROR.&ParameterType
({Errors}{@errorcode}
! RejectProblem : returnError-incorrectParameter) OPTIONAL
}
(CONSTRAINED BY { -- must conform to the above definition -- }
! RejectProblem : general-incorrectComponentPortion )
(CONSTRAINED BY { -- must have consistent encoding -- }
! RejectProblem : general-badlyStructuredCompPortion )
(CONSTRAINED BY { -- must conform to T1.114.3 encoding rules -- }
! RejectProblem : general-incorrectComponentCoding )
Reject ::= SEQUENCE {
componentID [PRIVATE 15] IMPLICIT OCTET STRING (SIZE(0..1)),
rejectProblem [PRIVATE 21] IMPLICIT Problem,
parameter CHOICE {
paramSequence [PRIVATE 16] IMPLICIT SEQUENCE { },
paramSet [PRIVATE 18] IMPLICIT SET { }
} --The choice between paramSequence and paramSet is implementation
--dependent, however paramSequence is preferred.
}
(CONSTRAINED BY { -- must conform to the above definition -- }
! RejectProblem : general-incorrectComponentPortion )
(CONSTRAINED BY { -- must have consistent encoding -- }
! RejectProblem : general-badlyStructuredCompPortion )
(CONSTRAINED BY { -- must conform to T1.114.3 encoding rules -- }
! RejectProblem : general-incorrectComponentCoding )
-- PROBLEMS, the specification of Problems follows
Problem ::= INTEGER {
general-unrecognisedComponentType (257),
general-incorrectComponentPortion (258),
general-badlyStructuredCompPortion (259),
general-incorrectComponentCoding (260),
invoke-duplicateInvocation (513),
invoke-unrecognisedOperation (514),
invoke-incorrectParameter (515),
invoke-unrecognisedCorrelationID (516),
returnResult-unrecognisedCorrelationID (769),
returnResult-unexpectedReturnResult (770),
returnResult-incorrectParameter (771),
returnError-unrecognisedCorrelationID (1025),
returnError-unexpectedReturnError (1026),
returnError-unrecognisedError (1027),
returnError-unexpectedError (1028),
returnError-incorrectParameter (1029),
-- Applications using T1.114-1988 report Transaction portion
-- problems using a Reject component with a problem code in
-- the range 1281-1286.
-- It is preferred that other applications report
-- these problems using the Abort package type
transaction-unrecognizedPackageType (1281),
transaction-incorrectTransPortion (1282),
transaction-badlyStructuredTransPortion (1283),
transaction-unassignedRespondingTransID (1284),
transaction-permissionToReleaseProblem (1285),
transaction-resourceUnavailable (1286)
}
END -- end of the TCAPPackage Module |
ASN.1 | wireshark/epan/dissectors/asn1/atn-cm/atn-cm.asn | -- ICAO doc 9705 Edition 2 Contact Management (CM)
CMMessageSetVersion1 DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- ----------------------------------------------------------------------------------
-- CM Message Structure
-- ----------------------------------------------------------------------------------
-- Aircraft-generated messages
CMAircraftMessage ::= CHOICE
{
cmLogonRequest [0] CMLogonRequest,
cmContactResponse [1] CMContactResponse,
cmAbortReason [2] CMAbortReason,
...
}
-- Ground-generated messages
CMGroundMessage ::= CHOICE
{
cmLogonResponse [0] CMLogonResponse,
cmUpdate [1] CMUpdate,
cmContactRequest [2] CMContactRequest,
cmForwardRequest [3] CMForwardRequest,
cmAbortReason [4] CMAbortReason,
cmForwardResponse [5] CMForwardResponse,
...
}
-- ----------------------------------------------------------------------------------
-- CM Message Components
-- ----------------------------------------------------------------------------------
AircraftFlightIdentification ::= IA5String(SIZE(2..8))
Airport ::=IA5String (SIZE(4))
APAddress ::= CHOICE
{
longTsap [0] LongTsap,
shortTsap [1] ShortTsap
}
AEQualifier ::= INTEGER (0..255)
-- ATN AE-Qualifier Numeric Values are described in 4
AEQualifierVersion ::= SEQUENCE
{
aeQualifier AEQualifier,
apVersion VersionNumber
}
AEQualifierVersionAddress ::= SEQUENCE
{
aeQualifier AEQualifier,
apVersion VersionNumber,
apAddress APAddress
}
CMAbortReason ::= ENUMERATED
{
timer-expired (0),
undefined-error (1),
invalid-PDU (2),
protocol-error (3),
dialogue-acceptance-not-permitted (4),
dialogue-end-not-accepted (5),
communication-service-error (6),
communication-service-failure (7),
invalid-QOS-parameter (8),
expected-PDU-missing (9),
...
}
CMContactRequest ::= SEQUENCE
{
facilityDesignation FacilityDesignation,
address LongTsap
}
CMContactResponse ::= Response
CMForwardRequest ::= CMLogonRequest
CMForwardResponse ::= ENUMERATED
{
success (0),
incompatible-version (1),
service-not-supported (2)
}
CMLogonRequest ::= SEQUENCE
{
aircraftFlightIdentification [0] AircraftFlightIdentification,
cMLongTSAP [1] LongTsap,
groundInitiatedApplications [2] SEQUENCE SIZE (1..256) OF AEQualifierVersionAddress OPTIONAL,
airOnlyInitiatedApplications [3] SEQUENCE SIZE (1..256) OF AEQualifierVersion OPTIONAL,
facilityDesignation [4] FacilityDesignation OPTIONAL,
airportDeparture [5] Airport OPTIONAL,
airportDestination [6] Airport OPTIONAL,
dateTimeDepartureETD [7] DateTime OPTIONAL
}
CMLogonResponse ::= SEQUENCE
{
airInitiatedApplications [0] SEQUENCE SIZE (1..256) OF AEQualifierVersionAddress
OPTIONAL,
groundOnlyInitiatedApplications [1] SEQUENCE SIZE (1..256) OF AEQualifierVersion
OPTIONAL
}
CMUpdate ::= CMLogonResponse
Date ::= SEQUENCE
{
year Year,
month Month,
day Day
}
-- The Date field does not have to correspond to the flight if the field is not to be used;
-- the field's value can be assigned a meaningless, but compliant, value locally. If operational
-- use of the Date field is intended, there must be bilateral agreements in place to ensure its proper
-- use. This is a local implementation issue.
DateTime ::= SEQUENCE
{
date Date,
time Time
}
Day ::= INTEGER (1..31)
--unit = Day, Range (1..31), resolution = 1
FacilityDesignation ::= IA5String (SIZE(4..8))
LongTsap ::= SEQUENCE
{
rDP OCTET STRING (SIZE(5)),
shortTsap ShortTsap
}
Month ::= INTEGER (1..12)
--unit = Month, Range (1..12), resolution = 1
Response ::= ENUMERATED
{
contactSuccess (0),
contactNotSuccessful (1)
}
ShortTsap ::= SEQUENCE
{
aRS [0] OCTET STRING (SIZE(3)) OPTIONAL,
-- the aRS contains the ICAO 24 bit aircraft address when the ShortTsap belongs to an aircraft;
-- or a ground address when the Short Tsap belongs to a ground system
locSysNselTsel [1] OCTET STRING (SIZE(10..11))
}
Time ::= SEQUENCE
{
hours Timehours,
minutes Timeminutes
}
Timehours ::= INTEGER (0..23)
-- units = hour, range (0..23), resolution = 1 hour
Timeminutes ::= INTEGER (0..59)
-- units = minute, range (0..59), resolution = 1 minute
VersionNumber ::= INTEGER (1..255)
-- VersionNumber 0 is reserved for the Dialogue Service
Year ::= INTEGER (1996..2095)
--unit = Year, Range (1996..2095), resolution = 1
END
--
-- Editor modelines - https://www.wireshark.org/tools/modelines.html
--
-- Local variables:
-- c-basic-offset: 4
-- tab-width: 8
-- indent-tabs-mode: nil
-- End:
--
-- vi: set shiftwidth=4 tabstop=8 expandtab:
-- :indentSize=4:tabSize=8:noTabs=true:
-- |
Configuration | wireshark/epan/dissectors/asn1/atn-cm/atn-cm.cnf | #.MODULE_IMPORT
#.EXPORTS
#.PDU
CMAircraftMessage
CMGroundMessage
#.END
#
# Editor modelines - https://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 4
# tab-width: 8
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=4 tabstop=8 expandtab:
# :indentSize=4:tabSize=8:noTabs=true: |
Text | wireshark/epan/dissectors/asn1/atn-cm/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME atn-cm )
set( PROTO_OPT )
set( EXPORT_FILES
)
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -u )
set( EXTRA_CNF
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/atn-cm/packet-atn-cm-template.c | /* packet-atn-cm.c
* By Mathias Guettler <[email protected]>
* Copyright 2013
*
* Routines for ATN context management protocol packet disassembly.
* ATN context management allows an aircraft
* to log on to a ground facility.
* details see:
* http://en.wikipedia.org/wiki/CPDLC
* http://members.optusnet.com.au/~cjr/introduction.htm
* standards:
* http://legacy.icao.int/anb/panels/acp/repository.cfm
* note:
* We are dealing with ATN/CPDLC aka ICAO Doc 9705 Ed2 here
* (CPDLC may also be transmitted via ACARS/AOA aka "FANS-1/A ").
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/exceptions.h>
#include <epan/conversation.h>
#include "packet-ber.h"
#include "packet-per.h"
#include "packet-atn-ulcs.h"
#define ATN_CM_PROTO "ICAO Doc9705 CM"
void proto_register_atn_cm(void);
void proto_reg_handoff_atn_cm(void);
#include "packet-atn-cm-hf.c"
#include "packet-atn-cm-ett.c"
static gint ett_atn_cm = -1;
#include "packet-atn-cm-fn.c"
static int proto_atn_cm = -1;
static int
dissect_atn_cm(
tvbuff_t *tvb,
packet_info *pinfo,
proto_tree *tree,
void *data _U_)
{
int type;
proto_tree *sub_tree;
sub_tree = proto_tree_add_subtree(
tree, tvb, 0, -1, ett_atn_cm, NULL, ATN_CM_PROTO);
/* ti = proto_tree_add_item(tree, proto_atn_cm, tvb, 0, 0 , ENC_NA); */
/* sub_tree = proto_item_add_subtree(ti, ett_atn_cm_pdu); */
/* determine whether it is uplink or downlink */
type = check_heur_msg_type(pinfo);
switch(type){
case um:
dissect_CMGroundMessage_PDU(
tvb,
pinfo,
sub_tree, NULL);
break;
case dm:
dissect_CMAircraftMessage_PDU(
tvb,
pinfo,
sub_tree, NULL);
break;
default:
break;
}
return tvb_reported_length_remaining(tvb, 0);
}
static gboolean
dissect_atn_cm_heur(
tvbuff_t *tvb,
packet_info *pinfo,
proto_tree *tree,
void *data _U_)
{
atn_conversation_t *volatile atn_cv = NULL;
volatile gboolean is_atn_cm = FALSE;
int type;
/* determine whether it is uplink or downlink */
type = check_heur_msg_type(pinfo);
/* heuristically decode message */
switch(type){
case um:
TRY {
dissect_CMGroundMessage_PDU(
tvb,
pinfo,
NULL, NULL);
/* no exception thrown: looks like it is a CM PDU */
is_atn_cm = TRUE; }
CATCH_ALL {
is_atn_cm = FALSE; }
ENDTRY;
break;
case dm:
TRY {
dissect_CMAircraftMessage_PDU(
tvb,
pinfo,
NULL, NULL);
/* no exception thrown: looks like it is a CM PDU */
is_atn_cm = TRUE;}
CATCH_ALL {
is_atn_cm = FALSE; }
ENDTRY;
break;
default:
break;
}
if (is_atn_cm == TRUE) {
/* note: */
/* all subsequent PDU's belonging to this conversation are considered CM */
/* if the first CM PDU has been decoded successfully */
/* (This is done in "atn-ulcs" by using "call_dissector_with_data()") */
/* DT: dstref present, srcref is always zero */
if((pinfo->clnp_dstref) &&
(!pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(
&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src );
}
/* CR: srcref present, dstref is always zero */
if((!pinfo->clnp_dstref) &&
(pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(
&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst );
}
/* CC: srcref and dstref present */
if((pinfo->clnp_dstref) &&
(pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(
&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst );
}
if(atn_cv){
atn_cv->ae_qualifier = cma;
}
dissect_atn_cm(
tvb,
pinfo,
tree,
NULL);
}
return is_atn_cm;
}
void proto_register_atn_cm (void)
{
static hf_register_info hf_atn_cm[] = {
#include "packet-atn-cm-hfarr.c"
};
static gint *ett[] = {
#include "packet-atn-cm-ettarr.c"
&ett_atn_cm
};
/* register CM application */
proto_atn_cm = proto_register_protocol(
ATN_CM_PROTO ,
"ATN-CM",
"atn-cm");
proto_register_field_array(
proto_atn_cm,
hf_atn_cm,
array_length(hf_atn_cm));
proto_register_subtree_array(
ett,
array_length(ett));
register_dissector(
"atn-cm",
dissect_atn_cm,
proto_atn_cm);
}
void proto_reg_handoff_atn_cm(void)
{
/* add session dissector to subdissector list*/
heur_dissector_add(
"atn-ulcs",
dissect_atn_cm_heur,
"ATN-CM over ATN-ULCS",
"atn-cm-ulcs",
proto_atn_cm, HEURISTIC_ENABLE);
}
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local variables:
* c-basic-offset: 4
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* vi: set shiftwidth=4 tabstop=8 expandtab:
* :indentSize=4:tabSize=8:noTabs=true:
*/ |
ASN.1 | wireshark/epan/dissectors/asn1/atn-cpdlc/atn-cpdlc.asn | -- Sub-Volume IV ASN.1 reference definitions for ICAO Doc. 9705,
-- Second Edition
-- Version 1.1, 03 Oct 2001
-- protected mode PDR's
-- 2011-10-25 Doc 9705 Draft Ed 3 (ICAO web site - 11/00) including "9705 PDRS FOR CPDLC"
-- based on "ACP WGN SG/N2 Version 1.1 (Output Montreal - May 2005)"
-- plain old CPDLC
CPDLCAPDUsVersion1 DEFINITIONS ::=
BEGIN
IMPORTS
ATCUplinkMessage, ATCDownlinkMessage
FROM PMCPDLCMessageSetVersion1
ATCForwardMessage, ATCForwardResponse
FROM PMCPDLCAPDUsVersion1;
-- ----------------------------------------------------------------------------------
-- Ground Generated Messages - Top level
-- ----------------------------------------------------------------------------------
GroundPDUs ::= CHOICE
{
abortUser [0] CPDLCUserAbortReason,
abortProvider [1] CPDLCProviderAbortReason,
startup [2] UplinkMessage,
send [3] ATCUplinkMessage,
forward [4] ATCForwardMessage,
forwardresponse [5] ATCForwardResponse,
...
}
UplinkMessage ::= CHOICE
{
noMessage [0] NULL,
aTCUplinkMessage [1] ATCUplinkMessage
}
AircraftPDUs::= CHOICE
{
abortUser [0] CPDLCUserAbortReason,
abortProvider [1] CPDLCProviderAbortReason,
startdown [2] StartDownMessage,
send [3] ATCDownlinkMessage,
...
}
StartDownMessage ::= SEQUENCE
{
mode Mode DEFAULT cpdlc,
startDownlinkMessage DownlinkMessage
}
Mode ::= ENUMERATED
{
cpdlc (0),
dsc (1)
}
DownlinkMessage ::= CHOICE
{
noMessage [0] NULL,
aTCDownlinkMessage [1] ATCDownlinkMessage
}
CPDLCUserAbortReason ::= ENUMERATED
{
undefined (0),
no-message-identification-numbers-available (1),
duplicate-message-identification-numbers (2),
no-longer-next-data-authority (3),
current-data-authority-abort (4),
commanded-termination (5),
invalid-response (6),
...
}
CPDLCProviderAbortReason ::= ENUMERATED
{
timer-expired (0),
undefined-error (1),
invalid-PDU (2),
protocol-error (3),
communication-service-error (4),
communication-service-failure (5),
invalid-QOS-parameter (6),
expected-PDU-missing (7),
...
}
END
-- protected mode PMCPDLC
PMCPDLCAPDUsVersion1 DEFINITIONS::=
BEGIN
IMPORTS
DateTimeGroup,
AircraftFlightIdentification,
AircraftAddress
FROM PMCPDLCMessageSetVersion1;
-- ----------------------------------------------------------------------------------
-- Ground Generated Messages - Top level
-- ----------------------------------------------------------------------------------
ProtectedGroundPDUs ::= CHOICE
{
abortUser [0] PMCPDLCUserAbortReason,
abortProvider [1] PMCPDLCProviderAbortReason,
startup [2] ProtectedUplinkMessage,
send [3] ProtectedUplinkMessage,
forward [4] ATCForwardMessage,
forwardresponse [5] ATCForwardResponse,
...
}
ProtectedUplinkMessage::= SEQUENCE
{
algorithmIdentifier [0] AlgorithmIdentifier OPTIONAL,
protectedMessage [1] CPDLCMessage OPTIONAL,
-- PER encoded ATCUplinkMessage
-- (see Module PMCPDLCMessageSetVersion1)
integrityCheck [2] BIT STRING,
...
}
ATCForwardMessage ::= SEQUENCE
{
forwardHeader ForwardHeader,
forwardMessage ForwardMessage
}
ForwardHeader ::= SEQUENCE
{
dateTime DateTimeGroup,
aircraftID AircraftFlightIdentification,
aircraftAddress AircraftAddress
}
ForwardMessage ::= CHOICE
{
upElementIDs [0] BIT STRING,
--PER encoded ATCUplinkMessageData,
-- (see Module PMCPDLCMessageSetVersion1)
downElementIDs [1] BIT STRING
--PER encoded ATCDownlinkMessageData,
-- (see Module PMCPDLCMessageSetVersion1)
}
ATCForwardResponse ::= ENUMERATED
{
success (0),
service-not-supported (1),
version-not-equal (2),
...
}
-- ----------------------------------------------------------------------------------
-- Aircraft Generated Messages - Top level
-- ----------------------------------------------------------------------------------
ProtectedAircraftPDUs::= CHOICE
{
abortUser [0] PMCPDLCUserAbortReason,
abortProvider [1] PMCPDLCProviderAbortReason,
startdown [2] ProtectedStartDownMessage,
send [3] ProtectedDownlinkMessage,
...
}
ProtectedStartDownMessage ::= SEQUENCE
{
mode ProtectedMode DEFAULT cpdlc,
startDownlinkMessage ProtectedDownlinkMessage
}
ProtectedMode ::= ENUMERATED
{
cpdlc (0),
dsc (1)
}
ProtectedDownlinkMessage::= SEQUENCE
{
algorithmIdentifier [0] AlgorithmIdentifier OPTIONAL,
protectedMessage [1] CPDLCMessage OPTIONAL,
--PER encoded ATCDownlinkMessage,
-- (see Module PMCPDLCMessageSetVersion1)
integrityCheck [2] BIT STRING,
...
}
-- ----------------------------------------------------------------------------------
-- Uplink and Downlink messages - Common Elements
-- ----------------------------------------------------------------------------------
AlgorithmIdentifier ::= RELATIVE-OID
--root is {icao-arc atn-algorithms(9)}
CPDLCMessage ::= BIT STRING
PMCPDLCUserAbortReason ::= ENUMERATED
{
undefined (0),
no-message-identification-numbers-available (1),
duplicate-message-identification-numbers (2),
no-longer-next-data-authority (3),
current-data-authority-abort (4),
commanded-termination (5),
invalid-response (6),
time-out-of-synchronisation (7),
unknown-integrity-check (8),
validation-failure (9),
unable-to-decode-message (10),
invalid-pdu (11),
invalid-CPDLC-message (12),
...
}
PMCPDLCProviderAbortReason ::= ENUMERATED
{
timer-expired (0),
undefined-error (1),
invalid-PDU (2),
protocol-error (3),
communication-service-error (4),
communication-service-failure (5),
invalid-QOS-parameter (6),
expected-PDU-missing (7),
...
}
END
PMCPDLCMessageSetVersion1 DEFINITIONS::=
BEGIN
ATCUplinkMessage ::= SEQUENCE
{
header ATCMessageHeader,
messageData ATCUplinkMessageData
}
ATCUplinkMessageData ::= SEQUENCE
{
elementIds SEQUENCE SIZE (1..5) OF ATCUplinkMsgElementId,
constrainedData SEQUENCE
{
routeClearanceData SEQUENCE SIZE (1..2) OF RouteClearance OPTIONAL,
...
} OPTIONAL
}
ATCDownlinkMessage ::= SEQUENCE
{
header ATCMessageHeader,
messageData ATCDownlinkMessageData
}
ATCDownlinkMessageData ::= SEQUENCE
{
elementIds SEQUENCE SIZE (1..5) OF ATCDownlinkMsgElementId,
constrainedData SEQUENCE
{
routeClearanceData SEQUENCE SIZE (1..2) OF RouteClearance OPTIONAL,
...
} OPTIONAL
}
-- ----------------------------------------------------------------------------------
-- Uplink and Downlink messages - Common Elements
-- ----------------------------------------------------------------------------------
ATCMessageHeader ::= SEQUENCE
{
messageIdNumber [0] MsgIdentificationNumber,
messageRefNumber [1] MsgReferenceNumber OPTIONAL,
dateTime [2] DateTimeGroup,
logicalAck [3] LogicalAck DEFAULT notRequired
}
MsgIdentificationNumber ::= INTEGER (0..63)
MsgReferenceNumber ::= INTEGER (0..63)
LogicalAck ::= ENUMERATED
{
required (0),
notRequired (1)
}
-- ----------------------------------------------------------------------------------
-- Uplink message element
-- ----------------------------------------------------------------------------------
ATCUplinkMsgElementId ::= CHOICE
{
-- UNABLE
-- Urg(N)/Alr(M)/Resp(N)
uM0NULL [0] NULL,
-- STANDBY
-- Urg(N)/Alr(L)/Resp(N)
uM1NULL [1] NULL,
-- REQUEST DEFERRED
-- Urg(N)/Alr(L)/Resp(N)
uM2NULL [2] NULL,
-- ROGER
-- Urg(N)/Alr(L)/Resp(N)
uM3NULL [3] NULL,
-- AFFIRM
-- Urg(N)/Alr(L)/Resp(N)
uM4NULL [4] NULL,
-- NEGATIVE Urg(N)/Alr(L)/Resp(N)
uM5NULL [5] NULL,
-- EXPECT [level] Urg(L)/Alr(L)/Resp(R)
uM6Level [6] Level,
-- EXPECT CLIMB AT [time]
-- Urg(L)/Alr(L)/Resp(R)
uM7Time [7] Time,
-- EXPECT CLIMB AT [position]
-- Urg(L)/Alr(L)/Resp(R)
uM8Position [8] Position,
-- EXPECT DESCENT AT [time]
-- Urg(L)/Alr(L)/Resp(R)
uM9Time [9] Time,
-- EXPECT DESCENT AT [position]
-- Urg(L)/Alr(L)/Resp(R)
uM10Position [10] Position,
-- EXPECT CRUISE CLIMB AT [time]
-- Urg(L)/Alr(L)/Resp(R)
uM11Time [11] Time,
-- EXPECT CRUISE CLIMB AT [position]
-- Urg(L)/Alr(L)/Resp(R)
uM12Position [12] Position,
-- AT [time] EXPECT CLIMB TO [level]
-- Urg(L)/Alr(L)/Resp(R)
uM13TimeLevel [13] TimeLevel,
-- AT [position] EXPECT CLIMB TO [level]
-- Urg(L)/Alr(L)/Resp(R)
uM14PositionLevel [14] PositionLevel,
-- AT [time] EXPECT DESCENT TO [level]
-- Urg(L)/Alr(L)/Resp(R)
uM15TimeLevel [15] TimeLevel,
-- AT [position] EXPECT DESCENT TO [level]
-- Urg(L)/Alr(L)/Resp(R)
uM16PositionLevel [16] PositionLevel,
-- AT [time] EXPECT CRUISE CLIMB TO [level]
-- Urg(L)/Alr(L)/Resp(R)
uM17TimeLevel [17] TimeLevel,
-- AT [position] EXPECT CRUISE CLIMB TO [level]
-- Urg(L)/Alr(L)/Resp(R)
uM18PositionLevel [18] PositionLevel,
-- MAINTAIN [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM19Level [19] Level,
-- CLIMB TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM20Level [20] Level,
-- AT [time] CLIMB TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM21TimeLevel [21] TimeLevel,
-- AT [position] CLIMB TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM22PositionLevel [22] PositionLevel,
-- DESCEND TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM23Level [23] Level,
-- AT [time] DESCEND TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM24TimeLevel [24] TimeLevel,
-- AT [position] DESCEND TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM25PositionLevel [25] PositionLevel,
-- CLIMB TO REACH [level] BY [time]
-- Urg(N)/Alr(M)/Resp(W/U)
uM26LevelTime [26] LevelTime,
-- CLIMB TO REACH [level] BY [position]
-- Urg(N)/Alr(M)/Resp(W/U)
uM27LevelPosition [27] LevelPosition,
-- DESCEND TO REACH [level] BY [time]
-- Urg(N)/Alr(M)/Resp(W/U)
uM28LevelTime [28] LevelTime,
-- DESCEND TO REACH [level] BY [position]
-- Urg(N)/Alr(M)/Resp(W/U)
uM29LevelPosition [29] LevelPosition,
-- MAINTAIN BLOCK [level] TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM30LevelLevel [30] LevelLevel,
-- CLIMB TO AND MAINTAIN BLOCK [level] TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM31LevelLevel [31] LevelLevel,
-- DESCEND TO AND MAINTAIN BLOCK [level] TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM32LevelLevel [32] LevelLevel,
-- Reserved
-- Urg(L)/Alr(L)/Resp(Y)
uM33NULL [33] NULL,
-- CRUISE CLIMB TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM34Level [34] Level,
-- CRUISE CLIMB ABOVE [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM35Level [35] Level,
-- EXPEDITE CLIMB TO [level]
-- Urg(U)/Alr(M)/Resp(W/U)
uM36Level [36] Level,
-- EXPEDITE DESCENT TO [level]
-- Urg(U)/Alr(M)/Resp(W/U)
uM37Level [37] Level,
-- IMMEDIATELY CLIMB TO [level]
-- Urg(D)/Alr(H)/Resp(W/U)
uM38Level [38] Level,
-- IMMEDIATELY DESCEND TO [level]
-- Urg(D)/Alr(H)/Resp(W/U)
uM39Level [39] Level,
-- Reserved
-- Urg(L)/Alr(L)/Resp(Y)
uM40NULL [40] NULL,
-- Reserved Urg(L)/Alr(L)/Resp(Y)
uM41NULL [41] NULL,
-- EXPECT TO CROSS [position] AT [level]
-- Urg(L)/Alr(L)/Resp(R)
uM42PositionLevel [42] PositionLevel,
-- EXPECT TO CROSS [position] AT OR ABOVE [level]
-- Urg(L)/Alr(L)/Resp(R)
uM43PositionLevel [43] PositionLevel,
-- EXPECT TO CROSS [position] AT OR BELOW [level]
-- Urg(L)/Alr(L)/Resp(R)
uM44PositionLevel [44] PositionLevel,
-- EXPECT TO CROSS [position] AT AND MAINTAIN [level]
-- Urg(L)/Alr(L)/Resp(R)
uM45PositionLevel [45] PositionLevel,
-- CROSS [position] AT [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM46PositionLevel [46] PositionLevel,
-- CROSS [position] AT OR ABOVE [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM47PositionLevel [47] PositionLevel,
-- CROSS [position] AT OR BELOW [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM48PositionLevel [48] PositionLevel,
-- CROSS [position] AT AND MAINTAIN [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM49PositionLevel [49] PositionLevel,
-- CROSS [position] BETWEEN [level] AND [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM50PositionLevelLevel [50] PositionLevelLevel,
-- CROSS [position] AT [time]
-- Urg(N)/Alr(M)/Resp(W/U)
uM51PositionTime [51] PositionTime,
-- CROSS [position] AT OR BEFORE [time]
-- Urg(N)/Alr(M)/Resp(W/U)
uM52PositionTime [52] PositionTime,
-- CROSS [position] AT OR AFTER [time]
-- Urg(N)/Alr(M)/Resp(W/U)
uM53PositionTime [53] PositionTime,
-- CROSS [position] BETWEEN [time] AND [time]
-- Urg(N)/Alr(M)/Resp(W/U)
uM54PositionTimeTime [54] PositionTimeTime,
-- CROSS [position] AT [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM55PositionSpeed [55] PositionSpeed,
-- CROSS [position] AT OR LESS THAN [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM56PositionSpeed [56] PositionSpeed,
-- CROSS [position] AT OR GREATER THAN [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM57PositionSpeed [57] PositionSpeed,
-- CROSS [position] AT [time] AT [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM58PositionTimeLevel [58] PositionTimeLevel,
-- CROSS [position] AT OR BEFORE [time] AT [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM59PositionTimeLevel [59] PositionTimeLevel,
-- CROSS [position] AT OR AFTER [time] AT [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM60PositionTimeLevel [60] PositionTimeLevel,
-- CROSS [position] AT AND MAINTAIN [level] AT [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM61PositionLevelSpeed [61] PositionLevelSpeed,
-- AT [time] CROSS [position] AT AND MAINTAIN [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM62TimePositionLevel [62] TimePositionLevel,
-- AT [time] CROSS [position] AT AND MAINTAIN [level] AT [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM63TimePositionLevelSpeed [63] TimePositionLevelSpeed,
-- OFFSET [specifiedDistance] [direction] OF ROUTE
-- Urg(N)/Alr(M)/Resp(W/U)
uM64DistanceSpecifiedDirection [64] DistanceSpecifiedDirection,
-- AT [position] OFFSET [specifiedDistance] [direction] OF ROUTE
-- Urg(N)/Alr(M)/Resp(W/U)
uM65PositionDistanceSpecifiedDirection[65] PositionDistanceSpecifiedDirection,
-- AT [time] OFFSET [specifiedDistance] [direction] OF ROUTE
-- Urg(N)/Alr(M)/Resp(W/U)
uM66TimeDistanceSpecifiedDirection [66] TimeDistanceSpecifiedDirection,
-- PROCEED BACK ON ROUTE
-- Urg(N)/Alr(M)/Resp(W/U)
uM67NULL [67] NULL,
-- REJOIN ROUTE BY [position]
-- Urg(N)/Alr(M)/Resp(W/U)
uM68Position [68] Position,
-- REJOIN ROUTE BY [time]
-- Urg(N)/Alr(M)/Resp(W/U)
uM69Time [69] Time,
-- EXPECT BACK ON ROUTE BY [position]
-- Urg(L)/Alr(L)/Resp(R)
uM70Position [70] Position,
-- EXPECT BACK ON ROUTE BY [time]
-- Urg(L)/Alr(L)/Resp(R)
uM71Time [71] Time,
-- RESUME OWN NAVIGATION
-- Urg(N)/Alr(M)/Resp(W/U)
uM72NULL [72] NULL,
-- [DepartureClearance]
-- Urg(N)/Alr(M)/Resp(W/U)
uM73DepartureClearance [73] DepartureClearance,
-- PROCEED DIRECT TO [position]
-- Urg(N)/Alr(M)/Resp(W/U)
uM74Position [74] Position,
-- WHEN ABLE PROCEED DIRECT TO [position]
-- Urg(N)/Alr(M)/Resp(W/U)
uM75Position [75] Position,
-- AT [time] PROCEED DIRECT TO [position]
-- Urg(N)/Alr(M)/Resp(W/U)
uM76TimePosition [76] TimePosition,
-- AT [position] PROCEED DIRECT TO [position]
-- Urg(N)/Alr(M)/Resp(W/U)
uM77PositionPosition [77] PositionPosition,
-- AT [level] PROCEED DIRECT TO [position]
-- Urg(N)/Alr(M)/Resp(W/U)
uM78LevelPosition [78] LevelPosition,
-- CLEARED TO [position] VIA [routeClearance]
-- Urg(N)/Alr(M)/Resp(W/U)
uM79PositionRouteClearance [79] PositionRouteClearanceIndex,
-- CLEARED [routeClearance]
-- Urg(N)/Alr(M)/Resp(W/U)
uM80RouteClearance [80] RouteClearanceIndex,
-- CLEARED [procedureName]
-- Urg(N)/Alr(M)/Resp(W/U)
uM81ProcedureName [81] ProcedureName,
-- CLEARED TO DEVIATE UP TO [specifiedDistance] [direction] OF ROUTE
-- Urg(N)/Alr(M)/Resp(W/U)
uM82DistanceSpecifiedDirection [82] DistanceSpecifiedDirection,
-- AT [position] CLEARED [routeClearance]
-- Urg(N)/Alr(M)/Resp(W/U)
uM83PositionRouteClearance [83] PositionRouteClearanceIndex,
-- AT [position] CLEARED [procedureName]
-- Urg(N)/Alr(M)/Resp(W/U)
uM84PositionProcedureName [84] PositionProcedureName,
-- EXPECT [routeClearance]
-- Urg(L)/Alr(L)/Resp(R)
uM85RouteClearance [85] RouteClearanceIndex,
-- AT [position] EXPECT [routeClearance]
-- Urg(L)/Alr(L)/Resp(R)
uM86PositionRouteClearance [86] PositionRouteClearanceIndex,
-- EXPECT DIRECT TO [position]
-- Urg(L)/Alr(L)/Resp(R)
uM87Position [87] Position,
-- AT [position] EXPECT DIRECT TO [position]
-- Urg(L)/Alr(L)/Resp(R)
uM88PositionPosition [88]PositionPosition,
-- AT [time] EXPECT DIRECT TO [position]
-- Urg(L)/Alr(L)/Resp(R)
uM89TimePosition [89] TimePosition,
-- AT [level] EXPECT DIRECT TO [position]
-- Urg(L)/Alr(L)/Resp(R)
uM90LevelPosition [90] LevelPosition,
-- HOLD AT [position] MAINTAIN [level] INBOUND TRACK [degrees][direction] TURNS [legtype]
-- Urg(N)/Alr(M)/Resp(W/U)
uM91HoldClearance [91] HoldClearance,
-- HOLD AT [position] AS PUBLISHED MAINTAIN [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM92PositionLevel [92] PositionLevel,
-- EXPECT FURTHER CLEARANCE AT [time]
-- Urg(L)/Alr(L)/Resp(R)
uM93Time [93] Time,
-- TURN [direction] HEADING [degrees]
-- Urg(N)/Alr(M)/Resp(W/U)
uM94DirectionDegrees [94] DirectionDegrees,
-- TURN [direction] GROUND TRACK [degrees]
-- Urg(N)/Alr(M)/Resp(W/U)
uM95DirectionDegrees [95] DirectionDegrees,
-- CONTINUE PRESENT HEADING
-- Urg(N)/Alr(M)/Resp(W/U)
uM96NULL [96] NULL,
-- AT [position] FLY HEADING [degrees]
-- Urg(N)/Alr(M)/Resp(W/U)
uM97PositionDegrees [97] PositionDegrees,
-- IMMEDIATELY TURN [direction] HEADING [degrees]
-- Urg(D)/Alr(H)/Resp(W/U)
uM98DirectionDegrees [98] DirectionDegrees,
-- EXPECT [procedureName]
-- Urg(L)/Alr(L)/Resp(R)
uM99ProcedureName [99] ProcedureName,
-- AT [time] EXPECT [speed]
-- Urg(L)/Alr(L)/Resp(R)
uM100TimeSpeed [100] TimeSpeed,
-- AT [position] EXPECT [speed]
-- Urg(L)/Alr(L)/Resp(R)
uM101PositionSpeed [101] PositionSpeed,
-- AT [level] EXPECT [speed]
-- Urg(L)/Alr(L)/Resp(R)
uM102LevelSpeed [102] LevelSpeed,
-- AT [time] EXPECT [speed] TO [speed]
-- Urg(L)/Alr(L)/Resp(R)
uM103TimeSpeedSpeed [103] TimeSpeedSpeed,
-- AT [position] EXPECT [speed] TO [speed]
-- Urg(L)/Alr(L)/Resp(R)
uM104PositionSpeedSpeed [104] PositionSpeedSpeed,
-- AT [level] EXPECT [speed] TO [speed]
-- Urg(L)/Alr(L)/Resp(R)
uM105LevelSpeedSpeed [105] LevelSpeedSpeed,
-- MAINTAIN [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM106Speed [106] Speed,
-- MAINTAIN PRESENT SPEED
-- Urg(N)/Alr(M)/Resp(W/U)
uM107NULL [107] NULL,
-- MAINTAIN [speed] OR GREATER
-- Urg(N)/Alr(M)/Resp(W/U)
uM108Speed [108] Speed,
-- MAINTAIN [speed] OR LESS
-- Urg(N)/Alr(M)/Resp(W/U)
uM109Speed [109] Speed,
-- MAINTAIN [speed] TO [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM110SpeedSpeed [110] SpeedSpeed,
-- INCREASE SPEED TO [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM111Speed [111] Speed,
-- INCREASE SPEED TO [speed] OR GREATER
-- Urg(N)/Alr(M)/Resp(W/U)
uM112Speed [112] Speed,
-- REDUCE SPEED TO [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM113Speed [113] Speed,
-- REDUCE SPEED TO [speed] OR LESS
-- Urg(N)/Alr(M)/Resp(W/U)
uM114Speed [114] Speed,
-- DO NOT EXCEED [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM115Speed [115] Speed,
-- RESUME NORMAL SPEED
-- Urg(N)/Alr(M)/Resp(W/U)
uM116NULL [116] NULL,
-- CONTACT [unitname] [frequency]
-- Urg(N)/Alr(M)/Resp(W/U)
uM117UnitNameFrequency [117] UnitNameFrequency,
-- AT [position] CONTACT [unitname] [frequency]
-- Urg(N)/Alr(M)/Resp(W/U)
uM118PositionUnitNameFrequency [118] PositionUnitNameFrequency,
-- AT [time] CONTACT [unitname] [frequency]
-- Urg(N)/Alr(M)/Resp(W/U)
uM119TimeUnitNameFrequency [119] TimeUnitNameFrequency,
-- MONITOR [unitname] [frequency]
-- Urg(N)/Alr(M)/Resp(W/U)
uM120UnitNameFrequency [120] UnitNameFrequency,
-- AT [position] MONITOR [unitname] [frequency]
-- Urg(N)/Alr(M)/Resp(W/U)
uM121PositionUnitNameFrequency [121] PositionUnitNameFrequency,
-- AT [time] MONITOR [unitname] [frequency]
-- Urg(N)/Alr(M)/Resp(W/U)
uM122TimeUnitNameFrequency [122] TimeUnitNameFrequency,
-- SQUAWK [code]
-- Urg(N)/Alr(M)/Resp(W/U)
uM123Code [123] Code,
-- STOP SQUAWK
-- Urg(N)/Alr(M)/Resp(W/U)
uM124NULL [124] NULL,
-- SQUAWK MODE CHARLIE
-- Urg(N)/Alr(M)/Resp(W/U)
uM125NULL [125] NULL,
-- STOP SQUAWK MODE CHARLIE
-- Urg(N)/Alr(M)/Resp(W/U)
uM126NULL [126] NULL,
-- REPORT BACK ON ROUTE
-- Urg(N)/Alr(L)/Resp(W/U)
uM127NULL [127] NULL,
-- REPORT LEAVING [level]
-- Urg(N)/Alr(L)/Resp(W/U)
uM128Level [128] Level,
-- REPORT MAINTAINING [level]
-- Urg(N)/Alr(L)/Resp(W/U)
uM129Level [129] Level,
-- REPORT PASSING [position]
-- Urg(N)/Alr(L)/Resp(W/U)
uM130Position [130] Position,
-- REPORT REMAINING FUEL AND PERSONS ON BOARD
-- Urg(U)/Alr(M)/Resp(Y)
uM131NULL [131] NULL,
-- REPORT POSITION
-- Urg(N)/Alr(M)/Resp(Y)
uM132NULL [132] NULL,
-- REPORT PRESENT LEVEL
-- Urg(N)/Alr(M)/Resp(Y)
uM133NULL [133] NULL,
-- REPORT [speedtype] [speedtype] [speedtype]SPEED
-- Urg(N)/Alr(M)/Resp(Y)
uM134SpeedTypeSpeedTypeSpeedType [134] SpeedTypeSpeedTypeSpeedType,
-- CONFIRM ASSIGNED LEVEL
-- Urg(N)/Alr(L)/Resp(Y)
uM135NULL [135] NULL,
-- CONFIRM ASSIGNED SPEED
-- Urg(N)/Alr(L)/Resp(Y)
uM136NULL [136] NULL,
-- CONFIRM ASSIGNED ROUTE
-- Urg(N)/Alr(L)/Resp(Y)
uM137NULL [137] NULL,
-- CONFIRM TIME OVER REPORTED WAYPOINT
-- Urg(N)/Alr(L)/Resp(Y)
uM138NULL [138] NULL,
-- CONFIRM REPORTED WAYPOINT
-- Urg(N)/Alr(L)/Resp(Y)
uM139NULL [139] NULL,
-- CONFIRM NEXT WAYPOINT
-- Urg(N)/Alr(L)/Resp(Y)
uM140NULL [140] NULL,
-- CONFIRM NEXT WAYPOINT ETA
-- Urg(N)/Alr(L)/Resp(Y)
uM141NULL [141] NULL,
-- CONFIRM ENSUING WAYPOINT
-- Urg(N)/Alr(L)/Resp(Y)
uM142NULL [142] NULL,
-- CONFIRM REQUEST
-- Urg(N)/Alr(L)/Resp(Y)
uM143NULL [143] NULL,
-- CONFIRM SQUAWK
-- Urg(N)/Alr(L)/Resp(Y)
uM144NULL [144] NULL,
-- REPORT HEADING
-- Urg(N)/Alr(M)/Resp(Y)
uM145NULL [145] NULL,
-- REPORT GROUND TRACK
-- Urg(N)/Alr(M)/Resp(Y)
uM146NULL [146] NULL,
-- REQUEST POSITION REPORT
-- Urg(N)/Alr(M)/Resp(Y )
uM147NULL [147] NULL,
-- WHEN CAN YOU ACCEPT [level]
-- Urg(N)/Alr(L)/Resp(Y)
uM148Level [148] Level,
-- CAN YOU ACCEPT [level] AT [position]
-- Urg(N)/Alr(L)/Resp(A/N)
uM149LevelPosition [149] LevelPosition,
-- CAN YOU ACCEPT [level] AT [time]
-- Urg(N)/Alr(L)/Resp(A/N)
uM150LevelTime [150] LevelTime,
-- WHEN CAN YOU ACCEPT [speed]
-- Urg(N)/Alr(L)/Resp(Y)
uM151Speed [151] Speed,
-- WHEN CAN YOU ACCEPT [specifiedDistance] [direction] OFFSET
-- Urg(N)/Alr(L)/Resp(Y)
uM152DistanceSpecifiedDirection [152] DistanceSpecifiedDirection,
-- ALTIMETER [altimeter]
-- Urg(N)/Alr(L)/Resp(R)
uM153Altimeter [153] Altimeter,
-- RADAR SERVICE TERMINATED
-- Urg(N)/Alr(L)/Resp(R)
uM154NULL [154] NULL,
-- RADAR CONTACT [position]
-- Urg(N)/Alr(M)/Resp(R)
uM155Position [155] Position,
-- RADAR CONTACT LOST
-- Urg(N)/Alr(M)/Resp(R)
uM156NULL [156] NULL,
-- CHECK STUCK MICROPHONE [frequency]
-- Urg(U)/Alr(M)/Resp(N)
uM157Frequency [157] Frequency,
-- ATIS [atiscode]
-- Urg(N)/Alr(L)/Resp(R)
uM158AtisCode [158] ATISCode,
-- ERROR [errorInformation]
-- Urg(U)/Alr(M)/Resp(N)
uM159ErrorInformation [159] ErrorInformation,
-- NEXT DATA AUTHORITY [facility]
-- Urg(L)/Alr(N)/Resp(N)
uM160Facility [160] Facility,
-- END SERVICE
-- Urg(L)/Alr(N)/Resp(N)
uM161NULL [161] NULL,
-- SERVICE UNAVAILABLE
-- Urg(L)/Alr(L)/Resp(N )
uM162NULL [162] NULL,
-- [facilitydesignation]
-- Urg(L)/Alr(N)/Resp(N)
uM163FacilityDesignation [163] FacilityDesignation,
-- WHEN READY
-- Urg(L)/Alr(N)/Resp(N)
uM164NULL [164] NULL,
-- THEN
-- Urg(L)/Alr(N)/Resp(N)
uM165NULL [165] NULL,
-- DUE TO [traffictype]TRAFFIC
-- Urg(L)/Alr(N)/Resp(N)
uM166TrafficType [166] TrafficType,
-- DUE TO AIRSPACE RESTRICTION
-- Urg(L)/Alr(N)/Resp(N)
uM167NULL [167] NULL,
-- DISREGARD
-- Urg(U)/Alr(M)/Resp(R)
uM168NULL [168] NULL,
-- [freetext]
-- Urg(N)/Alr(L)/Resp(R)
uM169FreeText [169] FreeText,
-- [freetext]
-- Urg(D)/Alr(H)/Resp(R)
uM170FreeText [170] FreeText,
-- CLIMB AT [verticalRate] MINIMUM
-- Urg(N)/Alr(M)/Resp(W/U)
uM171VerticalRate [171] VerticalRate,
-- CLIMB AT [verticalRate] MAXIMUM
-- Urg(N)/Alr(M)/Resp(W/U)
uM172VerticalRate [172] VerticalRate,
-- DESCEND AT [verticalRate] MINIMUM
-- Urg(N)/Alr(M)/Resp(W/U)
uM173VerticalRate [173] VerticalRate,
-- DESCEND AT [verticalRate] MAXIMUM
-- Urg(N)/Alr(M)/Resp(W/U)
uM174VerticalRate [174] VerticalRate,
-- REPORT REACHING [level]
-- Urg(N)/Alr(L)/Resp(W/U)
uM175Level [175] Level,
-- MAINTAIN OWN SEPARATION AND VMC
-- Urg(N)/Alr(M)/Resp(W/U)
uM176NULL [176] NULL,
-- AT PILOTS DISCRETION
-- Urg(L)/Alr(L)/Resp(N)
uM177NULL [177] NULL,
-- Reserved
-- Urg(L)/Alr(L)/Resp(Y)
uM178NULL [178] NULL,
-- SQUAWK IDENT
-- Urg(N)/Alr(M)/Resp(W/U)
uM179NULL [179] NULL,
-- REPORT REACHING BLOCK [level] TO [level]
-- Urg(N)/Alr(L)/Resp(W/U)
uM180LevelLevel [180] LevelLevel,
-- REPORT DISTANCE [tofrom] [position]
-- Urg(N)/Alr(M)/Resp(Y)
uM181ToFromPosition [181] ToFromPosition,
-- CONFIRM ATIS CODE
-- Urg(N)/Alr(L)/Resp(Y)
uM182NULL [182] NULL,
-- [freetext]
-- Urg(N)/Alr(M)/Resp(N)
uM183FreeText [183] FreeText,
-- AT [time] REPORT DISTANCE [tofrom] [position]
-- Urg(N)/Alr(L)/Resp(Y)
uM184TimeToFromPosition [184] TimeToFromPosition,
-- AFTER PASSING [position] CLIMB TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM185PositionLevel [185] PositionLevel,
-- AFTER PASSING [position] DESCEND TO [level]
-- Urg(N)/Alr(M)/Resp(W/U)
uM186PositionLevel [186] PositionLevel,
-- [freetext]
-- Urg(L)/Alr(N)/Resp(N)
uM187FreeText [187] FreeText,
-- AFTER PASSING [position] MAINTAIN [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM188PositionSpeed [188] PositionSpeed,
-- ADJUST SPEED TO [speed]
-- Urg(N)/Alr(M)/Resp(W/U)
uM189Speed [189] Speed,
-- FLY HEADING [degrees]
-- Urg(N)/Alr(M)/Resp(W/U)
uM190Degrees [190] Degrees,
-- ALL ATS TERMINATED
-- Urg(N)/Alr(M)/Resp(R)
uM191NULL [191] NULL,
-- REACH [level] BY [time]
-- Urg(N)/Alr(M)/Resp(W/U)
uM192LevelTime [192] LevelTime,
-- IDENTIFICATION LOST
-- Urg(N)/Alr(M)/Resp(R)
uM193NULL [193] NULL,
-- [freetext]
-- Urg(N)/Alr(L)/Resp(Y)
uM194FreeText [194] FreeText,
-- [freetext]
-- Urg(L)/Alr(L)/Resp(R)
uM195FreeText [195] FreeText,
-- [freetext]
-- Urg(N)/Alr(M)/Resp
uM196FreeText [196] FreeText,
-- [freetext]
-- Urg(U)/Alr(M)/Resp(W/U)
uM197FreeText [197] FreeText,
-- [freetext]
-- Urg(D)/Alr(H)/Resp(W/U)
uM198FreeText [198] FreeText,
-- [freetext]
-- Urg(N)/Alr(L)/Resp(N)
uM199FreeText [199] FreeText,
-- REPORT REACHING
-- Urg(N)/Alr(L)/Resp(W/U)
uM200NULL [200] NULL,
-- Not Used
-- Urg(L)/Alr(L)/Resp(N)
uM201NULL [201] NULL,
-- Not Used
-- Urg(L)/Alr(L)/Resp(N)
uM202NULL [202] NULL,
-- [freetext]
-- Urg(N)/Alr(M)/Resp(R)
uM203FreeText [203] FreeText,
-- [freetext]
-- Urg(N)/Alr(M)/Resp(Y)
uM204FreeText [204] FreeText,
-- [freetext]
-- Urg(N)/Alr(M)/Resp(A/N)
uM205FreeText [205] FreeText,
-- [freetext]
-- Urg(L)/Alr(N)/Resp(Y)
uM206FreeText [206] FreeText,
-- [freetext]
-- Urg(L)/Alr(L)/Resp(Y)
uM207FreeText [207] FreeText,
-- [freetext]
-- Urg(L)/Alr(L)/Resp(N)
uM208FreeText [208] FreeText,
-- REACH [level] BY [position]
-- Urg(N)/Alr(M)/Resp(W/U)
uM209LevelPosition [209] LevelPosition,
-- IDENTIFIED [position]
-- Urg(N)/Alr(M)/Resp(R)
uM210Position [210] Position,
-- REQUEST FORWARDED
-- Urg(N)/Alr(L)/Resp(N)
uM211NULL [211] NULL,
-- [facilitydesignation] ATIS [atiscode] CURRENT
-- Urg(N)/Alr(L)/Resp(R)
uM212FacilityDesignationATISCode [212] FacilityDesignationATISCode,
-- [facilitydesignation] ALTIMETER [altimeter]
-- Urg(N)/Alr(L)/Resp(R)
uM213FacilityDesignationAltimeter [213] FacilityDesignationAltimeter,
-- RVR RUNWAY [runway] [rvr]
-- Urg(N)/Alr(M)/Resp(R)
uM214RunwayRVR [214] RunwayRVR,
-- TURN [direction][degrees]
-- Urg(N)/Alr(M)/Resp(W/U)
uM215DirectionDegrees [215] DirectionDegrees,
-- REQUEST FLIGHT PLAN
-- Urg(N)/Alr(M)/Resp(Y)
uM216NULL [216] NULL,
-- REPORT ARRIVAL
-- Urg(N)/Alr(M)/Resp(Y)
uM217NULL [217] NULL,
-- REQUEST ALREADY RECEIVED
-- Urg(L)/Alr(N)/Resp(N)
uM218NULL [218] NULL,
-- STOP CLIMB AT [level]
-- Urg(U)/Alr(M)/Resp(W/U)
uM219Level [219] Level,
-- STOP DESCENT AT [level]
-- Urg(U)/Alr(M)/Resp(W/U)
uM220Level [220] Level,
-- STOP TURN HEADING [degrees]
-- Urg(U)/Alr(M)/Resp(W/U)
uM221Degrees [221] Degrees,
-- NO SPEED RESTRICTION
-- Urg(L)/Alr(L)/Resp(R)
uM222NULL [222] NULL,
-- REDUCE TO MINIMUM APPROACH SPEED
-- Urg(N)/Alr(M)/Resp(W/U)
uM223NULL [223] NULL,
-- NO DELAY EXPECTED
-- Urg(N)/Alr(L)/Resp(R)
uM224NULL [224] NULL,
-- DELAY NOT DETERMINED
-- Urg(N)/Alr(L)/Resp(R)
uM225NULL [225] NULL,
-- EXPECTED APPROACH TIME [time]
-- Urg(N)/Alr(L)/Resp(R)
uM226Time [226] Time,
-- LOGICAL ACKNOWLEDGMENT
-- Urg(N)/Alr(M)/Resp(N)
uM227NULL [227] NULL,
-- REPORT ETA [position]
--Urg(L)/Alr(L)/Resp(Y)
uM228Position [228] Position,
-- REPORT ALTERNATE AERODROME
-- Urg(L)/Alr(L)/Resp(Y)
uM229NULL [229] NULL,
-- IMMEDIATELY
-- Urg(D)/Alr(H)/Resp(N)
uM230NULL [230] NULL,
-- STATE PREFERRED LEVEL
-- Urg(L)/Alr(L)/Resp(Y)
uM231NULL [231] NULL,
-- STATE TOP OF DESCENT
-- Urg(L)/Alr(L)/Resp(Y)
uM232NULL [232] NULL,
-- USE OF LOGICAL ACKNOWLEDGMENT PROHIBITED
-- Urg(N)/Alr(M)/Resp(N)
uM233NULL [233] NULL,
-- FLIGHT PLAN NOT HELD
-- Urg(L)/Alr(L)/Resp(N)
uM234NULL [234] NULL,
-- ROGER 7500
-- Urg(U)/Alr(H)/Resp(N)
uM235NULL [235] NULL,
-- LEAVE CONTROLLED AIRSPACE
-- Urg(N)/Alr(M)/Resp(W/U)
uM236NULL [236] NULL,
...,
-- REQUEST AGAIN WITH NEXT UNIT
-- Urg(N)/Alr(L)/Resp(N)
uM237NULL [237]NULL
}
------------------------------------------------------------------------------------
-- Downlink message element
-- ----------------------------------------------------------------------------------
ATCDownlinkMsgElementId ::= CHOICE
{
-- WILCO
-- Urg(N)/Alr(M)/Resp(N)
dM0NULL [0] NULL,
--UNABLE
-- Urg(N)/Alr(M)/Resp(N)
dM1NULL [1] NULL,
-- STANDBY
-- Urg(N)/Alr(M)/Resp(N)
dM2NULL [2] NULL,
-- ROGER
-- Urg(N)/Alr(M)/Resp(N)
dM3NULL [3] NULL,
-- AFFIRM
-- Urg(N)/Alr(M)/Resp(N)
dM4NULL [4] NULL,
-- NEGATIVE
-- Urg(N)/Alr(M)/Resp(N)
dM5NULL [5] NULL,
-- REQUEST [level]
-- Urg(N)/Alr(L)/Resp(Y)
dM6Level [6] Level,
-- REQUEST BLOCK [level] TO [level]
-- Urg(N)/Alr(L)/Resp(Y)
dM7LevelLevel [7] LevelLevel,
-- REQUEST CRUISE CLIMB TO [level]
-- Urg(N)/Alr(L)/Resp(Y)
dM8Level [8] Level,
-- REQUEST CLIMB TO [level]
-- Urg(N)/Alr(L)/Resp(Y)
dM9Level [9] Level,
-- REQUEST DESCENT TO [level]
-- Urg(N)/Alr(L)/Resp(Y)
dM10Level [10] Level,
-- AT [position] REQUEST CLIMB TO [level]
-- Urg(N)/Alr(L)/Resp(Y)
dM11PositionLevel [11] PositionLevel,
-- AT [position] REQUEST DESCENT TO [level]
-- Urg(N)/Alr(L)/Resp(Y)
dM12PositionLevel [12] PositionLevel,
-- AT [time] REQUEST CLIMB TO [level]
-- Urg(N)/Alr(L)/Resp(Y)
dM13TimeLevel [13] TimeLevel,
-- AT [time] REQUEST DESCENT TO [level]
-- Urg(N)/Alr(L)/Resp(Y)
dM14TimeLevel [14] TimeLevel,
-- REQUEST OFFSET [specifiedDistance] [direction] OF ROUTE
-- Urg(N)/Alr(L)/Resp(Y)
dM15DistanceSpecifiedDirection [15] DistanceSpecifiedDirection,
-- AT [position] REQUEST OFFSET [specifiedDistance] [direction] OF ROUTE
-- Urg(N)/Alr(L)/Resp(Y)
dM16PositionDistanceSpecifiedDirection [16] PositionDistanceSpecifiedDirection,
-- AT [time] REQUEST OFFSET [specifiedDistance] [direction] OF ROUTE
-- Urg(N)/Alr(L)/Resp(Y)
dM17TimeDistanceSpecifiedDirection [17] TimeDistanceSpecifiedDirection,
-- REQUEST [speed]
-- Urg(N)/Alr(L)/Resp(Y)
dM18Speed [18] Speed,
-- REQUEST [speed] TO [speed]
-- Urg(N)/Alr(L)/Resp(Y)
dM19SpeedSpeed [19] SpeedSpeed,
-- REQUEST VOICE CONTACT
-- Urg(N)/Alr(L)/Resp(Y)
dM20NULL [20] NULL,
-- REQUEST VOICE CONTACT [frequency]
-- Urg(N)/Alr(L)/Resp(Y)
dM21Frequency [21] Frequency,
-- REQUEST DIRECT TO [position]
-- Urg(N)/Alr(L)/Resp(Y)
dM22Position [22] Position,
-- REQUEST [procedureName]
-- Urg(N)/Alr(L)/Resp(Y)
dM23ProcedureName [23] ProcedureName,
-- REQUEST CLEARANCE [routeClearance]
-- Urg(N)/Alr(L)/Resp(Y)
dM24RouteClearance [24] RouteClearanceIndex,
-- REQUEST [clearanceType] CLEARANCE
-- Urg(N)/Alr(L)/Resp(Y)
dM25ClearanceType [25] ClearanceType,
-- REQUEST WEATHER DEVIATION TO [position] VIA [routeClearance]
-- Urg(N)/Alr(M)/Resp(Y)
dM26PositionRouteClearance [26] PositionRouteClearanceIndex,
-- REQUEST WEATHER DEVIATION UP TO [specifiedDistance] [direction] OF ROUTE
-- Urg(N)/Alr(M)/Resp(Y)
dM27DistanceSpecifiedDirection [27] DistanceSpecifiedDirection,
-- LEAVING [level]
-- Urg(N)/Alr(L)/Resp(N)
dM28Level [28] Level,
-- CLIMBING TO [level]
-- Urg(N)/Alr(L)/Resp(N)
dM29Level [29]Level,
-- DESCENDING TO [level]
-- Urg(N)/Alr(L)/Resp(N)
dM30Level [30] Level,
-- PASSING [position]
-- Urg(N)/Alr(L)/Resp(N)
dM31Position [31] Position,
-- PRESENT LEVEL [level]
-- Urg(N)/Alr(L)/Resp(N)
dM32Level [32] Level,
-- PRESENT POSITION [position]
-- Urg(N)/Alr(L)/Resp(N)
dM33Position [33] Position,
-- PRESENT SPEED [speed]
-- Urg(N)/Alr(L)/Resp(N)
dM34Speed [34] Speed,
-- PRESENT HEADING [degrees]
-- Urg(N)/Alr(L)/Resp(N)
dM35Degrees [35] Degrees,
-- PRESENT GROUND TRACK [degrees]
-- Urg(N)/Alr(L)/Resp(N)
dM36Degrees [36] Degrees,
-- MAINTAINING [level]
-- Urg(N)/Alr(L)/Resp(N)
dM37Level [37] Level,
-- ASSIGNED LEVEL [level]
-- Urg(N)/Alr(M)/Resp(N)
dM38Level [38] Level,
-- ASSIGNED SPEED [speed]
-- Urg(N)/Alr(M)/Resp(N)
dM39Speed [39] Speed,
-- ASSIGNED ROUTE [routeClearance]
-- Urg(N)/Alr(M)/Resp(N)
dM40RouteClearance [40] RouteClearanceIndex,
-- BACK ON ROUTE
-- Urg(N)/Alr(M)/Resp(N)
dM41NULL [41] NULL,
-- NEXT WAYPOINT [position]
-- Urg(N)/Alr(L)/Resp(N)
dM42Position [42] Position,
-- NEXT WAYPOINT ETA [time]
-- Urg(N)/Alr(L)/Resp(N)
dM43Time [43] Time,
-- ENSUING WAYPOINT [position]
-- Urg(N)/Alr(L)/Resp(N)
dM44Position [44] Position,
-- REPORTED WAYPOINT [position]
-- Urg(N)/Alr(L)/Resp(N)
dM45Position [45] Position,
-- REPORTED WAYPOINT [time]
-- Urg(N)/Alr(L)/Resp(N)
dM46Time [46] Time,
-- SQUAWKING [code]
-- Urg(N)/Alr(L)/Resp(N)
dM47Code [47] Code,
-- POSITION REPORT [positionreport]
-- Urg(N)/Alr(M)/Resp(N)
dM48PositionReport [48] PositionReport,
-- WHEN CAN WE EXPECT [speed]
-- Urg(L)/Alr(L)/Resp(Y)
dM49Speed [49] Speed,
-- WHEN CAN WE EXPECT [speed] TO [speed]
-- Urg(L)/Alr(L)/Resp(Y)
dM50SpeedSpeed [50] SpeedSpeed,
-- WHEN CAN WE EXPECT BACK ON ROUTE
-- Urg(L)/Alr(L)/Resp(Y)
dM51NULL [51] NULL,
-- WHEN CAN WE EXPECT LOWER LEVEL
-- Urg(L)/Alr(L)/Resp(Y)
dM52NULL [52] NULL,
-- WHEN CAN WE EXPECT HIGHER LEVEL Urg(L)/Alr(L)/Resp(Y)
dM53NULL [53] NULL,
-- WHEN CAN WE EXPECT CRUISE CLIMB TO [level]
-- Urg(L)/Alr(L)/Resp(Y)
dM54Level [54] Level,
-- PAN PAN PAN
-- Urg(U)/Alr(H)/Resp(Y)
dM55NULL [55] NULL,
-- MAYDAY MAYDAY MAYDAY
-- Urg(D)/Alr(H)/Resp(Y)
dM56NULL [56] NULL,
-- [remainingFuel] OF FUEL REMAINING AND [personsonboard] PERSONS ON BOARD
-- Urg(U)/Alr(H)/Resp(Y)
dM57RemainingFuelPersonsOnBoard [57] RemainingFuelPersonsOnBoard,
-- CANCEL EMERGENCY
-- Urg(U)/Alr(M)/Resp(Y)
dM58NULL [58] NULL,
-- DIVERTING TO [position] VIA [routeClearance]
-- Urg(U)/Alr(H)/Resp(Y)
dM59PositionRouteClearance [59] PositionRouteClearanceIndex,
-- OFFSETTING [specifiedDistance] [direction] OF ROUTE
-- Urg(U)/Alr(H)/Resp(Y)
dM60DistanceSpecifiedDirection [60] DistanceSpecifiedDirection,
-- DESCENDING TO [level]
-- Urg(U)/Alr(H)/Resp(Y)
dM61Level [61] Level,
-- ERROR [errorInformation]
-- Urg(U)/Alr(L)/Resp(N)
dM62ErrorInformation [62] ErrorInformation,
-- NOT CURRENT DATA AUTHORITY
-- Urg(L)/Alr(L)/Resp(N)
dM63NULL [63] NULL,
-- [facilitydesignation]
-- Urg(L)/Alr(L)/Resp(N)
dM64FacilityDesignation [64] FacilityDesignation,
-- DUE TO WEATHER
-- Urg(L)/Alr(L)/Resp(N)
dM65NULL [65] NULL,
-- DUE TO AIRCRAFT PERFORMANCE
-- Urg(L)/Alr(L)/Resp(N)
dM66NULL [66] NULL,
-- [freetext]
-- Urg(N)/Alr(L)/Resp(N)
dM67FreeText [67] FreeText,
-- [freetext]
-- Urg(D)/Alr(H)/Resp(Y)
dM68FreeText [68] FreeText,
-- REQUEST VMC DESCENT
-- Urg(N)/Alr(L)/Resp(Y)
dM69NULL [69] NULL,
-- REQUEST HEADING [degrees]
-- Urg(N)/Alr(L)/Resp(Y)
dM70Degrees [70] Degrees,
-- REQUEST GROUND TRACK [degrees]
-- Urg(N)/Alr(L)/Resp(Y)
dM71Degrees [71] Degrees,
-- REACHING [level]
-- Urg(N)/Alr(L)/Resp(N)
dM72Level [72] Level,
-- [versionnumber]
-- Urg(L)/Alr(L)/Resp(N)
dM73Versionnumber [73] VersionNumber,
-- REQUEST TO MAINTAIN OWN SEPARATION AND VMC
-- Urg(L)/Alr(L)/Resp(Y)
dM74NULL [74] NULL,
-- AT PILOTS DISCRETION
-- Urg(L)/Alr(L)/Resp(N)
dM75NULL [75] NULL,
-- REACHING BLOCK [level] TO [level]
-- Urg(N)/Alr(L)/Resp(N)
dM76LevelLevel [76] LevelLevel,
-- ASSIGNED BLOCK [level] TO [level]
-- Urg(N)/Alr(M)/Resp(N)
dM77LevelLevel [77] LevelLevel,
-- AT [time] [distance] [tofrom] [position]
-- Urg(N)/Alr(L)/Resp(N)
dM78TimeDistanceToFromPosition [78] TimeDistanceToFromPosition,
-- ATIS [atiscode]
-- Urg(N)/Alr(L)/Resp(N)
dM79AtisCode [79] ATISCode,
-- DEVIATING UP TO [specifiedDistance] [direction] OF ROUTE
-- Urg(U)/Alr(H)/Resp(Y)
dM80DistanceSpecifiedDirection [80] DistanceSpecifiedDirection,
-- WE CAN ACCEPT [level] AT [time]
-- Urg(L)/Alr(L)/Resp(N)
dM81LevelTime [81] LevelTime,
-- WE CANNOT ACCEPT [level]
-- Urg(L)/Alr(L)/Resp(N)
dM82Level [82] Level,
-- WE CAN ACCEPT [speed] AT [time]
-- Urg(L)/Alr(L)/Resp(N)
dM83SpeedTime [83] SpeedTime,
-- WE CANNOT ACCEPT [speed]
-- Urg(L)/Alr(L)/Resp(N)
dM84Speed [84] Speed,
-- WE CAN ACCEPT [specifiedDistance] [direction] AT [time]
-- Urg(L)/Alr(L)/Resp(N)
dM85DistanceSpecifiedDirectionTime [85] DistanceSpecifiedDirectionTime,
-- WE CANNOT ACCEPT [specifiedDistance] [direction]
-- Urg(L)/Alr(L)/Resp(N)
dM86DistanceSpecifiedDirection [86] DistanceSpecifiedDirection,
-- WHEN CAN WE EXPECT CLIMB TO [level]
-- Urg(L)/Alr(L)/Resp(Y)
dM87Level [87] Level,
-- WHEN CAN WE EXPECT DESCENT TO [level]
--Urg(L)/Alr(L)/Resp(Y)
dM88Level [88] Level,
-- MONITORING [unitname] [frequency]
-- Urg(U)/Alr(M)/Resp(N)
dM89UnitnameFrequency [89] UnitNameFrequency,
-- [freetext]
-- Urg(N)/Alr(M)/Resp(N)
dM90FreeText [90] FreeText,
-- [freetext]
-- Urg(N)/Alr(L)/Resp(Y)
dM91FreeText [91] FreeText,
-- [freetext]
-- Urg(L)/Alr(L)/Resp(Y)
dM92FreeText [92] FreeText,
-- [freetext]
-- Urg(U)/Alr(H)/Resp(N)
dM93FreeText [93] FreeText,
-- [freetext]
-- Urg(D)/Alr(H)/Resp(N)
dM94FreeText [94] FreeText,
-- [freetext]
-- Urg(U)/Alr(M)/Resp(N)
dM95FreeText [95] FreeText,
-- [freetext]
-- Urg(U)/Alr(L)/Resp(N)
dM96FreeText [96] FreeText,
-- [freetext]
-- Urg(L)/Alr(L)/Resp(N)
dM97FreeText [97] FreeText,
-- [freetext]
-- Urg(N)/Alr(N)/Resp(N)
dM98FreeText [98] FreeText,
-- CURRENT DATA AUTHORITY
-- Urg(L)/Alr(L)/Resp(N)
dM99NULL [99] NULL,
-- LOGICAL ACKNOWLEDGMENT
-- Urg(N)/Alr(M)/Resp(N)
dM100NULL [100] NULL,
-- REQUEST END OF SERVICE
-- Urg(L)/Alr(L)/Resp(Y)
dM101NULL [101] NULL,
-- LANDING REPORT
-- Urg(N)/Alr(N)/Resp(N)
dM102NULL [102] NULL,
-- CANCELLING IFR
-- Urg(N)/Alr(L)/Resp(Y)
dM103NULL [103] NULL,
-- ETA[position][time]
-- Urg(L)/Alr(L)/Resp(N)
dM104PositionTime [104] PositionTime,
-- ALTERNATE AERODROME[airport]
-- Urg(L)/Alr(L)/Resp(N)
dM105Airport [105] Airport,
-- PREFERRED LEVEL[level]
-- Urg(L)/Alr(L)/Resp(N)
dM106Level [106] Level,
-- NOT AUTHORIZED NEXT DATA AUTHORITY
-- Urg(L)/Alr(L)/Resp(N)
dM107NULL [107] NULL,
-- DE-ICING COMPLETE
-- Urg(L)/Alr(L)/Resp(N)
dM108NULL [108] NULL,
-- TOP OF DESCENT [time]
-- Urg(L)/Alr(L)/Resp(N)
dM109Time [109] Time,
-- TOP OF DESCENT [position]
-- Urg(L)/Alr(L)/Resp(N)
dM110Position [110] Position,
-- TOP OF DESCENT [time] [position]
-- Urg(L)/Alr(L)/Resp(N)
dM111TimePosition [111] TimePosition,
-- SQUAWKING 7500
-- Urg(U)/Alr(H)/Resp(N)
dM112NULL [112] NULL,
-- [speedType] [speedType] [speedType] SPEED [speed]
-- Urg(N)/Alr(L)/Resp(N)
dM113SpeedTypeSpeedTypeSpeedTypeSpeed [113] SpeedTypeSpeedTypeSpeedTypeSpeed,
...
}
AircraftAddress ::= BIT STRING (SIZE(24))
AircraftFlightIdentification ::= IA5String (SIZE (2..8))
Airport ::= IA5String (SIZE (4))
Altimeter ::= CHOICE
{
altimeterEnglish [0] AltimeterEnglish,
altimeterMetric [1] AltimeterMetric
}
AltimeterEnglish ::= INTEGER (2200..3200)
-- unit = Inches Mercury, Range (22.00 .. 32.00), resolution = 0.01
AltimeterMetric ::= INTEGER (7500..12500)
-- unit = Hectopascal, Range (750.0..1250.0), resolution = 0.1
ATISCode ::= IA5String (SIZE (1))
ATSRouteDesignator ::= IA5String (SIZE (2..7))
ATWAlongTrackWaypoint ::= SEQUENCE
{
position [0] Position,
aTWDistance [1] ATWDistance,
speed [2] Speed OPTIONAL,
aTWLevels [3] ATWLevelSequence OPTIONAL
}
ATWLevel ::= SEQUENCE
{
atw ATWLevelTolerance,
level Level
}
ATWLevelSequence ::= SEQUENCE SIZE (1..2) OF ATWLevel
ATWLevelTolerance ::= ENUMERATED
{
at (0),
atorabove (1),
atorbelow (2)
}
ATWDistance ::= SEQUENCE
{
atwDistanceTolerance ATWDistanceTolerance,
distance Distance
}
ATWDistanceTolerance ::= ENUMERATED
{
plus (0),
minus (1)
}
ClearanceType ::= ENUMERATED
{
noneSpecified (0),
approach (1),
departure (2),
further (3),
start-up (4),
pushback (5),
taxi (6),
take-off (7),
landing (8),
oceanic (9),
en-route (10),
downstream (11),
...
}
Code ::= SEQUENCE SIZE (4) OF CodeOctalDigit
CodeOctalDigit ::= INTEGER (0..7)
ControlledTime ::= SEQUENCE
{
time Time,
timeTolerance TimeTolerance
}
Date ::= SEQUENCE
{
year Year,
month Month,
day Day
}
DateTimeGroup ::= SEQUENCE
{
date Date,
timehhmmss Timehhmmss
}
Day ::= INTEGER (1..31)
--unit = Day, Range (1..31), resolution = 1
DegreeIncrement ::= INTEGER (1..20)
--unit = Degree, Range (1..20), resolution = 1
Degrees ::= CHOICE
{
degreesMagnetic [0] DegreesMagnetic,
degreesTrue [1] DegreesTrue
}
DegreesMagnetic ::= INTEGER (1..360)
--unit = degree, Range (1..360), resolution = 1
DegreesTrue ::= INTEGER (1..360)
--unit = degree, Range (1..360), resolution = 1
DepartureClearance ::= SEQUENCE
{
aircraftFlightIdentification [0] AircraftFlightIdentification,
clearanceLimit [1] Position,
flightInformation [2] FlightInformation OPTIONAL,
furtherInstructions [3] FurtherInstructions OPTIONAL
}
DepartureMinimumInterval ::= INTEGER (1..150)
--unit = Minute, Range (0.1..15.0), resolution = 0.1
Direction ::= ENUMERATED
{
left (0),
right (1),
eitherSide (2),
north (3),
south (4),
east (5),
west (6),
northEast (7),
northWest (8),
southEast (9),
southWest (10)
}
DirectionDegrees ::= SEQUENCE
{
direction Direction,
degrees Degrees
}
Distance ::= CHOICE
{
distanceNm [0] DistanceNm,
distanceKm [1] DistanceKm
}
DistanceKm ::= INTEGER (0..8000)
-- unit = Kilometer, Range (0..2000), resolution = 0.25
DistanceNm ::= INTEGER (0..9999)
-- unit = Nautical Mile, Range (0..999.9), resolution = 0.1
DistanceSpecified ::= CHOICE
{
distanceSpecifiedNm [0] DistanceSpecifiedNm,
distanceSpecifiedKm [1] DistanceSpecifiedKm
}
DistanceSpecifiedDirection ::= SEQUENCE
{
distanceSpecified DistanceSpecified,
direction Direction
}
DistanceSpecifiedDirectionTime ::= SEQUENCE
{
distanceSpecifiedDirection DistanceSpecifiedDirection,
time Time
}
DistanceSpecifiedKm ::= INTEGER (1..500)
-- unit = Kilometer, Range (1..500), resolution = 1
DistanceSpecifiedNm ::= INTEGER (1..250)
-- unit = Nautical Mile, Range (1..250), resolution = 1
ErrorInformation ::= ENUMERATED
{
unrecognizedMsgReferenceNumber (0),
logicalAcknowledgmentNotAccepted (1),
insufficientResources (2),
invalidMessageElementCombination (3),
invalidMessageElement (4),
...
}
Facility ::= CHOICE{
noFacility [0] NULL,
facilityDesignation [1] FacilityDesignation
}
FacilityDesignation ::= IA5String (SIZE (4..8))
FacilityFunction ::= ENUMERATED
{
center (0),
approach (1),
tower (2),
final (3),
groundControl (4),
clearanceDelivery (5),
departure (6),
control (7),
radio (8),
...
}
FacilityDesignationAltimeter ::= SEQUENCE
{
facilityDesignation FacilityDesignation,
altimeter Altimeter
}
FacilityDesignationATISCode ::= SEQUENCE
{
facilityDesignation FacilityDesignation,
aTISCode ATISCode
}
FacilityName ::= IA5String (SIZE (3..18))
Fix ::= IA5String (SIZE (1..5))
FixName ::= SEQUENCE
{
name [0] Fix,
latlon [1] LatitudeLongitude OPTIONAL
}
FlightInformation ::= CHOICE
{
routeOfFlight [0] RouteInformation,
levelsOfFlight [1] LevelsOfFlight,
routeAndLevels [2] RouteAndLevels
}
FreeText ::= IA5String (SIZE (1..256))
Frequency ::= CHOICE
{
frequencyhf [0] Frequencyhf,
frequencyvhf [1] Frequencyvhf,
frequencyuhf [2] Frequencyuhf,
frequencysatchannel [3] Frequencysatchannel
}
Frequencyhf ::= INTEGER (2850..28000)
-- unit = Kilohertz, Range (2850..28000), resolution = 1
Frequencysatchannel ::= NumericString (SIZE (12))
-- Frequencysatchannel corresponds to a 12 digit telephone number
Frequencyuhf ::= INTEGER (9000..15999)
-- unit = Megahertz, Range (225.000..399.975), resolution = 0.025
Frequencyvhf ::= INTEGER (23600..27398)
-- unit = Megahertz, Range (118.000..136.990), resolution = 0.005
FurtherInstructions ::= SEQUENCE
{
code [0] Code OPTIONAL,
frequencyDeparture [1] UnitNameFrequency OPTIONAL,
clearanceExpiryTime [2] Time OPTIONAL,
airportDeparture [3] Airport OPTIONAL,
airportDestination [4] Airport OPTIONAL,
timeDeparture [5] TimeDeparture OPTIONAL,
runwayDeparture [6] Runway OPTIONAL,
revisionNumber [7] RevisionNumber OPTIONAL,
aTISCode [8] ATISCode OPTIONAL
}
Holdatwaypoint ::= SEQUENCE
{
position [0] Position,
holdatwaypointspeedlow [1] Speed OPTIONAL,
aTWlevel [2] ATWLevel OPTIONAL,
holdatwaypointspeedhigh [3] Speed OPTIONAL,
direction [4] Direction OPTIONAL,
degrees [5] Degrees OPTIONAL,
eFCtime [6] Time OPTIONAL,
legtype [7] LegType OPTIONAL
}
HoldClearance ::= SEQUENCE
{
position [0] Position,
level [1] Level,
degrees [2] Degrees,
direction [3] Direction,
legType [4] LegType OPTIONAL
}
Humidity ::= INTEGER (0..100)
-- unit = Percent humidity, Range (0..100), resolution = 1
InterceptCourseFrom ::= SEQUENCE
{
fromSelection InterceptCourseFromSelection,
degrees Degrees
}
InterceptCourseFromSelection ::= CHOICE
{
publishedIdentifier [0] PublishedIdentifier,
latitudeLongitude [1] LatitudeLongitude,
placeBearingPlaceBearing [2] PlaceBearingPlaceBearing,
placeBearingDistance [3] PlaceBearingDistance
}
Icing ::= ENUMERATED
{
reserved (0),
light (1),
moderate (2),
severe (3)
}
Latitude ::= SEQUENCE
{
latitudeType LatitudeType,
latitudeDirection LatitudeDirection
}
LatitudeDegrees ::= INTEGER (0..90000)
-- unit = Degree, Range (0..90), resolution = 0.001
LatitudeDegreesMinutes ::= SEQUENCE
{
latitudeWholeDegrees LatitudeWholeDegrees,
minutesLatLon MinutesLatLon
}
LatitudeDegreesMinutesSeconds ::= SEQUENCE
{
latitudeWholeDegrees LatitudeWholeDegrees,
latlonWholeMinutes LatLonWholeMinutes,
secondsLatLon SecondsLatLon
}
LatitudeDirection ::= ENUMERATED
{
north (0),
south (1)
}
LatitudeWholeDegrees ::= INTEGER (0..89)
-- unit = Degree, Range (0..89), resolution = 1
LatitudeLongitude ::= SEQUENCE
{
latitude [0] Latitude OPTIONAL,
longitude [1] Longitude OPTIONAL
}
LatitudeReportingPoints ::= SEQUENCE
{
latitudeDirection LatitudeDirection,
latitudeDegrees LatitudeDegrees
}
LatitudeType ::= CHOICE
{
latitudeDegrees [0] LatitudeDegrees,
latitudeDegreesMinutes [1] LatitudeDegreesMinutes,
latitudeDMS [2] LatitudeDegreesMinutesSeconds
}
LatLonWholeMinutes ::= INTEGER (0..59)
-- unit = Minute, Range (0..59), resolution = 1
LatLonReportingPoints ::= CHOICE
{
latitudeReportingPoints [0] LatitudeReportingPoints,
longitudeReportingPoints [1] LongitudeReportingPoints
}
LegDistance ::= CHOICE
{
legDistanceEnglish [0] LegDistanceEnglish,
legDistanceMetric [1] LegDistanceMetric
}
LegDistanceEnglish ::= INTEGER (0..50)
-- unit = Nautical Mile, Range (0..50), resolution = 1
LegDistanceMetric ::= INTEGER (1..128)
-- unit = Kilometer, Range (1..128), resolution = 1
LegTime ::= INTEGER (0..10)
--unit = Minute, Range (0..10), resolution = 1
LegType ::= CHOICE
{
legDistance [0] LegDistance,
legTime [1] LegTime
}
Level ::= CHOICE
{
singleLevel [0] LevelType,
blockLevel [1] SEQUENCE SIZE (2) OF LevelType
}
LevelFeet ::= INTEGER (-60..7000)
--unit = Feet, Range (-600..70000), resolution = 10
LevelFlightLevel ::= INTEGER (30..700)
--unit = Level (100 Feet), Range (030..700), resolution = 1
LevelFlightLevelMetric ::= INTEGER (100..2500)
--unit = Level (10 Meters), Range (100..2500), resolution = 1
LevelLevel ::= SEQUENCE SIZE (2) OF Level
LevelMeters ::= INTEGER (-30..25000)
--unit = Meter, Range (-30..25000), resolution = 1
LevelPosition ::= SEQUENCE
{
level Level,
position Position
}
LevelProcedureName ::= SEQUENCE
{
level Level,
procedureName ProcedureName
}
LevelsOfFlight ::= CHOICE
{
level [0] Level,
procedureName [1] ProcedureName,
levelProcedureName [2] LevelProcedureName
}
LevelSpeed ::= SEQUENCE
{
level Level,
speed SpeedSpeed
}
LevelSpeedSpeed ::= SEQUENCE
{
level Level,
speeds SpeedSpeed
}
LevelTime ::= SEQUENCE
{
level Level,
time Time
}
LevelType ::= CHOICE
{
levelFeet [0] LevelFeet,
levelMeters [1] LevelMeters,
levelFlightLevel [2] LevelFlightLevel,
levelFlightLevelMetric [3] LevelFlightLevelMetric
}
Longitude ::= SEQUENCE
{
longitudeType LongitudeType,
longitudeDirection LongitudeDirection
}
LongitudeDegrees ::= INTEGER (0..180000)
--unit = Degree, Range (0..180), resolution = 0.001
LongitudeDegreesMinutes ::= SEQUENCE
{
longitudeWholeDegrees LongitudeWholeDegrees,
minutesLatLon MinutesLatLon
}
LongitudeDegreesMinutesSeconds ::= SEQUENCE
{
longitudeWholeDegrees LongitudeWholeDegrees,
latLonWholeMinutes LatLonWholeMinutes,
secondsLatLon SecondsLatLon
}
LongitudeDirection ::= ENUMERATED
{
east (0),
west (1)
}
LongitudeWholeDegrees ::= INTEGER (0..179)
-- unit = Degree, Range (0..179), resolution = 1
LongitudeReportingPoints ::= SEQUENCE
{
longitudeDirection LongitudeDirection,
longitudeDegrees LongitudeDegrees
}
LongitudeType ::= CHOICE
{
longitudeDegrees [0] LongitudeDegrees,
longitudeDegreesMinutes [1] LongitudeDegreesMinutes,
longitudeDMS [2] LongitudeDegreesMinutesSeconds
}
MinutesLatLon ::= INTEGER (0..5999)
--unit = Minute, Range (0..59.99), resolution = 0.01
Month ::= INTEGER (1..12)
--unit = 1 Month, Range (1..12), resolution = 1
Navaid ::= SEQUENCE
{
name [0] NavaidName,
latlon [1] LatitudeLongitude OPTIONAL
}
NavaidName ::= IA5String (SIZE (1..4))
PersonsOnBoard ::= INTEGER (1..1024)
PlaceBearing ::= SEQUENCE
{
publishedIdentifier PublishedIdentifier,
degrees Degrees
}
PlaceBearingDistance ::= SEQUENCE
{
publishedIdentifier PublishedIdentifier,
degrees Degrees,
distance Distance
}
PlaceBearingPlaceBearing ::= SEQUENCE SIZE (2) OF PlaceBearing
Position ::= CHOICE
{
fixName [0] FixName,
navaid [1] Navaid,
airport [2] Airport,
latitudeLongitude [3] LatitudeLongitude,
placeBearingDistance [4] PlaceBearingDistance
}
PositionDegrees ::= SEQUENCE
{
position Position,
degrees Degrees
}
PositionDistanceSpecifiedDirection ::= SEQUENCE
{
position Position,
distanceSpecifiedDirection DistanceSpecifiedDirection
}
PositionLevel ::= SEQUENCE
{
position Position,
level Level
}
PositionLevelLevel ::= SEQUENCE
{
position Position,
levels LevelLevel
}
PositionLevelSpeed ::= SEQUENCE
{
positionlevel PositionLevel,
speed Speed
}
PositionPosition ::= SEQUENCE SIZE (2) OF Position
PositionProcedureName ::= SEQUENCE
{
position Position,
procedureName ProcedureName
}
PositionReport ::= SEQUENCE
{
positioncurrent [0] Position,
timeatpositioncurrent [1] Time,
level [2] Level,
fixnext [3] Position OPTIONAL,
timeetaatfixnext [4] Time OPTIONAL,
fixnextplusone [5] Position OPTIONAL,
timeetaatdestination [6] Time OPTIONAL,
remainingFuel [7] RemainingFuel OPTIONAL,
temperature [8] Temperature OPTIONAL,
winds [9] Winds OPTIONAL,
turbulence [10] Turbulence OPTIONAL,
icing [11] Icing OPTIONAL,
speed [12] Speed OPTIONAL,
speedground [13] SpeedGround OPTIONAL,
verticalChange [14] VerticalChange OPTIONAL,
trackAngle [15] Degrees OPTIONAL,
heading [16] Degrees OPTIONAL,
distance [17] Distance OPTIONAL,
humidity [18] Humidity OPTIONAL,
reportedWaypointPosition[19] Position OPTIONAL,
reportedWaypointTime [20] Time OPTIONAL,
reportedWaypointLevel [21] Level OPTIONAL
}
PositionRouteClearanceIndex ::= SEQUENCE
{
position Position,
routeClearanceIndex RouteClearanceIndex
}
PositionSpeed ::= SEQUENCE
{
position Position,
speed Speed
}
PositionSpeedSpeed ::= SEQUENCE
{
position Position,
speeds SpeedSpeed
}
PositionTime ::= SEQUENCE
{
position Position,
time Time
}
PositionTimeLevel ::= SEQUENCE
{
positionTime PositionTime,
level Level
}
PositionTimeTime ::= SEQUENCE
{
position Position,
times TimeTime
}
PositionUnitNameFrequency ::= SEQUENCE
{
position Position,
unitname UnitName,
frequency Frequency
}
Procedure ::= IA5String (SIZE (1..20))
ProcedureName ::= SEQUENCE
{
type [0] ProcedureType,
procedure [1] Procedure,
transition [2] ProcedureTransition OPTIONAL
}
ProcedureTransition ::= IA5String (SIZE (1..5))
ProcedureType ::= ENUMERATED
{
arrival (0),
approach (1),
departure (2)
}
PublishedIdentifier ::= CHOICE
{
fixName [0] FixName,
navaid [1] Navaid
}
RemainingFuel ::= Time
RemainingFuelPersonsOnBoard ::= SEQUENCE
{
remainingFuel RemainingFuel,
personsOnBoard PersonsOnBoard
}
ReportingPoints ::= SEQUENCE
{
latLonReportingPoints [0] LatLonReportingPoints,
degreeIncrement [1] DegreeIncrement OPTIONAL
}
RevisionNumber ::= INTEGER (1..16)
RouteAndLevels ::= SEQUENCE
{
routeOfFlight RouteInformation,
levelsOfFlight LevelsOfFlight
}
RouteClearance ::= SEQUENCE
{
airportDeparture [0] Airport OPTIONAL,
airportDestination [1] Airport OPTIONAL,
runwayDeparture [2] Runway OPTIONAL,
procedureDeparture [3] ProcedureName OPTIONAL,
runwayArrival [4] Runway OPTIONAL,
procedureApproach [5] ProcedureName OPTIONAL,
procedureArrival [6] ProcedureName OPTIONAL,
routeInformations [7] SEQUENCE SIZE (1..128) OF RouteInformation OPTIONAL,
routeInformationAdditional [8] RouteInformationAdditional OPTIONAL
}
RouteClearanceIndex ::= INTEGER (1..2)
-- RouteClearanceIndex identifies the position of the RouteClearance data
-- in the ASN.1 type for
-- ATC UplinkMessage, constrained Data, routeClearance Data
-- ATC DownlinkMessage, constrained Data, routeClearance Data
RouteInformation ::= CHOICE
{
publishedIdentifier [0] PublishedIdentifier,
latitudeLongitude [1] LatitudeLongitude,
placeBearingPlaceBearing [2] PlaceBearingPlaceBearing,
placeBearingDistance [3] PlaceBearingDistance,
aTSRouteDesignator [4] ATSRouteDesignator
}
RouteInformationAdditional ::= SEQUENCE
{
aTWAlongTrackWaypoints [0] SEQUENCE SIZE (1..8) OF ATWAlongTrackWaypoint OPTIONAL,
reportingpoints [1] ReportingPoints OPTIONAL,
interceptCourseFroms [2] SEQUENCE SIZE (1..4) OF InterceptCourseFrom OPTIONAL,
holdAtWaypoints [3] SEQUENCE SIZE (1..8) OF Holdatwaypoint OPTIONAL,
waypointSpeedLevels [4] SEQUENCE SIZE (1..32) OF WaypointSpeedLevel OPTIONAL,
rTARequiredTimeArrivals [5] SEQUENCE SIZE (1..32) OF RTARequiredTimeArrival OPTIONAL
}
RTARequiredTimeArrival ::= SEQUENCE
{
position [0] Position,
rTATime [1] RTATime,
rTATolerance [2] RTATolerance OPTIONAL
}
RTATime ::= SEQUENCE
{
time Time,
timeTolerance TimeTolerance
}
RTATolerance ::= INTEGER (1..150)
--unit= Minute, Range (0.1..15.0), resolution = 0.1
Runway ::= SEQUENCE
{
direction RunwayDirection,
configuration RunwayConfiguration
}
RunwayDirection ::= INTEGER (1..36)
RunwayConfiguration ::= ENUMERATED
{
left (0),
right (1),
center (2),
none (3)
}
RunwayRVR ::= SEQUENCE
{
runway Runway,
rVR RVR
}
RVR ::= CHOICE
{
rVRFeet [0] RVRFeet,
rVRMeters [1] RVRMeters
}
RVRFeet ::= INTEGER (0..6100)
-- unit = Feet, Range (0..6100), resolution = 1
RVRMeters ::= INTEGER (0..1500)
-- unit = Meters (0..1500), resolution = 1
SecondsLatLon ::= INTEGER (0..59)
--unit = Second, Range (0.. 59), resolution = 1
Speed ::= CHOICE
{
speedIndicated [0] SpeedIndicated,
speedIndicatedMetric [1] SpeedIndicatedMetric,
speedTrue [2] SpeedTrue,
speedTrueMetric [3] SpeedTrueMetric,
speedGround [4] SpeedGround,
speedGroundMetric [5] SpeedGroundMetric,
speedMach [6] SpeedMach
}
SpeedIndicated ::= INTEGER (0..400)
-- unit = Knots, Range (0..400), resolution = 1
SpeedIndicatedMetric ::= INTEGER (0..800)
-- unit = Kilometers/Hour, Range (0..800), resolution = 1
SpeedGround ::= INTEGER (-50..2000)
-- unit = Knots, Range (-50..2000), resolution = 1
SpeedGroundMetric ::= INTEGER (-100..4000)
-- unit = Kilometers/Hour, Range (-100..4000), resolution = 1
SpeedMach ::= INTEGER (500..4000)
-- unit = Mach Range (0.5 to 4.0), resolution = 0.001
SpeedSpeed ::= SEQUENCE SIZE (2) OF Speed
SpeedTime ::= SEQUENCE
{
speed Speed,
time Time
}
SpeedTrue ::= INTEGER (0..2000)
-- unit = Knots, Range (0..2000), resolution = 1
SpeedTrueMetric ::= INTEGER (0..4000)
-- unit = Kilometers/Hour, Range (0..4000), resolution = 1
SpeedType ::= ENUMERATED
{
noneSpecified (0),
indicated (1),
true (2),
ground (3),
mach (4),
approach (5),
cruise (6),
minimum (7),
maximum (8),
...
}
SpeedTypeSpeedTypeSpeedType ::= SEQUENCE SIZE (3) OF SpeedType
SpeedTypeSpeedTypeSpeedTypeSpeed ::= SEQUENCE
{
speedTypes SpeedTypeSpeedTypeSpeedType,
speed Speed
}
Temperature ::= INTEGER (-100..100)
-- unit = Degree Celsius, Range (-100..100), resolution = 1
Time ::= SEQUENCE
{
hours TimeHours,
minutes TimeMinutes
}
TimeLevel ::= SEQUENCE
{
time Time,
level Level
}
TimeDeparture ::= SEQUENCE
{
timeDepartureAllocated [0] Time OPTIONAL,
timeDepartureControlled [1] ControlledTime OPTIONAL,
timeDepartureClearanceExpected [2] Time OPTIONAL,
departureMinimumInterval [3] DepartureMinimumInterval OPTIONAL
}
TimeDistanceSpecifiedDirection ::= SEQUENCE
{
time Time,
distanceSpecifiedDirection DistanceSpecifiedDirection
}
TimeDistanceToFromPosition ::= SEQUENCE
{
time Time,
distance Distance,
tofrom ToFrom,
position Position
}
Timehhmmss ::= SEQUENCE
{
hoursminutes Time,
seconds TimeSeconds
}
TimeHours ::= INTEGER (0..23)
-- unit = Hour, Range (0..23), resolution = 1
TimeUnitNameFrequency ::= SEQUENCE
{
time Time,
unitName UnitName,
frequency Frequency
}
TimeMinutes ::= INTEGER (0..59)
-- unit = Minute, Range (0..59), resolution = 1
TimePosition ::= SEQUENCE
{
time Time,
position Position
}
TimePositionLevel ::= SEQUENCE
{
timeposition TimePosition,
level Level
}
TimePositionLevelSpeed ::= SEQUENCE
{
timeposition TimePosition,
levelspeed LevelSpeed
}
TimeSeconds ::= INTEGER (0..59)
-- unit = Second, Range (0..59), resolution = 1
TimeSpeed ::= SEQUENCE
{
time Time,
speed Speed
}
TimeSpeedSpeed ::= SEQUENCE
{
time Time,
speedspeed SpeedSpeed
}
TimeTime ::= SEQUENCE SIZE (2) OF Time
TimeToFromPosition ::= SEQUENCE
{
time Time,
tofrom ToFrom,
position Position
}
TimeTolerance ::= ENUMERATED
{
at (0),
atorafter (1),
atorbefore(2)
}
ToFrom ::= ENUMERATED
{
to (0),
from (1)
}
ToFromPosition ::= SEQUENCE
{
toFrom ToFrom,
position Position
}
TrafficType ::= ENUMERATED
{
noneSpecified (0),
oppositeDirection (1),
sameDirection (2),
converging (3),
crossing (4),
diverging (5),
...
}
Turbulence ::= ENUMERATED
{
light (0),
moderate (1),
severe (2)
}
UnitName ::= SEQUENCE
{
facilityDesignation [0] FacilityDesignation,
facilityName [1] FacilityName OPTIONAL,
facilityFunction [2] FacilityFunction
}
UnitNameFrequency ::= SEQUENCE
{
unitName UnitName,
frequency Frequency
}
VersionNumber ::= INTEGER (0..15)
VerticalChange ::= SEQUENCE
{
direction VerticalDirection,
rate VerticalRate
}
VerticalDirection ::= ENUMERATED
{
up (0),
down (1)
}
VerticalRate ::= CHOICE
{
verticalRateEnglish [0] VerticalRateEnglish,
verticalRateMetric [1] VerticalRateMetric
}
VerticalRateEnglish ::= INTEGER (0..3000)
-- unit = Feet/Minute, Range (0..30000), resolution = 10
VerticalRateMetric ::= INTEGER (0..1000)
-- unit = Meters/Minute, Range (0..10000), resolution = 10
WaypointSpeedLevel ::= SEQUENCE
{
position [0] Position,
speed [1] Speed OPTIONAL,
aTWLevels [2] ATWLevelSequence OPTIONAL
}
WindDirection ::= INTEGER (1..360)
-- unit = Degree, Range (1..360), resolution = 1
Winds ::= SEQUENCE
{
direction WindDirection,
speed WindSpeed
}
WindSpeed ::= CHOICE
{
windSpeedEnglish [0] WindSpeedEnglish,
windSpeedMetric [1] WindSpeedMetric
}
WindSpeedEnglish ::= INTEGER (0..255)
-- unit = Knot, Range (0..255), resolution = 1
WindSpeedMetric ::= INTEGER (0..511)
-- unit = Kilometer/Hour, Range (0..511), resolution = 1
Year ::= INTEGER (1996..2095)
-- unit = Year, Range (1996..2095), resolution = 1
END
--
-- Editor modelines - https://www.wireshark.org/tools/modelines.html
--
-- Local variables:
-- c-basic-offset: 4
-- tab-width: 8
-- indent-tabs-mode: nil
-- End:
--
-- vi: set shiftwidth=4 tabstop=8 expandtab:
-- :indentSize=4:tabSize=8:noTabs=true:
-- |
Configuration | wireshark/epan/dissectors/asn1/atn-cpdlc/atn-cpdlc.cnf | #.MODULE_IMPORT
#.END
#.EXPORTS
#.END
#.OMIT_ASSIGNMENT
#.END
#.PDU
AircraftPDUs
GroundPDUs
ProtectedAircraftPDUs
ProtectedGroundPDUs
#.END
#.FIELD_RENAME
AircraftPDUs/send aircraftpdus_send
GroundPDUs/send groundpdus_send
ATCUplinkMessageData/constrainedData atcuplinkmessagedata_constraineddata
ATCDownlinkMessageData/constrainedData atcdownlinkmessagedata_constraineddata
ATCDownlinkMessageData/elementIds/_item atcdownlinkmessagedata_elementids_item
ATCUplinkMessageData/elementIds/_item atcuplinkmessagedata_elementids_item
ATCDownlinkMessageData/elementIds atcdownlinkmessagedata_elementids
ATCUplinkMessageData/elementIds atcuplinkmessagedata_elementids
ATCUplinkMessage/messageData atcuplinkmessage_messagedata
ATCDownlinkMessage/messageData atcdownlinkmessage_messagedata
Runway/direction runway_direction
Winds/direction winds_direction
DirectionDegrees/direction direction
DistanceSpecifiedDirection/direction direction
Holdatwaypoint/direction direction
HoldClearance/direction direction
VerticalChange/direction vertical_direction
FixName/name fixname_name
Navaid/name navaid_name
Winds/speed winds_speed
LevelSpeed/speed levelspeed_speed
ProtectedGroundPDUs/abortProvider pmcpdlcproviderabortreason
ProtectedAircraftPDUs/abortProvider pmcpdlcproviderabortreason
ProtectedGroundPDUs/abortUser pmcpdlcuserabortreason
ProtectedAircraftPDUs/abortUser pmcpdlcuserabortreason
ProtectedStartDownMessage/mode protectedmode
ProtectedGroundPDUs/send protecteduplinkmessage
ProtectedStartDownMessage/startDownlinkMessage protecteddownlinkmessage
ProtectedGroundPDUs/startup protecteduplinkmessage
ProtectedAircraftPDUs/startdown protectedstartDownmessage
#.END
#.FN_BODY CPDLCMessage
tvbuff_t *tvb_usr = NULL;
offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, NULL, 0, &tvb_usr, NULL);
if (tvb_usr) {
switch(check_heur_msg_type(actx->pinfo)){
case dm:
dissect_atn_cpdlc_ATCDownlinkMessage(tvb_new_subset_remaining(tvb_usr, 0), 0, actx, tree, hf_index);
break;
case um:
dissect_atn_cpdlc_ATCUplinkMessage(tvb_new_subset_remaining(tvb_usr, 0), 0, actx , tree, hf_index);
break;
default:
break;
}
}
#.END
#.FN_BODY AlgorithmIdentifier
proto_tree *top_tree=NULL;
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, top_tree, NULL);
#.END
#.FN_BODY AircraftFlightIdentification
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,2, 8, FALSE, ia5alpha , 127, NULL);
#.END
#.FN_BODY Airport
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,4, 4, FALSE, ia5alpha , 127, NULL);
#.END
#.FN_BODY FacilityDesignation
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,4, 8, FALSE, ia5alpha , 127, NULL);
#.END
#.FN_BODY FreeText
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,1, 256, FALSE, ia5alpha , 127, NULL);
#.END
#.FN_BODY NavaidName
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,1, 4, FALSE, ia5alpha , 127, NULL);
#.END
#.FN_BODY Procedure
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,1, 20, FALSE, ia5alpha , 127, NULL);
#.END
#.FN_BODY ProcedureTransition
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,1, 5, FALSE, ia5alpha , 127, NULL);
#.END
#.FN_BODY Fix
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,1, 5, FALSE, ia5alpha , 127, NULL);
#.END
#.FN_BODY ATISCode
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,1, 1, FALSE, ia5alpha , 127, NULL);
#.END
#.FN_BODY ATSRouteDesignator
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,2, 7, FALSE, ia5alpha , 127, NULL);
#.END
#.FN_BODY FacilityName
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,3, 18, FALSE, ia5alpha , 127, NULL);
#.END
#
# Editor modelines - https://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 4
# tab-width: 8
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=4 tabstop=8 expandtab:
# :indentSize=4:tabSize=8:noTabs=true:
# |
Text | wireshark/epan/dissectors/asn1/atn-cpdlc/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME atn-cpdlc )
set( PROTO_OPT )
set( EXPORT_FILES
)
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -u )
set( EXTRA_CNF
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/atn-cpdlc/packet-atn-cpdlc-template.c | /* packet-atn-cpdlc-template.c
* By Mathias Guettler <[email protected]>
* Copyright 2013
*
* Routines for ATN Cpdlcc protocol packet disassembly
* details see:
* http://en.wikipedia.org/wiki/CPDLC
* http://members.optusnet.com.au/~cjr/introduction.htm
* standards:
* http://legacy.icao.int/anb/panels/acp/repository.cfm
* note:
* We are dealing with ATN/CPDLC aka ICAO Doc 9705 Ed2 here
* (CPDLC may also be transmitted via ACARS/AOA aka "FANS-1/A ").
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/*
developper comments:
Which CPDLC messages are supported ?
Protected Mode CPDLC (AeQualifier 22) and Plain Old CPDLC (AeQualifier 2)
The dissector has been tested with ICAO doc9705 Edition2 compliant traffic.
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/exceptions.h>
#include <epan/conversation.h>
#include "packet-ber.h"
#include "packet-per.h"
#include "packet-atn-ulcs.h"
#define ATN_CPDLC_PROTO "ICAO Doc9705 CPDLC"
void proto_register_atn_cpdlc(void);
void proto_reg_handoff_atn_cpdlc(void);
static const char *object_identifier_id;
/* IA5 charset (7-bit) for PER IA5 decoding */
static const gchar ia5alpha[] = {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, \
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, \
0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, \
0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, \
0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, \
0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, \
0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f, \
0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, \
0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f, '\0'
};
/* forward declarations */
static int dissect_GroundPDUs_PDU(
tvbuff_t *tvb _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
void *data _U_);
static int dissect_AircraftPDUs_PDU(
tvbuff_t *tvb _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
void *data _U_);
static int dissect_ProtectedGroundPDUs_PDU(
tvbuff_t *tvb _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
void *data _U_);
static int dissect_ProtectedAircraftPDUs_PDU(
tvbuff_t *tvb _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
void *data _U_);
#include "packet-atn-cpdlc-hf.c"
#include "packet-atn-cpdlc-ett.c"
static gint ett_atn_cpdlc = -1;
#include "packet-atn-cpdlc-fn.c"
/* Wireshark ID of CPDLC protocol */
static int proto_atn_cpdlc = -1;
static int
dissect_atn_cpdlc(
tvbuff_t *tvb,
packet_info *pinfo,
proto_tree *tree,
void *data _U_)
{
/* note: */
/* there are two co-existing applications of CPDLC: */
/* "plain old" (ae-qualifier 2) and */
/* "protected mode" (ae-qualifier 22) CPDLC. */
/* "protected mode" was introduced to cope with a */
/* safety issue in which a message would sent to the wrong aircraft. */
/* note:*/
/* The protection is an additional checksum and covers the message content, */
/* the 24-bit address of the aircraft, the current flight id and */
/* the current ground facility so that an aircraft would be able to reject */
/* messages which are unexpected (i.e. messages to another flight or */
/* messages from the wrong center). */
/*note:*/
/* although "plain old" CPDLC is more or less deprecated */
/* many aircraft cannot perform */
/* "protected mode" for this largely depends on */
/* upgraded avionics packages */
/*note:*/
/* The use of CPDLC is *optional* as the pilot */
/* may always use a voice radio channel to talk to the controller.*/
proto_tree *atn_cpdlc_tree = NULL;
atn_conversation_t *atn_cv = NULL;
/* note: */
/* we need the ae qualifier stored within the conversation */
/* to decode "plain old cpdlc" or */
/* "protected mode cpdlc correctly " */
/* DT: dstref present, srcref is always zero */
if((pinfo->clnp_dstref) && (!pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(
&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src );
}
/* CR: srcref present, dstref is always zero */
if((!pinfo->clnp_dstref) && (pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(
&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst );
}
/* CC: srcref and dstref present, always use src/srcref & dst */
if((pinfo->clnp_dstref) && (pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(
&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst );
}
if(!atn_cv){ /* atn conversation not found */
return 0; }
atn_cpdlc_tree = proto_tree_add_subtree(
tree, tvb, 0, -1, ett_atn_cpdlc, NULL,
ATN_CPDLC_PROTO );
switch(atn_cv->ae_qualifier){
case pmcpdlc:
if( check_heur_msg_type(pinfo) == um ) {
/* uplink PDU's = Ground PDU's */
dissect_ProtectedGroundPDUs_PDU(
tvb,
pinfo,
atn_cpdlc_tree, NULL);
}else { /* downlink PDU's = Aircraft PDU's */
dissect_ProtectedAircraftPDUs_PDU(
tvb,
pinfo,
atn_cpdlc_tree, NULL);
}
break;
case cpdlc:
if( check_heur_msg_type(pinfo) == um ) {
/* uplink PDU's = Ground PDU's */
dissect_GroundPDUs_PDU(
tvb,
pinfo,
atn_cpdlc_tree, NULL);
}else { /* downlink PDU's = Aircraft PDU's */
dissect_AircraftPDUs_PDU(
tvb,
pinfo,
atn_cpdlc_tree, NULL);
}
break;
default:
break;
}
return tvb_reported_length_remaining(tvb, 0);
}
static gboolean
dissect_atn_cpdlc_heur(
tvbuff_t *tvb,
packet_info *pinfo,
proto_tree *tree,
void *data _U_)
{
atn_conversation_t *volatile atn_cv = NULL;
volatile gboolean is_atn_cpdlc = FALSE;
volatile gboolean is_pm = FALSE;
int type;
type = check_heur_msg_type(pinfo);
switch(type){
case um:
TRY {
dissect_ProtectedGroundPDUs_PDU(tvb, pinfo, NULL, NULL);
is_atn_cpdlc = TRUE;
is_pm = TRUE;}
CATCH_ALL{
is_atn_cpdlc = FALSE;
is_pm = FALSE;}
ENDTRY;
if (is_atn_cpdlc) {
break;
}
TRY {
dissect_GroundPDUs_PDU(tvb, pinfo, NULL, NULL);
is_pm = FALSE;
is_atn_cpdlc = TRUE;}
CATCH_ALL{
is_atn_cpdlc = FALSE;
is_pm = FALSE;}
ENDTRY;
break;
case dm:
TRY {
dissect_ProtectedAircraftPDUs_PDU(tvb, pinfo, NULL, NULL);
is_atn_cpdlc = TRUE;
is_pm = TRUE;}
CATCH_ALL {
is_atn_cpdlc = FALSE;
is_pm = FALSE; }
ENDTRY;
if (is_atn_cpdlc) {
break;
}
TRY{
dissect_AircraftPDUs_PDU(tvb, pinfo, NULL, NULL);
is_atn_cpdlc = TRUE;
is_pm = FALSE;}
CATCH_ALL{
is_atn_cpdlc = FALSE;
is_pm = FALSE;}
ENDTRY;
break;
default:
break;
}
if(is_atn_cpdlc){
/* note: */
/* all subsequent PDU's belonging to this conversation */
/* are considered CPDLC */
/* if the first CPDLC PDU has been decoded successfully */
/* (This is done in "atn-ulcs" by using "call_dissector_with_data()") */
/* DT: dstref present, srcref is always zero */
if((pinfo->clnp_dstref) && (!pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src );
}
/* CR: srcref present, dstref is always zero */
if((!pinfo->clnp_dstref) && (pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst );
}
/* CC: srcref and dstref present, always use src/srcref & dst */
if((pinfo->clnp_dstref) && (pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst );
}
if(atn_cv){ /* atn conversation found */
if(is_pm == TRUE) {
atn_cv->ae_qualifier = pmcpdlc; }
else {
atn_cv->ae_qualifier = cpdlc; }
dissect_atn_cpdlc(tvb, pinfo, tree, NULL);
}
}else { /* there should *always* be an atn conversation */
is_atn_cpdlc = FALSE;
}
return is_atn_cpdlc;
}
void proto_register_atn_cpdlc (void)
{
static hf_register_info hf_atn_cpdlc[] = {
#include "packet-atn-cpdlc-hfarr.c"
};
static gint *ett[] = {
#include "packet-atn-cpdlc-ettarr.c"
&ett_atn_cpdlc
};
/* register CPDLC */
proto_atn_cpdlc = proto_register_protocol(
ATN_CPDLC_PROTO ,
"ATN-CPDLC",
"atn-cpdlc");
proto_register_field_array(
proto_atn_cpdlc,
hf_atn_cpdlc,
array_length(hf_atn_cpdlc));
proto_register_subtree_array(
ett,
array_length(ett));
register_dissector(
"atn-cpdlc",
dissect_atn_cpdlc,
proto_atn_cpdlc);
}
void proto_reg_handoff_atn_cpdlc(void)
{
/* add session dissector to atn dissector list dissector list*/
heur_dissector_add(
"atn-ulcs",
dissect_atn_cpdlc_heur,
"ATN-CPDLC over ATN-ULCS",
"atn-cpdlc-ulcs",
proto_atn_cpdlc, HEURISTIC_ENABLE);
}
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local variables:
* c-basic-offset: 4
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* vi: set shiftwidth=4 tabstop=8 expandtab:
* :indentSize=4:tabSize=8:noTabs=true:
*/ |
ASN.1 | wireshark/epan/dissectors/asn1/atn-ulcs/atn-ulcs.asn | -- File: atn-ulcs.asn
-- Sub-Volume IV ASN.1 reference definitions for ICAO Doc. 9705,
-- Second Edition
-- Version 1.1, 03 Oct 2001
-- The majority of the ULCS protocol definitions are specified in the ULCS
-- Technical Provisions by reference to ISO/IEC Standards and/or ITU-T
-- Recommendations. The ASN.1 definitions are reproduced here for ease of
-- reference and to allow explanatory annotations to be added. In the case of
-- any discrepancy between the definitions here and the corresponding
-- definitions defined in or referenced by the ULCS Technical Provisions,
-- the latter are assumed to take precedence.
-- The following ASN.1 modules are included here:
-- * General ULCS types. These are ASN.1 definitions used in the ULCS
-- Technical Provisions, though there is no equivalent ASN.1 module
-- defined there. The definitions in this module would generally be
-- incorporated into a wider "user" protocol module if using ASN.1 automated
-- tools. They are defined in a separate module here so that their syntax can
-- easily be verified by an ASN.1 syntax checker.
-- * Connection-oriented ACSE definitions. This is equivalent to the "ACSE-1"
-- module defined in the connection-oriented ACSE protocol standard.
-- * Information Framework. This is an extract of relevant definitions from the
-- InformationFramework module in the OSI standard "Directory : Models". The
-- types defined in this module are not actively used in the ULCS protocol, but
-- they are needed to satisfy IMPORTS statements in the ACSE definitions, and
-- to allow certain CHOICE types in the ACSE definitions to be sorted correctly
-- into canonical order.
-- Note.- In the following definitions, the ASN.1 comment " X" indicates
-- choice elements and optional elements in sequence types that are defined as
-- "Excluded" in the ULCS profile. That is, implementations of ULCS provisions
-- are never required to encode values for such elements (though they are
-- required to indicate the absence of these elements in all instances, by means
-- of bits in the appropriate PER preamble or choice index).
-- General ULCS types
ULCS DEFINITIONS ::= BEGIN
-- ***************************************************************************
-- The following ASN.1 definitions are from Doc 9705 Sub-Volume IV,
-- section 4.3.2.6.2
-- ***************************************************************************
--Presentation User Data is Fully-encoded-data from
--ISO/IEC 8823-1:1994/Amd.1:1997 | ITU-T Rec. X.226/Amd. 1
--Fully-encoded-data ::= SEQUENCE SIZE (1, ...) OF PDV-list
Fully-encoded-data ::= SEQUENCE SIZE (1, ..., 2..MAX) OF PDV-list
-- contains one or more presentation-data-value-list (PDV-list) values
-- ATN commentary: The SIZE constraint above differs from the referenced
-- standard, which specifies (in 8.2):
-- Fully-encoded-data ::= SEQUENCE SIZE (1, ..., 2..MAX) OF PDV-list.
-- The ULCS provisions specify a simplified, but compatible, efficiency
-- constraint as there will never be more than one element in the SEQUENCE OF
-- for the foreseeable future.
-- This simplifies matters for some compilers.
PDV-list ::= SEQUENCE {
transfer-syntax-name Transfer-syntax-name OPTIONAL, -- X
presentation-context-identifier Presentation-context-identifier,
presentation-data-values CHOICE
{ single-ASN1-type [0] ABSTRACT-SYNTAX.&Type
(CONSTRAINED BY {
-- Type corresponding to presentation context identifier -- }) , -- X
octet-aligned [1] IMPLICIT OCTET STRING, -- X
arbitrary [2] IMPLICIT BIT STRING }
-- contains one or more presentation data values from the same
-- presentation context.
-- ATN Commentary: only the arbitrary BIT STRING encoding choice is used.
}
Transfer-syntax-name ::= OBJECT IDENTIFIER -- ATN: not used for ATN Upper Layers
Presentation-context-identifier::= INTEGER -- ATN: the following values are
-- ATN-specific
{ acse-apdu (1),
reserved (2),
user-ase-apdu (3) } (1..127, ... )
-- ATN commentary: The SIZE constraint above differs from the referenced
-- standard, which specifies (in 8.2):
-- Presentation-context-identifier::= INTEGER (1..127, ..., 128..MAX ).
-- The ULCS provisions specify a simplified, but compatible, efficiency
-- constraint as there will never be more than 127 presentation contexts in
-- ATN for the foreseeable future.
-- This simplifies matters for some compilers. The list of defined values is
-- shown here for guidance only, and has no effect on the PER encoding.
END -- of ULCS definitions
-- Connection-oriented ACSE definitions
--*************************************************************************
-- The ACSE abstract syntax from ISO/IEC 8650-1/Amd.1 | ITU-T Rec. X.227/
-- Amd. 1 is reproduced here for ease of reference. In case of any discrepancy,
-- the ISO/IEC standard takes precedence.
--*************************************************************************
ACSE-1 {joint-iso-itu-t association-control(2) modules(0) apdus(0) version1(1)}
-- ACSE-1 refers to ACSE version 1
DEFINITIONS ::=
BEGIN
EXPORTS
acse-as-id, ACSE-apdu, aCSE-id, Application-context-name, AP-title,
AE-qualifier, -- AE-title, (ATN: AE-title is not needed)
AP-invocation-identifier,
AE-invocation-identifier, Mechanism-name, Authentication-value,
ACSE-requirements;
IMPORTS Name, RelativeDistinguishedName
FROM InformationFramework
{ joint-iso-ccitt ds(5) module(1) informationFramework(1) 2 };
-- The data types Name and RelativeDistinguishedName are imported
-- from ISO/IEC 9594-2 | ITU-T Rec. X.501.
-- ATN Commentary: The relevant InformationFramework extracts are given
-- below.
-- *************************************************************************
-- EXTERNAL
-- *************************************************************************
-- EXTERNAL is an ASN.1 UNIVERSAL type. The definition in the PER standard
-- ISO/IEC 8825-2 | ITU-T Rec. X.691 is assumed for ACSE.
-- The type is used in ACSE user-information
-- fields. ASN.1 compilers will not in general allow EXTERNAL to be
-- redefined (therefore 'EXTERNALt'),
-- and it is invalid ASN.1 to define a type with tag [UNIVERSAL 8]
--
-- Workaround for bug in asn2wrs in the .cnf file
-- to handle the lack of support for tagged assignments.
-- remove that workaround once asn2wrs learns how to handle
-- tagged assignments.
--
EXTERNALt ::= [8] IMPLICIT SEQUENCE {
direct-reference OBJECT IDENTIFIER OPTIONAL, -- X
indirect-reference INTEGER OPTIONAL,
data-value-descriptor ObjectDescriptor OPTIONAL, -- X
encoding CHOICE {
single-ASN1-type [0] ABSTRACT-SYNTAX.&Type,
octet-aligned [1] IMPLICIT OCTET STRING, -- X
arbitrary [2] IMPLICIT BIT STRING }}
-- ATN: implementations are advised to use arbitrary (BIT STRING)
-- encodings only (see Guidance Material section 2.6.5.21).
-- BIT STRING values are not padded to octet boundaries.
-- object identifier assignments
acse-as-id OBJECT IDENTIFIER ::=
{joint-iso-itu-t association-control(2) abstract-syntax(1) apdus(0) version1(1)}
-- may be used to reference the abstract syntax of the ACSE APDUs
aCSE-id OBJECT IDENTIFIER ::=
{ joint-iso-itu-t association-control(2) ase-id(3) acse-ase(1) version(1) }
-- may be used to identify the Association Control ASE.
-- top level CHOICE
ACSE-apdu ::= CHOICE
{
aarq AARQ-apdu, -- ACSE associate request pdu
aare AARE-apdu, -- ACSE associate response pdu
rlrq RLRQ-apdu, -- ACSE release request pdu
rlre RLRE-apdu, -- ACSE release response pdu
abrt ABRT-apdu, -- ACSE abort pdu
...
}
AARQ-apdu ::= [ APPLICATION 0 ] IMPLICIT SEQUENCE
{ protocol-version [0] IMPLICIT BIT STRING { version1 (0) } DEFAULT { version1 }, -- X
application-context-name [1] Application-context-name,
called-AP-title [2] AP-title OPTIONAL, -- X
called-AE-qualifier [3] AE-qualifier OPTIONAL, -- X
called-AP-invocation-identifier [4] AP-invocation-identifier OPTIONAL, -- X
called-AE-invocation-identifier [5] AE-invocation-identifier OPTIONAL, -- X
calling-AP-title [6] AP-title OPTIONAL,
calling-AE-qualifier [7] AE-qualifier OPTIONAL,
calling-AP-invocation-identifier [8] AP-invocation-identifier OPTIONAL, -- X
calling-AE-invocation-identifier [9] AE-invocation-identifier OPTIONAL, -- X
-- The following field is not present if only the Kernel is used.
-- ATN: For Doc 9705 ed 1/ed 2, only the Kernel is required.
sender-acse-requirements [10] IMPLICIT ACSE-requirements OPTIONAL,
-- The following field is only present if the Authentication functional
-- unit is selected. ATN: not used in Doc 9705 ed 1/ed 2.
mechanism-name [11] IMPLICIT Mechanism-name OPTIONAL,
-- The following field is only present if the Authentication functional
-- unit is selected. ATN: use is deprecated in Doc 9705 ed 1/ed 2.
calling-authentication-value [12] EXPLICIT Authentication-value OPTIONAL,
application-context-name-list [13] IMPLICIT Application-context-name-list OPTIONAL, -- X
-- The above field is only present if the Application Context Negotiation
-- functional unit is selected - never for ATN
implementation-information [29] IMPLICIT Implementation-data OPTIONAL, -- X
..., ..., -- ATN: Note use of extension marker pair
user-information [30] IMPLICIT Association-information OPTIONAL
}
AARE-apdu ::= [ APPLICATION 1 ] IMPLICIT SEQUENCE
{ protocol-version [0] IMPLICIT BIT STRING{ version1 (0) }
DEFAULT { version1 }, -- X
application-context-name [1] Application-context-name,
result [2] Associate-result,
result-source-diagnostic [3] Associate-source-diagnostic,
responding-AP-title [4] AP-title OPTIONAL, -- X
responding-AE-qualifier [5] AE-qualifier OPTIONAL, -- X
responding-AP-invocation-identifier [6] AP-invocation-identifier OPTIONAL, -- X
responding-AE-invocation-identifier [7] AE-invocation-identifier OPTIONAL, -- X
-- The following field is not present if only the Kernel is used.
-- ATN: For Doc 9705 ed 1/ed 2, only the Kernel is required.
responder-acse-requirements [8] IMPLICIT ACSE-requirements OPTIONAL,
-- The following field is only present if the Authentication functional
-- unit is selected. ATN: not used in Doc 9705 ed 1/ed 2.
mechanism-name [9] IMPLICIT Mechanism-name OPTIONAL,
-- The following field is only present if the Authentication functional
-- unit is selected. ATN: use is deprecated in Doc 9705 ed 1/ed 2.
responding-authentication-value [10] EXPLICIT Authentication-value OPTIONAL,
application-context-name-list [11] IMPLICIT Application-context-name-list
OPTIONAL, -- X
-- The above field is only present if the Application Context Negotiation
-- functional unit is selected - never for ATN
implementation-information [29] IMPLICIT Implementation-data OPTIONAL, --X
..., ..., -- ATN: Note use of extension marker pair
user-information [30] IMPLICIT Association-information OPTIONAL
}
RLRQ-apdu ::= [ APPLICATION 2 ] IMPLICIT SEQUENCE
{ reason [0] IMPLICIT Release-request-reason OPTIONAL,
..., ..., -- ATN: Note use of extension marker pair
user-information [30] IMPLICIT Association-information OPTIONAL
}
RLRE-apdu ::= [ APPLICATION 3 ] IMPLICIT SEQUENCE
{ reason [0] IMPLICIT Release-response-reason OPTIONAL,
..., ..., -- ATN: Note use of extension marker pair
user-information [30] IMPLICIT Association-information OPTIONAL
}
ABRT-apdu ::= [ APPLICATION 4 ] IMPLICIT SEQUENCE
{ abort-source [0] IMPLICIT ABRT-source,
abort-diagnostic [1] IMPLICIT ABRT-diagnostic OPTIONAL,
-- The above field is not present if only the Kernel is used.
-- ATN: For Doc 9705 ed 1/ed 2, only the Kernel is required.
..., ..., -- ATN: Note use of extension marker pair
user-information [30] IMPLICIT Association-information OPTIONAL
}
ABRT-diagnostic ::= ENUMERATED
{ no-reason-given (1),
protocol-error (2),
authentication-mechanism-name-not-recognized (3),
authentication-mechanism-name-required (4),
authentication-failure (5),
authentication-required (6),
... }
ABRT-source ::= INTEGER { acse-service-user (0), acse-service-provider (1)} (0..1, ...)
ACSE-requirements ::= BIT STRING
{ authentication (0), application-context-negotiation(1) }
-- ATN commentary: application-context-negotiation (bit 1) is
-- never set for ATN ULCS. Use of authentication is deprecated
-- for Doc 9705 ed 1/ed 2.
Application-context-name-list ::= SEQUENCE OF Application-context-name
-- ATN Commentary: the above type is not used for ATN ULCS.
Application-context-name ::= OBJECT IDENTIFIER
-- ***************************************************************************
-- Application-entity title productions follow (not in alphabetical order)
-- ***************************************************************************
-- MG: asn2wrs cannot handle untagged CHOICEs within either a SET or a SEQUENCE.
-- https://gitlab.com/wireshark/wireshark/-/wikis/Asn2wrs_Handmassaging_the_ASN_file
AP-title ::= CHOICE { -- ATN: See encoding guidance in 2.5.11
-- "form2" is encoded as 0 and "form1" as 1
ap-title-form2 [0] IMPLICIT AP-title-form2, -- Object Identifier form
ap-title-form1 [1] IMPLICIT AP-title-form1, -- X (Directory name form)
... }
AE-qualifier ::= CHOICE {-- ATN: See encoding guidance in 2.5.11
-- "form2" is encoded as 0 and "form1" as 1
ae-qualifier-form2 [0] IMPLICIT AE-qualifier-form2, -- INTEGER form
ae-qualifier-form1 [1] IMPLICIT AE-qualifier-form1, -- X (RDN form)
... }
-- ATN commentary: AE-qualifier is set to "app-type" in Doc 9705 1st and
-- 2nd editions. For forward compatibility, the value should not be
-- analysed.
-- When both AP-title and AE-qualifier data values are present in an AARQ or
-- AARE APDU, both have the same form to allow the construction of an
-- AE-title as discussed in CCITT Rec. X.665 | ISO/IEC 9834-6.
AP-title-form1 ::= Name -- ATN: Not used for ATN ULCS
-- The value assigned to AP-title-form1 is The Directory Name of an
-- application-process title.
AE-qualifier-form1 ::= RelativeDistinguishedName -- ATN: Not used for ULCS
-- The value assigned to AE-qualifier-form1 is the relative distinguished name
-- of a particular application-entity of the application-process identified by
-- AP-title-form1.
AP-title-form2 ::= OBJECT IDENTIFIER
AE-qualifier-form2 ::= INTEGER
-- ATN commentary: The AE-title productions below are commented out,
-- as they are not required for ATN ULCS.
-- AE-title ::= CHOICE {
-- ae-title-form1 AE-title-form1,
-- ae-title-form2 AE-title-form2,
-- ... }
--
-- As defined in CCITT Rec. X.650 | ISO 7498-3, an application-entity title is
-- composed of an application-process title and an application-entity qualifier.
-- The ACSE protocol provides for the transfer of an application-entity title
-- value by the transfer of its component values. However, the following data
-- type is provided for International Standards that reference a single
-- syntactic structure for AE titles. (Not used for ATN ULCS)
--
-- AE-title-form1 ::= Name
-- For access to The Directory (ITU-T Rec. X.500-Series | ISO/IEC 9594), an
-- AE title has AE-title-form1.
-- This value can be constructed from AP-title-form1 and AE-qualifier-form1
-- values contained in an AARQ or AARE APDU. A discussion of forming an
-- AE-title-form1 from AP-title-form1 and AE-qualifier-form1 may be found in
-- CCITT Rec. X.665 | ISO/IEC 9834-6.
--
-- AE-title-form2 ::= OBJECT IDENTIFIER
-- A discussion of forming an AE-title-form2 from AP-title-form2 and
-- AE-qualifier-form2 may be found in CCITT Rec. X.665 | ISO/IEC 9834-6.
AE-invocation-identifier ::= INTEGER -- ATN: not used in ULCS
AP-invocation-identifier ::= INTEGER -- ATN: not used in ULCS
-- End of Application-entity title productions
-- ***************************************************************************
Associate-result ::= INTEGER
{ accepted (0),
rejected-permanent (1),
rejected-transient (2) } (0..2, ...)
Associate-source-diagnostic ::= CHOICE
{ acse-service-user [1] INTEGER
{ null (0),
no-reason-given (1),
application-context-name-not-supported (2),
calling-AP-title-not-recognized (3),
calling-AP-invocation-identifier-not-recognized (4),
calling-AE-qualifier-not-recognized (5),
calling-AE-invocation-identifier-not-recognized (6),
called-AP-title-not-recognized (7),
called-AP-invocation-identifier-not-recognized (8),
called-AE-qualifier-not-recognized (9),
called-AE-invocation-identifier-not-recognized (10),
authentication-mechanism-name-not-recognized (11),
authentication-mechanism-name-required (12),
authentication-failure (13),
authentication-required (14) } (0..14 , ...),
acse-service-provider [2] INTEGER
{ null (0),
no-reason-given (1),
no-common-acse-version (2) } (0..2 , ...)
}
Association-information ::= SEQUENCE SIZE (1, ..., 0 | 2..MAX) OF EXTERNALt
-- ATN: No SIZE extensions are defined, only one EXTERNAL element is present
Implementation-data ::= OCTET STRING -- ATN: Not used for ULCS
Mechanism-name ::= OBJECT IDENTIFIER -- ATN: Not used for ULCS
MECHANISM-NAME ::=TYPE-IDENTIFIER -- ATN: Not used for ULCS
ObjectSet MECHANISM-NAME ::= {...} -- ATN: Not used for ULCS
Release-request-reason ::= INTEGER {normal (0), urgent (1), user-defined (30)} (0 | 1 | 30, ...)
Release-response-reason ::= INTEGER {normal (0), not-finished (1), user-defined (30)} (0 | 1 | 30, ...)
-- ATN commentary: For the above two types, see the encoding guidance in 2.5.10
-- Values are encoded in 5 bits, not 3 as might be expected.
Authentication-value ::= CHOICE -- ATN: use is deprecated in ed 1/ed 2
{ charstring [0] IMPLICIT OCTET STRING,
bitstring [1] IMPLICIT BIT STRING,
external [2] IMPLICIT EXTERNAL,
other [3] IMPLICIT SEQUENCE {
-- other-mechanism-name MECHANISM-NAME.&id ({ObjectSet}),
other-mechanism-name OBJECT IDENTIFIER,
-- other-mechanism-value MECHANISM-NAME.&Type ({ObjectSet}{@.other-mechanism-name})
other-mechanism-value ANY
} -- X
}
-- The abstract syntax of (calling/responding) authentication-value is
-- determined by the authentication mechanism used during association
-- establishment. The authentication mechanism is either explicitly
-- denoted by the &id field (of type OBJECT IDENTIFIER) for a mechanism
-- belonging to the class MECHANISM-NAME, or it is known implicitly by
-- prior agreement between the communicating partners. If the "other"
-- component is chosen, then the "mechanism-name" component is present
-- in accordance with ITU-T Rec. X.680|ISO/IEC 8824. If the value
-- "mechanism-name" occurs in the AARQ-apdu or the AARE-apdu, then that
-- value is the same as the value for "other-mechanism-name"
END -- of Connection-Oriented ACSE definitions
-- *************************************************************************
-- The following definitions are adapted from the Directory standard
-- ISO/IEC 9594-2:1993 | ITU-T Rec. X.501 (1993 E). In case of any discrepancy,
-- the ISO/IEC standard takes precedence.
-- *************************************************************************
InformationFramework {joint-iso-ccitt ds(5) module(1) informationFramework(1) 2}
DEFINITIONS ::=
BEGIN
EXPORTS Name, RelativeDistinguishedName;
Name ::= CHOICE {rdnSequence RDNSequence}
-- only one CHOICE defined
RDNSequence ::= SEQUENCE OF RelativeDistinguishedName
RelativeDistinguishedName ::= SET SIZE (1 .. MAX) OF AttributeTypeAndValue
AttributeTypeAndValue ::= SEQUENCE {
-- ATN commentary: The following line has been inserted to allow the Name and
-- RelativeDistinguishedName types, as used by ACSE, to be resolved by an
-- ASN.1 compiler, without introducing the unnecessary complexity
-- Of the ATTRIBUTE information object class, which is used in the
-- Directory standards.
null NULL}
-- The "real" components of AttributeTypeAndValue follow. They have been
-- commented out here, but could be restored if required, for example, for
-- sharing data types with a Directory implementation. The syntax has been
-- verified by the OSS syntax checker.
-- type ATTRIBUTE.&id ({SupportedAttributes}),
-- value ATTRIBUTE.&Type ({SupportedAttributes} {@type})
--}
--SupportedAttributes ATTRIBUTE ::=
-- {objectClass | aliasedEntryName, ...}
-- ATN Commentary: ATTRIBUTE is an information object class, specified in
-- ISO/IEC 9594-2 | ITU-T Rec. X.501, using the notation defined in
-- ISO/IEC 8824-2 | ITU-T Rec. X.681. However, for ULCS implementation, it
-- is only necessary to note that the ACSE CHOICE types AP-title,
-- AE-qualifier and AE-title are all constrained to be the "form 2" variants,
-- with types Object Identifier, Integer and Object Identifier, respectively.
-- It is however necessary to know the syntax of the "form 1" variants (Name,
-- RelativeDistinguishedName and Name, respectively) so that the CHOICE
-- elements can be sorted into canonical order, based on their ASN.1 types,
-- for PER encoding (see 2.5.11).
--
--ATTRIBUTE ::= CLASS {
-- &derivation ATTRIBUTE OPTIONAL,
-- &Type OPTIONAL,
-- &equality-match MATCHING-RULE OPTIONAL,
-- &ordering-match MATCHING-RULE OPTIONAL,
-- &substrings-match MATCHING-RULE OPTIONAL,
-- &single-valued BOOLEAN DEFAULT FALSE,
-- &collective BOOLEAN DEFAULT FALSE,
-- &no-user-modification BOOLEAN DEFAULT FALSE,
-- &usage AttributeUsage DEFAULT userApplications,
-- &id OBJECT IDENTIFIER UNIQUE }
--
--MATCHING-RULE ::= CLASS {
-- &AssertionType OPTIONAL,
-- &id OBJECT IDENTIFIER UNIQUE }
--objectClass ATTRIBUTE ::= {
-- &Type OBJECT IDENTIFIER,
-- &id id-at-objectClass
--}
--
--aliasedEntryName ATTRIBUTE ::= {
-- &Type OBJECT IDENTIFIER,
-- &id id-at-aliasedEntryName
--}
--
--AttributeUsage ::= ENUMERATED {
-- userApplications (0),
-- directoryOperation (1),
-- distributedOperation (2),
-- dSAOperation (3) }
--
--id-at-objectClass OBJECT IDENTIFIER ::= {id-at 0}
--id-at-aliasedEntryName OBJECT IDENTIFIER ::= {id-at 1}
--id-at OBJECT IDENTIFIER ::= {joint-iso-ccitt ds(5) attributeType(4)}
END -- of Directory Information Framework extracts
--
-- Editor modelines - https://www.wireshark.org/tools/modelines.html
--
-- Local variables:
-- c-basic-offset: 4
-- tab-width: 8
-- indent-tabs-mode: nil
-- End:
--
-- vi: set shiftwidth=4 tabstop=8 expandtab:
-- :indentSize=4:tabSize=8:noTabs=true:
-- |
Configuration | wireshark/epan/dissectors/asn1/atn-ulcs/atn-ulcs.cnf | #.MODULE_IMPORT
#.FIELD_RENAME
AARQ-apdu/protocol-version aarq-apdu_protocol-version
AARE-apdu/protocol-version aare-apdu_protocol-version
RLRE-apdu/reason rlre-apdu_response_reason
RLRQ-apdu/reason rlrq-apdu_request_reason
EXTERNALt/encoding/single-ASN1-type externalt_encoding_single-asn1-type
EXTERNALt/encoding/arbitrary externalt_encoding_arbitrary
EXTERNALt/encoding/octet-aligned externalt_encoding_octet-aligned
PDV-list/presentation-data-values/single-ASN1-type pdv-list_presentation-data-values_single-asn1-type
PDV-list/presentation-data-values/arbitrary pdv-list_presentation-data-values_arbitrary
#.END
#.PDU
Fully-encoded-data
ACSE-apdu
#.END
#.FN_PARS Release-request-reason
VAL_PTR=&reason
#.END
#.FN_BODY Presentation-context-identifier
offset = dissect_per_constrained_integer(
tvb,
offset,
actx,
tree,
hf_index,
1U,
127U,
&ulcs_context_value,
TRUE);
#.END
#.FN_BODY PDV-list/presentation-data-values/arbitrary
packet_info * pinfo = actx->pinfo;
tvbuff_t *tvb_usr = NULL;
proto_tree *atn_ulcs_tree = NULL;
atn_conversation_t *atn_cv = NULL;
heur_dtbl_entry_t *hdtbl_entry;
/* extract bitstring into new tvb buffer */
offset = dissect_per_bit_string(
tvb,
offset,
actx,
tree,
hf_index,
NO_BOUND,
NO_BOUND,
FALSE,
NULL,
0,
&tvb_usr,
NULL);
if (tvb_usr) {
/* call appropiate dissector for bitstring data */
switch(ulcs_context_value){
case 1: /* ACSE PDU*/
atn_ulcs_tree = proto_tree_add_subtree(
root_tree, tvb, offset, 0,
ett_atn_acse, NULL, ATN_ACSE_PROTO );
dissect_ACSE_apdu_PDU(
tvb_new_subset_remaining(tvb_usr, 0),
pinfo,
atn_ulcs_tree, NULL);
break;
case 3: /* USER data; call subdissector for CM, CPDLC ... */
/* using dstref for PDV-list only occurrs in DT */
atn_cv = find_atn_conversation(
&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src);
if(atn_cv) {
switch(atn_cv->ae_qualifier){
case cma: /* contact management */
call_dissector_with_data(
atn_cm_handle,
tvb_new_subset_remaining(tvb_usr, 0),
pinfo,
root_tree,
NULL);
break;
case cpdlc: /* plain old cpdlc */
case pmcpdlc: /* protected mode cpdlc */
call_dissector_with_data(
atn_cpdlc_handle,
tvb_new_subset_remaining(tvb_usr, 0),
pinfo,
root_tree,
NULL);
break;
default: /* unknown or unhandled datalink application */
dissector_try_heuristic(
atn_ulcs_heur_subdissector_list,
tvb_new_subset_remaining(tvb_usr,0),
actx->pinfo,
root_tree,
&hdtbl_entry,
NULL);
break;
}
}
else{
dissector_try_heuristic(
atn_ulcs_heur_subdissector_list,
tvb_new_subset_remaining(tvb_usr,0),
actx->pinfo,
root_tree,
&hdtbl_entry,
NULL);
}
break;
default:
break;
} /* switch(ulcs_context_value) */
}
#.END
#.FN_BODY Authentication-value/other/other-mechanism-value
offset=call_ber_oid_callback(
object_identifier_id,
tvb,
offset,
actx->pinfo,
tree, NULL);
#.END
#.FN_BODY Mechanism-name
offset = dissect_per_object_identifier(
tvb,
offset,
actx,
tree,
hf_index,
NULL);
#.END
#.FN_BODY Authentication-value/other/other-mechanism-value
offset=call_ber_oid_callback(
object_identifier_id,
tvb,
offset,
actx->pinfo,
tree, NULL);
#.END
#.FN_BODY AE-qualifier-form2
packet_info * pinfo = actx->pinfo;
atn_conversation_t *atn_cv = NULL;
guint32 ae_qualifier = 0;
/* dissect ae-qualifier */
offset = dissect_per_integer(
tvb,
offset,
actx,
tree,
hf_index,
&ae_qualifier);
/*note: */
/* the field "calling-AE-qualifier" is optional, */
/* which means that we can exploit it only if it is present. */
/* We still depend on heuristical decoding of CM, CPDLC PDU's otherwise. */
/* AARQ/DT: dstref present, srcref is always zero */
if((pinfo->clnp_dstref) && (!pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src );
}
/* AARQ/CR: srcref present, dstref is always zero */
if((!pinfo->clnp_dstref) && (pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst );
}
if(atn_cv){
atn_cv->ae_qualifier = ae_qualifier;
}
#.END
#.FN_BODY AARQ-apdu
packet_info * pinfo = actx->pinfo;
aarq_data_t *aarq_data = NULL;
atn_conversation_t *atn_cv = NULL;
guint32 aircraft_24_bit_address = 0;
/* AARQ/DT: dstref present, srcref is always zero */
if((pinfo->clnp_dstref) && (!pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(
&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src );
if(!atn_cv){
atn_cv = wmem_new(wmem_file_scope(), atn_conversation_t);
atn_cv->ae_qualifier = unknown;
create_atn_conversation(&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src ,
atn_cv);
}
}
/* AARQ/CR: srcref present, dstref is always zero */
if((!pinfo->clnp_dstref) && (pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst );
if(!atn_cv){
atn_cv = wmem_new(wmem_file_scope(), atn_conversation_t);
atn_cv->ae_qualifier = unknown;
create_atn_conversation(&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst ,
atn_cv);
}
}
/* conversation is to be created prior to decoding */
/* of "AE-qualifier-form2" which takes place here: */
%(DEFAULT_BODY)s
/* save AARQ packet data to create a conversation */
/* when decoding the following AARE PDU */
/* ATN applications CM and CPDLC are air/ground applications */
/* so there is always an aircraft (with its 24-bit address) */
/* and a ground facility. */
/* the assumption is that there is only one open AARQ/AARE */
/* dialog per aircraft at a time. */
/* the aircraft's 24-bit address is used as a key to each AARQ */
/* data. AARQ data is used to create a conversation with */
/* air and ground endpoints (based on NSAP's and transport references) */
/* when decoding AARE.*/
/* note: */
/* it may be more robust to create the conversation */
/* in the "ositp" dissector an to merely use the conversation here */
aircraft_24_bit_address =
get_aircraft_24_bit_address_from_nsap(pinfo);
/* search for aarq entry */
aarq_data = (aarq_data_t *) wmem_tree_lookup32(
aarq_data_tree,
aircraft_24_bit_address);
if(!aarq_data){ /* aarq data not found, create new record */
/* alloc aarq data */
aarq_data = wmem_new(wmem_file_scope(), aarq_data_t);
aarq_data-> aarq_pending = FALSE;
/* insert aarq data */
wmem_tree_insert32(aarq_data_tree ,aircraft_24_bit_address,(void*)aarq_data);
}
/* check for pending AARQ/AARE sequences */
/* if "aarq_data-> aarq_pending" is set this means that there is already one */
/* AARQ/AARE sequence pending (is unwise to overwrite AARE/AARQ) */
if (aarq_data-> aarq_pending == FALSE ) {
/* init aarq data */
memset(aarq_data,0,sizeof(aarq_data_t));
aarq_data->cv = atn_cv;
aarq_data-> aarq_pending = TRUE;
}
#.END
#.FN_BODY AARE-apdu
packet_info * pinfo = actx->pinfo;
guint32 aircraft_24_bit_address = 0 ;
atn_conversation_t *atn_cv = NULL;
aarq_data_t *aarq_data = NULL;
/* get AARQ data and use it to create a new conversation, */
/* the conversation is used along with */
/* AARQ's "calling ae qualifier" to determine the */
/* type of air/ground application of each subsequent frame.*/
/* we use this information to invoke the correct application dissector. */
/* note: */
/* heuristical decoding of ASN1 will not work for all cases, */
/* for there may be CM PDU's which will exactly look like CPDLC PDU'S */
/* get 24-bit icao address */
aircraft_24_bit_address = get_aircraft_24_bit_address_from_nsap(pinfo);
/* search for aarq entry */
aarq_data = (aarq_data_t *) wmem_tree_lookup32(
aarq_data_tree,
aircraft_24_bit_address);
/* no aarq data present, do nothing */
/* without both ends of the conversation and without */
/* the "calling ae-qualifier there is no point in setting up "*/
/* a conversation */
if(!aarq_data) {
return offset;
}
/* AARE/DT: dstref present, srcref is always zero */
if((pinfo->clnp_dstref) && (!pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src );
if(!atn_cv){ /* conversation not fond */
/* DT has only dstref - create new conversation */
create_atn_conversation(&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src ,
aarq_data->cv);
}
}
/* AARE/CC: srcref and dstref present */
if((pinfo->clnp_dstref) && (pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(
&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst);
if(atn_cv){ /* conversation found. */
/* create new conversation for dstref */
create_atn_conversation(&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src ,
aarq_data->cv);
}else { /* no conversation found */
/* as CC contains srcref *and* dstref we use both to create new records */
create_atn_conversation(&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst ,
aarq_data->cv);
create_atn_conversation(&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src ,
aarq_data->cv);
}
}
/* clear aarq data */
memset(aarq_data,0,sizeof(aarq_data_t));
aarq_data-> aarq_pending = FALSE;
%(DEFAULT_BODY)s
#.END
#.FN_BODY Associate-result
/* extension present: last param set to true. asn2wrs didn't take notice of that */
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
0U, 2U, NULL, TRUE);
#.END
#.FN_BODY Release-request-reason
/* extension present: last param set to true. asn2wrs didn't take notice of that */
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
0U, 30U, NULL, TRUE);
#.END
#.FN_BODY Release-response-reason
/* extension present: last param set to true. asn2wrs didn't take notice of that */
offset = dissect_per_constrained_integer(
tvb,
offset,
actx,
tree,
hf_index,
0U,
30U,
NULL,
TRUE);
#.END
#.FN_BODY Mechanism-name
offset = dissect_per_object_identifier(
tvb,
offset,
actx,
tree,
hf_index,
NULL);
#.END
#.FN_BODY RDNSequence
/*
* atn-ulcs.asn currently defines
*
* RDNSequence ::= SEQUENCE OF RelativeDistinguishedName
* RelativeDistinguishedName ::= SET SIZE (1 .. MAX) OF AttributeTypeAndValue
* AttributeTypeAndValue ::= SEQUENCE { null NULL}
*
* which makes it easy to spam the dissection tree with null items. Dissect
* the first item only.
*/
offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_atn_ulcs_RDNSequence, RDNSequence_sequence_of,
1, 1, FALSE);
#.END
#.FN_BODY RelativeDistinguishedName
/*
* Dissect the first null item only, similar to RDNSequence.
*/
offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
ett_atn_ulcs_RelativeDistinguishedName, RelativeDistinguishedName_set_of,
1, 1, FALSE);
#.END
#.FN_BODY EXTERNALt/data-value-descriptor
offset = dissect_per_octet_string(
tvb,
offset,
actx,
tree,
hf_index,
-1,
-1,
FALSE,
&actx->external.data_value_descriptor);
actx->external.data_value_descr_present = TRUE;
#.END
#.FN_BODY EXTERNALt/encoding/single-ASN1-type
%(DEFAULT_BODY)s
#.END
#.FN_BODY EXTERNALt/encoding/octet-aligned
%(DEFAULT_BODY)s
#.END
#.FN_BODY EXTERNALt/encoding/arbitrary
tvbuff_t *tvb_usr = NULL;
packet_info * pinfo = actx->pinfo;
atn_conversation_t *atn_cv = NULL;
heur_dtbl_entry_t *hdtbl_entry;
/* decode bit-string user data within ACSE */
offset = dissect_per_bit_string(
tvb,
offset,
actx,
tree, hf_index,
NO_BOUND,
NO_BOUND,
FALSE,
NULL,
0,
&tvb_usr,
NULL);
if (tvb_usr) {
/* DT: dstref present, srcref is always zero */
if((pinfo->clnp_dstref) && (!pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(
&pinfo->dst,
pinfo->clnp_dstref,
&pinfo->src);
}
/* CR: srcref present, dstref always zero */
if((pinfo->clnp_srcref) && (!pinfo->clnp_dstref)){
atn_cv = find_atn_conversation(
&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst);
}
/* CC: srcref and dstref present */
if((pinfo->clnp_srcref) && (pinfo->clnp_dstref)){
atn_cv = find_atn_conversation(
&pinfo->src,
pinfo->clnp_srcref,
&pinfo->dst);
}
if(atn_cv) {
switch(atn_cv->ae_qualifier){
case cma: /* contact management */
call_dissector_with_data(
atn_cm_handle,
tvb_new_subset_remaining(tvb_usr, 0),
pinfo,
root_tree,
NULL);
break;
case cpdlc: /* plain old cpdlc */
case pmcpdlc: /* protected mode cpdlc */
call_dissector_with_data(
atn_cpdlc_handle,
tvb_new_subset_remaining(tvb_usr, 0),
pinfo,
root_tree,
NULL);
break;
default: /* unknown or unhandled datalink application */
dissector_try_heuristic(
atn_ulcs_heur_subdissector_list,
tvb_new_subset_remaining(tvb_usr,0),
actx->pinfo,
root_tree,
&hdtbl_entry,
NULL);
break;
}
}else {
dissector_try_heuristic(
atn_ulcs_heur_subdissector_list,
tvb_new_subset_remaining(tvb_usr,0),
actx->pinfo,
root_tree,
&hdtbl_entry,
NULL);
}
}
offset += tvb_reported_length_remaining(tvb, offset);
#.END
#
# Editor modelines - https://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 4
# tab-width: 8
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=4 tabstop=8 expandtab:
# :indentSize=4:tabSize=8:noTabs=true:
# |
Text | wireshark/epan/dissectors/asn1/atn-ulcs/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME atn-ulcs )
set( PROTO_OPT )
set( EXPORT_FILES
)
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -u )
set( EXTRA_CNF
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/atn-ulcs/packet-atn-ulcs-template.c | /* packet-atn-ulcs.c
* By Mathias Guettler <[email protected]>
* Copyright 2013
*
* Routines for ATN upper layer
* protocol packet disassembly
* ATN upper layers are embedded within OSI Layer 4 (COTP).
*
* ATN upper layers contain:
* Session Layer (NUL protocol option)
* Presentation Layer (NUL protocol option)
* ATN upper Layer/Application (ACSE PDU or PDV-list PDU)
* ATN applications protocols (i.e. CM or CPDLC) are contained within
* ACSE user-information or PDV presentation data.
* details see:
* http://en.wikipedia.org/wiki/CPDLC
* http://members.optusnet.com.au/~cjr/introduction.htm
* standards:
* http://legacy.icao.int/anb/panels/acp/repository.cfm
* note:
* We are dealing with ATN/ULCS aka ICAO Doc 9705 Ed2 here
* (don't think there is an ULCS equivalent for "FANS-1/A ").
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/*
developer comments:
why not using existing ses, pres and acse dissectors ?
ATN upper layers are derived from OSI standards for session,
presentation and application but the encoding differs
(it's PER instead of BER encoding to save bandwith).
Session and presentation use the "null" encoding option,
meaning that they are only present at connection establishment
and ommitted otherwise.
Instead of adapting existing dissectors it seemed simpler and cleaner
to implement everything the new atn-ulcs dissector.
why using conversations ?
PER encoded user data is ambigous; the same encoding may apply to a CM or
CPDLC PDU. The workaround is to decode on a transport connection basis.
I use my own version of conversations to identify
the transport connection the PDU belongs to for the standard functions
from "conversation.h" didn't work out.
what is the use of AARQ/AARE data ?
Converstions should be maintained on the COTP layer in a standard way
for there are usually more packets available than in the layers above.
In the worst case my dissector is called from a DT packet which
has destination references but no source reference.
I have to guess the reference used the other way round
(curently I am using ACSE PDU'S used during OSI connection establishment for that).
The idea is that each ACSE AARQ is answered by ACSE AARE and having this sequence
I have all the source/destination references for this transport connection.
I use AARQ/AARE data to store the source/destination reference of AARQ as well
as the optional ae-qualifier which tells me the application and
the dissector I have to use.
This approach donesn't work well when there are interleaving AARQ/AARE sequences for
the same aircraft.
which ATN standard is supported ?
The dissector has been tested with ICAO doc9705 Edition2 compliant traffic.
No ATN Secutity is supported.
note:
The ATN upper layers are derived from OSI standards (ICAO DOC 9705)
while ATN/IPS (ICAO DOC 9896) which is entirely based on IPV6.
*/
/*
known defects/deficiencies:
- user-information within AARE is sometines not decoded due to an unset flag
(the field is optional). As far as I can tell asn2wrs is right here,
but on the other hand I know that in all of this cases user-information
is present and is processed by the ATN end system.
Maybe a true ATN expert may help me out here.
- The conversation handling is based on src/dst addresses as well as
source or destination references depending on the TP4 packet type.
This means that after some time these references get reused for
new conversations. This almost certain happens for traces longer
than one day rendering this dissector unsuitable for captures exceeding
this one day.
*/
#include "config.h"
#ifndef _MSC_VER
#include <stdint.h>
#endif
#include <epan/packet.h>
#include <epan/address.h>
#include <epan/conversation.h>
#include <epan/osi-utils.h>
#include "packet-ber.h"
#include "packet-per.h"
#include "packet-atn-ulcs.h"
#define ATN_ACSE_PROTO "ICAO Doc9705 ULCS ACSE (ISO 8649/8650-1:1996)"
#define ATN_ULCS_PROTO "ICAO Doc9705 ULCS"
void proto_register_atn_ulcs(void);
void proto_reg_handoff_atn_ulcs(void);
static heur_dissector_list_t atn_ulcs_heur_subdissector_list;
/* presentation subdissectors i.e. CM, CPDLC */
static dissector_handle_t atn_cm_handle = NULL;
static dissector_handle_t atn_cpdlc_handle = NULL;
static int proto_atn_ulcs = -1;
static guint32 ulcs_context_value = 0;
static const char *object_identifier_id;
static wmem_tree_t *aarq_data_tree = NULL;
static wmem_tree_t *atn_conversation_tree = NULL;
static proto_tree *root_tree = NULL;
/* forward declarations for functions generated from asn1 */
static int dissect_atn_ulcs_T_externalt_encoding_single_asn1_type(
tvbuff_t *tvb _U_,
int offset _U_,
asn1_ctx_t *actx _U_,
proto_tree *tree _U_,
int hf_index
_U_);
static int dissect_atn_ulcs_T_externalt_encoding_octet_aligned(
tvbuff_t *tvb _U_,
int offset _U_,
asn1_ctx_t *actx _U_,
proto_tree *tree _U_,
int hf_index _U_);
static int dissect_atn_ulcs_T_externalt_encoding_arbitrary(
tvbuff_t *tvb _U_,
int offset _U_,
asn1_ctx_t *actx _U_,
proto_tree *tree _U_,
int hf_index _U_);
static int dissect_ACSE_apdu_PDU(
tvbuff_t *tvb _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
void *data _U_);
guint32 dissect_per_object_descriptor_t(
tvbuff_t *tvb,
guint32 offset,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index,
tvbuff_t **value_tvb);
static gint dissect_atn_ulcs(
tvbuff_t *tvb,
packet_info *pinfo,
proto_tree *tree,
void *data _U_);
#include "packet-atn-ulcs-hf.c"
#include "packet-atn-ulcs-ett.c"
static gint ett_atn_ulcs = -1;
static gint ett_atn_acse = -1;
#include "packet-atn-ulcs-fn.c"
#if 0
/* re-implementing external data: packet-per.c */
static const value_string per_External_encoding_vals[] = {
{ 0, "single-ASN1-type" },
{ 1, "octet-aligned" },
{ 2, "arbitrary" },
{ 0, NULL }
};
/* re-implementing external data: packet-per.c */
static const per_choice_t External_encoding_choice[] =
{
{ 0,
&hf_atn_ulcs_externalt_encoding_single_asn1_type,
ASN1_NO_EXTENSIONS,
dissect_atn_ulcs_T_externalt_encoding_single_asn1_type
},
{ 1,
&hf_atn_ulcs_externalt_encoding_octet_aligned,
ASN1_NO_EXTENSIONS,
dissect_atn_ulcs_T_externalt_encoding_octet_aligned
},
{ 2,
&hf_atn_ulcs_externalt_encoding_arbitrary,
ASN1_NO_EXTENSIONS,
dissect_atn_ulcs_T_externalt_encoding_arbitrary
},
{ 0,
NULL,
0,
NULL
}
};
#endif
/* ATN Session layer */
#define SES_PDU_TYPE_MASK 0xf8
#define SES_PARAM_IND_MASK 0x04
#define SES_PARAM_B2_MASK 0x02
#define SES_PARAM_B1_MASK 0x01
static int hf_atn_ses_type = -1;
static int hf_atn_ses_param_ind = -1;
static int hf_atn_ses_param_b1 = -1;
static int hf_atn_ses_param_b2 = -1;
static gint ett_atn_ses = -1;
#define ATN_SES_PROTO "ICAO Doc9705 ULCS Session (ISO 8326/8327-1:1994)"
const value_string atn_ses_param_ind[] =
{
{0, "No Parameter Indication "},
{1, "Parameter Indication "},
{0, NULL }
};
const value_string srf_b2[] =
{
{0, "Transport Connection is kept"},
{1, "Transport Connection is released" },
{0, NULL }
};
const value_string srf_b1[] =
{
{0, "Transport Connection is transient"},
{1, "Transport Connection is persistent"},
{0, NULL }
};
#define SES_ATN_SCN 0xe8
#define SES_ATN_SCNC 0xf8
#define SES_ATN_SAC 0xf0
#define SES_ATN_SACC 0xd8
#define SES_ATN_SRF 0xe0
#define SES_ATN_SRFC 0xa0
const value_string atn_ses_type[] =
{
{ 0x1d, "Short Connect (SCN) SPDU" },
{ 0x1f, "Short Connect Accept (SAC) SPDU" },
{ 0x1e, "Short Connect Accept Continue (SACC) SPDU" },
{ 0x1c, "Short Refuse (SRF) SPDU" },
{ 0x14, "Short Refuse Continue (SRFC) SPDU" },
{0, NULL }
};
/* ATN Presentation layer */
#define ATN_PRES_PROTO "ICAO Doc9705 ULCS Presentation (ISO 8822/8823-1:1994)"
static int hf_atn_pres_err = -1;
static int hf_atn_pres_pdu_type = -1;
static gint ett_atn_pres = -1;
#define ATN_SES_PRES_MASK 0xf803
#define PRES_CPR_ER_MASK 0x70
/* type determined by SPDU and PPDU */
const value_string atn_pres_vals[] =
{
{ 0xe802, "Short Presentation Connect PPDU (CP) " },
{ 0xf802, "Short Presentation Connect PPDU (CP) " },
{ 0xf002, "Short Presentation Connect Accept PPDU (CPA)" },
{ 0xd802, "Short Presentation Connect Accept PPDU (CPA)" },
{ 0xe002, "Short Presentation Connect Reject PPDU (CPR)" },
{ 0xa002, "Short Presentation Connect Reject PPDU (CPR)" },
{0, NULL }
};
/* Short Presentation Connect Reject PPDU's 0yyy 00zz */
const value_string atn_pres_err[] =
{
{ 0x00, "Presentation-user" },
{ 0x01, "Reason not specified (transient)"},
{ 0x02, "Temporary congestion (transient)"},
{ 0x03, "Local limit exceeded (transient)"},
{ 0x04, "Called presentation-address unknown (permanent)"},
{ 0x05, "Protocol version not supported (permanent)"},
{ 0x06, "Default context not supported (permanent)"},
{ 0x07, "User data not readable (permanent)"},
{ 0, NULL }
};
#if 0
/* re-implementing external data: packet-per.c */
static int atn_ulcs_Externalt_encoding(
tvbuff_t *tvb _U_,
int offset _U_,
asn1_ctx_t *actx _U_,
proto_tree *tree _U_,
int hf_index _U_)
{
offset = dissect_per_choice(
tvb,
offset,
actx,
tree,
hf_index,
ett_atn_ulcs_EXTERNALt,
External_encoding_choice,
&actx->external.encoding);
return offset;
}
/* re-implementing external data: packet-per.c */
static guint32 atn_per_external_type(
tvbuff_t *tvb _U_,
guint32 offset,
asn1_ctx_t *actx,
proto_tree *tree _U_,
int hf_index _U_,
per_type_fn type_cb)
{
memset(&actx->external, '\0', sizeof(actx->external));
actx->external.hf_index = -1;
actx->external.encoding = -1;
actx->external.u.per.type_cb = type_cb;
offset = atn_ulcs_Externalt_encoding(
tvb,
offset,
actx,
tree,
hf_index);
memset(
&actx->external,
'\0',
sizeof(actx->external));
actx->external.hf_index = -1;
actx->external.encoding = -1;
return offset;
}
#endif
/* determine 24-bit aircraft address(ARS) */
/* from 20-byte ATN NSAP. */
guint32 get_aircraft_24_bit_address_from_nsap(
packet_info *pinfo)
{
const guint8* addr = NULL;
guint32 ars =0;
guint32 adr_prefix =0;
/* check NSAP address type*/
if( (pinfo->src.type != get_osi_address_type()) ||
(pinfo->dst.type != get_osi_address_type())) {
return ars; }
/* 20 octets address length required */
/* for ATN */
if( (pinfo->src.len != 20) ||
(pinfo->dst.len != 20)) {
return ars; }
/* first try source address */
/* if the src address originates */
/* from an aircraft it's downlink */
/* convert addr into 32-bit integer */
addr = (const guint8 *)pinfo->src.data;
adr_prefix =
((addr[0]<<24) |
(addr[1]<<16) |
(addr[2]<<8) |
addr[3] );
/* according to ICAO doc9507 Ed2 SV5 */
/* clause 5.4.3.8.1.5 and 5.4.3.8.1.3 */
/* mobile addresses contain "c1" of "41" */
/* in the VER subfield of the NSAP */
if((adr_prefix == 0x470027c1) ||
(adr_prefix == 0x47002741)) {
/* ICAO doc9507 Ed2 SV5 5.4.3.8.4.4 */
/* states that the ARS subfield containes */
/* the 24-bitaddress of the aircraft */
ars = ((addr[8])<<16) |
((addr[9])<<8) |
(addr[10]);
}
/* try destination address */
/* if the src address originates */
/* from an aircraft it's downlink */
/* convert addr into 32-bit integer */
addr = (const guint8 *)pinfo->dst.data;
adr_prefix = ((addr[0]<<24) |
(addr[1]<<16) |
(addr[2]<<8) |
addr[3] );
/* according to ICAO doc9507 Ed2 SV5 */
/* clause 5.4.3.8.1.5 and 5.4.3.8.1.3 */
/* mobile addresses contain "c1" of "41" */
/* in the VER subfield of the NSAP */
if((adr_prefix == 0x470027c1) ||
(adr_prefix == 0x47002741)) {
/* ICAO doc9507 Ed2 SV5 5.4.3.8.4.4 */
/* states that the ARS subfield containes */
/* the 24-bitaddress of the aircraft */
ars = ((addr[8])<<16) |
((addr[9])<<8) |
(addr[10]);
}
return ars;
}
/* determine whether a PDU is uplink or downlink */
/* by checking for known aircraft address prefices*/
int check_heur_msg_type(packet_info *pinfo _U_)
{
int t = no_msg;
const guint8* addr = NULL;
guint32 adr_prefix =0;
/* check NSAP address type*/
if( (pinfo->src.type != get_osi_address_type()) || (pinfo->dst.type != get_osi_address_type())) {
return t; }
/* check NSAP address length; 20 octets address length required */
if( (pinfo->src.len != 20) || (pinfo->dst.len != 20)) {
return t; }
addr = (const guint8 *)pinfo->src.data;
/* convert address to 32-bit integer */
adr_prefix = ((addr[0]<<24) | (addr[1]<<16) | (addr[2]<<8) | addr[3] );
/* According to the published ATN NSAP adddressing scheme */
/* in ICAO doc9705 Ed2 SV5 5.4.3.8.1.3 and 5.4.3.8.1.5 */
/* the "VER" field shall be 0x41 ("all Mobile AINSC") or */
/* 0xc1 ("all Mobile ATSC") for mobile stations (aka aircraft).*/
if((adr_prefix == 0x470027c1) || (adr_prefix == 0x47002741)) {
t = dm; /* source is an aircraft: it's a downlink PDU */
}
addr = (const guint8 *)pinfo->dst.data;
/* convert address to 32-bit integer */
adr_prefix = ((addr[0]<<24) | (addr[1]<<16) | (addr[2]<<8) | addr[3] );
/* According to the published ATN NSAP adddressing scheme */
/* in ICAO doc9705 Ed2 SV5 5.4.3.8.1.3 and 5.4.3.8.1.5 */
/* the "VER" field shall be 0x41 ("all Mobile AINSC") or */
/* 0xc1 ("all Mobile ATSC") for mobile stations (aka aircraft).*/
if((adr_prefix == 0x470027c1) || (adr_prefix == 0x47002741)) {
t = um; /* destination is aircraft: uplink PDU */
}
return t;
}
/* conversation may be used by other dissectors */
wmem_tree_t *get_atn_conversation_tree(void){
return atn_conversation_tree;
}
/* find a atn conversation tree node by an endpoint */
/* an endpoint is identified by atn src and dst addresses */
/* and srcref or dstref (depends on the transport packet type) */
/* IMHO it's a hack - conversations should be maintained */
/* at transport layer (cotp) but this isn't working yet. */
atn_conversation_t * find_atn_conversation(
address *address1,
guint16 clnp_ref1,
address *address2 )
{
atn_conversation_t *cv = NULL;
guint32 key = 0;
guint32 tmp = 0;
tmp = add_address_to_hash( tmp, address1);
key = (tmp << 16) | clnp_ref1 ;
tmp = add_address_to_hash( tmp, address2);
key = (tmp << 24) | key ;
/* search for atn conversation */
cv = (atn_conversation_t *)
wmem_tree_lookup32(get_atn_conversation_tree(),key);
return cv;
}
/* create a atn conversation tree node */
/* conversation data is to be allocated externally */
/* a conversation may be referenced from both endpoints */
atn_conversation_t * create_atn_conversation(
address *address1,
guint16 clnp_ref1,
address *address2,
atn_conversation_t *conversation)
{
atn_conversation_t *cv = NULL;
guint32 key = 0;
guint32 tmp = 0;
tmp = add_address_to_hash( tmp, address1);
key = (tmp << 16) | clnp_ref1 ;
tmp = add_address_to_hash( tmp, address2);
key = (tmp << 24) | key ;
/* search for aircraft entry */
cv = (atn_conversation_t *)
wmem_tree_lookup32(
get_atn_conversation_tree(),
key);
/* tree node already present */
if(cv) {
return NULL; }
/* insert conversation data in tree*/
wmem_tree_insert32(
get_atn_conversation_tree(),
key,
(void*)conversation);
return conversation;
}
static int
dissect_atn_ulcs(
tvbuff_t *tvb,
packet_info *pinfo,
proto_tree *tree,
void *data _U_)
{
int offset = 0;
proto_item *ti = NULL;
proto_tree *atn_ulcs_tree = NULL;
guint8 value_pres = 0;
guint8 value_ses = 0;
guint16 value_ses_pres = 0;
root_tree = tree;
/* data pointer */
/* decode as PDV-list */
if ( (int)(intptr_t) data == FALSE )
{
ti = proto_tree_add_item(
tree,
proto_atn_ulcs,
tvb,
0,
0 ,
ENC_NA);
atn_ulcs_tree = proto_item_add_subtree(
ti,
ett_atn_ulcs);
dissect_Fully_encoded_data_PDU(
tvb,
pinfo,
atn_ulcs_tree, NULL);
return offset +
tvb_reported_length_remaining(tvb, offset ) ;
}
/* decode as SPDU, PPDU and ACSE PDU */
if ( (int)(intptr_t) data == TRUE )
{
/* get session and presentation PDU's */
value_ses_pres = tvb_get_ntohs(tvb, offset);
/* SPDU: dissect session layer */
atn_ulcs_tree = proto_tree_add_subtree(
tree, tvb, offset, 0,
ett_atn_ses, NULL, ATN_SES_PROTO );
/* get SPDU (1 octet) */
value_ses = tvb_get_guint8(tvb, offset);
/* SPDU type/identifier */
proto_tree_add_item(atn_ulcs_tree,
hf_atn_ses_type,
tvb,
offset,
1,
ENC_BIG_ENDIAN );
/* SPDU parameters may be present in Short Refuse */
/* or Short Refuse Continue SPDU's */
switch(value_ses & SES_PDU_TYPE_MASK){
case SES_ATN_SRF:
case SES_ATN_SRFC:
/* SPDU parameter presence */
proto_tree_add_item(atn_ulcs_tree,
hf_atn_ses_param_ind,
tvb,
offset,
1,
ENC_BIG_ENDIAN );
/* parameter B2 */
proto_tree_add_item(atn_ulcs_tree,
hf_atn_ses_param_b2,
tvb,
offset,
1,
ENC_BIG_ENDIAN );
/* parameter B1 */
proto_tree_add_item(atn_ulcs_tree,
hf_atn_ses_param_b1,
tvb,
offset,
1,
ENC_BIG_ENDIAN );
break;
default:
break;
}
offset++;
/* PPDU: dissect presentation layer */
atn_ulcs_tree = proto_tree_add_subtree(
tree, tvb, offset, 0,
ett_atn_pres, NULL, ATN_PRES_PROTO );
value_pres = tvb_get_guint8(tvb, offset);
/* need session context to identify PPDU type */
/* note: */
proto_tree_add_uint_format(atn_ulcs_tree, hf_atn_pres_pdu_type,
tvb,
offset,
1,
value_ses_pres,
"%s (0x%02x)",
val_to_str_const( value_ses_pres & ATN_SES_PRES_MASK, atn_pres_vals, "?"),
value_pres);
/* PPDU errorcode in case of SRF/CPR */
switch(value_ses & SES_PDU_TYPE_MASK){
case SES_ATN_SRF:
case SES_ATN_SRFC:
proto_tree_add_item(
atn_ulcs_tree,
hf_atn_pres_err,
tvb,
offset,
1,
ENC_BIG_ENDIAN );
break;
default:
break;
}
offset++;
/* ACSE PDU: dissect application layer */
atn_ulcs_tree = proto_tree_add_subtree(
tree, tvb, offset, 0,
ett_atn_acse, NULL, ATN_ACSE_PROTO );
dissect_ACSE_apdu_PDU(
tvb_new_subset_remaining(tvb, offset),
pinfo,
atn_ulcs_tree, NULL);
return offset +
tvb_reported_length_remaining(tvb, offset );
}
return offset;
}
static gboolean dissect_atn_ulcs_heur(
tvbuff_t *tvb,
packet_info *pinfo,
proto_tree *tree,
void *data _U_)
{
/* do we have enough data*/
/* at least session + presentation data or pdv-list */
if (tvb_captured_length(tvb) < 2){
return FALSE; }
/* check for session/presentation/ACSE PDU's */
/* SPDU and PPDU are one octet each */
switch( tvb_get_ntohs(tvb, 0) & 0xf8ff ){
case 0xe802: /* SCN + CP*/
case 0xf802: /* SCNC + CP */
case 0xf002: /* SAC + CPA */
case 0xd802: /* SACC + CPA */
case 0xe002: /* SRF + CPR + R0 */
case 0xe012: /* SRF + CPR + R1 */
case 0xe022: /* SRF + CPR + R2 */
case 0xe032: /* SRF + CPR + R3 */
case 0xe042: /* SRF + CPR + R4 */
case 0xe052: /* SRF + CPR + R5 */
case 0xe062: /* SRF + CPR + R6 */
case 0xe072: /* SRF + CPR + R7 */
case 0xa002: /* SRFC + CPR + R0*/
case 0xa012: /* SRFC + CPR + R1*/
case 0xa022: /* SRFC + CPR + R2*/
case 0xa032: /* SRFC + CPR + R3*/
case 0xa042: /* SRFC + CPR + R4*/
case 0xa052: /* SRFC + CPR + R5*/
case 0xa062: /* SRFC + CPR + R6*/
case 0xa072: /* SRFC + CPR + R7*/
/* indicate to dissector routine */
/* that a least SPDU, PPDU and */
/* ACSE PDU is present */
dissect_atn_ulcs(
tvb,
pinfo,
tree,
(void*) TRUE);
return TRUE;
default: /* no SPDU */
break;
}
/* try to detect "Fully-encoded-data" heuristically */
/* the constants listed match the ASN.1 PER encoding */
/* of PDV-List */
switch( tvb_get_ntohs(tvb, 0) & 0xfff0 ){
case 0x0020: /* acse-apdu */
case 0x00a0: /* user-ase-apdu */
/* indicate to dissector routine */
/* that a PDV-list PDU is present */
/* */
/* PDV-list PDU may contain */
/* application protocol data (CM, CPDLC) */
/* or an ACSE PDU */
dissect_atn_ulcs(tvb, pinfo, tree, (void*) FALSE);
return TRUE;
break;
default: /* no or unsupported PDU */
break;
}
return FALSE;
}
void proto_register_atn_ulcs (void)
{
static hf_register_info hf_atn_ulcs[] = {
#include "packet-atn-ulcs-hfarr.c"
{&hf_atn_ses_type,
{ "SPDU Type",
"atn-ulcs.ses.type",
FT_UINT8,
BASE_HEX,
VALS(atn_ses_type),
0xf8,
"Indicates presence of session parameters",
HFILL}},
{&hf_atn_ses_param_ind,
{ "SPDU Parameter Indication",
"atn-ulcs.ses.parameter-indication",
FT_UINT8,
BASE_HEX,
VALS(atn_ses_param_ind),
SES_PARAM_IND_MASK,
"Indicates presence of session parameters",
HFILL}},
{&hf_atn_ses_param_b1,
{ "SRF Parameter B1",
"atn-ulcs.ses.srf-b1",
FT_UINT8,
BASE_HEX,
VALS(srf_b1),
0x01,
"Determines if transport connection reject is transient or persistent",
HFILL}},
{&hf_atn_ses_param_b2,
{ "SRF Parameter B2",
"atn-ulcs.ses.srf-b2",
FT_UINT8,
BASE_HEX,
VALS(srf_b2),
0x02,
"Determines if transport connection is retained or released",
HFILL}},
{ &hf_atn_pres_err,
{ "Error Code", "atn-ulcs.pres.cpr-error",
FT_UINT8,
BASE_HEX,
VALS(atn_pres_err),
PRES_CPR_ER_MASK,
NULL,
HFILL}},
{ &hf_atn_pres_pdu_type,
{ "PDU type", "atn-ulcs.pres.pdu_type",
FT_UINT16,
BASE_HEX,
NULL,
ATN_SES_PRES_MASK,
NULL,
HFILL}},
};
static gint *ett[] = {
#include "packet-atn-ulcs-ettarr.c"
&ett_atn_ses,
&ett_atn_pres,
&ett_atn_acse,
&ett_atn_ulcs
};
proto_atn_ulcs = proto_register_protocol (
ATN_ULCS_PROTO ,
"ATN-ULCS",
"atn-ulcs");
proto_register_field_array (
proto_atn_ulcs,
hf_atn_ulcs,
array_length(hf_atn_ulcs));
proto_register_subtree_array (
ett,
array_length (ett));
register_dissector(
"atn-ulcs",
dissect_atn_ulcs,
proto_atn_ulcs);
/* initiate sub dissector list */
atn_ulcs_heur_subdissector_list = register_heur_dissector_list("atn-ulcs", proto_atn_ulcs);
/* init aare/aare data */
aarq_data_tree = wmem_tree_new_autoreset(wmem_epan_scope(), wmem_file_scope());
atn_conversation_tree = wmem_tree_new_autoreset(wmem_epan_scope(), wmem_file_scope());
}
void proto_reg_handoff_atn_ulcs(void)
{
atn_cm_handle = find_dissector_add_dependency("atn-cm", proto_atn_ulcs);
atn_cpdlc_handle = find_dissector_add_dependency("atn-cpdlc", proto_atn_ulcs);
/* add session dissector to cotp dissector list dissector list*/
heur_dissector_add(
"cotp",
dissect_atn_ulcs_heur,
"ATN-ULCS over COTP",
"atn-ucls_cotp",
proto_atn_ulcs, HEURISTIC_ENABLE);
}
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local variables:
* c-basic-offset: 4
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* vi: set shiftwidth=4 tabstop=8 expandtab:
* :indentSize=4:tabSize=8:noTabs=true:
*/ |
C/C++ | wireshark/epan/dissectors/asn1/atn-ulcs/packet-atn-ulcs-template.h | /* packet-atn-ulcs.h
* Definitions for atn packet disassembly structures and routines
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_ATN_ULCS_H
#define PACKET_ATN_ULCS_H
#include "packet.h"
#include <epan/wmem_scopes.h>
enum msg_type {
um,
dm,
no_msg
};
enum ae_qualifier {
ads = 0,
cma =1, /* contact management (CM) */
cpdlc = 2, /* "plain old" CPDLC */
ati = 3 ,
arf =10 ,
met =11,
gac =12,
pmcpdlc =22, /* "protected mode" CPDLC */
unknown = -1
};
typedef struct atn_conversation_t {
gint ae_qualifier; /* A/G application type */
} atn_conversation_t;
atn_conversation_t * create_atn_conversation(
address*,
guint16,
address*,
atn_conversation_t*);
atn_conversation_t * find_atn_conversation(
address*,
guint16,
address*);
/* struct for conversation data reconstruction used in AARQ and AARE */
/* if transport data is larger than 32 octets AARQ/AARE is contained */
/* within DT frames which have only dest_ref, but no src_ref */
/* if AARQ/AARQ is contained within CR/CC only src_ref is present in CR */
/* while CC provides src_ref and dstref */
typedef struct aarq_data_t {
gboolean aarq_pending; /* flag tells whether AARQ/sequence is pending (true) */
/* required not to mix up different AARQ/AARE sequences */
/* during simoultanous establishment of transport connections */
/* i.e. GND facility initialises cpcstart and cmcontact at the same time */
atn_conversation_t* cv; /* pointer to AARQ conversation */
} aarq_data_t;
wmem_tree_t *get_atn_conversation_tree(void);
guint32 get_aircraft_24_bit_address_from_nsap(packet_info *);
int check_heur_msg_type(packet_info *);
#endif
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local variables:
* c-basic-offset: 4
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* vi: set shiftwidth=4 tabstop=8 expandtab:
* :indentSize=4:tabSize=8:noTabs=true:
*/ |
ASN.1 | wireshark/epan/dissectors/asn1/c1222/c1222.asn | -- C1222 PROTOCOL
--
C1222-PROTOCOL DEFINITIONS ::=
BEGIN
MESSAGE ::= [APPLICATION 0] IMPLICIT SEQUENCE {
aSO-context [1] ASO-qualifier OPTIONAL,
called-AP-title [2] Called-AP-title OPTIONAL,
called-AP-invocation-id [4] Called-AP-invocation-id OPTIONAL,
calling-AP-title [6] Calling-AP-title OPTIONAL,
calling-AE-qualifier [7] Calling-AE-qualifier OPTIONAL,
calling-AP-invocation-id [8] Calling-AP-invocation-id,
mechanism-name [11] IMPLICIT Mechanism-name OPTIONAL,
calling-authentication-value [12] Calling-authentication-value OPTIONAL,
user-information [30] User-information
}
ASO-qualifier ::= OBJECT IDENTIFIER
Called-AP-title ::= CHOICE {
called-ap-title-abs OBJECT IDENTIFIER,
called-ap-title-rel [0] IMPLICIT RELATIVE-OID
}
Calling-AP-title ::= CHOICE {
calling-ap-title-abs OBJECT IDENTIFIER,
calling-ap-title-rel [0] IMPLICIT RELATIVE-OID
}
AP-invocation-id ::= INTEGER
Called-AP-invocation-id ::= AP-invocation-id
Calling-AP-invocation-id ::= AP-invocation-id
AE-qualifier ::= INTEGER
Calling-AE-qualifier ::= AE-qualifier
Mechanism-name ::= OBJECT IDENTIFIER
-- this is all of the authentication mechanism related stuff
Calling-authentication-value ::= [2] IMPLICIT SEQUENCE {
calling-authentication-value-indirect INTEGER DEFAULT 0,
calling-authentication-value-encoding Authentication-value-encoding
}
Authentication-value-encoding ::= CHOICE {
calling-authentication-value-single-asn1 [0] Calling-authentication-value-single-asn1,
calling-authentication-value-octet-aligned [1] IMPLICIT OCTET STRING
}
Calling-authentication-value-single-asn1 ::= CHOICE {
calling-authentication-value-c1222 Calling-authentication-value-c1222,
calling-authentication-value-c1221 Calling-authentication-value-c1221
}
Calling-authentication-value-c1222 ::= [1] IMPLICIT SEQUENCE {
key-id-element [0] IMPLICIT Key-id-element OPTIONAL,
iv-element [1] IMPLICIT Iv-element OPTIONAL
}
Key-id-element ::= OCTET STRING (SIZE(1))
Iv-element ::= OCTET STRING (SIZE(4))
Calling-authentication-value-c1221 ::= [0] IMPLICIT CHOICE {
c1221-auth-identification [0] IMPLICIT OCTET STRING (SIZE(3|5..259)),
c1221-auth-request [1] IMPLICIT OCTET STRING (SIZE(1..255)),
c1221-auth-response [2] IMPLICIT OCTET STRING (SIZE(0|1..255)),
...
}
-- now the user information (EPSEM)
User-information ::= EXTERNAL
--User-information EPSEM-TYPE ::= { ... }
--EPSEM-TYPE ::= CLASS {
-- &direct-reference OBJECT IDENTIFIER OPTIONAL,
-- &octet-aligned [1] IMPLICIT OCTET STRING
--}
END |
Configuration | wireshark/epan/dissectors/asn1/c1222/c1222.cnf | # c1222.cnf
# C1222 conformation file
# Copyright 2010, Edward J. Beroset, [email protected]
#.MODULE_IMPORT
IMPORT ../acse/acse.inf
#.EXPORTS
#.PDU
MESSAGE
#.NO_EMIT
#.TYPE_RENAME
#.FIELD_RENAME
#.TYPE_ATTR
Calling-authentication-value-c1222/_untag/iv-element BLURB="c1222.iv-element"
Calling-authentication-value-c1222/_untag/key-id-element BLURB = "c1222.key-id-element"
AP-invocation-id TYPE=FT_UINT32
AE-qualifier TYPE=FT_UINT32
#.FN_BODY User-information
gint8 end_device_class;
bool pc, ind;
gint32 tag;
guint32 len;
proto_item *tf = NULL;
proto_tree *epsem_tree = NULL;
FILL_START;
/* get Tag and Length */
offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &end_device_class, &pc, &tag);
offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind);
FILL_TABLE_TRUNCATE(user_information, len+offset-start_offset);
if (tag == 0x8) { /* BER_TAG_EXTERNAL */
offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &end_device_class, &pc, &tag);
offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind);
if (tag == 0x1) { /* implicit octet string */
tf = proto_tree_add_item(tree, hf_c1222_user_information, tvb, offset, len, ENC_NA);
epsem_tree = proto_item_add_subtree(tf, ett_c1222_epsem);
dissect_epsem(tvb, offset, len, actx->pinfo, epsem_tree);
offset += len;
}
}
#.FN_BODY ASO-qualifier
FILL_START;
%(DEFAULT_BODY)s
FILL_TABLE(aSO_context);
#.FN_BODY Called-AP-title
FILL_START;
%(DEFAULT_BODY)s
FILL_TABLE_APTITLE(called_AP_title);
#.FN_BODY Called-AP-invocation-id
FILL_START;
%(DEFAULT_BODY)s
FILL_TABLE(called_AP_invocation_id);
#.FN_BODY Calling-AE-qualifier
FILL_START;
%(DEFAULT_BODY)s
FILL_TABLE(calling_AE_qualifier);
#.FN_BODY Calling-AP-invocation-id
FILL_START;
%(DEFAULT_BODY)s
FILL_TABLE(calling_AP_invocation_id);
#.FN_BODY Mechanism-name
FILL_START;
%(DEFAULT_BODY)s
FILL_TABLE(mechanism_name);
#.FN_BODY Calling-authentication-value
FILL_START;
%(DEFAULT_BODY)s
FILL_TABLE(calling_authentication_value);
#.FN_BODY Calling-AP-title
FILL_START;
%(DEFAULT_BODY)s
FILL_TABLE_APTITLE(calling_AP_title);
#.FN_BODY Key-id-element
FILL_START;
%(DEFAULT_BODY)s
FILL_TABLE(key_id_element);
#.FN_BODY Iv-element
FILL_START;
%(DEFAULT_BODY)s
FILL_TABLE(iv_element);
#.FN_BODY MESSAGE
clear_canon();
%(DEFAULT_BODY)s
#.END
#
# Editor modelines - https://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 2
# tab-width: 8
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=2 tabstop=8 expandtab:
# :indentSize=2:tabSize=8:noTabs=true:
# |
Text | wireshark/epan/dissectors/asn1/c1222/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME c1222 )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/c1222/packet-c1222-template.c | /* packet-c1222.c
* Routines for ANSI C12.22 packet dissection
* Copyright 2010, Edward J. Beroset, [email protected]
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/conversation.h>
#include <epan/expert.h>
#include <epan/prefs.h>
#include <epan/strutil.h>
#include <epan/uat.h>
#include <epan/oids.h>
#include <wsutil/eax.h>
#include "packet-ber.h"
#include "packet-tcp.h"
#include "packet-c1222.h"
#define PNAME "ANSI C12.22"
#define PSNAME "C12.22"
#define PFNAME "c1222"
#define C1222_PORT 1153 /* TCP port */
/* C12.22 flag definitions */
#define C1222_EPSEM_FLAG_RESERVED 0x80
#define C1222_EPSEM_FLAG_RECOVERY_SESSION 0x40
#define C1222_EPSEM_FLAG_PROXY_SERVICE_USED 0x20
#define C1222_EPSEM_FLAG_ED_CLASS_INCLUDED 0x10
#define C1222_EPSEM_FLAG_SECURITY_MODE 0x0c
#define C1222_EPSEM_FLAG_RESPONSE_CONTROL 0x03
#define C1222_PROCEDURE_RESPONSE 0xf000
#define C1222_PROCEDURE_MFG 0x800
#define C1222_PROCEDURE_NUMBER 0x7ff
/* if the packet is encrypted, it can be
* good, bad, or simply not checked
*/
#define C1222_EPSEM_CRYPTO_GOOD 0x01
#define C1222_EPSEM_CRYPTO_BAD 0x02
/* these defines are for each of the C12.22 services */
#define C1222_CMD_IDENTIFY 0x20
#define C1222_CMD_TERMINATE 0x21
#define C1222_CMD_DISCONNECT 0x22
#define C1222_CMD_FULL_READ 0x30
#define C1222_CMD_DEFAULT_READ 0x3E
#define C1222_CMD_PARTIAL_READ_OFFSET 0x3F
#define C1222_CMD_FULL_WRITE 0x40
#define C1222_CMD_DEFAULT_WRITE 0x4E
#define C1222_CMD_PARTIAL_WRITE_OFFSET 0x4F
#define C1222_CMD_LOGON 0x50
#define C1222_CMD_SECURITY 0x51
#define C1222_CMD_LOGOFF 0x52
#define C1222_CMD_AUTHENTICATE 0x53
#define C1222_CMD_NEGOTIATE 0x60
#define C1222_CMD_WAIT 0x70
#define C1222_CMD_TIMING_SETUP 0x71
void proto_register_c1222(void);
static dissector_handle_t c1222_handle=NULL;
static dissector_handle_t c1222_udp_handle=NULL;
/* Initialize the protocol and registered fields */
static int proto_c1222 = -1;
#include "packet-c1222-hf.c"
/* These are the EPSEM pieces */
/* first, the flag components */
static int hf_c1222_epsem_flags = -1;
static int hf_c1222_epsem_flags_reserved = -1;
static int hf_c1222_epsem_flags_recovery = -1;
static int hf_c1222_epsem_flags_proxy = -1;
static int hf_c1222_epsem_flags_ed_class = -1;
static int hf_c1222_epsem_flags_security_modes = -1;
static int hf_c1222_epsem_flags_response_control = -1;
/* and the structure of the flag components */
static int * const c1222_flags[] = {
&hf_c1222_epsem_flags_reserved,
&hf_c1222_epsem_flags_recovery,
&hf_c1222_epsem_flags_proxy,
&hf_c1222_epsem_flags_ed_class,
&hf_c1222_epsem_flags_security_modes,
&hf_c1222_epsem_flags_response_control,
NULL
};
/* next the optional ed_class */
static int hf_c1222_epsem_ed_class = -1;
/* now the aggregate epsem */
static int hf_c1222_epsem_total = -1;
/* generic command */
static int hf_c1222_cmd = -1;
static int hf_c1222_err = -1;
static int hf_c1222_data = -1;
/* individual epsem fields */
static int hf_c1222_logon_id = -1;
static int hf_c1222_logon_user = -1;
static int hf_c1222_security_password = -1;
static int hf_c1222_auth_len = -1;
static int hf_c1222_auth_data = -1;
static int hf_c1222_read_table = -1;
static int hf_c1222_read_offset = -1;
static int hf_c1222_read_count = -1;
static int hf_c1222_write_table = -1;
static int hf_c1222_write_offset = -1;
static int hf_c1222_write_size = -1;
static int hf_c1222_write_data = -1;
static int hf_c1222_procedure_response = -1;
static int hf_c1222_procedure_mfg = -1;
static int hf_c1222_procedure_num = -1;
static int hf_c1222_procedure_sequence = -1;
static int hf_c1222_write_chksum = -1;
static int hf_c1222_write_chksum_status = -1;
static int hf_c1222_wait_secs = -1;
static int hf_c1222_neg_pkt_size = -1;
static int hf_c1222_neg_nbr_pkts = -1;
static int hf_c1222_timing_setup_traffic = -1;
static int hf_c1222_timing_setup_inter_char = -1;
static int hf_c1222_timing_setup_resp_to = -1;
static int hf_c1222_timing_setup_nbr_retries = -1;
/* the MAC */
static int hf_c1222_epsem_mac = -1;
/* crypto result flags */
static int hf_c1222_epsem_crypto_good = -1;
static int hf_c1222_epsem_crypto_bad = -1;
/* Initialize the subtree pointers */
static int ett_c1222 = -1;
static int ett_c1222_epsem = -1;
static int ett_c1222_flags = -1;
static int ett_c1222_crypto = -1;
static int ett_c1222_cmd = -1;
/* these pointers are for the header elements that may be needed to verify the crypto */
static guint8 *aSO_context = NULL;
static guint8 *called_AP_title = NULL;
static guint8 *called_AP_invocation_id = NULL;
static guint8 *calling_AE_qualifier = NULL;
static guint8 *calling_AP_invocation_id = NULL;
static guint8 *mechanism_name = NULL;
static guint8 *calling_authentication_value = NULL;
static guint8 *user_information = NULL;
static guint8 *calling_AP_title = NULL;
static guint8 *key_id_element = NULL;
static guint8 *iv_element = NULL;
/* these are the related lengths */
static guint32 aSO_context_len = 0;
static guint32 called_AP_title_len = 0;
static guint32 called_AP_invocation_id_len = 0;
static guint32 calling_AE_qualifier_len = 0;
static guint32 calling_AP_invocation_id_len = 0;
static guint32 mechanism_name_len = 0;
static guint32 calling_authentication_value_len = 0;
static guint32 user_information_len = 0;
static guint32 calling_AP_title_len = 0;
static guint32 key_id_element_len = 0;
static guint32 iv_element_len = 0;
/* these are the related allocation sizes (which might be different from the lengths) */
static guint32 aSO_context_allocated = 0;
static guint32 called_AP_title_allocated = 0;
static guint32 called_AP_invocation_id_allocated = 0;
static guint32 calling_AE_qualifier_allocated = 0;
static guint32 calling_AP_invocation_id_allocated = 0;
static guint32 mechanism_name_allocated = 0;
static guint32 calling_authentication_value_allocated = 0;
static guint32 user_information_allocated = 0;
static guint32 calling_AP_title_allocated = 0;
static guint32 key_id_element_allocated = 0;
static guint32 iv_element_allocated = 0;
#include "packet-c1222-ett.c"
static expert_field ei_c1222_command_truncated = EI_INIT;
static expert_field ei_c1222_bad_checksum = EI_INIT;
static expert_field ei_c1222_epsem_missing = EI_INIT;
static expert_field ei_c1222_epsem_failed_authentication = EI_INIT;
static expert_field ei_c1222_epsem_not_decrypted = EI_INIT;
static expert_field ei_c1222_ed_class_missing = EI_INIT;
static expert_field ei_c1222_epsem_ber_length_error = EI_INIT;
static expert_field ei_c1222_epsem_field_length_error = EI_INIT;
static expert_field ei_c1222_mac_missing = EI_INIT;
/* Preferences */
static gboolean c1222_desegment = TRUE;
static gboolean c1222_decrypt = TRUE;
static gboolean c1222_big_endian = FALSE;
static const gchar *c1222_baseoid_str = NULL;
static guint8 *c1222_baseoid = NULL;
static guint c1222_baseoid_len = 0;
/*------------------------------
* Data Structures
*------------------------------
*/
static const value_string c1222_security_modes[] = {
{ 0x00, "Cleartext"},
{ 0x01, "Cleartext with authentication"},
{ 0x02, "Ciphertext with authentication"},
{ 0, NULL }
};
static const value_string c1222_response_control[] = {
{ 0x00, "Always respond"},
{ 0x01, "Respond on exception"},
{ 0x02, "Never respond"},
{ 0, NULL }
};
static const value_string tableflags[] = {
{ 0x00, "ST" },
{ 0x08, "MT" },
{ 0x10, "Pending ST" },
{ 0x18, "Pending MT" },
{ 0x20, "UDT" },
{ 0x30, "Pending UDT" },
{ 0, NULL }
};
static const value_string procflags[] = {
{ 0x00, "SF" },
{ 0x08, "MF" },
{ 0, NULL }
};
static const value_string c1222_proc_response_control[] = {
{ 0x00, "Post response in ST-8 on completion" },
{ 0x01, "Post response in ST-8 on exception" },
{ 0x02, "Do not post response in ST-8" },
{ 0x03, "Post response in ST-8 now, and on completion" },
{ 0, NULL }
};
static const value_string commandnames[] = {
/* error codes are in the range 0x00 - 0x1f inclusive */
{ 0x00, "OK" },
{ 0x01, "Error" },
{ 0x02, "Service Not Supported" },
{ 0x03, "Insufficient Security Clearance" },
{ 0x04, "Operation Not Possible" },
{ 0x05, "Inappropriate Action Requested" },
{ 0x06, "Device Busy" },
{ 0x07, "Data Not Ready" },
{ 0x08, "Data Locked" },
{ 0x09, "Renegotiate Request" },
{ 0x0A, "Invalid Service Sequence State" },
{ 0x0B, "Security Mechanism Error" },
{ 0x0C, "Unknown Application Title" },
{ 0x0D, "Network Time-out" },
{ 0x0E, "Network Not Reachable" },
{ 0x0F, "Request Too Large" },
{ 0x10, "Response Too Large" },
{ 0x11, "Segmentation Not Possible" },
{ 0x12, "Segmentation Error" },
/* commands are in the range 0x20 - 0x7f inclusive */
{C1222_CMD_IDENTIFY, "Identify" },
{C1222_CMD_TERMINATE, "Terminate" },
{C1222_CMD_DISCONNECT, "Disconnect" },
{C1222_CMD_FULL_READ, "Full Read" },
{C1222_CMD_DEFAULT_READ, "Default Read" },
{C1222_CMD_PARTIAL_READ_OFFSET, "Partial Read Offset" },
{C1222_CMD_FULL_WRITE, "Full Write" },
{C1222_CMD_DEFAULT_WRITE, "Default Write" },
{C1222_CMD_PARTIAL_WRITE_OFFSET, "Partial Write Offset" },
{C1222_CMD_LOGON, "Logon" },
{C1222_CMD_SECURITY, "Security" },
{C1222_CMD_LOGOFF, "Logoff" },
{C1222_CMD_AUTHENTICATE, "Authenticate" },
{C1222_CMD_NEGOTIATE, "Negotiate" },
{C1222_CMD_NEGOTIATE | 0x1, "Negotiate w/ 1 Baud Rate" },
{C1222_CMD_NEGOTIATE | 0x2, "Negotiate w/ 2 Baud Rates" },
{C1222_CMD_NEGOTIATE | 0x3, "Negotiate w/ 3 Baud Rates" },
{C1222_CMD_NEGOTIATE | 0x4, "Negotiate w/ 4 Baud Rates" },
{C1222_CMD_NEGOTIATE | 0x5, "Negotiate w/ 5 Baud Rates" },
{C1222_CMD_NEGOTIATE | 0x6, "Negotiate w/ 6 Baud Rates" },
{C1222_CMD_NEGOTIATE | 0x7, "Negotiate w/ 7 Baud Rates" },
{C1222_CMD_NEGOTIATE | 0x8, "Negotiate w/ 8 Baud Rates" },
{C1222_CMD_NEGOTIATE | 0x9, "Negotiate w/ 9 Baud Rates" },
{C1222_CMD_NEGOTIATE | 0xA, "Negotiate w/ 10 Baud Rates" },
{C1222_CMD_NEGOTIATE | 0xB, "Negotiate w/ 11 Baud Rates" },
{C1222_CMD_WAIT, "Wait" },
{C1222_CMD_TIMING_SETUP, "Timing Setup" },
{ 0, NULL }
};
/* these are for the key tables */
typedef struct _c1222_uat_data {
guint keynum;
guchar *key;
guint keylen;
} c1222_uat_data_t;
UAT_HEX_CB_DEF(c1222_users, keynum, c1222_uat_data_t)
UAT_BUFFER_CB_DEF(c1222_users, key, c1222_uat_data_t, key, keylen)
static c1222_uat_data_t *c1222_uat_data = NULL;
static guint num_c1222_uat_data = 0;
static uat_t *c1222_uat;
/* these macros ares used to populate fields needed to verify crypto */
#define FILL_START int length, start_offset = offset;
#define FILL_TABLE(fieldname) \
length = offset - start_offset; \
fieldname = (guint8 *)tvb_memdup(actx->pinfo->pool, tvb, start_offset, length); \
fieldname##_len = length; \
fieldname##_allocated = length;
#define FILL_TABLE_TRUNCATE(fieldname, len) \
length = 1 + 2*(offset - start_offset); \
fieldname = (guint8 *)tvb_memdup(actx->pinfo->pool, tvb, start_offset, length); \
fieldname##_len = len; \
fieldname##_allocated = length;
#define FILL_TABLE_APTITLE(fieldname) \
length = offset - start_offset; \
switch (tvb_get_guint8(tvb, start_offset)) { \
case 0x80: /* relative OID */ \
tvb_ensure_bytes_exist(tvb, start_offset, length); \
fieldname##_len = length + c1222_baseoid_len; \
fieldname = (guint8 *)wmem_alloc(actx->pinfo->pool, fieldname##_len); \
fieldname##_allocated = fieldname##_len; \
fieldname[0] = 0x06; /* create absolute OID tag */ \
fieldname[1] = (fieldname##_len - 2) & 0xff; \
memcpy(&(fieldname[2]), c1222_baseoid, c1222_baseoid_len); \
tvb_memcpy(tvb, &(fieldname[c1222_baseoid_len+2]), start_offset+2, length-2); \
break; \
case 0x06: /* absolute OID */ \
default: \
fieldname = (guint8 *)tvb_memdup(actx->pinfo->pool, tvb, start_offset, length); \
fieldname##_len = length; \
fieldname##_allocated = length; \
break; \
}
/*------------------------------
* Function Prototypes
*------------------------------
*/
void proto_reg_handoff_c1222(void);
/*------------------------------
* Code
*------------------------------
*/
/**
* Calculates simple one's complement checksum.
*
* \param tvb pointer to tvbuff containing data to be checksummed
* \param offset offset within tvbuff to beginning of data
* \param len length of data to be checksummed
* \returns calculated checksum
*/
static guint8
c1222_cksum(tvbuff_t *tvb, gint offset, int len)
{
guint8 sum;
for (sum = 0; len; offset++, len--)
sum += tvb_get_guint8(tvb, offset);
return ~sum + 1;
}
/**
* Dissects C12.22 packet in detail (with a tree).
*
* \param tvb input buffer containing packet to be dissected
* \param pinfo the packet info of the current data
* \param tree the tree to append this item to
* \param length length of data
* \param offset the offset in the tvb
*/
static void
parse_c1222_detailed(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int cmd, guint32 *length, int *offset)
{
guint16 user_id = 0;
const guint8 *user_name = NULL;
const guint8 *password = NULL;
guint8 auth_len = 0;
gchar *auth_req = NULL;
guint16 table = 0;
guint16 tblsize = 0;
guint16 calcsum = 0;
guint8 wait_seconds = 0;
guint8 proc_seq = 0;
int numrates = 0;
guint16 packet_size;
guint16 procedure_num = 0;
guint8 nbr_packet;
/* timing setup parameters */
guint8 traffic;
guint8 inter_char;
guint8 resp_to;
guint8 nbr_retries;
/* special case to simplify handling of Negotiate service */
if ((cmd & 0xF0) == C1222_CMD_NEGOTIATE) {
numrates = cmd & 0x0F;
cmd = C1222_CMD_NEGOTIATE;
}
proto_tree_add_uint(tree, cmd >= 0x20 ? hf_c1222_cmd : hf_c1222_err, tvb, *offset, 1, cmd);
(*offset)++;
(*length)--;
switch (cmd) {
case C1222_CMD_LOGON:
if (*length >= 12) {
user_id = tvb_get_ntohs(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_logon_id, tvb, *offset, 2, user_id);
*offset += 2;
proto_tree_add_item_ret_string(tree, hf_c1222_logon_user, tvb, *offset, 10, ENC_ASCII|ENC_NA, pinfo->pool, &user_name);
*offset += 10;
*length -= 12;
proto_item_set_text(tree, "C12.22 EPSEM: %s (id %d, user \"%s\")",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"), user_id, user_name);
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 LOGON command truncated");
}
break;
case C1222_CMD_SECURITY:
if (*length >= 20) {
proto_tree_add_item_ret_string(tree, hf_c1222_security_password, tvb, *offset, 20, ENC_ASCII|ENC_NA, pinfo->pool, &password);
*offset += 20;
*length -= 20;
if (*length >= 2) {
user_id = tvb_get_ntohs(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_logon_id, tvb, *offset, 2, user_id);
*offset += 2;
*length -= 2;
proto_item_set_text(tree, "C12.22 EPSEM: %s (password \"%s\", id %d)",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"), password, user_id);
} else {
proto_item_set_text(tree, "C12.22 EPSEM: %s (password \"%s\")",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"), password);
}
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 SECURITY command truncated");
}
break;
case C1222_CMD_AUTHENTICATE:
if (*length >= 1) {
auth_len = tvb_get_guint8(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_auth_len, tvb, *offset, 1, auth_len);
*offset += 1;
if (*length >= auth_len) {
auth_req = tvb_bytes_to_str(pinfo->pool, tvb, *offset, auth_len);
proto_tree_add_item(tree, hf_c1222_auth_data, tvb, *offset, auth_len, ENC_NA);
*offset += auth_len;
*length -= auth_len + 1;
proto_item_set_text(tree, "C12.22 EPSEM: %s (%d bytes: %s)",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"), auth_len, auth_req);
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 AUTHENTICATE command truncated");
}
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 AUTHENTICATE command truncated");
}
break;
case C1222_CMD_FULL_READ:
if (*length >= 2) {
table = tvb_get_ntohs(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_read_table, tvb, *offset, 2, table);
proto_item_set_text(tree, "C12.22 EPSEM: %s (%s-%d)",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"),
val_to_str((table >> 8) & 0xF8, tableflags,"Unknown (0x%04x)"), table & 0x7FF);
*offset += 2;
*length -= 2;
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 READ command truncated");
}
break;
case C1222_CMD_PARTIAL_READ_OFFSET:
if (*length >= 7) {
table = tvb_get_ntohs(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_read_table, tvb, *offset, 2, table);
*offset += 2;
*length -= 2;
proto_tree_add_item(tree, hf_c1222_read_offset, tvb, *offset, 3, ENC_BIG_ENDIAN);
*offset += 3;
*length -= 3;
proto_tree_add_item(tree, hf_c1222_read_count, tvb, *offset, 2, ENC_BIG_ENDIAN);
*offset += 2;
*length -= 2;
proto_item_set_text(tree, "C12.22 EPSEM: %s (%s-%d)",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"),
val_to_str((table >> 8) & 0xF8, tableflags,"Unknown (0x%04x)"), table & 0x7FF);
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 READ command truncated");
}
break;
case C1222_CMD_FULL_WRITE:
if (*length >= 5) {
table = tvb_get_ntohs(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_write_table, tvb, *offset, 2, table);
*offset += 2;
*length -= 2;
tblsize = tvb_get_ntohs(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_write_size, tvb, *offset, 2, tblsize);
*offset += 2;
*length -= 2;
if (*length >= tblsize+1U) {
if (table == 7) {/* is it a procedure call? */
procedure_num = tvb_get_guint16(tvb, *offset, c1222_big_endian ? ENC_BIG_ENDIAN : ENC_LITTLE_ENDIAN);
proto_tree_add_uint(tree, hf_c1222_procedure_response, tvb, *offset, 2, procedure_num);
proto_tree_add_uint(tree, hf_c1222_procedure_mfg, tvb, *offset, 2, procedure_num);
proto_tree_add_uint(tree, hf_c1222_procedure_num, tvb, *offset, 2, procedure_num);
*offset += 2;
*length -= 2;
proc_seq = tvb_get_guint8(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_procedure_sequence, tvb, *offset, 1, proc_seq);
*offset += 1;
*length -= 1;
tblsize -= 3;
}
proto_tree_add_item(tree, hf_c1222_write_data, tvb, *offset, tblsize, ENC_NA);
*offset += tblsize;
*length -= tblsize;
if (table == 7) {/* is it a procedure call? */
calcsum = c1222_cksum(tvb, (*offset)-tblsize-3, tblsize+3);
} else {
calcsum = c1222_cksum(tvb, (*offset)-tblsize, tblsize);
}
proto_tree_add_checksum(tree, tvb, *offset, hf_c1222_write_chksum, hf_c1222_write_chksum_status,
&ei_c1222_bad_checksum, pinfo, calcsum, ENC_NA, PROTO_CHECKSUM_VERIFY);
if (table == 7) {/* is it a procedure call? */
proto_item_set_text(tree, "C12.22 EPSEM: %s (%s-%d, %s-%d)",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"),
val_to_str((table >> 8) & 0xF8, tableflags,"Unknown (0x%04x)"), table & 0x7FF,
val_to_str((procedure_num >> 8) & 0x08, procflags,"Unknown (0x%04x)"), procedure_num & 0x7FF);
} else {
proto_item_set_text(tree, "C12.22 EPSEM: %s (%s-%d)",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"),
val_to_str((table >> 8) & 0xF8, tableflags,"Unknown (0x%04x)"), table & 0x7FF);
}
*offset += 1;
*length -= 1;
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 WRITE command truncated");
}
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 WRITE command truncated");
}
break;
case C1222_CMD_PARTIAL_WRITE_OFFSET:
if (*length >= 8) {
table = tvb_get_ntohs(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_write_table, tvb, *offset, 2, table);
*offset += 2;
*length -= 2;
proto_tree_add_item(tree, hf_c1222_write_offset, tvb, *offset, 3, ENC_BIG_ENDIAN);
*offset += 3;
*length -= 3;
tblsize = tvb_get_ntohs(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_write_size, tvb, *offset, 2, tblsize);
*offset += 2;
*length -= 2;
if (*length >= tblsize+1U) {
proto_tree_add_item(tree, hf_c1222_write_data, tvb, *offset, tblsize, ENC_NA);
*offset += tblsize;
*length -= tblsize;
calcsum = c1222_cksum(tvb, (*offset)-tblsize, tblsize);
proto_tree_add_checksum(tree, tvb, *offset, hf_c1222_write_chksum, hf_c1222_write_chksum_status,
&ei_c1222_bad_checksum, pinfo, calcsum, ENC_NA, PROTO_CHECKSUM_VERIFY);
proto_item_set_text(tree, "C12.22 EPSEM: %s (%s-%d)",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"),
val_to_str((table >> 8) & 0xF8, tableflags,"Unknown (0x%04x)"), table & 0x7FF);
*offset += 1;
*length -= 1;
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 WRITE command truncated");
}
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 WRITE command truncated");
}
break;
case C1222_CMD_WAIT:
if (*length >= 1) {
wait_seconds = tvb_get_guint8(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_wait_secs, tvb, *offset, 1, wait_seconds);
*offset += 1;
*length -= 1;
proto_item_set_text(tree, "C12.22 EPSEM: %s (%d seconds)",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"), wait_seconds);
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 WAIT command truncated");
}
break;
case C1222_CMD_NEGOTIATE:
if (*length >= 3) {
packet_size = tvb_get_ntohs(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_neg_pkt_size, tvb, *offset, 2, packet_size);
*offset += 2;
*length -= 2;
nbr_packet = tvb_get_guint8(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_neg_nbr_pkts, tvb, *offset, 1, nbr_packet);
*offset += 1;
*length -= 1;
proto_item_set_text(tree, "C12.22 EPSEM: %s (pkt size %d, num pkts %d, with %d baud rates)",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"), packet_size, nbr_packet, numrates);
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 NEGOTIATE command truncated");
}
break;
case C1222_CMD_TIMING_SETUP:
if (*length >= 4) {
traffic = tvb_get_guint8(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_timing_setup_traffic, tvb, *offset, 1, traffic);
*offset += 1;
*length -= 1;
inter_char = tvb_get_guint8(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_timing_setup_inter_char, tvb, *offset, 1, inter_char);
*offset += 1;
*length -= 1;
resp_to = tvb_get_guint8(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_timing_setup_resp_to, tvb, *offset, 1, resp_to);
*offset += 1;
*length -= 1;
nbr_retries = tvb_get_guint8(tvb, *offset);
proto_tree_add_uint(tree, hf_c1222_timing_setup_nbr_retries, tvb, *offset, 1, nbr_retries);
*offset += 1;
*length -= 1;
proto_item_set_text(tree, "C12.22 EPSEM: %s (traffic to %d s, inter-char to %d s, response to %d s, %d retries)",
val_to_str(cmd,commandnames,"Unknown (0x%02x)"), traffic, inter_char, resp_to, nbr_retries);
} else {
expert_add_info_format(pinfo, tree, &ei_c1222_command_truncated, "C12.22 NEGOTIATE command truncated");
}
break;
default:
/* don't do anything */
proto_item_set_text(tree, "C12.22 EPSEM: %s", val_to_str(cmd, commandnames, "Unknown (0x%02x)"));
if (*length) {
proto_tree_add_item(tree, hf_c1222_data, tvb, *offset, *length, ENC_NA);
}
break;
}
}
typedef struct tagTOP_ELEMENT_CONTROL
{
/* TRUE if this tag is required */
gboolean required;
/* TRUE if we must truncate this tag */
gboolean truncate;
/* actual hex value of the tag we're seeking */
guint8 tag;
/* if TRUE, add tag and length before copying */
gboolean addtag;
/* pointer to pointer to memory copy of element */
guint8 **element;
/* pointer to element length */
guint32 *length;
/* pointer to element allocated size */
guint32 *allocated;
} TOP_ELEMENT_CONTROL;
static const TOP_ELEMENT_CONTROL canonifyTable[] = {
{ FALSE, FALSE, 0xA1, TRUE, &aSO_context, &aSO_context_len, &aSO_context_allocated },
{ TRUE , FALSE, 0xA2, TRUE, &called_AP_title, &called_AP_title_len, &called_AP_title_allocated },
{ FALSE, FALSE, 0xA4, TRUE, &called_AP_invocation_id, &called_AP_invocation_id_len, &called_AP_invocation_id_allocated },
{ FALSE, FALSE, 0xA7, TRUE, &calling_AE_qualifier, &calling_AE_qualifier_len, &calling_AE_qualifier_allocated },
{ TRUE, FALSE, 0xA8, TRUE, &calling_AP_invocation_id, &calling_AP_invocation_id_len, &calling_AP_invocation_id_allocated },
{ FALSE, FALSE, 0x8B, TRUE, &mechanism_name, &mechanism_name_len, &mechanism_name_allocated },
{ FALSE, FALSE, 0xAC, TRUE, &calling_authentication_value, &calling_authentication_value_len, &calling_authentication_value_allocated },
{ TRUE , TRUE , 0xBE, TRUE, &user_information, &user_information_len, &user_information_allocated },
{ FALSE, FALSE, 0xA6, TRUE, &calling_AP_title, &calling_AP_title_len, &calling_AP_title_allocated },
{ FALSE, FALSE, 0xAC, FALSE, &key_id_element, &key_id_element_len, &key_id_element_allocated },
{ FALSE, FALSE, 0xAC, FALSE, &iv_element, &iv_element_len, &iv_element_allocated },
{ FALSE, FALSE, 0x0, TRUE, NULL, NULL, NULL }
};
static void
clear_canon(void)
{
const TOP_ELEMENT_CONTROL *t = canonifyTable;
for (t = canonifyTable; t->element != NULL; t++) {
*(t->length) = 0;
*(t->element) = NULL;
}
}
/**
* Calculates the size of the passed number n as encoded as a BER length field.
*
* \param n is the length value to be BER encoded
* \returns the sized of the encoding
*/
static guint32
get_ber_len_size(guint32 n)
{
guint32 len = 1;
if (n > 0x7f) len++;
if (n > 0xff) len++;
if (n > 0xffff) len++;
if (n > 0xffffff) len++;
return len;
}
/**
* Encodes the passed value n as a BER-encoded length at puts it in memory.
*
* \param ptr points to the buffer to be written
* \param n is the length to be BER encoded
* \param maxsize is the maximum number of bytes we're allowed to write
* \returns length of encoded value in bytes
*/
static int
encode_ber_len(guint8 *ptr, guint32 n, int maxsize)
{
int len = get_ber_len_size(n);
if (len > maxsize) return 0;
if (len == 1) {
*ptr = 0x7f & n;
} else {
*ptr = (len -1) | 0x80;
for (ptr += len-1; n; n >>= 8)
*ptr-- = n & 0xff;
}
return len;
}
static void*
c1222_uat_data_copy_cb(void *dest, const void *source, size_t len _U_)
{
const c1222_uat_data_t* o = (const c1222_uat_data_t*)source;
c1222_uat_data_t* d = (c1222_uat_data_t*)dest;
d->keynum = o->keynum;
d->keylen = o->keylen;
d->key = (guchar *)g_memdup2(o->key, o->keylen);
return dest;
}
/**
* Checks a new encryption table item for validity.
*
* \param n points to the new record
* \param err is updated to point to an error string if needed
* \return FALSE if error; TRUE otherwise
*/
static gboolean
c1222_uat_data_update_cb(void* n, char** err)
{
c1222_uat_data_t* new_rec = (c1222_uat_data_t *)n;
if (new_rec->keynum > 0xff) {
*err = g_strdup("Invalid key number; must be less than 256");
return FALSE;
}
if (new_rec->keylen != EAX_SIZEOF_KEY) {
*err = g_strdup("Invalid key size; must be 16 bytes");
return FALSE;
}
return TRUE;
}
static void
c1222_uat_data_free_cb(void *r)
{
c1222_uat_data_t *rec = (c1222_uat_data_t *)r;
g_free(rec->key);
}
/**
* Canonifies header fields in preparation for authenticating and/or decrypting the packet.
*
* \param buff points to the allocated canonization buffer
* \param offset points to start of unallocated space in buffer and
is updated as we put bytes into buffer
* \param buffsize total size of allocated buffer
* \return FALSE if element is required and not present; otherwise TRUE
*/
static gboolean
canonify_unencrypted_header(guchar *buff, guint32 *offset, guint32 buffsize)
{
const TOP_ELEMENT_CONTROL *t = canonifyTable;
guint32 len, allocated;
for (t = canonifyTable; t->element != NULL; t++)
{
len = *(t->length);
allocated = *(t->allocated);
if (t->required && *(t->element) == NULL)
return FALSE;
if (*(t->element) != NULL) {
if (t->addtag) {
/* recreate original tag and length */
buff[(*offset)++] = t->tag;
(*offset) += encode_ber_len(&buff[*offset], len, 4);
}
if (t->truncate) {
len = 3+2*get_ber_len_size(len);
}
/* bail out if the cannonization buffer is too small */
/* this should never happen! */
if (buffsize < *offset + len) {
return FALSE;
}
/* bail out if our we're trying to read past the end of our element */
/* the network is always hostile */
if (allocated < len) {
return FALSE;
}
memcpy(&buff[*offset], *(t->element), len);
(*offset) += len;
if (t->addtag) {
*(t->element) = NULL;
}
}
}
return TRUE;
}
/**
* Looks up the required key in the key table.
*
* \param keybuff is updated with a copy of the key data if successful lookup.
* \param keyid is the ID number of the desired key
* \returns TRUE if key was found; otherwise FALSE
*/
static gboolean
keylookup(guint8 *keybuff, guint8 keyid)
{
guint i;
if (c1222_uat_data == NULL)
return FALSE;
for (i = 0; i < num_c1222_uat_data; i++) {
if (c1222_uat_data[i].keynum == keyid) {
memcpy(keybuff, c1222_uat_data[i].key, EAX_SIZEOF_KEY);
return TRUE;
}
}
return FALSE;
}
/**
* Authenticates and decrypts the passed packet.
*
* \param buffer points to a memory copy of the packet to be authenticated/decrypted
* and contains the decrypted value on successful return.
* \param length lenth of input packet
* \param decrypt TRUE if packet is to be authenticated and decrypted; FALSE if authentication only is requested
* \returns TRUE if the requested operation was successful; otherwise FALSE
*/
static gboolean
decrypt_packet(guchar *buffer, guint32 length, gboolean decrypt)
{
#define CANONBUFFSIZE 300U
guchar canonbuff[CANONBUFFSIZE];
guint8 c1222_key[EAX_SIZEOF_KEY];
guchar key_id = 0;
guint32 offset = 0;
gboolean status = FALSE;
/* must be at least 4 bytes long to include the MAC */
if (length < 4)
return status;
if (key_id_element != NULL)
key_id = key_id_element[0];
/* extract unencrypted header information */
if (!canonify_unencrypted_header(canonbuff, &offset, CANONBUFFSIZE))
return status;
/* decrypt and authenticate in place */
/* PARAMETERS: pN : Pointer to ClearText (Input, Canonified form). */
/* pK : Pointer to secret key (Input). */
/* pC : Pointer to CipherText (Input/Output). */
/* SizeN : Byte length of ClearText buffer. */
/* SizeK : Byte length of secret key. */
/* SizeC : Byte length of CipherText buffer. */
/* pMac : Four byte Message Authentication Code. */
/* Mode : Operating mode (See EAX_MODE_xxx). */
/* RETURNS: TRUE if message has been authenticated. */
/* FALSE if not authenticated, invalid Mode, or error. */
if (offset) {
if (!keylookup((guint8 *)&c1222_key, key_id))
return FALSE;
status = Eax_Decrypt(canonbuff, c1222_key, buffer,
offset, EAX_SIZEOF_KEY, length-4,
(MAC_T *)&buffer[length-4],
decrypt ? EAX_MODE_CIPHERTEXT_AUTH : EAX_MODE_CLEARTEXT_AUTH);
}
return status;
}
/**
* Checks to make sure that a complete, valid BER-encoded length is in the buffer.
*
* \param tvb contains the buffer to be examined
* \param offset is the offset within the buffer at which the BER-encoded length begins
* \returns TRUE if a complete, valid BER-encoded length is in the buffer; otherwise FALSE
*/
static gboolean
ber_len_ok(tvbuff_t *tvb, int offset)
{
guint8 ch;
if (tvb_offset_exists(tvb, offset)) {
ch = tvb_get_guint8(tvb, offset);
offset++;
if (!(ch & 0x80)) {
return TRUE;
} else if (tvb_offset_exists(tvb, offset)) {
ch = tvb_get_guint8(tvb, offset);
offset++;
if (!(ch & 0x80)) {
return TRUE;
} else if (tvb_offset_exists(tvb, offset)) {
ch = tvb_get_guint8(tvb, offset);
offset++;
if (!(ch & 0x80)) {
return TRUE;
} else if (tvb_offset_exists(tvb, offset)) {
ch = tvb_get_guint8(tvb, offset);
/*offset++;*/
if (!(ch & 0x80)) {
return TRUE;
}
}
}
}
}
return FALSE;
}
/**
* Dissects the EPSEM portion of the User-information part of a C12.22 message.
*
* \param tvb the tv buffer of the current data
* \param offset the offset in the tvb
* \param len length of data
* \param pinfo the packet info of the current data
* \param tree the tree to append this item to
*/
static int
dissect_epsem(tvbuff_t *tvb, int offset, guint32 len, packet_info *pinfo, proto_tree *tree)
{
proto_tree *cmd_tree = NULL;
proto_tree *ct = NULL;
proto_tree *crypto_tree = NULL;
proto_tree *yt = NULL;
proto_item *item = NULL;
guint8 flags;
int local_offset;
gint len2;
int cmd_err;
bool ind;
guchar *buffer;
tvbuff_t *epsem_buffer = NULL;
gboolean crypto_good = FALSE;
gboolean crypto_bad = FALSE;
gboolean hasmac = FALSE;
gboolean encrypted = FALSE;
if ((tvb == NULL) && (len == 0)) {
expert_add_info(pinfo, tree, &ei_c1222_epsem_missing);
return offset;
}
/* parse the flags byte which is always unencrypted */
flags = tvb_get_guint8(tvb, offset);
proto_tree_add_bitmask(tree, tvb, offset, hf_c1222_epsem_flags, ett_c1222_flags, c1222_flags, ENC_BIG_ENDIAN);
offset++;
switch ((flags & C1222_EPSEM_FLAG_SECURITY_MODE) >> 2) {
case EAX_MODE_CIPHERTEXT_AUTH:
/* mode is ciphertext with authentication */
hasmac = TRUE;
len2 = tvb_reported_length_remaining(tvb, offset);
if (len2 <= 0)
return offset;
encrypted = TRUE;
if (c1222_decrypt) {
buffer = (guchar *)tvb_memdup(pinfo->pool, tvb, offset, len2);
if (!decrypt_packet(buffer, len2, TRUE)) {
crypto_bad = TRUE;
} else {
epsem_buffer = tvb_new_real_data(buffer, len2, len2);
tvb_set_child_real_data_tvbuff(tvb, epsem_buffer);
add_new_data_source(pinfo, epsem_buffer, "Decrypted EPSEM Data");
crypto_good = TRUE;
encrypted = FALSE;
}
}
break;
case EAX_MODE_CLEARTEXT_AUTH:
/* mode is cleartext with authentication */
hasmac = TRUE;
len2 = tvb_reported_length_remaining(tvb, offset);
if (len2 <= 0)
return offset;
epsem_buffer = tvb_new_subset_remaining(tvb, offset);
buffer = (guchar *)tvb_memdup(pinfo->pool, tvb, offset, len2);
if (c1222_decrypt) {
if (!decrypt_packet(buffer, len2, FALSE)) {
crypto_bad = TRUE;
expert_add_info(pinfo, tree, &ei_c1222_epsem_failed_authentication);
} else {
crypto_good = TRUE;
}
}
break;
default:
/* it's not encrypted */
epsem_buffer = tvb_new_subset_remaining(tvb, offset);
}
/* it's only encrypted if we have an undecrypted payload */
if (encrypted) {
proto_tree_add_item(tree, hf_c1222_epsem_total, tvb, offset, -1, ENC_NA);
expert_add_info(pinfo, tree, &ei_c1222_epsem_not_decrypted);
local_offset = offset+len2-4;
epsem_buffer = tvb;
} else { /* it's not (now) encrypted */
local_offset = 0;
/* retrieve the ed_class if it's there */
if (flags & C1222_EPSEM_FLAG_ED_CLASS_INCLUDED) {
if (tvb_offset_exists(epsem_buffer, local_offset+4-1)) {
proto_tree_add_item(tree, hf_c1222_epsem_ed_class, epsem_buffer, local_offset, 4, ENC_NA);
local_offset += 4;
} else {
expert_add_info(pinfo, tree, &ei_c1222_ed_class_missing);
}
}
/* what follows are one or more <epsem-data> elements possibly followed by
* a <mac>. Each <epsem-data> element is defined as <service-length><res-req>,
* so we fetch such pairs until there isn't anything left (except possibly
* the <mac>).
*/
while (tvb_offset_exists(epsem_buffer, local_offset+(hasmac?5:1))) {
if (ber_len_ok(epsem_buffer, local_offset)) {
local_offset = dissect_ber_length(pinfo, tree, epsem_buffer, local_offset, (guint32 *)&len2, &ind);
} else {
expert_add_info(pinfo, tree, &ei_c1222_epsem_ber_length_error);
return offset+len;
}
if (tvb_offset_exists(epsem_buffer, local_offset+len2-1)) {
cmd_err = tvb_get_guint8(epsem_buffer, local_offset);
ct = proto_tree_add_item(tree, hf_c1222_epsem_total, epsem_buffer, local_offset, len2, ENC_NA);
cmd_tree = proto_item_add_subtree(ct, ett_c1222_cmd);
parse_c1222_detailed(epsem_buffer, pinfo, cmd_tree, cmd_err, (guint32 *)&len2, &local_offset);
local_offset += len2;
} else {
expert_add_info(pinfo, tree, &ei_c1222_epsem_field_length_error);
return offset+len;
}
}
}
if (hasmac) {
if (tvb_offset_exists(epsem_buffer, local_offset+4-1)) {
yt = proto_tree_add_item(tree, hf_c1222_epsem_mac, epsem_buffer, local_offset, 4, ENC_NA);
/* now we have enough information to fill in the crypto subtree */
crypto_tree = proto_item_add_subtree(yt, ett_c1222_crypto);
item = proto_tree_add_boolean(crypto_tree, hf_c1222_epsem_crypto_good, tvb, local_offset, 4, crypto_good);
proto_item_set_generated(item);
item = proto_tree_add_boolean(crypto_tree, hf_c1222_epsem_crypto_bad, tvb, local_offset, 4, crypto_bad);
proto_item_set_generated(item);
} else {
expert_add_info(pinfo, tree, &ei_c1222_mac_missing);
return offset+len;
}
}
return offset;
}
#include "packet-c1222-fn.c"
/**
* Dissects a a full (reassembled) C12.22 message.
*
* \param tvb the tv buffer of the current data
* \param pinfo the packet info of the current data
* \param tree the tree to append this item to
*/
static int
dissect_c1222_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
proto_item *c1222_item = NULL;
proto_tree *c1222_tree = NULL;
/* make entry in the Protocol column on summary display */
col_set_str(pinfo->cinfo, COL_PROTOCOL, PNAME);
/* create the c1222 protocol tree */
c1222_item = proto_tree_add_item(tree, proto_c1222, tvb, 0, -1, ENC_NA);
c1222_tree = proto_item_add_subtree(c1222_item, ett_c1222);
return dissect_MESSAGE_PDU(tvb, pinfo, c1222_tree, NULL);
}
/**
* Fetches the length of an entire C12.22 message to assist in reassembly.
*
* \param pinfo the packet info of the current data
* \param tvb the tv buffer of the current data
* \param offset the offset in the tvb
* \returns length of entire C12.22 message
*/
static guint
get_c1222_message_len(packet_info *pinfo, tvbuff_t *tvb, int offset, void *data _U_)
{
int orig_offset;
guint length;
bool ind;
orig_offset = offset;
/* note that this assumes a Tag length of 1 which is always valid for C12.22 */
offset = dissect_ber_length(pinfo, NULL, tvb, offset+1, &length, &ind);
return length+(offset - orig_offset);
}
/**
* Reassembles and dissects C12.22 messages.
*
* \param tvb the tv buffer of the current data
* \param pinfo the packet info of the current data
* \param tree the tree to append this item to
*/
static int
dissect_c1222(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
{
tcp_dissect_pdus(tvb, pinfo, tree, c1222_desegment, 5,
get_c1222_message_len, dissect_c1222_common, data);
return tvb_captured_length(tvb);
}
/*--- proto_register_c1222 -------------------------------------------*/
void proto_register_c1222(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_c1222_epsem_flags,
{ "C12.22 EPSEM Flags", "c1222.epsem.flags",
FT_UINT8, BASE_HEX,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_epsem_flags_reserved,
{ "C12.22 Reserved Flag", "c1222.epsem.flags.reserved",
FT_BOOLEAN, 8,
NULL, C1222_EPSEM_FLAG_RESERVED,
NULL, HFILL }
},
{ &hf_c1222_epsem_flags_recovery,
{ "C12.22 Recovery Flag", "c1222.epsem.flags.recovery",
FT_BOOLEAN, 8,
NULL, C1222_EPSEM_FLAG_RECOVERY_SESSION,
NULL, HFILL }
},
{ &hf_c1222_epsem_flags_proxy,
{ "C12.22 Proxy Service Used Flag", "c1222.epsem.flags.proxy",
FT_BOOLEAN, 8,
NULL, C1222_EPSEM_FLAG_PROXY_SERVICE_USED,
NULL, HFILL }
},
{ &hf_c1222_epsem_flags_ed_class,
{ "C12.22 ED Class Flag", "c1222.epsem.flags.ed_class",
FT_BOOLEAN, 8,
NULL, C1222_EPSEM_FLAG_ED_CLASS_INCLUDED,
NULL, HFILL }
},
{ &hf_c1222_epsem_flags_security_modes,
{ "C12.22 Security Mode Flags", "c1222.epsem.flags.security",
FT_UINT8, BASE_HEX,
VALS(c1222_security_modes), C1222_EPSEM_FLAG_SECURITY_MODE,
NULL, HFILL }
},
{ &hf_c1222_epsem_flags_response_control,
{ "C12.22 Response Control Flags", "c1222.epsem.flags.response_control",
FT_UINT8, BASE_HEX,
VALS(c1222_response_control), C1222_EPSEM_FLAG_RESPONSE_CONTROL,
NULL, HFILL }
},
{ &hf_c1222_epsem_ed_class,
{ "C12.22 EPSEM ED Class", "c1222.epsem.edclass",
FT_BYTES, BASE_NONE,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_epsem_total,
{ "C12.22 EPSEM", "c1222.epsem.data",
FT_BYTES, BASE_NONE,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_epsem_mac,
{ "C12.22 EPSEM MAC", "c1222.epsem.mac",
FT_BYTES, BASE_NONE,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_cmd,
{ "C12.22 Command", "c1222.cmd",
FT_UINT8, BASE_HEX,
VALS(commandnames), 0x0,
NULL, HFILL }
},
{ &hf_c1222_err,
{ "C12.22 Response", "c1222.err",
FT_UINT8, BASE_HEX,
VALS(commandnames), 0x0,
NULL, HFILL }
},
{ &hf_c1222_logon_id,
{ "C12.22 Logon User-Id", "c1222.logon.id",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_logon_user,
{ "C12.22 Logon User", "c1222.logon.user",
FT_STRING, BASE_NONE,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_security_password,
{ "C12.22 Security Password", "c1222.security.password",
FT_STRING, BASE_NONE,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_auth_len,
{ "C12.22 Authenticate Request Length", "c1222.authenticate.len",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_auth_data,
{ "C12.22 Authenticate Data", "c1222.authenticate.data",
FT_BYTES, BASE_NONE,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_read_table,
{ "C12.22 Table", "c1222.read.table",
FT_UINT16, BASE_HEX,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_read_offset,
{ "C12.22 Offset", "c1222.read.offset",
FT_UINT24, BASE_HEX,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_read_count,
{ "C12.22 Count", "c1222.read.count",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_write_table,
{ "C12.22 Table", "c1222.write.table",
FT_UINT16, BASE_HEX,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_write_offset,
{ "C12.22 Offset", "c1222.write.offset",
FT_UINT24, BASE_HEX,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_write_size,
{ "C12.22 Table Size", "c1222.write.size",
FT_UINT16, BASE_HEX,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_write_data,
{ "C12.22 Table Data", "c1222.write.data",
FT_BYTES, BASE_NONE,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_write_chksum,
{ "C12.22 Table Data Checksum", "c1222.write.chksum",
FT_UINT8, BASE_HEX,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_write_chksum_status,
{ "C12.22 Table Data Checksum Status", "c1222.write.chksum.status",
FT_UINT8, BASE_NONE,
VALS(proto_checksum_vals), 0x0,
NULL, HFILL }
},
{ &hf_c1222_procedure_response,
{ "C12.22 Procedure Response", "c1222.procedure.response",
FT_UINT16, BASE_DEC,
VALS(c1222_proc_response_control), C1222_PROCEDURE_RESPONSE,
NULL, HFILL }
},
{ &hf_c1222_procedure_mfg,
{ "C12.22 Procedure Mfg", "c1222.procedure.mfg",
FT_UINT16, BASE_DEC,
NULL, C1222_PROCEDURE_MFG,
NULL, HFILL }
},
{ &hf_c1222_procedure_num,
{ "C12.22 Procedure Number", "c1222.procedure.num",
FT_UINT16, BASE_DEC,
NULL, C1222_PROCEDURE_NUMBER,
NULL, HFILL }
},
{ &hf_c1222_procedure_sequence,
{ "C12.22 Procedure Sequence Number", "c1222.procedure.sequence",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_neg_pkt_size,
{ "C12.22 Negotiate Packet Size", "c1222.negotiate.pktsize",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_neg_nbr_pkts,
{ "C12.22 Negotiate Number of Packets", "c1222.negotiate.numpkts",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_wait_secs,
{ "C12.22 Wait Seconds", "c1222.wait.seconds",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_timing_setup_traffic,
{ "C12.22 Timing Setup Channel Traffic Timeout", "c1222.timingsetup.traffic",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_timing_setup_inter_char,
{ "C12.22 Timing Setup Intercharacter Timeout", "c1222.timingsetup.interchar",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_timing_setup_resp_to,
{ "C12.22 Timing Setup Response Timeout", "c1222.timingsetup.respto",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_timing_setup_nbr_retries,
{ "C12.22 Timing Setup Number of Retries", "c1222.timingsetup.nbrretries",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_data,
{ "C12.22 data", "c1222.data",
FT_BYTES, BASE_NONE,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_c1222_epsem_crypto_good,
{ "Crypto good", "c1222.crypto_good",
FT_BOOLEAN, BASE_NONE,
NULL, 0x0,
"True: crypto ok; False: doesn't match or not checked", HFILL }
},
{ &hf_c1222_epsem_crypto_bad,
{ "Crypto bad", "c1222.crypto_bad",
FT_BOOLEAN, BASE_NONE,
NULL, 0x0,
"True: crypto bad; False: crypto ok or not checked", HFILL }
},
#include "packet-c1222-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_c1222,
&ett_c1222_epsem,
&ett_c1222_flags,
&ett_c1222_crypto,
&ett_c1222_cmd,
#include "packet-c1222-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_c1222_command_truncated, { "c1222.command_truncated", PI_MALFORMED, PI_ERROR, "C12.22 command truncated", EXPFILL }},
{ &ei_c1222_bad_checksum, { "c1222.bad_checksum", PI_CHECKSUM, PI_ERROR, "Bad checksum", EXPFILL }},
{ &ei_c1222_epsem_missing, { "c1222.epsem.missing", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM missing", EXPFILL }},
{ &ei_c1222_epsem_failed_authentication, { "c1222.epsem.failed_authentication", PI_SECURITY, PI_ERROR, "C12.22 EPSEM failed authentication", EXPFILL }},
{ &ei_c1222_epsem_not_decrypted, { "c1222.epsem.not_decrypted", PI_UNDECODED, PI_WARN, "C12.22 EPSEM could not be decrypted", EXPFILL }},
{ &ei_c1222_ed_class_missing, { "c1222.ed_class_missing", PI_SECURITY, PI_ERROR, "C12.22 ED Class missing", EXPFILL }},
{ &ei_c1222_epsem_ber_length_error, { "c1222.epsem.ber_length_error", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM BER length error", EXPFILL }},
{ &ei_c1222_epsem_field_length_error, { "c1222.epsem.field_length_error", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM field length error", EXPFILL }},
{ &ei_c1222_mac_missing, { "c1222.mac_missing", PI_MALFORMED, PI_ERROR, "C12.22 MAC missing", EXPFILL }},
};
expert_module_t* expert_c1222;
module_t *c1222_module;
static uat_field_t c1222_uat_flds[] = {
UAT_FLD_HEX(c1222_users,keynum,"Key ID","Key identifier in hexadecimal"),
UAT_FLD_BUFFER(c1222_users, key, "Key", "Encryption key as 16-byte hex string"),
UAT_END_FIELDS
};
/* Register protocol */
proto_c1222 = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_c1222, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_c1222 = expert_register_protocol(proto_c1222);
expert_register_field_array(expert_c1222, ei, array_length(ei));
/* Register dissectors */
c1222_handle = register_dissector("c1222.tcp", dissect_c1222, proto_c1222);
c1222_udp_handle = register_dissector("c1222.udp", dissect_c1222_common, proto_c1222);
/* Register dissection preferences */
c1222_module = prefs_register_protocol(proto_c1222, proto_reg_handoff_c1222);
prefs_register_bool_preference(c1222_module, "desegment",
"Reassemble all C12.22 messages spanning multiple TCP segments",
"Whether the C12.22 dissector should reassemble all messages spanning multiple TCP segments",
&c1222_desegment);
prefs_register_string_preference(c1222_module, "baseoid", "Base OID to use for relative OIDs",
"Base object identifier for use in resolving relative object identifiers",
&c1222_baseoid_str);
prefs_register_bool_preference(c1222_module, "decrypt",
"Verify crypto for all applicable C12.22 messages",
"Whether the C12.22 dissector should verify the crypto for all relevant messages",
&c1222_decrypt);
prefs_register_bool_preference(c1222_module, "big_endian",
"Interpret multibyte numbers as big endian",
"Whether the C12.22 dissector should interpret procedure numbers as big-endian",
&c1222_big_endian);
c1222_uat = uat_new("Decryption Table",
sizeof(c1222_uat_data_t), /* record size */
"c1222_decryption_table", /* filename */
TRUE, /* from_profile */
&c1222_uat_data, /* data_ptr */
&num_c1222_uat_data, /* numitems_ptr */
UAT_AFFECTS_DISSECTION, /* affects dissection of packets, but not set of named fields */
NULL, /* help */
c1222_uat_data_copy_cb, /* copy callback */
c1222_uat_data_update_cb, /* update callback */
c1222_uat_data_free_cb, /* free callback */
NULL, /* post update callback */
NULL, /* reset callback */
c1222_uat_flds); /* UAT field definitions */
prefs_register_uat_preference(c1222_module,
"decryption_table",
"Decryption Table",
"Table of security parameters for decryption of C12.22 packets",
c1222_uat);
}
/*--- proto_reg_handoff_c1222 ---------------------------------------*/
void
proto_reg_handoff_c1222(void)
{
static gboolean initialized = FALSE;
guint8 *temp = NULL;
if( !initialized ) {
dissector_add_uint_with_preference("tcp.port", C1222_PORT, c1222_handle);
dissector_add_uint_with_preference("udp.port", C1222_PORT, c1222_udp_handle);
initialized = TRUE;
}
if (c1222_baseoid_str && (c1222_baseoid_str[0] != '\0') &&
((c1222_baseoid_len = oid_string2encoded(NULL, c1222_baseoid_str, &temp)) != 0)) {
c1222_baseoid = (guint8 *)wmem_realloc(wmem_epan_scope(), c1222_baseoid, c1222_baseoid_len);
memcpy(c1222_baseoid, temp, c1222_baseoid_len);
wmem_free(NULL, temp);
} else if (c1222_baseoid) {
wmem_free(wmem_epan_scope(), c1222_baseoid);
c1222_baseoid = NULL;
c1222_baseoid_len = 0;
}
}
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local variables:
* c-basic-offset: 2
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* vi: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true:
*/ |
C/C++ | wireshark/epan/dissectors/asn1/c1222/packet-c1222-template.h | /* packet-c1222.h
* Routines for ANSI C12.22 packet dissection
* Copyright 2010, Edward J. Beroset, [email protected]
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_C1222_H
#define PACKET_C1222_H
#endif /* PACKET_C1222_H */
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local variables:
* c-basic-offset: 2
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* vi: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true:
*/ |
ASN.1 | wireshark/epan/dissectors/asn1/camel/camel.asn | --***********************************************
-- ASN.1+ version of CAMEL3 message set.
--
-- Ref : CAMEL Application Part (CAP) specification
-- (3GPP TS 29.078 version 3.5.0 Release 1999)
-- ETSI TS 129 078 V3.5.0 (2000-09)
-- Updated to 3GPP TS 29.078 version 7.3.0 Release 7 (2006-06)
--
--***********************************************
--*********************************************
-- Core-INAP-CS1-Operations DEFINITIONS
--*********************************************
CAP-datatypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3) cap-datatypes(52) version5(4)}
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- exports everything
IMPORTS
CellGlobalIdOrServiceAreaIdFixedLength,
Ext-BasicServiceCode,
IMEI,
IMSI,
LAIFixedLength
FROM MAP-CommonDataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-CommonDataTypes(18) version9(9)}
CUG-Index,
CUG-Interlock,
Ext-QoS-Subscribed,
Ext2-QoS-Subscribed,
GeographicalInformation,
GSN-Address,
LocationInformation,
LSAIdentity,
MS-Classmark2,
QoS-Subscribed,
RAIdentity,
GPRSChargingID
FROM MAP-MS-DataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-MS-DataTypes(11) version9(9)}
UU-Data
FROM MAP-CH-DataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-CH-DataTypes(13) version9(9)}
;
-- ================================
-- MACRO OPERATION
-- ================================
-- ROS def's
-- Module Remote-Operations-Apdus (H.450.1:02/1998)
--Remote-Operations-Apdus {itu-t recommendation h 450 1 version1(0)
-- remote-operations-apdus(11)} DEFINITIONS AUTOMATIC TAGS ::=
--BEGIN
Component ::= CHOICE {
invoke [1] IMPLICIT Invoke,
returnResultLast [2] IMPLICIT ReturnResult,
returnError [3] IMPLICIT ReturnError,
reject [4] IMPLICIT Reject
}
Invoke ::= SEQUENCE {
invokeID InvokeIdType,
linkedID [0] IMPLICIT InvokeIdType OPTIONAL,
opCode OPERATION,
invokeparameter InvokeParameter OPTIONAL
}
InvokeParameter ::= ANY
-- ANY is filled by the single ASN.1 data type following the keyword PARAMETER or the keyword ARGUMENT
-- in the type definition of a particular operation.
ReturnResult ::= SEQUENCE {
invokeID InvokeIdType,
resultretres SEQUENCE {
opCode OPERATION,
returnparameter ReturnResultParameter OPTIONAL
} OPTIONAL
}
ReturnResultParameter ::= ANY
-- ANY is filled by the single ASN.1 data type following the keyword RESULT in the type definition
-- of a particular operation.
ReturnError ::= SEQUENCE {
invokeID InvokeIdType,
errorCode ERROR,
parameter ReturnErrorParameter OPTIONAL }
ReturnErrorParameter ::= ANY
-- ANY is filled by the single ASN.1 data type following the keyword PARAMETER in the type definition
-- of a particular error.
Reject ::= SEQUENCE {
invokeIDRej CHOICE {
derivable InvokeIdType,
not-derivable NULL },
problem CHOICE {
generalProblem [0] IMPLICIT GeneralProblem,
invokeProblem [1] IMPLICIT InvokeProblem,
returnResultProblem [2] IMPLICIT ReturnResultProblem,
returnErrorProblem [3] IMPLICIT ReturnErrorProblem } }
InvokeIdType ::= INTEGER (-128..127)
OPERATION ::= CHOICE {
localValue OperationLocalvalue,
globalValue OBJECT IDENTIFIER }
CAMELOperationLocalvalue ::= INTEGER{
initialDP (0),
assistRequestInstructions (16),
establishTemporaryConnection (17),
disconnectForwardConnection (18),
connectToResource (19),
connect (20),
releaseCall (22),
requestReportBCSMEvent (23),
eventReportBCSM (24),
collectInformation (27),
continue (31),
initiateCallAttempt (32),
resetTimer (33),
furnishChargingInformation (34),
applyCharging (35),
applyChargingReport (36),
callGap (41),
callInformationReport (44),
callInformationRequest (45),
sendChargingInformation (46),
playAnnouncement (47),
promptAndCollectUserInformation (48),
specializedResourceReport (49),
cancel (53),
activityTest (55),
continueWithArgument (56),
initialDPSMS (60),
furnishChargingInformationSMS (61),
connectSMS (62),
requestReportSMSEvent (63),
eventReportSMS (64),
continueSMS (65),
releaseSMS (66),
resetTimerSMS (67),
activityTestGPRS (70),
applyChargingGPRS (71),
applyChargingReportGPRS (72),
cancelGPRS (73),
connectGPRS (74),
continueGPRS (75),
entityReleasedGPRS (76),
furnishChargingInformationGPRS (77),
initialDPGPRS (78),
releaseGPRS (79),
eventReportGPRS (80),
requestReportGPRSEvent (81),
resetTimerGPRS (82),
sendChargingInformationGPRS (83),
dFCWithArgument (86),
continueWithArgument (88),
disconnectLeg (90),
moveLeg (93),
splitLeg (95),
entityReleased (96),
playTone (97)
}
OperationLocalvalue ::= CAMELOperationLocalvalue
ERROR ::= CHOICE {
localErrorValue LocalErrorcode,
globalErrorValue OBJECT IDENTIFIER
}
CAMELLocalErrorcode ::= INTEGER{
canceled (0),
cancelFailed (1),
eTCFailed (3),
improperCallerResponse (4),
missingCustomerRecord (6),
missingParameter (7),
parameterOutOfRange (8),
requestedInfoError (10),
systemFailure (11),
taskRefused (12),
unavailableResource (13),
unexpectedComponentSequence (14),
unexpectedDataValue (15),
unexpectedParameter (16),
unknownLegID (17),
unknownPDPID (50),
unknownCSID (51)
}
LocalErrorcode ::= CAMELLocalErrorcode
-- PROBLEMS
GeneralProblem ::= INTEGER { unrecognizedComponent (0),
mistypedComponent (1),
badlyStructuredComponent (2) }
InvokeProblem ::= INTEGER { duplicateInvokeID (0),
unrecognizedOperation (1),
mistypedParameter (2),
resourceLimitation (3),
initiatingRelease (4),
unrecognizedLinkedID (5),
linkedResponseUnexpected (6),
unexpectedLinkedOperation (7) }
ReturnResultProblem ::= INTEGER { unrecognizedInvokeID (0),
returnResultUnexpected (1),
mistypedParameter (2) }
ReturnErrorProblem ::= INTEGER { unrecognizedInvokeID (0),
returnErrorUnexpected (1),
unrecognizedError (2),
unexpectedError (3),
mistypedParameter (4) }
--END
--
--
--
-- AccessPointName notes: not recursive, exported,
-- locally refd 5 times, import refd 0 times
AccessPointName ::= OCTET STRING (SIZE (cAPSpecificBoundSetminAccessPointNameLength .. cAPSpecificBoundSetmaxAccessPointNameLength ))
-- Indicates the AccessPointName, refer to 3GPP TS 24.008 [9] for the encoding.
-- It shall be coded as in the value part defined in 3GPP TS 24.008,
-- i.e. the 3GPP TS 24.008 IEI and 3GPP TS 24.008 octet length indicator
-- shall not be included.
-- AChBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
AChBillingChargingCharacteristics ::= CHOICE
{
actimeDurationCharging [0] SEQUENCE
{
maxCallPeriodDuration [0] INTEGER (1..864000),
releaseIfdurationExceeded [1] BOOLEAN DEFAULT FALSE,
tariffSwitchInterval [2] INTEGER (1..86400) OPTIONAL,
actone [3] BOOLEAN DEFAULT FALSE,
extensions [4] ExtensionsArray OPTIONAL
}
}
AChChargingAddress ::= CHOICE {
legID [2] LegID,
srfConnection [50] CallSegmentID
}
-- AdditionalCallingPartyNumber notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
AdditionalCallingPartyNumber ::= Digits
-- AlertingPattern notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
AlertingPattern ::= OCTET STRING (SIZE(3))
-- Indicates a specific pattern that is used to alert a subscriber
-- (e.g. distinctive ringing, tones, etc.).
-- The encoding of the last octet of this parameter is as defined in 3GPP TS 29.002 [11].
-- This one Commented out by Javier Acuna ([email protected])
-- Because I added a new Errortypes section at the end.
--CancelFailedPARAM ::= SEQUENCE
--{
-- operation [1] InvokeID
--}
-- AOCBeforeAnswer notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
AOCBeforeAnswer ::= SEQUENCE
{
aOCInitial [0] CAI-Gsm0224,
aOCSubsequent [1] AOCSubsequent OPTIONAL
}
-- AOCGprs notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
AOCGprs ::= SEQUENCE
{
aOCInitial [0] CAI-Gsm0224,
aOCSubsequent [1] AOCSubsequent OPTIONAL
}
-- AOCSubsequent notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
AOCSubsequent ::= SEQUENCE
{
cAI-GSM0224 [0] CAI-Gsm0224,
tariffSwitchInterval [1] INTEGER (1..86400) OPTIONAL
}
-- AppendFreeFormatData notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
AppendFreeFormatData ::= ENUMERATED
{
overwrite (0),
append (1)
}
-- ApplicationTimer notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ApplicationTimer ::= INTEGER (0..2047)
-- AssistingSSPIPRoutingAddress notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
AssistingSSPIPRoutingAddress ::= Digits
AudibleIndicator ::= CHOICE {
istone BOOLEAN,
burstList [1] BurstList
}
-- BackwardServiceInteractionInd notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
BackwardServiceInteractionInd ::= SEQUENCE {
conferenceTreatmentIndicator [1] OCTET STRING (SIZE(1)) OPTIONAL,
-- acceptConferenceRequest 'xxxx xx01'B
-- rejectConferenceRequest 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect conference treatement
callCompletionTreatmentIndicator [2] OCTET STRING (SIZE(1)) OPTIONAL,
-- acceptCallCompletionServiceRequest 'xxxx xx01'B,
-- rejectCallCompletionServiceRequest 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect call completion treatment
...
}
-- BasicGapCriteria notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
BasicGapCriteria ::= CHOICE
{
calledAddressValue [0] Digits,
gapOnService [2] GapOnService,
calledAddressAndService [29] SEQUENCE
{
calledAddressValue [0] Digits,
serviceKey [1] ServiceKey,
...
},
callingAddressAndService [30] SEQUENCE
{
callingAddressValue [0] Digits,
serviceKey [1] ServiceKey,
...
}
}
-- Both calledAddressValue and callingAddressValue can be
-- incomplete numbers, in the sense that a limited amount of digits can be given.
-- For the handling of numbers starting with the same digit string refer to the detailed
-- procedure of the CallGap operation
-- BCSMEvent notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
BCSMEvent ::= SEQUENCE
{
eventTypeBCSM [0] EventTypeBCSM,
monitorMode [1] MonitorMode,
legID6 [2] LegID OPTIONAL,
dpSpecificCriteria [30] DpSpecificCriteria OPTIONAL,
automaticRearm [50] NULL OPTIONAL,
...
}
-- Indicates the BCSM Event information for monitoring.
BCSM-Failure ::= SEQUENCE {
legID [0] LegID OPTIONAL,
cause [2] Cause OPTIONAL,
...
}
-- BearerCapability notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
BearerCapability ::= CHOICE
{
bearerCap [0] BearerCap
}
BearerCap ::= OCTET STRING (SIZE (2..cAPSpecificBoundSetmaxBearerCapabilityLength ))
-- Indicates the type of bearer capability connection to the user. For bearerCap, the ISUP User
-- Service Information, ETSI EN 300 356-1 [23]
-- encoding shall be used.
Burst ::= SEQUENCE {
numberOfBursts [0] INTEGER (1..3) DEFAULT 1,
burstInterval [1] INTEGER (1..1200) DEFAULT 2,
numberOfTonesInBurst [2] INTEGER (1..3) DEFAULT 3,
toneDuration [3] INTEGER (1..20) DEFAULT 2,
toneInterval [4] INTEGER (1..20) DEFAULT 2,
...
}
-- burstInterval, toneDurartion and toneInterval are measured in 100 millisecond units
BurstList ::= SEQUENCE {
warningPeriod [0] INTEGER (1..1200) DEFAULT 30,
bursts [1] Burst,
...
}
-- warningPeriod is measured in 1 second units.
-- CAI-Gsm0224 notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
CAI-Gsm0224 ::= SEQUENCE
{
e1 [0] INTEGER (0..8191) OPTIONAL,
e2 [1] INTEGER (0..8191) OPTIONAL,
e3 [2] INTEGER (0..8191) OPTIONAL,
e4 [3] INTEGER (0..8191) OPTIONAL,
e5 [4] INTEGER (0..8191) OPTIONAL,
e6 [5] INTEGER (0..8191) OPTIONAL,
e7 [6] INTEGER (0..8191) OPTIONAL
}
-- Indicates Charge Advice Information to the Mobile Station. For information regarding
-- parameter usage, refer to 3GPP TS 22.024 [2].
-- CalledPartyBCDNumber notes: not recursive, exported,
-- locally refd 4 times, import refd 0 times
-- See 3GPP TS 29.078
-- and 3GPP TS 24.008, section 10.5.4.7
CalledPartyBCDNumber ::= ISDN-AddressString
-- Indicates the Called Party Number, including service selection information.
-- Refer to 3GPP TS 24.008 [9] for encoding.
-- This data type carries only the 'type of number', 'numbering plan
-- identification' and 'number digit' fields defined in 3GPP TS 24.008 [9];
-- it does not carry the 'called party BCD number IEI' or 'length of called
-- party BCD number contents'.
-- In the context of the DestinationSubscriberNumber field in ConnectSMSArg or
-- InitialDPSMSArg, a CalledPartyBCDNumber may also contain an alphanumeric
-- character string. In this case, type-of-number '101'B is used, in accordance
-- with 3GPP TS 23.040 [6]. The address is coded in accordance with the
-- GSM 7-bit default alphabet definition and the SMS packing rules
-- as specified in 3GPP TS 23.038 [15] in this case.
-- CalledPartyNumber notes: not recursive, exported,
-- locally refd 6 times, import refd 0 times
CalledPartyNumber ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminCalledPartyNumberLength ..cAPSpecificBoundSetmaxCalledPartyNumberLength ))
-- Indicates the Called Party Number. Refer to ETS EN 300 356-1 [23] for encoding.
-- A CalledPartyNumber may contain national-specific values of the Nature Of Address
-- indicator. The filling-in of the national-specific Nature Of Address indicator
-- values shall be done in accordance with the national ISUP of the gsmSSF country, e.g.
-- ANSI T1.113-1995 [92].
-- In terms of ETS EN 300 356-1 [23], the Destination Address Field is not present if the
-- destination address length is set to zero. This is the case e.g. when the ANSI
-- ISUP Nature Of Address indicator indicates no number present, operator requested
-- (1110100) or no number present, cut-through call to carrier (1110101).
-- See also see 3GPP TS 23.078 [7].
-- CallingPartyNumber notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
CallingPartyNumber ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminCallingPartyNumberLength..cAPSpecificBoundSetmaxCallingPartyNumberLength ))
-- Indicates the Calling Party Number. Refer to ETSI EN 300 356-1 [23] for encoding.
-- CallResult notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
CallResult ::= CAMEL-CallResult
--OCTET STRING (SIZE (cAPSpecificBoundSetminCallResultLength..cAPSpecificBoundSetmaxCallResultLength))
-- shall be the result of the BER-encoded value of type
-- CAMEL-CallResult
CallSegmentFailure ::= SEQUENCE {
callSegmentID [0] CallSegmentID OPTIONAL,
cause [2] Cause OPTIONAL,
...
}
CallSegmentID ::= INTEGER (1..cAPSpecificBoundsSetnumOfCSs)
CallSegmentToCancel ::= SEQUENCE {
callInvokeID [0] InvokeID OPTIONAL,
callSegmentID [1] CallSegmentID OPTIONAL,
...
}
-- CAMEL-AChBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CAMEL-AChBillingChargingCharacteristics ::= CHOICE
{
timeDurationCharging [0] SEQUENCE
{
maxCallPeriodDuration [0] INTEGER (1..864000),
releaseIfdurationExceeded [1] BOOLEAN DEFAULT FALSE,
tariffSwitchInterval [2] INTEGER (1..86400) OPTIONAL,
audibleIndicator [3] AudibleIndicator,
extensions [4] ExtensionsArray OPTIONAL,
...
}
}
-- CAMEL-CallResult notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
--CAMEL-CallResult ::= CHOICE
--{
-- timeDurationChargingResult [0] SEQUENCE {
-- partyToCharge [0] ReceivingSideID,
-- timeInformation [1] TimeInformation,
-- legActive [2] BOOLEAN DEFAULT TRUE,
-- callLegReleasedAtTcpExpiry [3] NULL OPTIONAL,
-- extensions [4] ExtensionsArray OPTIONAL,
-- aChChargingAddress [5] AChChargingAddress,
-- ...
-- }
-- }
CAMEL-CallResult ::= CHOICE
{
timeDurationChargingResult [0] TimeDurationChargingResult,
void [99] NULL
}
TimeDurationChargingResult ::= SEQUENCE {
partyToCharge [0] ReceivingSideID,
timeInformation [1] TimeInformation,
legActive [2] BOOLEAN OPTIONAL,
callLegReleasedAtTcpExpiry [3] NULL OPTIONAL,
extensions [4] ExtensionsArray OPTIONAL,
aChChargingAddress [5] AChChargingAddress OPTIONAL,
...
}
-- CAMEL-FCIBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CAMEL-FCIBillingChargingCharacteristics ::= CHOICE
{
fCIBCCCAMELsequence1 [0] SEQUENCE
{
freeFormatData [0] FreeFormatData,
partyToCharge4 [1] SendingSideID DEFAULT '01'H,
appendFreeFormatData [2] AppendFreeFormatData DEFAULT overwrite
}
}
-- CAMEL-FCIGPRSBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CAMEL-FCIGPRSBillingChargingCharacteristics ::=
SEQUENCE
{
fCIBCCCAMELsequence2 [0] SEQUENCE
{
freeFormatData [0] FreeFormatData,
pDPID [1] PDPId OPTIONAL,
appendFreeFormatData [2] AppendFreeFormatData DEFAULT overwrite
}
}
-- CCAMEL-FCISMSBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CAMEL-FCISMSBillingChargingCharacteristics ::= CHOICE
{
fCIBCCCAMELsequence3 [0] SEQUENCE
{
freeFormatData [0] FreeFormatData,
appendFreeFormatData [1] AppendFreeFormatData DEFAULT overwrite
}
}
-- CAMEL-SCIBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 0 times, import refd 0 times
CAMEL-SCIBillingChargingCharacteristics ::= CHOICE
{
aOCBeforeAnswer [0] AOCBeforeAnswer,
aOCAfterAnswer [1] AOCSubsequent,
aOC-extension [2] CAMEL-SCIBillingChargingCharacteristicsAlt
}
CAMEL-SCIBillingChargingCharacteristicsAlt ::= SEQUENCE {
...
}
-- This datatype is for extension in future releases.
-- CAMEL-SCIGPRSBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 0 times, import refd 0 times
CamelSCIGPRSBillingChargingCharacteristics ::=
SEQUENCE
{
aOCGPRS [0] AOCGprs,
pDPID [1] PDPId OPTIONAL
}
-- Carrier notes: not recursive, exported,
-- locally refd 5 times, import refd 0 times
Carrier ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminCarrierLength ..cAPSpecificBoundSetmaxCarrierLength ))
-- This parameter is used for North America (na) only.
-- It contains the carrier selection field (first octet) followed by Carrier ID
-- information (North America (na)).
-- The Carrier selection is one octet and is encoded as:
-- 00000000 No indication
-- 00000001 Selected carrier identification code (CIC) pre subscribed and not
-- input by calling party
-- 00000010 Selected carrier identification code (CIC) pre subscribed and input by
-- calling party
-- 00000011 Selected carrier identification code (CIC) pre subscribed, no
-- indication of whether input by calling party (undetermined)
-- 00000100 Selected carrier identification code (CIC) not pre subscribed and
-- input by calling party
-- 00000101
-- to Spare
-- 11111110
-- 11111111 Reserved
-- Refer to ANSI T1.113-1995 [92] for encoding of na carrier ID information (3 octets).
-- CGEncountered notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CGEncountered ::= ENUMERATED
{
noCGencountered (0),
manualCGencountered (1),
scpOverload (2)
}
ChangeOfPositionControlInfo ::= SEQUENCE SIZE(1..cAPSpecificBoundsSetnumOfChangeOfPositionControlInf) OF ChangeOfLocation
ChangeOfLocation ::= CHOICE {
cellGlobalId [0] CellGlobalIdOrServiceAreaIdFixedLength,
serviceAreaId [1] CellGlobalIdOrServiceAreaIdFixedLength,
locationAreaId [2] LAIFixedLength,
inter-SystemHandOver [3] NULL,
inter-PLMNHandOver [4] NULL,
inter-MSCHandOver [5] NULL,
changeOfLocationAlt [6] ChangeOfLocationAlt
}
-- The cellGlobalId shall contain a Cell Global Identification.
-- The serviceAreaId shall contain a Service Area Identification.
ChangeOfLocationAlt ::= SEQUENCE {
...
}
ChargeIndicator ::= OCTET STRING (SIZE (1))
-- As specified in ITU-T Recommendation Q.763 as follows:
-- no indication 'xxxx xx00'B
-- no charge 'xxxx xx01'B
-- charge 'xxxx xx10'B
-- spare 'xxxx xx11'B
-- Sending entity shall fill the upper six bits with '0's.
-- Receiving entity shall ignore the upper six bits.
-- ChargeNumber notes: not recursive, exported,
-- locally refd 4 times, import refd 0 times
ChargeNumber ::= LocationNumber
-- ChargingCharacteristics notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ChargingCharacteristics ::= CHOICE
{
maxTransferredVolume [0] INTEGER (1..4294967295),
maxElapsedTime [1] INTEGER (1..86400)
}
-- ChargingResult notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ChargingResult ::= CHOICE
{
transferredVolume [0] TransferredVolume,
elapsedTime [1] ElapsedTime
}
ChargingRollOver ::= CHOICE {
transferredVolumeRollOver [0] TransferredVolumeRollOver,
elapsedTimeRollOver [1] ElapsedTimeRollOver
}
-- CollectedDigits notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CollectedDigits ::= SEQUENCE
{
minimumNbOfDigits [0] INTEGER (1..30) DEFAULT 1,
maximumNbOfDigits [1] INTEGER (1..30),
endOfReplyDigit [2] OCTET STRING (SIZE (1..2)) OPTIONAL,
cancelDigit [3] OCTET STRING (SIZE (1..2)) OPTIONAL,
startDigit [4] OCTET STRING (SIZE (1..2)) OPTIONAL,
firstDigitTimeOut [5] INTEGER (1..127) OPTIONAL,
interDigitTimeOut [6] INTEGER (1..127) OPTIONAL,
errorTreatment [7] ErrorTreatment DEFAULT stdErrorAndInfo,
interruptableAnnInd [8] BOOLEAN DEFAULT TRUE,
voiceInformation [9] BOOLEAN DEFAULT FALSE,
voiceBack [10] BOOLEAN DEFAULT FALSE
}
-- The use of voiceBack and the support of voice recognition via voiceInformation
-- is network operator specific.
-- The endOfReplyDigit, cancelDigit, and startDigit parameters have been
-- designated as OCTET STRING, and are to be encoded as BCD, one digit per octet
-- only, contained in the four least significant bits of each OCTET. The following encoding shall
-- be applied for the non-decimal characters:
-- 1011 (*), 1100 (#).
-- The usage is service dependent.
-- firstDigitTimeOut and interDigitTimeOut are measured in seconds.
-- CollectedInfo notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CollectedInfo ::= CHOICE
{
collectedDigits [0] CollectedDigits
}
-- ConnectedNumberTreatmentInd notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ConnectedNumberTreatmentInd ::= ENUMERATED
{
noINImpact (0),
presentationRestricted (1),
presentCalledINNumber (2),
presentCallINNumberRestricted (3)
}
-- ControlType notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ControlType ::= ENUMERATED
{
sCPOverloaded (0),
manuallyInitiated (1)
}
-- CompoundCriteria notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CompoundCriteria ::= SEQUENCE
{
basicGapCriteria [0] BasicGapCriteria,
scfID [1] ScfID OPTIONAL
}
-- CorrelationID notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
CorrelationID ::= Digits
-- used by gsmSCF for correlation with a previous operation.
-- DateAndTime notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
DateAndTime ::= OCTET STRING (SIZE (7))
-- DateAndTime is BCD encoded. The year digit indicating millenium occupies bits
-- 0-3 of the first octet, and the year digit indicating century occupies bits
-- 4-7 of the first octet.
-- The year digit indicating decade occupies bits 0-3 of the second octet,
-- whilst the digit indicating the year within the decade occupies bits 4-7 of
-- the second octet.
-- The most significant month digit occupies bits 0-3 of the third octet,
-- and the least significant month digit occupies bits 4-7 of the third octet.
-- The most significant day digit occupies bits 0-3 of the fourth octet,
-- and the least significant day digit occupies bits 4-7 of the fourth octet.
-- The most significant hours digit occupies bits 0-3 of the fifth octet,
-- and the least significant digit occupies bits 4-7 of the fifth octet.
-- The most significant minutes digit occupies bits 0-3 of the sixth octet,
-- and the least significant digit occupies bits 4-7 of the sixth octet.
-- The most significant seconds digit occupies bits 0-3 of the seventh octet,
-- and the least seconds significant digit occupies bits 4-7 of the seventh octet.
-- For the encoding of digits in an octet, refer to the timeAndtimezone parameter.
-- DestinationRoutingAddress notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
DestinationRoutingAddress ::=
SEQUENCE SIZE (1) OF CalledPartyNumber
-- Digits notes: not recursive, exported,
-- locally refd 9 times, import refd 0 times
Digits ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminDigitsLength ..cAPSpecificBoundSetmaxDigitsLength ))
-- Indicates the address signalling digits.
-- Refer to ETSI EN 300 356-1 [23] Generic Number & Generic Digits parameters for encoding.
-- The coding of the subfields 'NumberQualifier' in Generic Number and 'TypeOfDigits' in
-- Generic Digits are irrelevant to the CAP;
-- the ASN.1 tags are sufficient to identify the parameter.
-- The ISUP format does not allow to exclude these subfields,
-- therefore the value is network operator specific.
--
-- The following parameters shall use Generic Number:
-- - AdditionalCallingPartyNumber for InitialDP
-- - AssistingSSPIPRoutingAddress for EstablishTemporaryConnection
-- - CorrelationID for AssistRequestInstructions
-- - CalledAddressValue for all occurrences, CallingAddressValue for all occurrences.
--
-- The following parameters shall use Generic Digits:
-- - CorrelationID in EstablishTemporaryConnection
-- - number in VariablePart
-- - digitsResponse in ReceivedInformationArg
-- - midCallEvents in oMidCallSpecificInfo and tMidCallSpecificInfo
--
-- In the digitsResponse and midCallevents, the digits may also include the '*', '#',
-- a, b, c and d digits by using the IA5 character encoding scheme. If the BCD even or
-- BCD odd encoding scheme is used, then the following encoding shall be applied for the
-- non-decimal characters: 1011 (*), 1100 (#).
--
-- AssistingSSPIPRoutingAddress in EstablishTemporaryConnection and CorrelationID in
-- AssistRequestInstructions may contain a Hex B digit as address signal. Refer to
-- Annex A.6 for the usage of the Hex B digit.
--
-- Note that when CorrelationID is transported in Generic Digits, then the digits shall
-- always be BCD encoded.
-- DpSpecificCriteria notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
DpSpecificCriteria ::= CHOICE
{
applicationTimer [1] ApplicationTimer,
midCallControlInfo [2] MidCallControlInfo,
dpSpecificCriteriaAlt [3] DpSpecificCriteriaAlt
}
DpSpecificCriteriaAlt ::= SEQUENCE {
...,
changeOfPositionControlInfo [0] ChangeOfPositionControlInfo,
numberOfDigits [1] NumberOfDigits OPTIONAL,
interDigitTimeout [2] INTEGER (1..127) OPTIONAL
}
-- interDigitTimeout duration in seconds.
DpSpecificInfoAlt ::= SEQUENCE {
...,
oServiceChangeSpecificInfo [0] SEQUENCE {
ext-basicServiceCode [0] Ext-BasicServiceCode OPTIONAL,
...,
initiatorOfServiceChange [1] InitiatorOfServiceChange OPTIONAL,
natureOfServiceChange [2] NatureOfServiceChange OPTIONAL
},
tServiceChangeSpecificInfo [1] SEQUENCE {
ext-basicServiceCode [0] Ext-BasicServiceCode OPTIONAL,
...,
initiatorOfServiceChange [1] InitiatorOfServiceChange OPTIONAL,
natureOfServiceChange [2] NatureOfServiceChange OPTIONAL
}
}
-- This datatype is for extension in future releases.
-- ElapsedTime notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ElapsedTime ::= CHOICE
{
timeGPRSIfNoTariffSwitch [0] INTEGER (0..86400),
timeGPRSIfTariffSwitch [1] SEQUENCE
{
timeGPRSSinceLastTariffSwitch [0] INTEGER (0..86400),
timeGPRSTariffSwitchInterval [1] INTEGER (0..86400) OPTIONAL
}
}
ElapsedTimeRollOver ::= CHOICE {
rOTimeGPRSIfNoTariffSwitch [0] INTEGER (0..255),
rOTimeGPRSIfTariffSwitch [1] SEQUENCE {
rOTimeGPRSSinceLastTariffSwitch [0] INTEGER (0..255) OPTIONAL,
rOTimeGPRSTariffSwitchInterval [1] INTEGER (0..255) OPTIONAL
}
}
-- Indicates the EndUserAddress, refer to 3GPP TS 29.060 for the encoding.
-- The pDPTypeOrganization shall use the least significant 4 bits of the octet encoded.
-- The sender of this parameter shall set the most significant 4 bits of the octet to 1.
-- The receiver of this parameter shall ignore the most significant 4 bits of this octet.
-- Not used anymore, replaced by PDPType
-- EndUserAddress ::= SEQUENCE
-- {
-- pDPTypeOrganization [0] OCTET STRING (SIZE (1)),
-- pDPTypeNumber [1] OCTET STRING (SIZE (1)),
-- pDPAddress [2] OCTET STRING (SIZE (cAPSpecificBoundSetminPDPAddressLength..cAPSpecificBoundSetmaxPDPAddressLength)) OPTIONAL
-- }
-- Indicates the EndUserAddress, refer to 3GPP TS 29.060 [12] for the encoding.
-- The pDPTypeOrganization shall use the least significant 4 bits of the octet encoded.
-- The sender of this parameter shall set the most significant 4 bits of the octet to 1.
-- The receiver of this parameter shall ignore the most significant 4 bits of this octet.
-- ErrorTreatment notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ErrorTreatment ::= ENUMERATED
{
stdErrorAndInfo (0),
help (1),
repeatPrompt (2)
}
-- EventSpecificInformationBCSM notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
EventSpecificInformationBCSM ::= CHOICE
{
routeSelectFailureSpecificInfo [2] SEQUENCE {
failureCause [0] Cause OPTIONAL,
...
},
oCalledPartyBusySpecificInfo [3] SEQUENCE {
busyCause [0] Cause OPTIONAL,
...
},
oNoAnswerSpecificInfo [4] SEQUENCE {
-- no specific info defined --
...
},
oAnswerSpecificInfo [5] SEQUENCE {
destinationAddress [50] CalledPartyNumber OPTIONAL,
or-Call [51] NULL OPTIONAL,
forwardedCall [52] NULL OPTIONAL,
chargeIndicator [53] ChargeIndicator OPTIONAL,
ext-basicServiceCode [54] Ext-BasicServiceCode OPTIONAL,
ext-basicServiceCode2 [55] Ext-BasicServiceCode OPTIONAL,
...
},
oMidCallSpecificInfo [6] SEQUENCE {
omidCallEvents [1] CHOICE {
dTMFDigitsCompleted [3] Digits,
dTMFDigitsTimeOut [4] Digits
} OPTIONAL,
...
},
oDisconnectSpecificInfo [7] SEQUENCE {
releaseCause [0] Cause OPTIONAL,
...
},
tBusySpecificInfo [8] SEQUENCE {
busyCause [0] Cause OPTIONAL,
callForwarded [50] NULL OPTIONAL,
routeNotPermitted [51] NULL OPTIONAL,
forwardingDestinationNumber [52] CalledPartyNumber OPTIONAL,
...
},
tNoAnswerSpecificInfo [9] SEQUENCE {
callForwarded [50] NULL OPTIONAL,
forwardingDestinationNumber [52] CalledPartyNumber OPTIONAL,
...
},
tAnswerSpecificInfo [10] SEQUENCE {
destinationAddress [50] CalledPartyNumber OPTIONAL,
or-Call [51] NULL OPTIONAL,
forwardedCall [52] NULL OPTIONAL,
chargeIndicator [53] ChargeIndicator OPTIONAL,
ext-basicServiceCode [54] Ext-BasicServiceCode OPTIONAL,
ext-basicServiceCode2 [55] Ext-BasicServiceCode OPTIONAL,
...
},
tMidCallSpecificInfo [11] SEQUENCE {
tmidCallEvents [1] CHOICE {
dTMFDigitsCompleted [3] Digits,
dTMFDigitsTimeOut [4] Digits
} OPTIONAL,
...
},
tDisconnectSpecificInfo [12] SEQUENCE {
releaseCause [0] Cause OPTIONAL,
...
},
oTermSeizedSpecificInfo [13] SEQUENCE {
locationInformation [50] LocationInformation OPTIONAL,
...
},
callAcceptedSpecificInfo [20] SEQUENCE {
locationInformation [50] LocationInformation OPTIONAL,
...
},
oAbandonSpecificInfo [21] SEQUENCE {
routeNotPermitted [50] NULL OPTIONAL,
...
},
oChangeOfPositionSpecificInfo [50] SEQUENCE {
locationInformation [50] LocationInformation OPTIONAL,
...,
metDPCriteriaList [51] MetDPCriteriaList OPTIONAL
},
tChangeOfPositionSpecificInfo [51] SEQUENCE {
locationInformation [50] LocationInformation OPTIONAL,
...,
metDPCriteriaList [51] MetDPCriteriaList OPTIONAL
},
dpSpecificInfoAlt [52] DpSpecificInfoAlt
}
-- EventSpecificInformationSMS notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
EventSpecificInformationSMS ::= CHOICE
{
o-smsFailureSpecificInfo [0] SEQUENCE
{
smsfailureCause [0] MO-SMSCause OPTIONAL
},
o-smsSubmittedSpecificInfo [1] SEQUENCE
{
-- no specific info defined-
foo INTEGER(0) OPTIONAL
},
t-smsFailureSpecificInfo [2] SEQUENCE {
failureMTSMSCause [0] MT-SMSCause OPTIONAL,
...
},
t-smsDeliverySpecificInfo [3] SEQUENCE {
-- no specific info defined-
...
}
}
-- EventTypeBCSM notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
EventTypeBCSM ::= ENUMERATED
{
collectedInfo (2),
analyzedInformation (3),
routeSelectFailure (4),
oCalledPartyBusy (5),
oNoAnswer (6),
oAnswer (7),
oMidCall (8),
oDisconnect (9),
oAbandon (10),
termAttemptAuthorized (12),
tBusy (13),
tNoAnswer (14),
tAnswer (15),
tMidCall (16),
tDisconnect (17),
tAbandon (18),
oTermSeized (19),
callAccepted (27),
oChangeOfPosition (50),
tChangeOfPosition (51),
...,
oServiceChange (52),
tServiceChange (53)
}
-- Indicates the BCSM detection point event.
-- Values collectedInfo, analyzedInformation and termAttemptAuthorized may be used
-- for TDPs only.
-- Exception handling: reception of an unrecognized value shall be treated
-- like reception of no detection point.
-- EventTypeSMS notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
EventTypeSMS ::= ENUMERATED
{
sms-CollectedInfo (1),
o-smsFailure (2),
o-smsSubmission (3),
sms-DeliveryRequested (11),
t-smsFailure (12),
t-smsDelivery (13)
}
-- Values sms-CollectedInfo and sms-DeliveryRequested may be used for TDPs only.
-- Replace by ExtensionsArray
--Extensions ::= SEQUENCE SIZE (1..cAPSpecificBoundSetnumOfExtensions) OF ExtensionField
--
-- FCIBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
FCIBillingChargingCharacteristics ::= CAMEL-FCIBillingChargingCharacteristics
-- FCIGPRSBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
FCIGPRSBillingChargingCharacteristics ::= CAMEL-FCIGPRSBillingChargingCharacteristics
-- shall be the result of the BER-encoded value of type
-- CAMEL-FCIGPRSBillingChargingCharacteristics
-- FCISMSBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
--FCISMSBillingChargingCharacteristics ::= OCTET STRING (SIZE (cAPSpecificBoundSetminFCIBillingChargingLength ..cAPSpecificBoundSetmaxFCIBillingChargingLength ))
-- (CONSTRAINED BY { shall be the result of the BER-encoded value of type
-- CAMEL-FCISMSBillingChargingCharacteristics {bound}})
FCISMSBillingChargingCharacteristics ::= CAMEL-FCISMSBillingChargingCharacteristics
-- ForwardServiceInteractionInd notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ForwardServiceInteractionInd ::= SEQUENCE
{
conferenceTreatmentIndicator [1] OCTET STRING (SIZE(1)) OPTIONAL,
-- acceptConferenceRequest 'xxxx xx01'B
-- rejectConferenceRequest 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect conference treatment
callDiversionTreatmentIndicator [2] OCTET STRING (SIZE(1)) OPTIONAL,
-- callDiversionAllowed 'xxxx xx01'B
-- callDiversionNotAllowed 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect call diversion treatment
callingPartyRestrictionIndicator [4] OCTET STRING (SIZE(1)) OPTIONAL,
-- noINImpact 'xxxx xx01'B
-- presentationRestricted 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect calling party restriction treatment
...
}
-- GapCriteria notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
GapCriteria ::= CHOICE
{
basicGapCriteria BasicGapCriteria,
compoundGapCriteria CompoundCriteria
}
-- GapIndicators notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
GapIndicators ::= SEQUENCE
{
duration1 [0] Duration,
gapInterval [1] Interval,
...
}
-- GapOnService notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
GapOnService ::= SEQUENCE
{
serviceKey [0] ServiceKey,
...
}
-- GapTreatment notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
GapTreatment ::= CHOICE
{
informationToSend [0] InformationToSend,
releaseCause [1] Cause
}
-- GenericNumber notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
GenericNumber ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminGenericNumberLength..cAPSpecificBoundSetmaxGenericNumberLength))
-- GenericNumbers notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
GenericNumbers ::=
SET SIZE (1..cAPSpecificBoundSetnumOfGenericNumbers) OF GenericNumber
-- GPRS-QoS notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
GPRS-QoS ::= CHOICE
{
short-QoS-format [0] QoS-Subscribed,
long-QoS-format [1] Ext-QoS-Subscribed
}
GPRS-QoS-Extension ::= SEQUENCE {
supplement-to-long-QoS-format [0] Ext2-QoS-Subscribed,
...
}
-- GPRSCause notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
GPRSCause ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminGPRSCauseLength..cAPSpecificBoundSetmaxGPRSCauseLength))
-- 00000000 Unspecified
-- All other values shall be interpreted as 'Unspecified'.
--
-- This parameter indicates the cause for CAP interface related information.
-- The GPRSCause mapping to/from GTP cause values specified in the 3GPP TS 29.060 [12] and
-- to/from 3GPP TS 24.008 [9] GMM cause and SM cause values are outside scope of this document.
-- GPRSEvent notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
GPRSEvent ::= SEQUENCE
{
gPRSEventType [0] GPRSEventType,
monitorMode [1] MonitorMode
}
-- GPRSEventSpecificInformation notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
GPRSEventSpecificInformation ::= CHOICE
{
attachChangeOfPositionSpecificInformation [0] SEQUENCE
{
locationInformationGPRS [0] LocationInformationGPRS OPTIONAL,
...
},
pdp-ContextchangeOfPositionSpecificInformation [1] SEQUENCE
{
accessPointName [0] AccessPointName OPTIONAL,
chargingID [1] GPRSChargingID OPTIONAL,
locationInformationGPRS [2] LocationInformationGPRS OPTIONAL,
pDPType [3] PDPType OPTIONAL,
qualityOfService [4] QualityOfService OPTIONAL,
timeAndTimeZone [5] TimeAndTimezone OPTIONAL,
...,
gGSNAddress [6] GSN-Address OPTIONAL
},
detachSpecificInformation [2] SEQUENCE
{
inititatingEntity [0] InitiatingEntity OPTIONAL,
...,
routeingAreaUpdate [1] NULL OPTIONAL
},
disconnectSpecificInformation [3] SEQUENCE
{
inititatingEntity [0] InitiatingEntity OPTIONAL,
...,
routeingAreaUpdate [1] NULL OPTIONAL
},
pDPContextEstablishmentSpecificInformation [4] SEQUENCE
{
accessPointName [0] AccessPointName OPTIONAL,
pDPType [1] PDPType OPTIONAL,
qualityOfService [2] QualityOfService OPTIONAL,
locationInformationGPRS [3] LocationInformationGPRS OPTIONAL,
timeAndTimeZone [4] TimeAndTimezone OPTIONAL,
pDPInitiationType [5] PDPInitiationType OPTIONAL,
...,
secondaryPDPContext [6] NULL OPTIONAL
},
pDPContextEstablishmentAcknowledgementSpecificInformation [5] SEQUENCE
{
accessPointName [0] AccessPointName OPTIONAL,
chargingID [1] GPRSChargingID OPTIONAL,
pDPType [2] PDPType OPTIONAL,
qualityOfService [3] QualityOfService OPTIONAL,
locationInformationGPRS [4] LocationInformationGPRS OPTIONAL,
timeAndTimeZone [5] TimeAndTimezone OPTIONAL,
...,
gGSNAddress [6] GSN-Address OPTIONAL
}
}
-- GPRSEventType notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
GPRSEventType ::= ENUMERATED
{
attach (1),
attachChangeOfPosition (2),
detached (3),
pdp-ContextEstablishment (11),
pdp-ContextEstablishmentAcknowledgement (12),
disconnect (13),
pdp-ContextChangeOfPosition (14)
}
-- GPRSMSClass notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
GPRSMSClass ::= SEQUENCE
{
mSNetworkCapability [0] MSNetworkCapability,
mSRadioAccessCapability [1] MSRadioAccessCapability OPTIONAL
}
-- InbandInfo notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
InbandInfo ::= SEQUENCE
{
messageID [0] MessageID,
numberOfRepetitions [1] INTEGER (1..127) OPTIONAL,
duration2 [2] INTEGER (0..32767) OPTIONAL,
interval [3] INTEGER (0..32767) OPTIONAL,
...
}
-- InformationToSend notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
InformationToSend ::= CHOICE
{
inbandInfo [0] InbandInfo,
tone [1] Tone
}
-- InitiatingEntity notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
InitiatingEntity ::= ENUMERATED
{
mobileStation (0),
sgsn (1),
hlr (2),
ggsn (3)
}
InitiatorOfServiceChange ::= ENUMERATED
{
a-side (0),
b-side (1)
}
-- InvokeID notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
--InvokeID ::= TCInvokeIdSet
InvokeID ::= InvokeIdType
-- IPRoutingAddress notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
IPRoutingAddress ::= CalledPartyNumber
-- IPSSPCapabilities notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
IPSSPCapabilities ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminIPSSPCapabilitiesLength..cAPSpecificBoundSetmaxIPSSPCapabilitiesLength ))
-- Indicates the gsmSRF resources available. The parameter has two parts, a standard and a
-- bilateral part. The standard part indicates capabilities defined as optional in CAP
-- that shall be recognised (but not necessarily supported) by a gsmSCF. The bilateral
-- part contains further information that is not specified in this standard, but which is set
-- according to bilateral agreements between network operators and/or equipment vendors.
-- The last octet of the standard part is indicated by bit 7 being set to 0, otherwise Bit 7 of
-- a standard part octet is set to 1 indicating that the standard part continues in the following
-- octet. Coding is as follows:
-- Octet 1 Standard Part for CAP
-- Bit Value Meaning
-- 0 0 IPRoutingAddress not supported
-- 1 IPRoutingAddress supported
-- 1 0 VoiceBack not supported
-- 1 VoiceBack supported
-- 2 0 VoiceInformation not supported, via speech recognition
-- 1 VoiceInformation supported, via speech recognition
-- 3 0 VoiceInformation not supported, via voice recognition
-- 1 VoiceInformation supported, via voice recognition
-- 4 0 Generation of voice announcements from Text not supported
-- 1 Generation of voice announcements from Text supported
-- 5 - Reserved
-- 6 - Reserved
-- 7 0 End of standard part
-- 1 This value is reserved in CAP
--
-- Octets 2 to 4 Bilateral Part: Network operator/equipment vendor specific
LegOrCallSegment ::= CHOICE {
callSegmentID [0] CallSegmentID,
legID [1] LegID
}
-- LegType notes: not recursive, exported,
-- locally refd 6 times, import refd 0 times
LegType ::= OCTET STRING (SIZE(1))
-- LocationInformationGPRS notes: not recursive, exported,
-- locally refd 6 times, import refd 0 times
LocationInformationGPRS ::= SEQUENCE
{
cellGlobalIdOrServiceAreaIdOrLAI [0] CellGlobalIdOrServiceAreaIdOrLAI OPTIONAL,
routeingAreaIdentity [1] RAIdentity OPTIONAL,
geographicalInformation [2] GeographicalInformation OPTIONAL,
sgsn-Number [3] ISDN-AddressString OPTIONAL,
selectedLSAIdentity [4] LSAIdentity OPTIONAL,
extensionContainer [5] ExtensionContainer OPTIONAL,
...,
saiPresent [6] NULL OPTIONAL
}
-- cellGlobalIdOrServiceAreaIdOrLAI shall contain the value part of the
-- CellGlobalIdOrServiceAreaIdFixedLength type or the LAIFixedLength type (i.e. excluding tags
-- and lengths) as defined in 3GPP TS 29.002 [13].
-- sai-Present indicates that the cellGlobalIdOrServiceAreaIdOrLAI parameter contains
-- a Service Area Identity.
-- LocationNumber notes: not recursive, exported,
-- locally refd 4 times, import refd 0 times
LocationNumber ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminLocationNumberLength ..cAPSpecificBoundSetmaxLocationNumberLength ))
-- Indicates the Location Number for the calling party.
-- Refer to ETSI EN 300 356-1 [23] for encoding.
LowLayerCompatibility ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminLowLayerCompatibilityLength .. cAPSpecificBoundSetmaxLowLayerCompatibilityLength ))
-- indicates the LowLayerCompatibility for the calling party.
-- Refer to 3GPP TS 24.008 [9] for encoding.
-- It shall be coded as in the value part defined in 3GPP TS 24.008.
-- i.e. the 3GPP TS 24.008 IEI and 3GPP TS 24.008 octet length indicator
-- shall not be included.
-- MessageID notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
MessageID ::= CHOICE
{
elementaryMessageID [0] Integer4,
text [1] SEQUENCE
{
messageContent [0]
IA5String (SIZE (cAPSpecificBoundSetminMessageContentLength..cAPSpecificBoundSetmaxMessageContentLength)),
attributes [1]
OCTET STRING (SIZE (cAPSpecificBoundSetminAttributesLength..cAPSpecificBoundSetmaxAttributesLength)) OPTIONAL
},
elementaryMessageIDs [29]
SEQUENCE SIZE (1..cAPSpecificBoundSetnumOfMessageIDs) OF Integer4,
variableMessage [30] SEQUENCE
{
elementaryMessageID [0] Integer4,
variableParts [1] VariablePartsArray
}
}
-- Use of the text parameter is network operator/equipment vendor specific.
MetDPCriteriaList ::= SEQUENCE SIZE(1..cAPSpecificBoundsSetnumOfChangeOfPositionControlInf) OF MetDPCriterion
MetDPCriterion ::= CHOICE {
enteringCellGlobalId [0] CellGlobalIdOrServiceAreaIdFixedLength,
leavingCellGlobalId [1] CellGlobalIdOrServiceAreaIdFixedLength,
enteringServiceAreaId [2] CellGlobalIdOrServiceAreaIdFixedLength,
leavingServiceAreaId [3] CellGlobalIdOrServiceAreaIdFixedLength,
enteringLocationAreaId [4] LAIFixedLength,
leavingLocationAreaId [5] LAIFixedLength,
inter-SystemHandOverToUMTS [6] NULL,
inter-SystemHandOverToGSM [7] NULL,
inter-PLMNHandOver [8] NULL,
inter-MSCHandOver [9] NULL,
metDPCriterionAlt [10] MetDPCriterionAlt
}
-- The enteringCellGlobalId and leavingCellGlobalId shall contain a Cell Global Identification.
-- The enteringServiceAreaId and leavingServiceAreaId shall contain a Service Area Identification.
MetDPCriterionAlt ::= SEQUENCE {
...
}
MidCallControlInfo ::= SEQUENCE {
minimumNumberOfDigits [0] INTEGER (1..30) DEFAULT 1,
maximumNumberOfDigits [1] INTEGER (1..30) DEFAULT 30,
endOfReplyDigit [2] OCTET STRING (SIZE (1..2)) OPTIONAL,
cancelDigit [3] OCTET STRING (SIZE (1..2)) OPTIONAL,
startDigit [4] OCTET STRING (SIZE (1..2)) OPTIONAL,
interDigitTimeout [6] INTEGER (1..127) DEFAULT 10,
...
}
--
-- - minimumNumberOfDigits specifies the minumum number of digits that shall be collected
-- - maximumNumberOfDigits specifies the maximum number of digits that shall be collected
-- - endOfReplyDigit specifies the digit string that denotes the end of the digits
-- to be collected.
-- - cancelDigit specifies the digit string that indicates that the input shall
-- be erased and digit collection shall start afresh.
-- - startDigit specifies the digit string that denotes the start of the digits
-- to be collected.
-- - interDigitTimeout specifies the maximum duration in seconds between successive
-- digits.
--
-- endOfReplyDigit, cancelDigit and startDigit shall contain digits in the range 0..9, '*' and '#'
-- only. The collected digits string, reported to the gsmSCF, shall include the endOfReplyDigit and
-- the startDigit, if present.
--
-- endOfReplyDigit, cancelDigit and startDigit shall be encoded as BCD digits. Each octet shall
-- contain one BCD digit, in the 4 least significant bits of each octet.
-- The following encoding shall be used for the over-decadic digits: 1011 (*), 1100 (#).
-- MonitorMode notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
MonitorMode ::= ENUMERATED
{
interrupted (0),
notifyAndContinue (1),
transparent (2)
}
-- Indicates the event is relayed and/or processed by the SSP.
-- Transparent means that the gsmSSF or gprsSSF does not notify the gsmSCF of the event.
-- For the use of this parameter refer to the procedure descriptions in clause 11.
-- For the RequestNotificationCharging operation, 'interrupted' shall not be used in MonitorMode.
-- MO-SMSCause notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
MO-SMSCause ::= ENUMERATED {
systemFailure (0),
unexpectedDataValue (1),
facilityNotSupported (2),
sM-DeliveryFailure (3),
releaseFromRadioInterface (4)
}
MT-SMSCause ::= OCTET STRING (SIZE (1))
-- This variable is sent to the gsmSCF for a Short Message delivery failure
-- notification.
-- If the delivery failure is due to RP-ERROR RPDU received from the MS,
-- then MT-SMSCause shall be set to the RP-Cause component in the RP-ERROR RPDU.
-- Refer to 3GPP TS 24.011 [10] for the encoding of RP-Cause values.
-- Otherwise, if the delivery failure is due to internal failure in the MSC or SGSN
-- or time-out from the MS, then MT-SMSCause shall be set to 'Protocol error,
-- unspecified', as defined in 3GPP TS 24.011 [10].
-- MSNetworkCapability notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
MSNetworkCapability ::=
OCTET STRING (SIZE (1..8))
-- MS Network Capability describes the GPRS terminal capabilites related to the network, i.e. SMS
-- point to point service over packet data channels. For encoding refer to 3GPP TS 24.008 [12].
-- It shall contain the value part defined in 3GPP TS 24.008 only. I.e. the 3GPP TS 24.008 IEI
-- and 3GPP TS 24.008 octet length indicator shall not be included.
-- MSRadioAccessCapability notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
MSRadioAccessCapability ::=
OCTET STRING (SIZE (1..50))
-- MS Radio Access Capability describes the terminal capabilites relevant for the radio network,
-- which may affect the way the network handles the mobile.
-- For encoding refer to 3GPP TS 24.008 [12].
-- It shall contain the value part defined in 3GPP TS 24.008 only. I.e. the 3GPP TS 24.008 IEI
-- and 3GPP TS 24.008 octet length indicator shall not be included.
-- NAOliInfo notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
NAOliInfo ::=
OCTET STRING (SIZE (1))
-- NA Oli information takes the same value as defined in ANSI T1.113-1995 [92]
-- e.g. '3D'H - Decimal value 61 - Cellular Service (Type 1)
-- '3E'H - Decimal value 62 - Cellular Service (Type 2)
-- '3F'H - Decimal value 63 - Cellular Service (roaming)
NatureOfServiceChange ::= ENUMERATED {
userInitiated (0),
networkInitiated (1)
}
NumberOfDigits ::= INTEGER (1..255)
-- Indicates the number of digits to be collected.
-- OCSIApplicable notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
OCSIApplicable ::= NULL
-- Indicates that the Originating CAMEL Subscription Information, if present, shall be
-- applied on the outgoing call leg created with a Connect operation. For the use of this
-- parameter see 3GPP TS 23.078 [7].
-- OriginalCalledPartyID notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
OriginalCalledPartyID ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminOriginalCalledPartyIDLength ..cAPSpecificBoundSetmaxOriginalCalledPartyIDLength ))
-- PDPId notes: not recursive, exported,
-- locally refd 11 times, import refd 0 times
PDPId ::=
OCTET STRING (SIZE (1))
-- PDPInitiationType notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
PDPInitiationType ::= ENUMERATED
{
mSInitiated (0),
networkInitiated (1)
}
-- QualityOfService notes: not recursive, exported,
-- locally refd 5 times, import refd 0 times
QualityOfService ::=
SEQUENCE
{
requested-QoS [0] GPRS-QoS OPTIONAL,
subscribed-QoS [1] GPRS-QoS OPTIONAL,
negotiated-QoS [2] GPRS-QoS OPTIONAL,
...,
requested-QoS-Extension [3] GPRS-QoS-Extension OPTIONAL,
subscribed-QoS-Extension [4] GPRS-QoS-Extension OPTIONAL,
negotiated-QoS-Extension [5] GPRS-QoS-Extension OPTIONAL
}
-- ReceivingSideID notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
ReceivingSideID ::= CHOICE
{
receivingSideID [1] LegType
}
-- RedirectingPartyID notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
RedirectingPartyID ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminRedirectingPartyIDLength ..cAPSpecificBoundSetmaxRedirectingPartyIDLength ))
-- Indicates redirecting number.
-- Refer to ETSI EN 300 356-1 [23] Redirecting number for encoding.
-- RequestedInformationList notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
RequestedInformationList ::=
SEQUENCE SIZE (1..numOfInfoItems) OF RequestedInformation
-- RequestedInformationTypeList notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
RequestedInformationTypeList ::=
SEQUENCE SIZE (1..numOfInfoItems) OF RequestedInformationType
-- RequestedInformation notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
RequestedInformation ::= SEQUENCE
{
requestedInformationType [0] RequestedInformationType,
requestedInformationValue [1] RequestedInformationValue
}
-- RequestedInformationType notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
RequestedInformationType ::= ENUMERATED
{
callAttemptElapsedTime (0),
callStopTime (1),
callConnectedElapsedTime (2),
releaseCause (30)
}
-- RequestedInformationValue notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
RequestedInformationValue ::= CHOICE
{
callAttemptElapsedTimeValue [0] INTEGER (0..255),
callStopTimeValue [1] DateAndTime,
callConnectedElapsedTimeValue [2] Integer4,
releaseCauseValue [30] Cause
}
-- RPCause notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
RPCause ::=
OCTET STRING (SIZE (1))
-- RP cause according to 3GPP TS 24.011 [10] or 3GPP TS 29.002 [11].
-- GsmSCF shall send this cause in the ReleaseSMS operation.
-- For a MO-SMS service, the MSC or SGSN shall send the RP Cause to the originating MS.
-- It shall be used to overwrite the RP-Cause element in the RP-ERROR RPDU.
-- For a MT-SMS service, the MSC or SGSN shall send the RP Cause to the sending SMS-GMSC.
-- It shall be used to overwrite the RP-Cause element in the RP-ERROR RPDU.
-- ScfID notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
ScfID ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminScfIDLength..cAPSpecificBoundSetmaxScfIDLength ))
-- SCIBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
SCIBillingChargingCharacteristics ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminSCIBillingChargingLength ..cAPSpecificBoundSetmaxSCIBillingChargingLength ))
-- SCIGPRSBillingChargingCharacteristics notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
SCIGPRSBillingChargingCharacteristics ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminSCIBillingChargingLength ..cAPSpecificBoundSetmaxSCIBillingChargingLength ))
-- SendingSideID notes: not recursive, exported,
-- locally refd 4 times, import refd 0 times
SendingSideID ::= CHOICE
{
sendingSideID [0] LegType
}
-- ServiceInteractionIndicatorsTwo notes: not recursive, exported,
-- locally refd 5 times, import refd 0 times
ServiceInteractionIndicatorsTwo ::= SEQUENCE
{
forwardServiceInteractionInd [0] ForwardServiceInteractionInd OPTIONAL,
backwardServiceInteractionInd [1] BackwardServiceInteractionInd OPTIONAL,
bothwayThroughConnectionInd [2] BothwayThroughConnectionInd OPTIONAL,
connectedNumberTreatmentInd [4] ConnectedNumberTreatmentInd OPTIONAL,
nonCUGCall [13] NULL OPTIONAL,
-- applicable to Connect and ContinueWithArgument
-- indicates that no parameters for CUG shall be used for the call (i.e. the call shall
-- be a non-CUG call).
-- If not present, it indicates one of three things:
-- a) continue with modified CUG information (when one or more of either CUG Interlock Code
-- and Outgoing Access Indicator are present), or
-- b) continue with original CUG information (when neither CUG Interlock Code or Outgoing
-- Access Indicator are present), i.e. no IN impact.
-- c) continue with the original non-CUG call.
holdTreatmentIndicator [50] OCTET STRING (SIZE (1)) OPTIONAL,
-- applicable to InitialDP, Connect and ContinueWithArgument
-- acceptHoldRequest 'xxxx xx01'B
-- rejectHoldRequest 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect call hold treatment
cwTreatmentIndicator [51] OCTET STRING (SIZE (1)) OPTIONAL,
-- applicable to InitialDP, Connect and ContinueWithArgument
-- acceptCw 'xxxx xx01'B
-- rejectCw 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect call waiting treatment
ectTreatmentIndicator [52] OCTET STRING (SIZE (1)) OPTIONAL,
-- applicable to InitialDP, Connect and ContinueWithArgument
-- acceptEctRequest 'xxxx xx01'B
-- rejectEctRequest 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect explicit call transfer treatment
...
}
-- SGSNCapabilities notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
SGSNCapabilities ::=
OCTET STRING (SIZE (1))
-- Indicates the SGSN capabilities. The coding of the parameter is as follows:
-- Bit Value Meaning
-- 0 0 AoC not supported by SGSN
-- 1 AoC supported by SGSN
-- 1 - This bit is reserved in CAP V.3
-- 2 - This bit is reserved in CAP V.3
-- 3 - This bit is reserved in CAP V.3
-- 4 - This bit is reserved in CAP V.3
-- 5 - This bit is reserved in CAP V.3
-- 6 - This bit is reserved in CAP V.3
-- 7 - This bit is reserved in CAP V.3
SMS-AddressString ::= AddressString
-- (SIZE (1 .. maxSMS-AddressStringLength))
-- This data type is used to transport CallingPartyNumber for MT-SMS.
-- If this data type is used for MO-SMS, then the maximum number of digits shall be 16.
-- An SMS-AddressString may contain an alphanumeric character string. In this
-- case, a nature of address indicator '101'B is used, in accordance with
-- 3GPP TS 23.040 [6]. The address is coded in accordance with the GSM 7-bit
-- default alphabet definition and the SMS packing rules as specified in
-- 3GPP TS 23.038 [15] in this case.
-- maxSMS-AddressStringLength INTEGER ::= 11
SMSEvent ::= SEQUENCE
{
eventTypeSMS [0] EventTypeSMS,
monitorMode [1] MonitorMode
}
-- TimeAndTimezone notes: not recursive, exported,
-- locally refd 7 times, import refd 0 times
TimeAndTimezone ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminTimeAndTimezoneLength..cAPSpecificBoundSetmaxTimeAndTimezoneLength))
-- Indicates the time and timezone, relative to GMT. This parameter is BCD encoded.
-- The year digit indicating millenium occupies bits 0-3 of the first octet, and the year
-- digit indicating century occupies bits 4-7 of the first octet.
-- The year digit indicating decade occupies bits 0-3 of the second octet, whilst the digit
-- indicating the year within the decade occupies bits 4-7 of the second octet.
-- The most significant month digit occupies bits 0-3 of the third octet, and the least
-- significant month digit occupies bits 4-7 of the third octet.
-- The most significant day digit occupies bits 0-3 of the fourth octet, and the least
-- significant day digit occupies bits 4-7 of the fourth octet.
-- The most significant hours digit occupies bits 0-3 of the fifth octet, and the least
-- significant hours digit occupies bits 4-7 of the fifth octet.
-- The most significant minutes digit occupies bits 0-3 of the sixth octet, and the least
-- significant minutes digit occupies bits 4-7 of the sixth octet.
-- The most significant seconds digit occupies bits 0-3 of the seventh octet, and the least
-- significant seconds digit occupies bits 4-7 of the seventh octet.
--
-- The timezone information occupies the eighth octet. For the encoding of Timezone refer to
-- 3GPP TS 23.040 [6].
--
-- The BCD digits are packed and encoded as follows:
--
-- Bit 7 6 5 4 | 3 2 1 0
-- 2nd digit | 1st digit Octet 1
-- 3rd digit | 4th digit Octet 2
-- .. ..
-- nth digit | n-1th digit Octet m
--
-- 0000 digit 0
-- 0001 digit 1
-- 0010 digit 2
-- 0011 digit 3
-- 0100 digit 4
-- 0101 digit 5
-- 0110 digit 6
-- 0111 digit 7
-- 1000 digit 8
-- 1001 digit 9
-- 1010 spare
-- 1011 spare
-- 1100 spare
-- 1101 spare
-- 1110 spare
-- 1101 spare
--
-- where the leftmost bit of the digit is either bit 7 or bit 3 of the octet.
-- TimeIfNoTariffSwitch notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
TimeIfNoTariffSwitch ::= INTEGER (0..864000)
-- TimeIfTariffSwitch notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
TimeIfTariffSwitch ::= SEQUENCE
{
timeSinceTariffSwitch [0] INTEGER (0..864000),
tttariffSwitchInterval [1] INTEGER (1..864000) OPTIONAL
}
-- TimeInformation notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
TimeInformation ::= CHOICE
{
timeIfNoTariffSwitch [0] TimeIfNoTariffSwitch,
timeIfTariffSwitch [1] TimeIfTariffSwitch
}
-- TimerID notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
TimerID ::= ENUMERATED
{
tssf (0)
}
-- TimerValue notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
TimerValue ::= Integer4
-- Tone notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
Tone ::= SEQUENCE
{
toneID [0] Integer4,
duration3 [1] Integer4 OPTIONAL
}
-- TPDataCodingScheme notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
TPDataCodingScheme ::=
OCTET STRING (SIZE (1))
-- TP Data Coding Scheme according to 3GPP TS 23.040 [6]
-- TPProtocolIdentifier notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
TPProtocolIdentifier ::= OCTET STRING (SIZE (1))
-- indicates the protocol used above the SM-Transfer Layer as specified in 3GPP TS 23.040 [6].
TPShortMessageSpecificInfo ::= OCTET STRING (SIZE (1))
-- contains the 1st octect of the applicable TPDU or the SMS-COMMAND TPDU as specified in
-- 3GPP TS 23.040 [6].
-- TPValidityPeriod notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
TPValidityPeriod ::= OCTET STRING (SIZE (1..7))
-- indicates the length of the validity period or the absolute time of the validity
-- period termination as specified in 3GPP TS 23.040 [6].
-- the length of ValidityPeriod is either 1 octet or 7 octets
-- TransferredVolume notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
TransferredVolume ::= CHOICE
{
volumeIfNoTariffSwitch [0] INTEGER (0..4294967295),
volumeIfTariffSwitch [1] SEQUENCE
{
volumeSinceLastTariffSwitch [0] INTEGER (0..4294967295),
volumeTariffSwitchInterval [1] INTEGER (0..4294967295) OPTIONAL
}
}
-- volumeIfNoTariffSwitch, volumeSinceLastTariffSwitch and volumeTariffSwitchInterval
-- are measured in bytes.
TransferredVolumeRollOver ::= CHOICE {
rOVolumeIfNoTariffSwitch [0] INTEGER (0.. 255),
rOVolumeIfTariffSwitch [1] SEQUENCE {
rOVolumeSinceLastTariffSwitch [0] INTEGER (0.. 255) OPTIONAL,
rOVolumeTariffSwitchInterval [1] INTEGER (0.. 255) OPTIONAL
}
}
-- rO-VolumeIfNoTariffSwitch, rO-VolumeSinceLastTariffSwitch and rO-VolumeTariffSwitchInterval
-- present counters indicating the number of parameter range rollovers.
UnavailableNetworkResource ::= ENUMERATED {
unavailableResources (0),
componentFailure (1),
basicCallProcessingException (2),
resourceStatusFailure (3),
endUserFailure (4)
}
-- Indicates the network resource that failed.
-- VariablePart notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
VariablePart ::= CHOICE
{
integer [0] Integer4,
number [1] Digits,
time [2]
OCTET STRING (SIZE (2)),
date [3]
OCTET STRING (SIZE (4)),
price [4]
OCTET STRING (SIZE (4))
}
-- Indicates the variable part of the message. Time is BCD encoded.
-- The most significant hours digit occupies bits 0-3 of the first octet, and the least
-- significant digit occupies bits 4-7 of the first octet. The most significant minutes digit
-- occupies bits 0-3 of the second octet, and the least significant digit occupies bits 4-7
-- of the second octet.
--
-- Date is BCD encoded. The year digit indicating millenium occupies bits 0-3 of the first octet,
-- and the year digit indicating century occupies bits 4-7 of the first octet. The year digit
-- indicating decade occupies bits 0-3 of the second octet, whilst the digit indicating the year
-- within the decade occupies bits 4-7 of the second octet.
-- The most significant month digit occupies bits 0-3 of the third octet, and the least
-- significant month digit occupies bits 4-7 of the third octet. The most significant day digit
-- occupies bits 0-3 of the fourth octet, and the least significant day digit occupies bits 4-7
-- of the fourth octet.
-- Price is BCD encoded. The digit indicating hundreds of thousands occupies bits 0-3 of the
-- first octet, and the digit indicating tens of thousands occupies bits 4-7 of the first octet.
-- The digit indicating thousands occupies bits 0-3 of the second octet, whilst the digit
-- indicating hundreds occupies bits 4-7 of the second octet. The digit indicating tens occupies
-- bits 0-3 of the third octet, and the digit indicating 0 to 9 occupies bits 4-7 of the third
-- octet. The tenths digit occupies bits 0-3 of the fourth octet, and the hundredths digit
-- occupies bits 4-7 of the fourth octet.
--
-- For the encoding of digits in an octet, refer to the timeAndtimezone parameter
-- SpecializedResourceReportArg notes: not recursive, exported,
-- locally refd 0 times, import refd 0 times
-- SpecializedResourceReportArg ::= NULL
SpecializedResourceReportArg ::= CHOICE {
allAnnouncementsComplete [50] NULL,
firstAnnouncementStarted [51] NULL
}
-- CUG-Interlock notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
-- imported from gsmmap
-- CUG-Interlock ::= OCTET STRING (SIZE (4))
-- CUG-Index notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
-- imported from gsmmap
-- CUG-Index ::= INTEGER (0..32767)
-- CallReferenceNumber notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CallReferenceNumber ::= OCTET STRING (SIZE (1..8))
-- SuppressionOfAnnouncement notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
SuppressionOfAnnouncement ::= NULL
-- NotReachableReason notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
NotReachableReason ::= ENUMERATED
{
msPurged (0),
imsiDetached (1),
restrictedArea (2),
notRegistred (3)
}
-- AddressString notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
AddressString ::=
OCTET STRING (SIZE(1..maxAddressLength))
-- LAIFixedLength notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
-- IMPORTED fom GSM MAP
-- LAIFixedLength ::= OCTET STRING (SIZE (5))
-- Refers to Location Area Identification defined in TS GSM 03.03.
-- Octets ares encoded according to TS GSM 04.08.
-- The internal structure is defined as follows:
-- Mobile Country Code: 3 digits according to CCITT Rec E.212.
-- 1 digits filler (1111)
-- Mobile Network Code: 2 digits according to CCITT Rec E.212.
-- Location Area Code: 2 octets according to TS GSM 04.08.
-- ServiceKey notes: not recursive, exported,
-- locally refd 6 times, import refd 0 times
ServiceKey ::= INTEGER (0..2147483647)
-- Duration notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
Duration ::= INTEGER (-2..86400)
-- Integer4 notes: not recursive, exported,
-- locally refd 8 times, import refd 0 times
Integer4 ::= INTEGER (0..2147483647)
-- Interval notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
Interval ::= INTEGER (-1..60000)
-- CallingPartysCategory notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
CallingPartysCategory ::=
OCTET STRING (SIZE (1))
-- RedirectionInformation notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
RedirectionInformation ::=
OCTET STRING (SIZE (2))
-- HighLayerCompatibility notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
HighLayerCompatibility ::=
OCTET STRING (SIZE (highLayerCompatibilityLength))
-- BothwayThroughConnectionInd notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
BothwayThroughConnectionInd ::= ENUMERATED
{
bothwayPathRequired (0),
bothwayPathNotRequired (1)
}
-- TCInvokeIdSet notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
-- TCInvokeIdSet ::= INTEGER (-128..127)
-- ExtensionSetExtensionType notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
-- FIXME: add to decode this: ExtensionSetExtensionType ::= ANY
-- ExtensionSetextensionId notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ExtensionSetextensionId ::= OBJECT IDENTIFIER
-- Import from GSM MAP
-- GSN-Address ::= OCTET STRING (SIZE (5..17))
-- PDPType notes: not recursive, exported,
-- locally refd 5 times, import refd 0 times
-- Equivalent to EndUserAddress
PDPType ::= SEQUENCE
{
pDPTypeOrganization [0] PDPTypeOrganization,
pDPTypeNumber [1] PDPTypeNumber,
pDPAddress [2] PDPAddress OPTIONAL
}
PDPTypeOrganization ::= OCTET STRING (SIZE (1))
PDPTypeNumber ::= OCTET STRING (SIZE (1))
PDPAddress ::= OCTET STRING (SIZE (cAPSpecificBoundSetminPDPAddressLength..cAPSpecificBoundSetmaxPDPAddressLength))
-- Indicates the PDPType, refer to 3GPP TS 29.060 for the encoding.
-- The pDPTypeOrganization shall use the least significant 4 bits of the octet encoded.
-- The sender of this parameter shall set the most significant 4 bit of the octet to 0.
-- The receiver of this parameter shall ignore the most significant 4 bits of this octet.
-- TS 29.060 "The PDP Type Organisation and PDP Type Number are encoded as in the End User Address information element."
-- Code notes: not recursive, exported,
-- locally refd 63 times, import refd 0 times
Code ::= CHOICE
{
local INTEGER,
global OBJECT IDENTIFIER
}
-- PCS-Extensions notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
PCS-Extensions ::= SEQUENCE
{
foo INTEGER (0) OPTIONAL
}
-- MiscCallInfo notes: not recursive, exported,
-- locally refd 3 times, import refd 0 times
MiscCallInfo ::= SEQUENCE
{
messageType [0] ENUMERATED
{
request (0),
notification (1)
}
}
-- SupportedExtensionsExtensionType notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
SupportedExtensionsExtensionType ::= CHOICE
{
firstExtensionExtensionType NULL --,
-- secondExtensionExtensionType NULL
}
-- PrivateExtension notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
PrivateExtension ::= SEQUENCE
{
extId ExtensionSetextensionId
-- FIXME: add to decode this: extType ExtensionSetExtensionType OPTIONAL
}
FreeFormatData ::=
OCTET STRING (SIZE (cAPSpecificBoundSetminSCIBillingChargingLength..cAPSpecificBoundSetmaxSCIBillingChargingLength ))
-- The endOfReplyDigit, cancelDigit, and startDigit parameters have been
-- designated as OCTET STRING, and are to be encoded as BCD, one digit per octet
-- only, contained in the four least significant bits of each OCTET. The following encoding shall
-- be applied for the non-decimal characters:
-- 1011 (*), 1100 (#).
-- ApplyChargingReportArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CallresultoctetPDU ::= OCTET STRING (SIZE (cAPSpecificBoundSetminCallResultLength..cAPSpecificBoundSetmaxCallResultLength))
--ApplyChargingReportArg ::= SEQUENCE {
-- callresultOctet CallresultoctetPDU
-- }
-- (
-- CONTAINING CamelCallResult
-- ENCODED BY enc-BER
-- )
-- CallResult type
ApplyChargingReportArg ::= SEQUENCE {
callresultOctet CAMEL-CallResult
}
-- CancelArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CancelArg ::=
CHOICE
{
callInvokeID [0] InvokeID,
allRequests [1] NULL,
callSegmentToCancel [2] CallSegmentToCancel
}
CollectInformationArg ::= SEQUENCE {
extensions [0] ExtensionsArray OPTIONAL,
...
}
-- FurnishChargingInformationArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
FurnishChargingInformationArg ::= CAMEL-FCIBillingChargingCharacteristics
-- FCIBillingChargingCharacteristics type.
-- ReleaseCallArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
-- ReleaseCallArg ::= OCTET STRING (SIZE (minCauseLength..32))
ReleaseCallArg ::= Q850Cause
Q850Cause ::=OCTET STRING (SIZE (cAPSpecificBoundSetminCauseLength..cAPSpecificBoundSetminCauseLength))
-- Cause notes: not recursive, exported,
-- locally refd 10 times, import refd 0 times
Cause ::= OCTET STRING (SIZE (cAPSpecificBoundSetminCauseLength..cAPSpecificBoundSetmaxCauseLength))
--
-- ReceivedInformationArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ReceivedInformationArg ::=
CHOICE
{
digitsResponse [0] Digits
}
-- FurnishChargingInformationSMSArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
FurnishChargingInformationSMSArg ::=
OCTET STRING (SIZE (5..225))
-- FCISMSBillingChargingCharacteristics type.
-- ConnectGPRSArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ConnectGPRSArg ::=
SEQUENCE
{
accessPointName [0] AccessPointName,
pdpID [1] PDPId OPTIONAL,
...
}
-- EntityReleasedGPRSArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
EntityReleasedGPRSArg ::=
SEQUENCE
{
gPRSCause [0] GPRSCause,
pDPID [1] PDPId OPTIONAL,
...
}
-- ReleaseGPRSArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ReleaseGPRSArg ::=
SEQUENCE
{
gprsCause [0] GPRSCause,
pDPID [1] PDPId OPTIONAL,
...
}
-- RequestReportGPRSEventArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
RequestReportGPRSEventArg ::=
SEQUENCE
{
gPRSEvent [0] GPRSEventArray,
pDPID [1] PDPId OPTIONAL,
...
}
GPRSEventArray ::=
SEQUENCE SIZE (1..cAPSpecificBoundSetnumOfGPRSEvents) OF GPRSEvent
-- SendChargingInformationGPRSArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
SendChargingInformationGPRSArg ::=
SEQUENCE
{
sCIGPRSBillingChargingCharacteristics [0] SCIGPRSBillingChargingCharacteristics,
...
}
-- SubscriberState notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
SubscriberState ::=
CHOICE
{
assumedIdle [0] NULL,
camelBusy [1] NULL,
netDetNotReachable NotReachableReason,
notProvidedFromVLR [2] NULL
}
-- PrivateExtensionList notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
PrivateExtensionList ::=
SEQUENCE SIZE (1..maxNumOfPrivateExtensions) OF PrivateExtension
-- ISDN-AddressString notes: not recursive, exported,
-- locally refd 9 times, import refd 0 times
ISDN-AddressString ::= OCTET STRING (SIZE(1..maxISDN-AddressLength))
-- LegID notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
LegID ::= CHOICE
{
sendingSideID [0] LegType,
receivingSideID [1] LegType
}
VariablePartsArray ::= SEQUENCE SIZE (1..5) OF VariablePart
-- InitialDPArgExtension notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
-- Updated from ETSI TS 129 078 V6.4.0 (2004-3GPP TS 29.078 version 6.4.0 Release 6 1 12)
InitialDPArgExtension ::= SEQUENCE {
gmscAddress [0] ISDN-AddressString OPTIONAL,
forwardingDestinationNumber [1] CalledPartyNumber OPTIONAL,
ms-Classmark2 [2] MS-Classmark2 OPTIONAL,
iMEI [3] IMEI OPTIONAL,
supportedCamelPhases [4] SupportedCamelPhases OPTIONAL,
offeredCamel4Functionalities [5] OfferedCamel4Functionalities OPTIONAL,
bearerCapability2 [6] BearerCapability OPTIONAL,
ext-basicServiceCode2 [7] Ext-BasicServiceCode OPTIONAL,
highLayerCompatibility2 [8] HighLayerCompatibility OPTIONAL,
lowLayerCompatibility [9] LowLayerCompatibility OPTIONAL,
lowLayerCompatibility2 [10] LowLayerCompatibility OPTIONAL,
...,
enhancedDialledServicesAllowed [11] NULL OPTIONAL,
uu-Data [12] UU-Data OPTIONAL,
collectInformationAllowed [13] NULL OPTIONAL
}
InitiateCallAttemptArg ::= SEQUENCE {
destinationRoutingAddress [0] DestinationRoutingAddress,
extensions [4] ExtensionsArray OPTIONAL,
legToBeCreated [5] LegID OPTIONAL,
newCallSegment [6] CallSegmentID OPTIONAL,
callingPartyNumber [30] CallingPartyNumber OPTIONAL,
callReferenceNumber [51] CallReferenceNumber OPTIONAL,
gsmSCFAddress [52] ISDN-AddressString OPTIONAL,
suppress-T-CSI [53] NULL OPTIONAL,
...
}
InitiateCallAttemptRes ::= SEQUENCE {
supportedCamelPhases [0] SupportedCamelPhases OPTIONAL,
offeredCamel4Functionalities [1] OfferedCamel4Functionalities OPTIONAL,
extensions [2] ExtensionsArray OPTIONAL,
...
}
MoveLegArg ::= SEQUENCE{
legIDToMove [0] LegID,
extensions [2] ExtensionsArray OPTIONAL,
...
}
PlayToneArg ::= SEQUENCE {
legOrCallSegment [0] LegOrCallSegment,
bursts [1] Burst,
extensions [2] ExtensionsArray OPTIONAL,
...
}
CellGlobalIdOrServiceAreaIdOrLAI ::= OCTET STRING (SIZE (5..7))
-- The 3GPP TS 29.078 standard, about cellGlobalIdOrServiceAreaIdOrLAI:
-- "CellGlobalIdOrServiceAreaIdOrLAI and LSAIdentity are coded in accordance with
-- 3GPP TS 29.002 [13].
-- sai-Present indicates that the cellGlobalIdOrServiceAreaIdOrLAI parameter contains
-- a Service Area Identity."
-- GPP TS 29.078 version 6.4.0 Release 6 has it as:
-- CellGlobalIdOrServiceAreaIdFixedLength type or the LAIFixedLength type (i.e. excluding tags
-- and lengths) as defined in 3GPP TS 29.002 [13].
-- sai-Present indicates that the cellGlobalIdOrServiceAreaIdOrLAI parameter contains
-- a Service Area Identity.
-- 3GPP TS 29.002 [13] gives the folowing coding for CellGlobalIdOrServiceAreaIdOrLAI:
-- CellGlobalIdOrServiceAreaIdOrLAI ::= CHOICE {
-- cellGlobalIdOrServiceAreaIdFixedLength [0] CellGlobalIdOrServiceAreaIdFixedLength,
-- laiFixedLength [1] LAIFixedLength
-- }
--
-- CellGlobalIdOrServiceAreaIdFixedLength ::=
-- implement size < 8 --
-- OCTET STRING (SIZE (7))
-- This coding would disrupt the backward compatibillity, so the cellGlobalIdOrServiceAreaIdOrLAI
-- parameter is set as an OCTET STRING, as it was in previous implementations.
-- Local imports
SupportedCamelPhases ::= BIT STRING {
phase1 (0 ),
phase2 (1 ),
phase3 (2 ),
phase4 (3 )}
OfferedCamel4Functionalities ::= BIT STRING {
initiateCallAttempt (0),
splitLeg (1),
moveLeg (2),
disconnectLeg (3),
entityReleased (4),
dfc-WithArgument (5),
playTone (6),
dtmf-MidCall (7),
chargingIndicator (8),
alertingDP (9),
locationAtAlerting (10),
changeOfPositionDP (11),
or-Interactions (12),
warningToneEnhancements (13),
cf-Enhancements (14),
subscribedEnhancedDialledServices (15),
servingNetworkEnhancedDialledServices (16),
criteriaForChangeOfPositionDP (17),
serviceChangeDP (18)
} (SIZE (15..64))
-- A node supporting Camel phase 4 shall mark in the BIT STRING all CAMEL4
-- functionalities it offers.
-- Other values than listed above shall be discarded.
-- EventReportGPRSArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
EventReportGPRSArg ::=
SEQUENCE
{
gPRSEventType [0] GPRSEventType,
miscGPRSInfo [1] MiscCallInfo OPTIONAL,
gPRSEventSpecificInformation [2] GPRSEventSpecificInformation OPTIONAL,
pDPID [3] PDPId OPTIONAL,
...
}
-- SupportedExtensionsid notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
SupportedExtensionsid ::= Code
-- Creation d'un nouveau type : NomObjetClasse-NomChampsClasse --
-- ExtensionField notes: not recursive, exported,
-- locally refd 24 times, import refd 0 times
ExtensionField ::= SEQUENCE
{
type SupportedExtensionsid,
criticality CriticalityType DEFAULT ignore,
value [1] SupportedExtensionsExtensionType,
...
}
-- ApplyChargingArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ApplyChargingArg ::= SEQUENCE
{
aChBillingChargingCharacteristics [0] AChBillingChargingCharacteristics,
partyToCharge1 [2] SendingSideID DEFAULT '01'H,
extensions [3] ExtensionsArray OPTIONAL,
aChChargingAddress [50] AChChargingAddress,
...
}
ExtensionsArray ::= SEQUENCE SIZE (1..cAPSpecificBoundSetnumOfExtensions) OF ExtensionField
-- AssistRequestInstructionsArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
AssistRequestInstructionsArg ::=
SEQUENCE
{
correlationID [0] CorrelationID,
iPSSPCapabilities [2] IPSSPCapabilities,
extensions [3] ExtensionsArray OPTIONAL,
...
}
-- CallInformationRequestArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CallInformationRequestArg ::=
SEQUENCE
{
requestedInformationTypeList [0] RequestedInformationTypeList,
extensions [2] ExtensionsArray OPTIONAL,
legID3 [3] SendingSideID OPTIONAL,
...
}
-- ConnectArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ConnectArg ::=
SEQUENCE
{
destinationRoutingAddress [0] DestinationRoutingAddress,
alertingPattern [1] AlertingPattern OPTIONAL,
originalCalledPartyID [6] OriginalCalledPartyID OPTIONAL,
extensions [10] ExtensionsArray OPTIONAL,
carrier [11] Carrier OPTIONAL,
callingPartysCategory [28] CallingPartysCategory OPTIONAL,
redirectingPartyID [29] RedirectingPartyID OPTIONAL,
redirectionInformation [30] RedirectionInformation OPTIONAL,
genericNumbers [14] GenericNumbers OPTIONAL,
serviceInteractionIndicatorsTwo [15] ServiceInteractionIndicatorsTwo OPTIONAL,
chargeNumber [19] ChargeNumber OPTIONAL,
legToBeConnected [21] LegID OPTIONAL,
cug-Interlock [31] CUG-Interlock OPTIONAL,
cug-OutgoingAccess [32] NULL OPTIONAL,
suppressionOfAnnouncement [55] SuppressionOfAnnouncement OPTIONAL,
oCSIApplicable [56] OCSIApplicable OPTIONAL,
naOliInfo [57] NAOliInfo OPTIONAL,
bor-InterrogationRequested [58] NULL OPTIONAL,
...,
suppress-N-CSI [59] NULL OPTIONAL
}
-- ConnectToResourceArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ConnectToResourceArg ::=
SEQUENCE
{
resourceAddress CHOICE
{
ipRoutingAddress [0] IPRoutingAddress,
none [3] NULL
},
extensions [4] ExtensionsArray OPTIONAL,
serviceInteractionIndicatorsTwo [7] ServiceInteractionIndicatorsTwo OPTIONAL,
callSegmentID [50] CallSegmentID OPTIONAL,
...
}
-- ContinueWithArgumentArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ContinueWithArgumentArg ::=
SEQUENCE
{
alertingPattern [1] AlertingPattern OPTIONAL,
extensions [6] ExtensionsArray OPTIONAL,
serviceInteractionIndicatorsTwo [7] ServiceInteractionIndicatorsTwo OPTIONAL,
callingPartysCategory [12] CallingPartysCategory OPTIONAL,
genericNumbers [16] GenericNumbers OPTIONAL,
cug-Interlock [17] CUG-Interlock OPTIONAL,
cug-OutgoingAccess [18] NULL OPTIONAL,
chargeNumber [50] ChargeNumber OPTIONAL,
carrier [52] Carrier OPTIONAL,
suppressionOfAnnouncement [55] SuppressionOfAnnouncement OPTIONAL,
naOliInfo [56] NAOliInfo OPTIONAL,
bor-InterrogationRequested [57] NULL OPTIONAL,
suppress-O-CSI [58] NULL OPTIONAL,
continueWithArgumentArgExtension [59] ContinueWithArgumentArgExtension OPTIONAL,
...
}
ContinueWithArgumentArgExtension ::= SEQUENCE {
suppress-D-CSI [0] NULL OPTIONAL,
suppress-N-CSI [1] NULL OPTIONAL,
suppressOutgoingCallBarring [2] NULL OPTIONAL,
legOrCallSegment [3] LegOrCallSegment OPTIONAL,
...
}
DisconnectLegArg ::= SEQUENCE {
legToBeReleased [0] LegID,
releaseCause [1] Cause OPTIONAL,
extensions [2] ExtensionsArray OPTIONAL,
...
}
EntityReleasedArg ::= CHOICE {
callSegmentFailure [0] CallSegmentFailure,
bCSM-Failure [1] BCSM-Failure
}
DisconnectForwardConnectionWithArgumentArg ::= SEQUENCE {
callSegmentID [1] CallSegmentID OPTIONAL,
extensions [2] ExtensionsArray OPTIONAL,
...
}
-- EstablishTemporaryConnectionArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
EstablishTemporaryConnectionArg ::=
SEQUENCE
{
assistingSSPIPRoutingAddress [0] AssistingSSPIPRoutingAddress,
correlationID [1] CorrelationID OPTIONAL,
scfID [3] ScfID OPTIONAL,
extensions [4] ExtensionsArray OPTIONAL,
carrier [5] Carrier OPTIONAL,
serviceInteractionIndicatorsTwo [6] ServiceInteractionIndicatorsTwo OPTIONAL,
callSegmentID [7] CallSegmentID OPTIONAL,
naOliInfo [50] NAOliInfo OPTIONAL,
chargeNumber [51] ChargeNumber OPTIONAL,
...,
originalCalledPartyID [52] OriginalCalledPartyID OPTIONAL,
callingPartyNumber [53] CallingPartyNumber OPTIONAL
}
-- EventReportBCSMArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
EventReportBCSMArg ::=
SEQUENCE
{
eventTypeBCSM [0] EventTypeBCSM,
eventSpecificInformationBCSM [2] EventSpecificInformationBCSM OPTIONAL,
legID4 [3] ReceivingSideID OPTIONAL,
miscCallInfo [4] MiscCallInfo OPTIONAL,
extensions [5] ExtensionsArray OPTIONAL,
...
}
-- ResetTimerArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ResetTimerArg ::=
SEQUENCE
{
timerID [0] TimerID DEFAULT tssf,
timervalue [1] TimerValue,
extensions [2] ExtensionsArray OPTIONAL,
callSegmentID [3] CallSegmentID OPTIONAL,
...
}
-- SendChargingInformationArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
SendChargingInformationArg ::=
SEQUENCE
{
sCIBillingChargingCharacteristics [0] SCIBillingChargingCharacteristics,
partyToCharge2 [1] SendingSideID,
extensions [2] ExtensionsArray OPTIONAL,
...
}
SplitLegArg ::= SEQUENCE {
legToBeSplit [0] LegID,
newCallSegment [1] CallSegmentID OPTIONAL,
extensions [2] ExtensionsArray OPTIONAL,
...
}
CAPGPRSReferenceNumber ::= SEQUENCE {
destinationReference [0] EXPLICIT Integer4 OPTIONAL,
originationReference [1] EXPLICIT Integer4 OPTIONAL
}
-- EventReportSMSArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
EventReportSMSArg ::=
SEQUENCE
{
eventTypeSMS [0] EventTypeSMS,
eventSpecificInformationSMS [1] EventSpecificInformationSMS OPTIONAL,
miscCallInfo [2] MiscCallInfo OPTIONAL,
extensions [10] ExtensionsArray OPTIONAL,
...
}
-- ResetTimerSMSArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ResetTimerSMSArg ::=
SEQUENCE
{
timerID [0] TimerID DEFAULT tssf,
timervalue [1] TimerValue,
extensions [2] ExtensionsArray OPTIONAL,
...
}
-- RequestReportBCSMEventArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
RequestReportBCSMEventArg ::=
SEQUENCE
{
bcsmEvents [0] BCSMEventArray,
extensions [2] ExtensionsArray OPTIONAL,
...
}
BCSMEventArray ::=
SEQUENCE SIZE (1..cAPSpecificBoundSetnumOfBCSMEvents) OF BCSMEvent
-- ConnectSMSArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
ConnectSMSArg ::=
SEQUENCE
{
callingPartysNumber [0] SMS-AddressString OPTIONAL,
destinationSubscriberNumber [1] CalledPartyBCDNumber OPTIONAL,
sMSCAddress [2] ISDN-AddressString OPTIONAL,
extensions [10] ExtensionsArray OPTIONAL,
...
}
-- CallInformationReportArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CallInformationReportArg ::=
SEQUENCE
{
requestedInformationList [0] RequestedInformationList,
extensions [2] ExtensionsArray OPTIONAL,
legID5 [3] ReceivingSideID OPTIONAL,
...
}
-- PlayAnnouncementArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
PlayAnnouncementArg ::=
SEQUENCE
{
informationToSend [0] InformationToSend,
disconnectFromIPForbidden [1] BOOLEAN DEFAULT TRUE,
requestAnnouncementComplete [2] BOOLEAN DEFAULT TRUE,
extensions [3] ExtensionsArray OPTIONAL,
callSegmentID [5] CallSegmentID OPTIONAL,
requestAnnouncementStartedNotification [51] BOOLEAN DEFAULT FALSE,
...
}
-- PromptAndCollectUserInformationArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
PromptAndCollectUserInformationArg ::=
SEQUENCE
{
collectedInfo [0] CollectedInfo,
disconnectFromIPForbidden [1] BOOLEAN DEFAULT TRUE,
informationToSend [2] InformationToSend OPTIONAL,
extensions [3] ExtensionsArray OPTIONAL,
callSegmentID [5] CallSegmentID OPTIONAL,
requestAnnouncementStartedNotification [51] BOOLEAN DEFAULT FALSE,
...
}
--furnishChargingInformationGPRS {PARAMETERS-BOUND : bound} OPERATION ::= {
-- ARGUMENT FurnishChargingInformationGPRSArg {bound}
-- RETURN RESULT FALSE
-- ERRORS {missingParameter |
-- taskRefused |
-- unexpectedComponentSequence |
-- unexpectedDataValue |
-- unexpectedParameter |
-- unknownPDPID}
-- CODE opcode-furnishChargingInformationGPRS}
-- Direction: gsmSCF -> gprsSSF, Timer: Tfcig
-- This operation is used to request the gprsSSF to generate, register a logical record or to
-- include some information in the default logical GPRS record.
-- The registered logical record is intended for off line charging of the GPRS session
-- or PDP Context.
-- FurnishChargingInformationGPRSArg {PARAMETERS-BOUND : bound} ::=
-- FCIGPRSBillingChargingCharacteristics{bound}
FurnishChargingInformationGPRSArg ::= FCIGPRSBillingChargingCharacteristics
-- InitialDPGPRSArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
InitialDPGPRSArg ::=
SEQUENCE
{
serviceKey [0] ServiceKey,
gPRSEventType [1] GPRSEventType,
mSISDN [2] ISDN-AddressString,
iMSI [3] IMSI,
timeAndTimeZone [4] TimeAndTimezone,
gPRSMSClass [5] GPRSMSClass OPTIONAL,
pDPType [6] PDPType OPTIONAL,
qualityOfService [7] QualityOfService OPTIONAL,
accessPointName [8] AccessPointName OPTIONAL,
routeingAreaIdentity [9] RAIdentity OPTIONAL,
chargingID [10] GPRSChargingID OPTIONAL,
sGSNCapabilities [11] SGSNCapabilities OPTIONAL,
locationInformationGPRS [12] LocationInformationGPRS OPTIONAL,
pDPInitiationType [13] PDPInitiationType OPTIONAL,
extensions [14] ExtensionsArray OPTIONAL,
...,
gGSNAddress [15] GSN-Address OPTIONAL,
secondaryPDPContext [16] NULL OPTIONAL,
iMEI [17] IMEI OPTIONAL
}
-- CallGapArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
CallGapArg ::=
SEQUENCE
{
gapCriteria [0] GapCriteria,
gapIndicators [1] GapIndicators,
controlType [2] ControlType OPTIONAL,
gapTreatment [3] GapTreatment OPTIONAL,
extensions [4] ExtensionsArray OPTIONAL,
...
}
-- InitialDPArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
InitialDPArg ::=
SEQUENCE
{
serviceKey [0] ServiceKey,
calledPartyNumber [2] CalledPartyNumber OPTIONAL,
callingPartyNumber [3] CallingPartyNumber OPTIONAL,
callingPartysCategory [5] CallingPartysCategory OPTIONAL,
cGEncountered [7] CGEncountered OPTIONAL,
iPSSPCapabilities [8] IPSSPCapabilities OPTIONAL,
locationNumber [10] LocationNumber OPTIONAL,
originalCalledPartyID [12] OriginalCalledPartyID OPTIONAL,
extensions [15] ExtensionsArray OPTIONAL,
highLayerCompatibility [23] HighLayerCompatibility OPTIONAL,
additionalCallingPartyNumber [25] AdditionalCallingPartyNumber OPTIONAL,
bearerCapability [27] BearerCapability OPTIONAL,
eventTypeBCSM [28] EventTypeBCSM OPTIONAL,
redirectingPartyID [29] RedirectingPartyID OPTIONAL,
redirectionInformation [30] RedirectionInformation OPTIONAL,
cause [17] Cause OPTIONAL,
serviceInteractionIndicatorsTwo [32] ServiceInteractionIndicatorsTwo OPTIONAL,
carrier [37] Carrier OPTIONAL,
cug-Index [45] CUG-Index OPTIONAL,
cug-Interlock [46] CUG-Interlock OPTIONAL,
cug-OutgoingAccess [47] NULL OPTIONAL,
iMSI [50] IMSI OPTIONAL,
subscriberState [51] SubscriberState OPTIONAL,
locationInformation [52] LocationInformation OPTIONAL,
ext-basicServiceCode [53] Ext-BasicServiceCode OPTIONAL,
callReferenceNumber [54] CallReferenceNumber OPTIONAL,
mscAddress [55] ISDN-AddressString OPTIONAL,
calledPartyBCDNumber [56] CalledPartyBCDNumber OPTIONAL,
timeAndTimezone [57] TimeAndTimezone OPTIONAL,
gsm-ForwardingPending [58] NULL OPTIONAL,
initialDPArgExtension [59] InitialDPArgExtension OPTIONAL,
...
}
-- InitialDPSMSArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
InitialDPSMSArg ::=
SEQUENCE
{
serviceKey [0] ServiceKey,
destinationSubscriberNumber [1] CalledPartyBCDNumber OPTIONAL,
callingPartyNumberas [2] SMS-AddressString OPTIONAL,
eventTypeSMS [3] EventTypeSMS OPTIONAL,
iMSI [4] IMSI OPTIONAL,
locationInformationMSC [5] LocationInformation OPTIONAL,
locationInformationGPRS [6] LocationInformationGPRS OPTIONAL,
sMSCAddress [7] ISDN-AddressString OPTIONAL,
timeAndTimezone [8] TimeAndTimezone OPTIONAL,
tPShortMessageSpecificInfo [9] TPShortMessageSpecificInfo OPTIONAL,
tPProtocolIdentifier [10] TPProtocolIdentifier OPTIONAL,
tPDataCodingScheme [11] TPDataCodingScheme OPTIONAL,
tPValidityPeriod [12] TPValidityPeriod OPTIONAL,
extensions [13] ExtensionsArray OPTIONAL,
...,
smsReferenceNumber [14] CallReferenceNumber OPTIONAL,
mscAddress [15] ISDN-AddressString OPTIONAL,
sgsnNumber [16] ISDN-AddressString OPTIONAL,
ms-Classmark2 [17] MS-Classmark2 OPTIONAL,
gPRSMSClass [18] GPRSMSClass OPTIONAL,
iMEI [19] IMEI OPTIONAL,
calledPartyNumberSMS [20] ISDN-AddressString OPTIONAL
}
-- ReleaseSMSArg notes: not recursive, exported,
-- locally refd 0 times, import refd 0 times
ReleaseSMSArg ::= RPCause
-- RequestReportSMSEventArg notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
RequestReportSMSEventArg ::=
SEQUENCE
{
sMSEvents [0] SMSEventArray,
extensions [10] ExtensionsArray OPTIONAL,
...
}
SMSEventArray ::=
SEQUENCE SIZE (1..cAPSpecificBoundSetnumOfSMSEvents) OF SMSEvent
-- ExtensionContainer notes: not recursive, exported,
-- locally refd 0 times, import refd 0 times
ExtensionContainer ::= SEQUENCE
{
privateExtensionList [0] PrivateExtensionList OPTIONAL,
pcs-Extensions [1] PCS-Extensions OPTIONAL
}
-- ApplyChargingGPRSArg notes: not recursive, exported,
-- locally refd 0 times, import refd 0 times
ApplyChargingGPRSArg ::= SEQUENCE
{
chargingCharacteristics [0] ChargingCharacteristics,
tariffSwitchInterval [1] INTEGER (1..86400) OPTIONAL,
pDPID [2] PDPId OPTIONAL,
...
}
-- CriticalityType notes: not recursive, exported,
-- locally refd 2 times, import refd 0 times
CriticalityType ::= ENUMERATED
{
ignore (0),
abort (1)
}
-- ApplyChargingReportGPRSArg notes: not recursive, exported,
-- locally refd 0 times, import refd 0 times
ApplyChargingReportGPRSArg ::=
SEQUENCE
{
chargingResult [0] ChargingResult,
qualityOfService [1] QualityOfService OPTIONAL,
active [2] BOOLEAN DEFAULT TRUE,
pDPID [3] PDPId OPTIONAL,
...,
chargingRollOver [4] ChargingRollOver OPTIONAL
}
-- CancelGPRSArg notes: not recursive, exported,
-- locally refd 0 times, import refd 0 times
CancelGPRSArg ::=
SEQUENCE
{
pDPID [0] PDPId OPTIONAL,
...
}
-- ContinueGPRSArg notes: not recursive, exported,
-- locally refd 0 times, import refd 0 times
ContinueGPRSArg ::=
SEQUENCE
{
pDPID [0] PDPId OPTIONAL,
...
}
-- ResetTimerGPRSArg notes: not recursive, exported,
-- locally refd 0 times, import refd 0 times
ResetTimerGPRSArg ::=
SEQUENCE
{
timerID [0] TimerID DEFAULT tssf,
timervalue [1] TimerValue,
...
}
-- #############################
-- Definition of range constants
-- #############################
leg1 LegType ::= '01'H
leg2 LegType ::= '02'H
numOfInfoItems INTEGER ::= 4
opcode-initialDP Code ::= 0
opcode-assistRequestInstructions Code ::= 16
opcode-establishTemporaryConnection Code ::= 17
opcode-disconnectForwardConnection Code ::= 18
opcode-dFCWithArgument Code ::= 86
opcode-connectToResource Code ::= 19
opcode-connect Code ::= 20
opcode-releaseCall Code ::= 22
opcode-requestReportBCSMEvent Code ::= 23
opcode-eventReportBCSM Code ::= 24
opcode-collectInformation Code ::= 27
opcode-continue Code ::= 31
opcode-initiateCallAttempt Code ::= 32
-- opcode-continueWithArgument Code ::= 56 (should be 88)
opcode-resetTimer Code ::= 33
opcode-furnishChargingInformation Code ::= 34
opcode-applyCharging Code ::= 35
opcode-applyChargingReport Code ::= 36
opcode-callGap Code ::= 41
opcode-callInformationReport Code ::= 44
opcode-callInformationRequest Code ::= 45
opcode-sendChargingInformation Code ::= 46
opcode-playAnnouncement Code ::= 47
opcode-promptAndCollectUserInformation Code ::= 48
opcode-specializedResourceReport Code ::= 49
opcode-cancel Code ::= 53
opcode-activityTest Code ::= 55
opcode-initialDPSMS Code ::= 60
opcode-furnishChargingInformationSMS Code ::= 61
opcode-connectSMS Code ::= 62
opcode-requestReportSMSEvent Code ::= 63
opcode-eventReportSMS Code ::= 64
opcode-continueSMS Code ::= 65
opcode-releaseSMS Code ::= 66
opcode-resetTimerSMS Code ::= 67
opcode-activityTestGPRS Code ::= 70
opcode-applyChargingGPRS Code ::= 71
opcode-applyChargingReportGPRS Code ::= 72
opcode-cancelGPRS Code ::= 73
opcode-connectGPRS Code ::= 74
opcode-continueGPRS Code ::= 75
opcode-entityReleasedGPRS Code ::= 76
opcode-furnishChargingInformationGPRS Code ::= 77
opcode-initialDPGPRS Code ::= 78
opcode-releaseGPRS Code ::= 79
opcode-eventReportGPRS Code ::= 80
opcode-requestReportGPRSEvent Code ::= 81
opcode-resetTimerGPRS Code ::= 82
opcode-sendChargingInformationGPRS Code ::= 83
opcode-continueWithArgument Code ::= 88
opcode-disconnectLeg Code ::= 90
opcode-moveLeg Code ::= 93
opcode-splitLeg Code ::= 95
opcode-entityReleased Code ::= 96
opcode-playTone Code ::= 97
errcode-canceled Code ::= 0
errcode-cancelFailed Code ::= 1
errcode-eTCFailed Code ::= 3
errcode-improperCallerResponse Code ::= 4
errcode-missingCustomerRecord Code ::= 6
errcode-missingParameter Code ::= 7
errcode-parameterOutOfRange Code ::= 8
errcode-requestedInfoError Code ::= 10
errcode-systemFailure Code ::= 11
errcode-taskRefused Code ::= 12
errcode-unavailableResource Code ::= 13
errcode-unexpectedComponentSequence Code ::= 14
errcode-unexpectedDataValue Code ::= 15
errcode-unexpectedParameter Code ::= 16
errcode-unknownLegID Code ::= 17
errcode-unknownPDPId Code ::= 50
errcode-unknownCSId Code ::= 51
--cAPSpecificBoundSetnumOfExtensions INTEGER ::= 10
maxNumOfPrivateExtensions INTEGER ::= 10
--cAPSpecificBoundSetminCalledPartyBCDNumberLength INTEGER ::= 1
--cAPSpecificBoundSetmaxCalledPartyBCDNumberLength INTEGER ::= 41
maxISDN-AddressLength INTEGER ::= 9
-- for AddressString
maxAddressLength INTEGER ::= 20
highLayerCompatibilityLength INTEGER ::= 2
cAPSpecificBoundSetminAccessPointNameLength INTEGER ::= 1
cAPSpecificBoundSetmaxAccessPointNameLength INTEGER ::= 100
cAPSpecificBoundSetminAChBillingChargingLength INTEGER ::= 5
cAPSpecificBoundSetmaxAChBillingChargingLength INTEGER ::= 177
cAPSpecificBoundSetminAttributesLength INTEGER ::= 2
cAPSpecificBoundSetmaxAttributesLength INTEGER ::= 10
cAPSpecificBoundSetmaxBearerCapabilityLength INTEGER ::= 11
cAPSpecificBoundSetminCalledPartyBCDNumberLength INTEGER ::= 1
cAPSpecificBoundSetmaxCalledPartyBCDNumberLength INTEGER ::= 41
cAPSpecificBoundSetminCalledPartyNumberLength INTEGER ::= 2
cAPSpecificBoundSetmaxCalledPartyNumberLength INTEGER ::= 18
cAPSpecificBoundSetminCallingPartyNumberLength INTEGER ::= 2
cAPSpecificBoundSetmaxCallingPartyNumberLength INTEGER ::= 10
cAPSpecificBoundSetminCallResultLength INTEGER ::= 12
cAPSpecificBoundSetmaxCallResultLength INTEGER ::= 193
cAPSpecificBoundSetminCarrierLength INTEGER ::= 4
cAPSpecificBoundSetmaxCarrierLength INTEGER ::= 4
cAPSpecificBoundSetminCauseLength INTEGER ::= 2
cAPSpecificBoundSetmaxCauseLength INTEGER ::= 32
cAPSpecificBoundSetminDigitsLength INTEGER ::= 2
cAPSpecificBoundSetmaxDigitsLength INTEGER ::= 16
cAPSpecificBoundSetminFCIBillingChargingDataLength INTEGER ::= 1
cAPSpecificBoundSetmaxFCIBillingChargingDataLength INTEGER ::= 160
cAPSpecificBoundSetminFCIBillingChargingLength INTEGER ::= 5
cAPSpecificBoundSetmaxFCIBillingChargingLength INTEGER ::= 225
cAPSpecificBoundSetminGenericNumberLength INTEGER ::= 3
cAPSpecificBoundSetmaxGenericNumberLength INTEGER ::= 11
cAPSpecificBoundSetminGPRSCauseLength INTEGER ::= 1
cAPSpecificBoundSetmaxGPRSCauseLength INTEGER ::= 1
cAPSpecificBoundSetminIPSSPCapabilitiesLength INTEGER ::= 1
cAPSpecificBoundSetmaxIPSSPCapabilitiesLength INTEGER ::= 4
cAPSpecificBoundSetminLocationNumberLength INTEGER ::= 2
cAPSpecificBoundSetmaxLocationNumberLength INTEGER ::= 10
cAPSpecificBoundSetminLowLayerCompatibilityLength INTEGER ::= 1
cAPSpecificBoundSetmaxLowLayerCompatibilityLength INTEGER ::= 16
cAPSpecificBoundSetminMessageContentLength INTEGER ::= 1
cAPSpecificBoundSetmaxMessageContentLength INTEGER ::= 127
cAPSpecificBoundSetminOriginalCalledPartyIDLength INTEGER ::= 2
cAPSpecificBoundSetmaxOriginalCalledPartyIDLength INTEGER ::= 10
cAPSpecificBoundSetminPDPAddressLength INTEGER ::= 1
cAPSpecificBoundSetmaxPDPAddressLength INTEGER ::= 63
cAPSpecificBoundSetminRedirectingPartyIDLength INTEGER ::= 2
cAPSpecificBoundSetmaxRedirectingPartyIDLength INTEGER ::= 10
cAPSpecificBoundSetminScfIDLength INTEGER ::= 2
cAPSpecificBoundSetmaxScfIDLength INTEGER ::= 10
cAPSpecificBoundSetminSCIBillingChargingLength INTEGER ::= 4
cAPSpecificBoundSetmaxSCIBillingChargingLength INTEGER ::= 225
cAPSpecificBoundSetminTimeAndTimezoneLength INTEGER ::= 8
cAPSpecificBoundSetmaxTimeAndTimezoneLength INTEGER ::= 8
cAPSpecificBoundSetnumOfBCSMEvents INTEGER ::= 30
cAPSpecificBoundsSetnumOfChangeOfPositionControlInfo INTEGER ::= 10
cAPSpecificBoundsSetnumOfCSs INTEGER ::= 127
cAPSpecificBoundSetnumOfSMSEvents INTEGER ::= 10
cAPSpecificBoundSetnumOfGPRSEvents INTEGER ::= 10
cAPSpecificBoundSetnumOfExtensions INTEGER ::= 10
cAPSpecificBoundSetnumOfGenericNumbers INTEGER ::= 5
cAPSpecificBoundSetnumOfMessageIDs INTEGER ::= 16
END
-- #############################
-- CAP ErrorTypes
-- #############################
CAP-errortypes --{ccitt(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3) cap-errortypes(51) version3(2)}
-- This module contains the type definitions for the CAP Error Types.
-- Where a parameter of type CHOICE is tagged with a specific tag value, the tag is automatically
-- replaced with an EXPLICIT tag of the same value.
DEFINITIONS IMPLICIT TAGS ::= BEGIN
-- TYPE DEFINITION FOR CAP ERROR TYPES FOLLOWS
--cancelFailed ERROR
-- PARAMETER
CancelFailedPARAM ::= SEQUENCE
{
cancelproblem [0] ENUMERATED
{
unknownOperation (0),
tooLate (1),
operationNotCancellable (2)
},
operation [1] InvokeID
}
-- The operation failed to be canceled.
--requestedInfoError ERROR ::= {
-- PARAMETER
RequestedInfoErrorPARAM ::= ENUMERATED
{
unknownRequestedInfo (1),
requestedInfoNotAvailable (2)
}
-- The requested information cannot be found.
SystemFailurePARAM ::= UnavailableNetworkResource
-- The operation could not be completed due to a system failure at the serving physical entity.
--taskRefused ERROR ::= {
-- PARAMETER
TaskRefusedPARAM ::= ENUMERATED
{
generic (0),
unobtainable (1),
congestion (2)
}
-- An entity normally capable of the task requested cannot or chooses not to perform the task at
-- this time. This includes error situations like congestion and unobtainable address as used in
-- e.g. the connect operation.)
END |
Configuration | wireshark/epan/dissectors/asn1/camel/camel.cnf | # camel.cnf
# camel conformation file
# Anders Broman 2007
#.IMPORT ../gsm_map/gsm_map-exp.cnf
#.IMPORT ../inap/inap-exp.cnf
#.MODULE
CS1-DataTypes inap
CS2-datatypes inap
#.ASSIGNED_OBJECT_IDENTIFIER classes
#.ASSIGNED_OBJECT_IDENTIFIER ros-InformationObjects
#.ASSIGNED_OBJECT_IDENTIFIER tc-Messages
#.ASSIGNED_OBJECT_IDENTIFIER tc-NotationExtensions
#.ASSIGNED_OBJECT_IDENTIFIER gprsSSF-gsmSCF-Operations
#.ASSIGNED_OBJECT_IDENTIFIER gsmSCF-gsmSRF-Operations
#.ASSIGNED_OBJECT_IDENTIFIER gsmSSF-gsmSCF-Operations
#.ASSIGNED_OBJECT_IDENTIFIER sms-Operations
#.ASSIGNED_OBJECT_IDENTIFIER gsmSSF-gsmSCF-Protocol
#.ASSIGNED_OBJECT_IDENTIFIER gsmSCF-gsmSRF-Protocol
#.ASSIGNED_OBJECT_IDENTIFIER operationcodes
#.ASSIGNED_OBJECT_IDENTIFIER datatypes
#.ASSIGNED_OBJECT_IDENTIFIER errortypes
#.OMIT_ASSIGNMENT Remote-Operations-Information-Objects
Bind
Unbind
#.END
#.OMIT_ASSIGNMENT
# Removed as they are giving 'defined but not used' warnings currently.
RejectProblem
TariffSwitchInterval
Priority
#.END
#.PDU
ERROR.&ParameterType
OPERATION.&ArgumentType
OPERATION.&ResultType
#.END
#.REGISTER
CAP-GPRS-ReferenceNumber B "0.4.0.0.1.1.5.2" "id-CAP-GPRS-ReferenceNumber"
CAP-U-ABORT-REASON B "0.4.0.0.1.1.2.2" "id-CAP-U-ABORT-Reason"
#.NO_EMIT ONLY_VALS
CAMEL-AChBillingChargingCharacteristicsV2
ROS
#.TYPE_RENAME
ReturnResult/result/result ResultArgument
#.FIELD_RENAME
Invoke/linkedId/present linkedIdPresent
Reject/problem/invoke invokeProblem
Reject/problem/returnError returnErrorProblem
ReturnResult/result/result resultArgument
Reject/problem/returnResult problemReturnResult
PAR-cancelFailed/problem par-cancelFailedProblem
CAMEL-FCIBillingChargingCharacteristics/fCIBCCCAMELsequence1 fci-fCIBCCCAMELsequence1
CAMEL-FCIGPRSBillingChargingCharacteristics/fCIBCCCAMELsequence1 fciGPRS-fCIBCCCAMELsequence1
CAMEL-FCISMSBillingChargingCharacteristics/fCIBCCCAMELsequence1 fciSMS-fCIBCCCAMELsequence1
EventSpecificInformationBCSM/oMidCallSpecificInfo/midCallEvents omidCallEvents
EventSpecificInformationBCSM/tMidCallSpecificInfo/midCallEvents tmidCallEvents
AudibleIndicator/tone audibleIndicatorTone
GapIndicators/duration gapIndicatorsDuration
InbandInfo/duration inbandInfoDuration
Tone/duration toneDuration
Burst/toneDuration burstToneDuration
EventSpecificInformationSMS/o-smsFailureSpecificInfo/failureCause mo-smsfailureCause
EventSpecificInformationBCSM/routeSelectFailureSpecificInfo/failureCause routeSelectfailureCause
EventSpecificInformationSMS/t-smsFailureSpecificInfo/failureCause t-smsfailureCause
CAMEL-FCIBillingChargingCharacteristics/fCIBCCCAMELsequence1/partyToCharge fCIBCCCAMELsequence1partyToCharge
CAMEL-CallResult/timeDurationChargingResult/partyToCharge timeDurationChargingResultpartyToCharge
AOCSubsequent/tariffSwitchInterval aocSubsequent-tariffSwitchInterval
CAMEL-AChBillingChargingCharacteristics/timeDurationCharging/tariffSwitchInterval timeDurationCharging-tariffSwitchInterval
ApplyChargingGPRSArg/tariffSwitchInterval applyChargingGPRS-tariffSwitchInterval
TimeIfTariffSwitch/tariffSwitchInterval timeIfTariffSwitch-tariffSwitchInterval
# This table creates the value_sting to name Camel operation codes and errors
# in file packet-camel-table.c which is included in the template file
#
#.TABLE_HDR
/* CAMEL OPERATIONS */
const value_string camel_opr_code_strings[] = {
#.TABLE_BODY OPERATION
{ %(&operationCode)s, "%(_ident)s" },
#.TABLE_FTR
{ 0, NULL }
};
#.END
#.TABLE_HDR
/* CAMEL ERRORS */
static const value_string camel_err_code_string_vals[] = {
#.TABLE_BODY ERROR
{ %(&errorCode)s, "%(_ident)s" },
#.TABLE_FTR
{ 0, NULL }
};
#.END
# This table creates the switch() to branch on Camel operation codes and errors
# in file packet-camel-table2.c which is included in the template file
#
#.TABLE2_HDR
static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx) {
switch(opcode){
#.TABLE2_BODY OPERATION.&ArgumentType
case %(&operationCode)s: /* %(_ident)s */
offset= %(_argument_pdu)s(tvb, actx->pinfo , tree , NULL);
break;
#.TABLE2_FTR
default:
proto_tree_add_expert_format(tree, actx->pinfo, &ei_camel_unknown_invokeData,
tvb, offset, -1, "Unknown invokeData %d", opcode);
/* todo call the asn.1 dissector */
break;
}
return offset;
}
#.END
#.TABLE2_HDR
static int dissect_returnResultData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx) {
switch(opcode){
#.TABLE2_BODY OPERATION.&ResultType
case %(&operationCode)s: /* %(_ident)s */
offset= %(_result_pdu)s(tvb, actx->pinfo , tree , NULL);
break;
#.TABLE2_FTR
default:
proto_tree_add_expert_format(tree, actx->pinfo, &ei_camel_unknown_returnResultData,
tvb, offset, -1, "Unknown returnResultData %d",opcode);
}
return offset;
}
#.END
#.TABLE2_HDR
static int dissect_returnErrorData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx) {
switch(errorCode) {
#.TABLE2_BODY ERROR.&ParameterType
case %(&errorCode)s: /* %(_ident)s */
%(_parameter_pdu)s(tvb, actx->pinfo , tree , NULL);
break;
#.TABLE2_FTR
default:
proto_tree_add_expert_format(tree, actx->pinfo, &ei_camel_unknown_returnErrorData,
tvb, offset, -1, "Unknown returnErrorData %d",errorCode);
}
return offset;
}
#.END
# ROS stuff here XXX change when TCAP is redone.
#.FN_BODY Code/local VAL_PTR = &opcode
if (is_ExtensionField){
hf_index = hf_camel_extension_code_local;
}else if (camel_opcode_type == CAMEL_OPCODE_RETURN_ERROR){
hf_index = hf_camel_error_code_local;
}
%(DEFAULT_BODY)s
if (is_ExtensionField == FALSE){
if (camel_opcode_type == CAMEL_OPCODE_RETURN_ERROR){
errorCode = opcode;
col_append_str(actx->pinfo->cinfo, COL_INFO,
val_to_str(errorCode, camel_err_code_string_vals, "Unknown CAMEL error (%%u)"));
col_append_str(actx->pinfo->cinfo, COL_INFO, " ");
col_set_fence(actx->pinfo->cinfo, COL_INFO);
}else{
col_append_str(actx->pinfo->cinfo, COL_INFO,
val_to_str(opcode, camel_opr_code_strings, "Unknown CAMEL (%%u)"));
col_append_str(actx->pinfo->cinfo, COL_INFO, " ");
col_set_fence(actx->pinfo->cinfo, COL_INFO);
}
gp_camelsrt_info->opcode=opcode;
}
#.FN_HDR Invoke
camel_opcode_type=CAMEL_OPCODE_INVOKE;
#.FN_HDR ReturnResult
camel_opcode_type=CAMEL_OPCODE_RETURN_RESULT;
#.FN_HDR ReturnError
camel_opcode_type=CAMEL_OPCODE_RETURN_ERROR;
#.FN_HDR Reject
camel_opcode_type=CAMEL_OPCODE_REJECT;
#.FN_BODY Invoke/argument
offset = dissect_invokeData(tree, tvb, offset, actx);
#.FN_BODY ReturnResult/result/result
offset = dissect_returnResultData(tree, tvb, offset, actx);
#.FN_BODY ReturnError/parameter
offset = dissect_returnErrorData(tree, tvb, offset, actx);
# END ROS
#.FN_BODY InitialDPArgExtension
if((camel_ver == 2)||(camel_ver == 1)){
return dissect_camel_InitialDPArgExtensionV2(implicit_tag, tvb, offset, actx, tree, hf_index);
}
%(DEFAULT_BODY)s
#.FN_HDR ExtensionField
camel_obj_id = NULL;
is_ExtensionField =TRUE;
#.FN_PARS Code/global FN_VARIANT = _str VAL_PTR = &camel_obj_id
#.FN_BODY ExtensionField/value
/*XXX handle local form here */
if(camel_obj_id){
offset=call_ber_oid_callback(camel_obj_id, tvb, offset, actx->pinfo, tree, NULL);
}
is_ExtensionField = FALSE;
#----------------------------------------------------------------------------------------
#.FN_BODY CallingPartyNumber VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_callingpartynumber);
dissect_isup_calling_party_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY CalledPartyNumber VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_calledpartybcdnumber);
dissect_isup_called_party_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY LocationNumber VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_locationnumber);
dissect_isup_location_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY GenericNumber VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
dissect_isup_generic_number_parameter(parameter_tvb, actx->pinfo, tree, NULL);
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY Cause VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
guint8 Cause_value;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_cause);
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);
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY RPCause VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
guint8 Cause_value;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_RPcause);
dissect_RP_cause_ie(parameter_tvb, 0, tvb_reported_length_remaining(parameter_tvb,0), subtree, hf_camel_RP_Cause, &Cause_value);
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY DateAndTime
/*
* date_option = 1 european dd:mm:yyyy
* date_option = 2 american mm:dd:yyyy
*/
/*
* Output should be HH:MM:SS;dd/mm/yyyy
* if european is selected, and HH:MM:SS;mm/dd/yyyy
* otherwise.
*/
guint8 digit_pair;
guint8 i = 0, curr_offset;
char camel_time[CAMEL_DATE_AND_TIME_LEN];
char c[CAMEL_DATE_AND_TIME_LEN]; /*temporary container*/
/* 2 digits per octet, 7 octets total + 5 delimiters */
for (curr_offset = 0; curr_offset < 7 ; curr_offset++)
/*Loop to extract date*/
{
digit_pair = tvb_get_guint8(tvb, curr_offset);
proto_tree_add_uint(tree,
hf_digit,
tvb,
curr_offset,
1,
digit_pair & 0x0F);
proto_tree_add_uint(tree,
hf_digit,
tvb,
curr_offset,
1,
digit_pair >>4);
c[i] = camel_number_to_char( digit_pair & 0x0F);
i++;
c[i] = camel_number_to_char( digit_pair >>4);
i++;
}
/* Pretty print date */
/* XXX - Should we use sprintf here instead of assembling the string by
* hand? */
camel_time[0] = c[8];
camel_time[1] = c[9];
camel_time[2] = ':';
camel_time[3] = c[10];
camel_time[4] = c[11];
camel_time[5] = ':';
camel_time[6] = c[12];
camel_time[7] = c[13];
camel_time[8] = ';';
if ( EUROPEAN_DATE == date_format) /*european*/
{
camel_time[9] = c[6]; /*day*/
camel_time[10] = c[7];
camel_time[11] = '/';
camel_time[12] = c[4]; /*month*/
camel_time[13] = c[5];
}
else /*american*/
{
camel_time[9] = c[4]; /*month*/
camel_time[10] = c[5];
camel_time[11] = '/';
camel_time[12] = c[6]; /*day*/
camel_time[13] = c[7];
}
camel_time[14] = '/';
camel_time[15] = c[0];
camel_time[16] = c[1];
camel_time[17] = c[2];
camel_time[18] = c[3];
camel_time[CAMEL_DATE_AND_TIME_LEN - 1] = '\0';
/*start = 0, length = 7*/
proto_tree_add_string(tree,
hf_index,
tvb,
0,
7,
camel_time);
return 7; /* 7 octets eaten*/
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY BearerCapability/bearerCap VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
dissect_q931_bearer_capability_ie(parameter_tvb, 0, tvb_reported_length_remaining(parameter_tvb,0), tree);
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY OriginalCalledPartyID VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_originalcalledpartyid);
dissect_isup_original_called_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
#.END
#----------------------------------------------------------------------------------------
#.FN_PARS RedirectingPartyID
VAL_PTR = ¶meter_tvb
#.FN_BODY RedirectingPartyID
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_redirectingpartyid);
dissect_isup_redirecting_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
#.END
#----------------------------------------------------------------------------------------
#.FN_PARS AccessPointName
VAL_PTR = ¶meter_tvb
#.FN_BODY AccessPointName
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_AccessPointName);
de_sm_apn(parameter_tvb, subtree, actx->pinfo, 0, tvb_reported_length(parameter_tvb), NULL, 0);
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY EndUserAddress/pDPTypeOrganization VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
PDPTypeOrganization = (tvb_get_guint8(parameter_tvb,0) &0x0f);
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY EndUserAddress/pDPTypeNumber VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
PDPTypeNumber = tvb_get_guint8(parameter_tvb,0);
subtree = proto_item_add_subtree(actx->created_item, ett_camel_pdptypenumber);
switch (PDPTypeOrganization){
case 0: /* ETSI */
proto_tree_add_item(subtree, hf_camel_PDPTypeNumber_etsi, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
break;
case 1: /* IETF */
proto_tree_add_item(subtree, hf_camel_PDPTypeNumber_ietf, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
break;
default:
break;
}
#.END
#.FN_BODY EndUserAddress/pDPAddress VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_pdptypenumber);
switch (PDPTypeOrganization){
case 0: /* ETSI */
break;
case 1: /* IETF */
switch(PDPTypeNumber){
case 0x21: /* IPv4 */
proto_tree_add_item(subtree, hf_camel_PDPAddress_IPv4, parameter_tvb, 0, tvb_reported_length(parameter_tvb), ENC_BIG_ENDIAN);
break;
case 0x57: /* IPv6 */
proto_tree_add_item(subtree, hf_camel_PDPAddress_IPv6, parameter_tvb, 0, tvb_reported_length(parameter_tvb), ENC_NA);
break;
default:
break;
}
default:
break;
}
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY LocationInformationGPRS/cellGlobalIdOrServiceAreaIdOrLAI
proto_tree *subtree;
int start_offset;
start_offset = offset;
%(DEFAULT_BODY)s
subtree = proto_item_add_subtree(actx->created_item, ett_camel_pdptypenumber);
if (tvb_reported_length_remaining(tvb,start_offset) == 7){
dissect_gsm_map_CellGlobalIdOrServiceAreaIdFixedLength(TRUE, tvb, start_offset, actx, subtree, hf_camel_cellGlobalIdOrServiceAreaIdFixedLength);
}else{
dissect_gsm_map_LAIFixedLength(TRUE, tvb, start_offset, actx, subtree, hf_camel_locationAreaId);
}
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY AChBillingChargingCharacteristics VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_AChBillingChargingCharacteristics);
if((camel_ver == 2)||(camel_ver == 1)){
return dissect_camel_CAMEL_AChBillingChargingCharacteristicsV2(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_AChBillingChargingCharacteristics);
}
dissect_camel_CAMEL_AChBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_AChBillingChargingCharacteristics);
#.FN_BODY FCIBillingChargingCharacteristics VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_FCIBillingChargingCharacteristics);
dissect_camel_CAMEL_FCIBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_FCIBillingChargingCharacteristics);
#.FN_BODY FCIGPRSBillingChargingCharacteristics VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_FCIGPRSBillingChargingCharacteristics);
dissect_camel_CAMEL_FCIGPRSBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_FCIGPRSBillingChargingCharacteristics);
#.FN_BODY FCISMSBillingChargingCharacteristics VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_FCISMSBillingChargingCharacteristics);
dissect_camel_CAMEL_FCISMSBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_FCISMSBillingChargingCharacteristics);
#.FN_BODY SCIBillingChargingCharacteristics VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_SCIBillingChargingCharacteristics);
dissect_camel_CAMEL_SCIBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_SCIBillingChargingCharacteristics);
#.FN_BODY SCIGPRSBillingChargingCharacteristics VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_SCIGPRSBillingChargingCharacteristics);
dissect_camel_CAMEL_SCIGPRSBillingChargingCharacteristics(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_SCIGPRSBillingChargingCharacteristics);
#.FN_BODY CallResult VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_CAMEL_CallResult);
dissect_camel_CAMEL_CallResult(FALSE, parameter_tvb, 0, actx, subtree, hf_camel_CAMEL_CallResult);
# V3 and V4 incompatibillity bug #1719
#.FN_BODY CAMEL-AChBillingChargingCharacteristics/timeDurationCharging/audibleIndicator
if (tvb_reported_length_remaining(tvb,offset) < 2)
offset = dissect_camel_BOOLEAN(TRUE, tvb, offset, actx , tree, hf_camel_audibleIndicatorTone);
else
%(DEFAULT_BODY)s
#.FN_BODY CalledPartyBCDNumber VAL_PTR = ¶meter_tvb
/* See 3GPP TS 29.078
* and 3GPP TS 24.008, section 10.5.4.7
* Indicates the Called Party Number, including service selection information.
* Refer to 3GPP TS 24.008 [9] for encoding.
* This data type carries only the 'type of number', 'numbering plan
* identification' and 'number digit' fields defined in 3GPP TS 24.008 [9];
* it does not carry the 'called party BCD number IEI' or 'length of called
* party BCD number contents'.
* In the context of the DestinationSubscriberNumber field in ConnectSMSArg or
* InitialDPSMSArg, a CalledPartyBCDNumber may also contain an alphanumeric
* character string. In this case, type-of-number '101'B is used, in accordance
* with 3GPP TS 23.040 [6]. The address is coded in accordance with the
* GSM 7-bit default alphabet definition and the SMS packing rules
* as specified in 3GPP TS 23.038 [15] in this case.
*/
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_camel_calledpartybcdnumber);
de_cld_party_bcd_num(parameter_tvb, subtree, actx->pinfo, 0, tvb_reported_length(parameter_tvb), NULL, 0);
#.END
#.FN_BODY Digits VAL_PTR = ¶meter_tvb
/*
* Digits {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
* bound.&minDigitsLength .. bound.&maxDigitsLength))
*-- Indicates the address signalling digits.
*-- Refer to ETSI EN 300 356 1 [23] Generic Number & Generic Digits parameters for encoding.
*-- The coding of the subfields 'NumberQualifier' in Generic Number and 'TypeOfDigits' in
*-- Generic Digits are irrelevant to the CAP;
*-- the ASN.1 tags are sufficient to identify the parameter.
*-- The ISUP format does not allow to exclude these subfields,
*-- therefore the value is network operator specific.
*--
*-- The following parameters shall use Generic Number:
*-- - AdditionalCallingPartyNumber for InitialDP
*-- - AssistingSSPIPRoutingAddress for EstablishTemporaryConnection
*-- - CorrelationID for AssistRequestInstructions
*-- - CalledAddressValue for all occurrences, CallingAddressValue for all occurrences.
*--
*-- The following parameters shall use Generic Digits:
*-- - CorrelationID in EstablishTemporaryConnection
*-- - number in VariablePart
*-- - digitsResponse in ReceivedInformationArg
*-- - midCallEvents in oMidCallSpecificInfo and tMidCallSpecificInfo
*--
*-- In the digitsResponse and midCallevents, the digits may also include the '*', '#',
*-- a, b, c and d digits by using the IA5 character encoding scheme. If the BCD even or
*-- BCD odd encoding scheme is used, then the following encoding shall be applied for the
*-- non-decimal characters: 1011 (*), 1100 (#).
*--
*-- AssistingSSPIPRoutingAddress in EstablishTemporaryConnection and CorrelationID in
*-- AssistRequestInstructions may contain a Hex B digit as address signal. Refer to
*-- Annex A.6 for the usage of the Hex B digit.
*--
*-- Note that when CorrelationID is transported in Generic Digits, then the digits shall
*-- always be BCD encoded.
*/
tvbuff_t *parameter_tvb;
proto_tree *subtree;
gint ett = -1;
bool digits = FALSE;
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
¶meter_tvb);
if (!parameter_tvb)
return offset;
if (hf_index == hf_camel_calledAddressValue) {
ett = ett_camel_calledAddressValue;
} else if (hf_index == hf_camel_callingAddressValue) {
ett = ett_camel_callingAddressValue;
} else if (hf_index == hf_camel_additionalCallingPartyNumber) {
ett = ett_camel_additionalcallingpartynumber;
} else if (hf_index == hf_camel_assistingSSPIPRoutingAddress) {
ett = ett_camel_assistingSSPIPRoutingAddress;
} else if (hf_index == hf_camel_correlationID) {
ett = ett_camel_correlationID;
digits = (opcode == opcode_establishTemporaryConnection) ? TRUE : FALSE;
} else if (hf_index == hf_camel_dTMFDigitsCompleted) {
ett = ett_camel_dTMFDigitsCompleted;
digits = TRUE;
} else if (hf_index == hf_camel_dTMFDigitsTimeOut) {
ett = ett_camel_dTMFDigitsTimeOut;
digits = TRUE;
} else if (hf_index == hf_camel_number) {
ett = ett_camel_number;
digits = TRUE;
} else if (hf_index == hf_camel_digitsResponse) {
ett = ett_camel_digitsResponse;
digits = TRUE;
}
subtree = proto_item_add_subtree(actx->created_item, ett);
if (digits) {
dissect_isup_generic_digits_parameter(parameter_tvb, subtree, NULL);
} else {
dissect_isup_generic_number_parameter(parameter_tvb, actx->pinfo, subtree, NULL);
}
# I don't know how to "access" the EstablishTemporaryConnectionArg-PDU which would have been cleaner.
#.FN_BODY EstablishTemporaryConnectionArg
if(camel_ver==2){
return dissect_camel_EstablishTemporaryConnectionArgV2(implicit_tag, tvb, offset, actx, tree, hf_index);
}
%(DEFAULT_BODY)s
#.FN_BODY SpecializedResourceReportArg
if (camel_ver < 4) {
return dissect_camel_SpecializedResourceReportArgV23(implicit_tag, tvb, offset, actx, tree, hf_camel_allAnnouncementsComplete);
}
%(DEFAULT_BODY)s
#.FN_BODY TimeAndTimezone VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
proto_item *item;
gchar *digit_str;
guint length;
gchar year[5];
gchar month[3];
gchar day[3];
gchar hour[3];
gchar minute[3];
gchar second[3];
gchar timezone_digits[3];
guint8 oct;
char sign;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
length = tvb_reported_length(parameter_tvb);
if (length < 8 /*cAPSpecificBoundSetminTimeAndTimezoneLength*/){
expert_add_info(actx->pinfo, actx->created_item, &ei_camel_par_wrong_length);
return offset;
}
subtree = proto_item_add_subtree(actx->created_item, ett_camel_timeandtimezone);
item = proto_tree_add_item_ret_display_string(subtree, hf_camel_timeandtimezone_bcd, parameter_tvb, 0, -1, ENC_BCD_DIGITS_0_9, actx->pinfo->pool, &digit_str);
(void) g_strlcpy(year, digit_str, 5);
(void) g_strlcpy(month, digit_str+4, 3);
(void) g_strlcpy(day, digit_str+6, 3);
(void) g_strlcpy(hour, digit_str+8, 3);
(void) g_strlcpy(minute, digit_str+10, 3);
(void) g_strlcpy(second, digit_str+12, 3);
(void) g_strlcpy(timezone_digits, digit_str+14, 3);
/*
The Time Zone indicates the difference, expressed in quarters of an hour, between the local time and GMT. In the first of the two semi octets,
the first bit (bit 3 of the seventh octet of the TP Service Centre Time Stamp field) represents the algebraic sign of this difference (0: positive, 1: negative).
*/
if (!ws_hexstrtou8(timezone_digits, NULL, &oct)){
return offset;
}
sign = (oct & 0x08)?'-':'+';
oct = (oct >> 4) + (oct & 0x07) * 10;
proto_item_append_text(item, "(%%s-%%s-%%s %%s:%%s:%%s GMT %%c %%d hours %%d minutes)", year,month,day,hour,minute,second,sign, oct / 4, oct %% 4 * 15);
#.TYPE_ATTR
PDPTypeOrganization TYPE = FT_UINT8 DISPLAY = BASE_DEC BITMASK = 0x0f STRINGS = VALS(gsm_map_PDP_Type_Organisation_vals)
DateAndTime TYPE = FT_STRING DISPLAY = BASE_NONE
Code/local TYPE = FT_INT32 DISPLAY = BASE_DEC STRINGS = VALS(camel_opr_code_strings)
ServiceInteractionIndicatorsTwo/holdTreatmentIndicator TYPE = FT_INT32 DISPLAY = BASE_DEC STRINGS = VALS(camel_holdTreatmentIndicator_values)
ServiceInteractionIndicatorsTwo/cwTreatmentIndicator TYPE = FT_INT32 DISPLAY = BASE_DEC STRINGS = VALS(camel_cwTreatmentIndicator_values)
ServiceInteractionIndicatorsTwo/ectTreatmentIndicator TYPE = FT_INT32 DISPLAY = BASE_DEC STRINGS = VALS(camel_ectTreatmentIndicator_values)
#.FIELD_ATTR
EventSpecificInformationSMS/o-smsFailureSpecificInfo/failureCause ABBREV=mo-smsfailureCause
EventSpecificInformationBCSM/routeSelectFailureSpecificInfo/failureCause ABBREV=routeSelectfailureCause
EventSpecificInformationSMS/t-smsFailureSpecificInfo/failureCause ABBREV=t-smsfailureCause
Tone/duration ABBREV=toneDuration
GapIndicators/duration ABBREV=gapIndicatorsDuration
InbandInfo/duration ABBREV=inbandInfoDuration
#.END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CamelV2diff.asn | -- Hand crafted ASN1 file for the differences between latest spec and V2
-- statments sufixed with V2 to be able to generate this with the latest ASN1 spec.
-- .cnf and -template is used to call the statmets here.
CAP-DataTypesV2 {ccitt(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network(1) modules(3)cap-datatypes(52) version2(1)}
-- This module contains the type definitions for the CAP v.2 data types.
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
IMPORTS
NAEA-CIC
FROM MAP-CommonDataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-CommonDataTypes(18) version12(12)}
;
-- From:
-- CAP-Operations {ccitt(0) identified-organization(4) etsi(0) mobileDomain(0)
-- gsm-Network(1) modules(3) cap-operations(50) version2(1)}
-- This module contains the type definitions for the CAP v.2 operations.
EstablishTemporaryConnectionArgV2 ::= SEQUENCE {
assistingSSPIPRoutingAddress [0] AssistingSSPIPRoutingAddress,
correlationID [1] CorrelationID OPTIONAL,
scfID [3] ScfID OPTIONAL,
extensions [4] SEQUENCE SIZE(1..numOfExtensions) OF
ExtensionField OPTIONAL,
serviceInteractionIndicatorsTwo [7] ServiceInteractionIndicatorsTwo OPTIONAL,
...,
na-info [50] NA-Info OPTIONAL
}
-- na-info is included at the discretion of the
-- gsmSCF operator.
-- Use of the text parameter is network operator/equipment vendor specific.
-- End CAP-Operations
-- TYPE DEFINITIONS FOR CAP v.2 DATA TYPES FOLLOW
InitialDPArgExtensionV2 ::= SEQUENCE {
naCarrierInformation [0] NACarrierInformation OPTIONAL,
gmscAddress [1] ISDN-AddressString OPTIONAL,
...
}
NACarrierInformation ::= SEQUENCE {
naCarrierId [0] NAEA-CIC OPTIONAL,
naCICSelectionType [1] NACarrierSelectionInfo OPTIONAL,
...}
NACarrierSelectionInfo ::= OCTET STRING (SIZE (1))
-- NA carrier selection information octet carries the same values as ANSI
-- ISUP T1.113: '00'H - not indicated or not explicitly provided
-- '01'H - subscribed not dialed
-- '02'H - subscribed and dialed
-- '03'H - subscribed with dialing undetermined
-- '04'H - dialed CIC not subscribed
NAChargeNumber ::= OCTET STRING (SIZE (2..7))
-- This parameter uniquely identifies the chargeable number for a call sent into a North American
-- long distance carrier. It transports the ChargeNumber Parameter Field
-- as defined in ANSI ISUP T1.113. This provides
-- - 1 octet for the nature of address indicator field, plus
-- - 1 octet for a numbering plan field, plus
-- - up to 5 octets for the address signal (up to 10 digits)
-- The Charge Number in ANSI T1.113 normally contains a 10 digit national number within the North
-- American Numbering Plan (NANP); longer (e.g. international) charge numbers are not supported in
-- T1.113
NA-Info ::= SEQUENCE {
naCarrierInformation [0] NACarrierInformation OPTIONAL,
naOliInfo [1] NAOliInfo OPTIONAL,
naChargeNumber [2] NAChargeNumber OPTIONAL,
...}
CAMEL-AChBillingChargingCharacteristicsV2 ::= CHOICE {
timeDurationCharging [0] SEQUENCE {
maxCallPeriodDuration [0] INTEGER (1..864000),
releaseIfdurationExceeded [1] ReleaseIfDurationExceeded OPTIONAL,
tariffSwitchInterval [2] INTEGER (1..86400) OPTIONAL
}
}
-- tariffSwitchInterval is measured in 1 second units.
-- maxCallPeriodDuration is measured in100 millisecond units
ReleaseIfDurationExceeded ::= SEQUENCE {
tone BOOLEAN DEFAULT FALSE,
...,
extensions [10] SEQUENCE SIZE(1..numOfExtensions) OF
ExtensionField OPTIONAL
}
SpecializedResourceReportArgV23 ::= NULL
END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-classes.asn | -- 3GPP TS 29.078 11.0.0 (2011-09)
-- 5.5 Classes
CAP-classes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1)
modules(3) cap-classes(54) version8(7)}
DEFINITIONS ::= BEGIN
IMPORTS
ROS-OBJECT-CLASS,
Code
FROM Remote-Operations-Information-Objects ros-InformationObjects
id-rosObject-gprsSSF,
id-rosObject-gsmSRF,
id-rosObject-gsmSSF,
id-rosObject-smsSSF-V3,
id-rosObject-smsSSF-V4,
ros-InformationObjects,
gsmSSF-gsmSCF-Protocol,
gsmSCF-gsmSRF-Protocol,
smsSSF-gsmSCF-Protocol,
gprsSSF-gsmSCF-Protocol
FROM CAP-object-identifiers {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-object-identifiers(100) version8(7)}
capSsfToScfGeneric,
capAssistHandoffssfToScf,
capScfToSsfGeneric
FROM CAP-gsmSSF-gsmSCF-pkgs-contracts-acs gsmSSF-gsmSCF-Protocol
gsmSRF-gsmSCF-contract
FROM CAP-gsmSCF-gsmSRF-pkgs-contracts-acs gsmSCF-gsmSRF-Protocol
cap3SMS,
cap4SMS
FROM CAP-smsSSF-gsmSCF-pkgs-contracts-acs smsSSF-gsmSCF-Protocol
capGprsSsfToScf,
capGsmScfToGprsSsf
FROM CAP-gprsSSF-gsmSCF-pkgs-contracts-acs gprsSSF-gsmSCF-Protocol
CriticalityType
FROM CS2-datatypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1) cs2(20)
modules(0) in-cs2-datatypes(0) version1(0)}
;
gsmSSF ROS-OBJECT-CLASS ::= {
INITIATES {capSsfToScfGeneric|
capAssistHandoffssfToScf}
RESPONDS {capScfToSsfGeneric}
ID id-rosObject-gsmSSF}
-- The Rel-6 'gsmSSF' definition uses the Rel-6 capSsfToScfGeneric, capAssistHandoffssfToScf
-- and capScfToSsfGeneric CONTRACT definitions.
gsmSRF ROS-OBJECT-CLASS ::= {
INITIATES {gsmSRF-gsmSCF-contract}
ID id-rosObject-gsmSRF}
-- The Rel-6 'gsmSRF' definition uses the Rel-6 gsmSRF-gsmSCF-contract CONTRACT definition.
smsSSF-V3 ROS-OBJECT-CLASS ::= {
INITIATES {cap3SMS}
ID id-rosObject-smsSSF-V3}
-- The Rel-6 'smsSSF-V3' definition uses the Rel-6 cap3SMS CONTRACT definition. The smsSSF-V3
-- ROS-OBJECT-CLASS is used for MO SMS control.
smsSSF-V4 ROS-OBJECT-CLASS ::= {
INITIATES {cap4SMS}
ID id-rosObject-smsSSF-V4}
-- The Rel-6 'smsSSF-V4' definition uses the Rel-6 cap4SMS CONTRACT definition. The smsSSF-V4
-- ROS-OBJECT-CLASS is used for MT SMS control.
gprsSSF ROS-OBJECT-CLASS ::= {
INITIATES {capGprsSsfToScf}
RESPONDS {capGsmScfToGprsSsf}
ID id-rosObject-gprsSSF}
-- The Rel-6 'gprsSSF' definition uses the Rel-6 capGprsSsfTogsmScf and capGsmScfToGprsSsf
-- CONTRACT definitions.
EXTENSION ::= CLASS {
&ExtensionType,
&criticality CriticalityType DEFAULT ignore,
&id Code}
WITH SYNTAX {
EXTENSION-SYNTAX &ExtensionType
CRITICALITY &criticality
IDENTIFIED BY &id
}
-- Only value Global OBJECT IDENTIFIER is used for &id;
-- Only the value ignore (0) is used for &criticality.
-- Example of addition of an extension named 'Some Network Specific Indicator' of type
-- BOOLEAN, with criticality 'ignore' and identified by global Object Identifier.
--
-- Example of definition using the above information object class:
--
-- SomeNetworkSpecificIndicator EXTENSION ::= {
-- EXTENSION-SYNTAX BOOLEAN
-- CRITICALITY ignore
-- IDENTIFIED BY global : {itu-t(0) identified-organization(4) organisation(0) gsm(1)
-- capextension(2)}
-- }
-- Example of transfer syntax, using the ExtensionField datatype as specified in clause 5.
-- Assuming the value of the extension is set to TRUE, the extensions parameter becomes
-- a Sequence of type {itu-t(0) identified-organization(4) organisation(0) gsm(1)
-- capextension(2)}, criticality ENUMERATED ::= ignore(0) and value [1] EXPLICIT BOOLEAN
-- ::= TRUE.
--
-- Use of ITU-T Recommendation Q.1400 [52] defined Extension is for further study.
-- In addition the extension mechanism marker is used to identify the future minor additions
-- to CAP.
firstExtension EXTENSION ::= {
EXTENSION-SYNTAX NULL
CRITICALITY ignore
IDENTIFIED BY global : {itu-t(0) identified-organization(4) organisation(0) gsm(1)
capextension(2)}
}
-- firstExtension is just an example.
SupportedExtensions EXTENSION ::= {firstExtension, ...
-- full set of network operator extensions --
}
-- SupportedExtension is the full set of the network operator extensions.
PARAMETERS-BOUND ::= CLASS {
&minAccessPointNameLength INTEGER,
&maxAccessPointNameLength INTEGER,
&minAChBillingChargingLength INTEGER,
&maxAChBillingChargingLength INTEGER,
&minAttributesLength INTEGER,
&maxAttributesLength INTEGER,
&maxBearerCapabilityLength INTEGER,
&minCalledPartyBCDNumberLength INTEGER,
&maxCalledPartyBCDNumberLength INTEGER,
&minCalledPartyNumberLength INTEGER,
&maxCalledPartyNumberLength INTEGER,
&minCallingPartyNumberLength INTEGER,
&maxCallingPartyNumberLength INTEGER,
&minCallResultLength INTEGER,
&maxCallResultLength INTEGER,
&minCarrierLength INTEGER,
&maxCarrierLength INTEGER,
&minCauseLength INTEGER,
&maxCauseLength INTEGER,
&minDigitsLength INTEGER,
&maxDigitsLength INTEGER,
&minFCIBillingChargingDataLength INTEGER,
&maxFCIBillingChargingDataLength INTEGER,
&minFCIBillingChargingLength INTEGER,
&maxFCIBillingChargingLength INTEGER,
&minGenericNumberLength INTEGER,
&maxGenericNumberLength INTEGER,
&minGPRSCauseLength INTEGER,
&maxGPRSCauseLength INTEGER,
&minIPSSPCapabilitiesLength INTEGER,
&maxIPSSPCapabilitiesLength INTEGER,
&minLocationNumberLength INTEGER,
&maxLocationNumberLength INTEGER,
&minLowLayerCompatibilityLength INTEGER,
&maxLowLayerCompatibilityLength INTEGER,
&minMessageContentLength INTEGER,
&maxMessageContentLength INTEGER,
&minOriginalCalledPartyIDLength INTEGER,
&maxOriginalCalledPartyIDLength INTEGER,
&minPDPAddressLength INTEGER,
&maxPDPAddressLength INTEGER,
&minRedirectingPartyIDLength INTEGER,
&maxRedirectingPartyIDLength INTEGER,
&minScfIDLength INTEGER,
&maxScfIDLength INTEGER,
&minSCIBillingChargingLength INTEGER,
&maxSCIBillingChargingLength INTEGER,
&minTimeAndTimezoneLength INTEGER,
&maxTimeAndTimezoneLength INTEGER,
&numOfBCSMEvents INTEGER,
&numOfChangeOfPositionControlInfo INTEGER,
&numOfCSs INTEGER,
&numOfSMSEvents INTEGER,
&numOfGPRSEvents INTEGER,
&numOfExtensions INTEGER,
&numOfGenericNumbers INTEGER,
&numOfMessageIDs INTEGER}
WITH SYNTAX {
MINIMUM-FOR-ACCESS-POINT-NAME &minAccessPointNameLength
MAXIMUM-FOR-ACCESS-POINT-NAME &maxAccessPointNameLength
MINIMUM-FOR-ACH-BILLING-CHARGING &minAChBillingChargingLength
MAXIMUM-FOR-ACH-BILLING-CHARGING &maxAChBillingChargingLength
MINIMUM-FOR-ATTRIBUTES &minAttributesLength
MAXIMUM-FOR-ATTRIBUTES &maxAttributesLength
MAXIMUM-FOR-BEARER-CAPABILITY &maxBearerCapabilityLength
MINIMUM-FOR-CALLED-PARTY-BCD-NUMBER &minCalledPartyBCDNumberLength
MAXIMUM-FOR-CALLED-PARTY-BCD-NUMBER &maxCalledPartyBCDNumberLength
MINIMUM-FOR-CALLED-PARTY-NUMBER &minCalledPartyNumberLength
MAXIMUM-FOR-CALLED-PARTY-NUMBER &maxCalledPartyNumberLength
MINIMUM-FOR-CALLING-PARTY-NUMBER &minCallingPartyNumberLength
MAXIMUM-FOR-CALLING-PARTY-NUMBER &maxCallingPartyNumberLength
MINIMUM-FOR-CALL-RESULT &minCallResultLength
MAXIMUM-FOR-CALL-RESULT &maxCallResultLength
MINIMUM-FOR-CARRIER &minCarrierLength
MAXIMUM-FOR-CARRIER &maxCarrierLength
MINIMUM-FOR-CAUSE &minCauseLength
MAXIMUM-FOR-CAUSE &maxCauseLength
MINIMUM-FOR-DIGITS &minDigitsLength
MAXIMUM-FOR-DIGITS &maxDigitsLength
MINIMUM-FOR-FCI-BILLING-CHARGING-DATA &minFCIBillingChargingDataLength
MAXIMUM-FOR-FCI-BILLING-CHARGING-DATA &maxFCIBillingChargingDataLength
MINIMUM-FOR-FCI-BILLING-CHARGING &minFCIBillingChargingLength
MAXIMUM-FOR-FCI-BILLING-CHARGING &maxFCIBillingChargingLength
MINIMUM-FOR-GENERIC-NUMBER &minGenericNumberLength
MAXIMUM-FOR-GENERIC-NUMBER &maxGenericNumberLength
MINIMUM-FOR-GPRS-CAUSE-LENGTH &minGPRSCauseLength
MAXIMUM-FOR-GPRS-CAUSE-LENGTH &maxGPRSCauseLength
MINIMUM-FOR-IP-SSP-CAPABILITIES &minIPSSPCapabilitiesLength
MAXIMUM-FOR-IP-SSP-CAPABILITIES &maxIPSSPCapabilitiesLength
MINIMUM-FOR-LOCATION-NUMBER &minLocationNumberLength
MAXIMUM-FOR-LOCATION-NUMBER &maxLocationNumberLength
MINIMUM-FOR-LOW-LAYER-COMPATIBILITY &minLowLayerCompatibilityLength
MAXIMUM-FOR-LOW-LAYER-COMPATIBILITY &maxLowLayerCompatibilityLength
MINIMUM-FOR-MESSAGE-CONTENT &minMessageContentLength
MAXIMUM-FOR-MESSAGE-CONTENT &maxMessageContentLength
MINIMUM-FOR-ORIGINAL-CALLED-PARTY-ID &minOriginalCalledPartyIDLength
MAXIMUM-FOR-ORIGINAL-CALLED-PARTY-ID &maxOriginalCalledPartyIDLength
MINIMUM-FOR-PDP-ADDRESS-LENGTH &minPDPAddressLength
MAXIMUM-FOR-PDP-ADDRESS-LENGTH &maxPDPAddressLength
MINIMUM-FOR-REDIRECTING-ID &minRedirectingPartyIDLength
MAXIMUM-FOR-REDIRECTING-ID &maxRedirectingPartyIDLength
MINIMUM-FOR-GSMSCF-ID &minScfIDLength
MAXIMUM-FOR-GSMSCF-ID &maxScfIDLength
MINIMUM-FOR-SCI-BILLING-CHARGING &minSCIBillingChargingLength
MAXIMUM-FOR-SCI-BILLING-CHARGING &maxSCIBillingChargingLength
MINIMUM-FOR-TIME-AND-TIMEZONE &minTimeAndTimezoneLength
MAXIMUM-FOR-TIME-AND-TIMEZONE &maxTimeAndTimezoneLength
NUM-OF-BCSM-EVENT &numOfBCSMEvents
NUM-OF-CHANGE-OF-POSITION-CONTROL-INFO &numOfChangeOfPositionControlInfo
NUM-OF-CSS &numOfCSs
NUM-OF-SMS-EVENTS &numOfSMSEvents
NUM-OF-GPRS-EVENTS &numOfGPRSEvents
NUM-OF-EXTENSIONS &numOfExtensions
NUM-OF-GENERIC-NUMBERS &numOfGenericNumbers
NUM-OF-MESSAGE-IDS &numOfMessageIDs}
cAPSpecificBoundSet PARAMETERS-BOUND ::= {
MINIMUM-FOR-ACCESS-POINT-NAME 1
MAXIMUM-FOR-ACCESS-POINT-NAME 100
MINIMUM-FOR-ACH-BILLING-CHARGING 5
MAXIMUM-FOR-ACH-BILLING-CHARGING 177
MINIMUM-FOR-ATTRIBUTES 2
MAXIMUM-FOR-ATTRIBUTES 10
MAXIMUM-FOR-BEARER-CAPABILITY 11
MINIMUM-FOR-CALLED-PARTY-BCD-NUMBER 1
MAXIMUM-FOR-CALLED-PARTY-BCD-NUMBER 41
MINIMUM-FOR-CALLED-PARTY-NUMBER 2
MAXIMUM-FOR-CALLED-PARTY-NUMBER 18
MINIMUM-FOR-CALLING-PARTY-NUMBER 2
MAXIMUM-FOR-CALLING-PARTY-NUMBER 10
MINIMUM-FOR-CALL-RESULT 12
MAXIMUM-FOR-CALL-RESULT 193
MINIMUM-FOR-CARRIER 4
MAXIMUM-FOR-CARRIER 4
MINIMUM-FOR-CAUSE 2
MAXIMUM-FOR-CAUSE 32
MINIMUM-FOR-DIGITS 2
MAXIMUM-FOR-DIGITS 16
MINIMUM-FOR-FCI-BILLING-CHARGING-DATA 1
MAXIMUM-FOR-FCI-BILLING-CHARGING-DATA 160
MINIMUM-FOR-FCI-BILLING-CHARGING 5
MAXIMUM-FOR-FCI-BILLING-CHARGING 225
MINIMUM-FOR-GENERIC-NUMBER 3
MAXIMUM-FOR-GENERIC-NUMBER 11
MINIMUM-FOR-GPRS-CAUSE-LENGTH 1
MAXIMUM-FOR-GPRS-CAUSE-LENGTH 1
MINIMUM-FOR-IP-SSP-CAPABILITIES 1
MAXIMUM-FOR-IP-SSP-CAPABILITIES 4
MINIMUM-FOR-LOCATION-NUMBER 2
MAXIMUM-FOR-LOCATION-NUMBER 10
MINIMUM-FOR-LOW-LAYER-COMPATIBILITY 1
MAXIMUM-FOR-LOW-LAYER-COMPATIBILITY 16
MINIMUM-FOR-MESSAGE-CONTENT 1
MAXIMUM-FOR-MESSAGE-CONTENT 127
MINIMUM-FOR-ORIGINAL-CALLED-PARTY-ID 2
MAXIMUM-FOR-ORIGINAL-CALLED-PARTY-ID 10
MINIMUM-FOR-PDP-ADDRESS-LENGTH 1
MAXIMUM-FOR-PDP-ADDRESS-LENGTH 63
MINIMUM-FOR-REDIRECTING-ID 2
MAXIMUM-FOR-REDIRECTING-ID 10
MINIMUM-FOR-GSMSCF-ID 2
MAXIMUM-FOR-GSMSCF-ID 10
MINIMUM-FOR-SCI-BILLING-CHARGING 4
MAXIMUM-FOR-SCI-BILLING-CHARGING 225
MINIMUM-FOR-TIME-AND-TIMEZONE 8
MAXIMUM-FOR-TIME-AND-TIMEZONE 8
NUM-OF-BCSM-EVENT 30
NUM-OF-CHANGE-OF-POSITION-CONTROL-INFO 10
NUM-OF-CSS 127
NUM-OF-SMS-EVENTS 10
NUM-OF-GPRS-EVENTS 10
NUM-OF-EXTENSIONS 10
NUM-OF-GENERIC-NUMBERS 5
NUM-OF-MESSAGE-IDS 16}
END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-datatypes.asn | -- 3GPP TS 29.078 11.0.0 (2011-09)
-- 5 Common CAP Types
-- 5.1 Data types
CAP-datatypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3) cap-datatypes(52) version8(7)}
DEFINITIONS IMPLICIT TAGS ::= BEGIN
IMPORTS
Duration,
Integer4,
Interval,
LegID,
ServiceKey
FROM CS1-DataTypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1)
modules(0) cs1-datatypes(2) version1(0)}
BothwayThroughConnectionInd,
CriticalityType,
MiscCallInfo
FROM CS2-datatypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1)
cs2(20) modules(0) in-cs2-datatypes(0) version1(0)}
AddressString,
CellGlobalIdOrServiceAreaIdFixedLength,
Ext-BasicServiceCode,
IMSI,
ISDN-AddressString,
LAIFixedLength,
GSN-Address, -- WS moved to common datatypes in rel 9.0.0
RAIdentity, -- WS moved to common datatypes in rel 10.4.0
NAEA-CIC
FROM MAP-CommonDataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-CommonDataTypes(18) version12(12)}
Ext-QoS-Subscribed,
Ext2-QoS-Subscribed,
Ext3-QoS-Subscribed,
GeographicalInformation,
-- GSN-Address, WS moved to common datatypes in rel 9.0.0
LocationInformation,
LSAIdentity,
QoS-Subscribed,
-- RAIdentity, WS moved to common datatypes in rel 10.4.0
SubscriberState,
GPRSChargingID
FROM MAP-MS-DataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-MS-DataTypes(11) version12(12)}
CallReferenceNumber,
SuppressionOfAnnouncement
FROM MAP-CH-DataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-CH-DataTypes(13) version12(12)}
tc-Messages,
classes
FROM CAP-object-identifiers {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-object-identifiers(100) version8(7)}
EXTENSION,
PARAMETERS-BOUND,
SupportedExtensions
FROM CAP-classes classes
ExtensionContainer
FROM MAP-ExtensionDataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-ExtensionDataTypes(21) version12(12)}
;
AccessPointName {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minAccessPointNameLength .. bound.&maxAccessPointNameLength))
-- Indicates the AccessPointName, refer to 3GPP TS 24.008 [9] for the encoding.
-- It shall be coded as in the value part defined in 3GPP TS 24.008,
-- i.e. the 3GPP TS 24.008 IEI and 3GPP TS 24.008 octet length indicator
-- shall not be included.
AChBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE
(bound.&minAChBillingChargingLength .. bound.&maxAChBillingChargingLength))
(CONSTRAINED BY {-- shall be the result of the BER-encoded value of the type --
CAMEL-AChBillingChargingCharacteristics {bound}})
-- The AChBillingChargingCharacteristics parameter specifies the charging related information
-- to be provided by the gsmSSF and the conditions on which this information has to be reported
-- back to the gsmSCF with the ApplyChargingReport operation. The value of the
-- AChBillingChargingCharacteristics of type OCTET STRING carries a value of the ASN.1 data type:
-- CAMEL-AChBillingChargingCharacteristics. The normal encoding rules are used to encode this
-- value.
-- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
AChChargingAddress {PARAMETERS-BOUND : bound} ::= CHOICE {
legID [2] LegID,
srfConnection [50] CallSegmentID {bound}
}
AdditionalCallingPartyNumber {PARAMETERS-BOUND : bound} ::= Digits {bound}
-- Indicates the Additional Calling Party Number.
AlertingPattern ::= OCTET STRING (SIZE(3))
-- Indicates a specific pattern that is used to alert a subscriber
-- (e.g. distinctive ringing, tones, etc.).
-- The encoding of the last octet of this parameter is as defined in 3GPP TS 29.002 [11].
-- Only the trailing OCTET is used, the remaining OCTETS shall be sent as NULL (zero)
-- The receiving side shall ignore the leading two OCTETS.
AOCBeforeAnswer ::= SEQUENCE {
aOCInitial [0] CAI-GSM0224,
aOCSubsequent [1] AOCSubsequent OPTIONAL
}
AOCGPRS ::= SEQUENCE {
aOCInitial [0] CAI-GSM0224,
aOCSubsequent [1] AOCSubsequent OPTIONAL
}
AOCSubsequent ::= SEQUENCE {
cAI-GSM0224 [0] CAI-GSM0224 ,
tariffSwitchInterval [1] INTEGER (1..86400) OPTIONAL
}
-- tariffSwitchInterval is measured in 1 second units
AppendFreeFormatData ::= ENUMERATED {
overwrite (0),
append (1)
}
ApplicationTimer ::=INTEGER (0..2047)
-- Used by the gsmSCF to set a timer in the gsmSSF. The timer is in seconds.
AssistingSSPIPRoutingAddress {PARAMETERS-BOUND : bound} ::= Digits {bound}
-- Indicates the destination address of the gsmSRF for the assist procedure.
AudibleIndicator ::= CHOICE {
tone BOOLEAN,
burstList [1] BurstList
}
BackwardServiceInteractionInd ::= SEQUENCE {
conferenceTreatmentIndicator [1] OCTET STRING (SIZE(1)) OPTIONAL,
-- acceptConferenceRequest 'xxxx xx01'B
-- rejectConferenceRequest 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect conference treatement
callCompletionTreatmentIndicator [2] OCTET STRING (SIZE(1)) OPTIONAL,
-- acceptCallCompletionServiceRequest 'xxxx xx01'B,
-- rejectCallCompletionServiceRequest 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect call completion treatment
...
}
BasicGapCriteria {PARAMETERS-BOUND : bound} ::= CHOICE {
calledAddressValue [0] Digits {bound},
gapOnService [2] GapOnService,
calledAddressAndService [29] SEQUENCE {
calledAddressValue [0] Digits {bound},
serviceKey [1] ServiceKey,
...
},
callingAddressAndService [30] SEQUENCE {
callingAddressValue [0] Digits {bound},
serviceKey [1] ServiceKey,
...
}
}
-- Both calledAddressValue and callingAddressValue can be
-- incomplete numbers, in the sense that a limited amount of digits can be given.
-- For the handling of numbers starting with the same digit string refer to the detailed
-- procedure of the CallGap operation
BCSMEvent{PARAMETERS-BOUND : bound} ::= SEQUENCE {
eventTypeBCSM [0] EventTypeBCSM,
monitorMode [1] MonitorMode,
legID [2] LegID OPTIONAL,
dpSpecificCriteria [30] DpSpecificCriteria {bound} OPTIONAL,
automaticRearm [50] NULL OPTIONAL,
...
}
-- Indicates the BCSM Event information for monitoring.
BCSM-Failure {PARAMETERS-BOUND : bound} ::= SEQUENCE {
legID [0] LegID OPTIONAL,
cause [2] Cause {bound} OPTIONAL,
...
}
BearerCapability {PARAMETERS-BOUND : bound} ::= CHOICE {
bearerCap [0] OCTET STRING (SIZE(2..bound.&maxBearerCapabilityLength))
}
-- Indicates the type of bearer capability connection to the user. For bearerCap, the ISUP User
-- Service Information, ETSI EN 300 356-1 [23]
-- encoding shall be used.
Burst ::= SEQUENCE {
numberOfBursts [0] INTEGER (1..3) DEFAULT 1,
burstInterval [1] INTEGER (1..1200) DEFAULT 2,
numberOfTonesInBurst [2] INTEGER (1..3) DEFAULT 3,
toneDuration [3] INTEGER (1..20) DEFAULT 2,
toneInterval [4] INTEGER (1..20) DEFAULT 2,
...
}
-- burstInterval, toneDurartion and toneInterval are measured in 100 millisecond units
BurstList ::= SEQUENCE {
warningPeriod [0] INTEGER (1..1200) DEFAULT 30,
bursts [1] Burst,
...
}
-- warningPeriod is measured in 1 second units.
CAI-GSM0224 ::= SEQUENCE {
e1 [0] INTEGER (0..8191) OPTIONAL,
e2 [1] INTEGER (0..8191) OPTIONAL,
e3 [2] INTEGER (0..8191) OPTIONAL,
e4 [3] INTEGER (0..8191) OPTIONAL,
e5 [4] INTEGER (0..8191) OPTIONAL,
e6 [5] INTEGER (0..8191) OPTIONAL,
e7 [6] INTEGER (0..8191) OPTIONAL
}
-- Indicates Charge Advice Information to the Mobile Station. For information regarding
-- parameter usage, refer to 3GPP TS 22.024 [2].
CalledPartyBCDNumber {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minCalledPartyBCDNumberLength .. bound.&maxCalledPartyBCDNumberLength))
-- Indicates the Called Party Number, including service selection information.
-- Refer to 3GPP TS 24.008 [9] for encoding.
-- This data type carries only the 'type of number', 'numbering plan
-- identification' and 'number digit' fields defined in 3GPP TS 24.008 [9];
-- it does not carry the 'called party BCD number IEI' or 'length of called
-- party BCD number contents'.
-- In the context of the DestinationSubscriberNumber field in ConnectSMSArg or
-- InitialDPSMSArg, a CalledPartyBCDNumber may also contain an alphanumeric
-- character string. In this case, type-of-number '101'B is used, in accordance
-- with 3GPP TS 23.040 [6]. The address is coded in accordance with the
-- GSM 7 bit default alphabet definition and the SMS packing rules
-- as specified in 3GPP TS 23.038 [15] in this case.
CalledPartyNumber {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minCalledPartyNumberLength .. bound.&maxCalledPartyNumberLength))
-- Indicates the Called Party Number. Refer to ETS EN 300 356 1 [23] for encoding.
-- A CalledPartyNumber may contain national-specific values of the Nature Of Address
-- indicator. The filling-in of the national-specific Nature Of Address indicator
-- values shall be done in accordance with the national ISUP of the gsmSSF country, e.g.
-- ANSI T1.113-1995 [92].
-- In terms of ETS EN 300 356-1 [23], the Destination Address Field is not present if the
-- destination address length is set to zero. This is the case e.g. when the ANSI
-- ISUP Nature Of Address indicator indicates no number present, operator requested
-- (1110100) or no number present, cut-through call to carrier (1110101).
-- See also see 3GPP TS 23.078 [7].
CallingPartyNumber {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minCallingPartyNumberLength .. bound.&maxCallingPartyNumberLength))
-- Indicates the Calling Party Number. Refer to ETSI EN 300 356 1 [23] for encoding.
CallResult {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minCallResultLength .. bound.&maxCallResultLength))
(CONSTRAINED BY {-- shall be the result of the BER-encoded value of type -
CAMEL-CallResult {bound}})
-- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
-- This parameter provides the gsmSCF with the charging related information previously requested
-- using the ApplyCharging operation. This shall include the partyToCharge parameter as
-- received in the related ApplyCharging operation to correlate the result to the request
CallSegmentFailure {PARAMETERS-BOUND : bound} ::= SEQUENCE {
callSegmentID [0] CallSegmentID {bound} OPTIONAL,
cause [2] Cause {bound} OPTIONAL,
...
}
CallSegmentID {PARAMETERS-BOUND : bound} ::= INTEGER (1..bound.&numOfCSs)
CallSegmentToCancel {PARAMETERS-BOUND : bound} ::= SEQUENCE {
invokeID [0] InvokeID OPTIONAL,
callSegmentID [1] CallSegmentID {bound} OPTIONAL,
...
}
CAMEL-AChBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= CHOICE {
timeDurationCharging [0] SEQUENCE {
maxCallPeriodDuration [0] INTEGER (1..864000),
releaseIfdurationExceeded [1] BOOLEAN DEFAULT FALSE,
tariffSwitchInterval [2] INTEGER (1..86400) OPTIONAL,
audibleIndicator [3] AudibleIndicator DEFAULT tone: FALSE,
extensions [4] Extensions {bound} OPTIONAL,
...
}
}
-- tariffSwitchInterval is measured in 1 second units.
-- maxCallPeriodDuration is measured in 100 millisecond units
CAMEL-CallResult {PARAMETERS-BOUND : bound} ::= CHOICE {
timeDurationChargingResult [0] SEQUENCE {
partyToCharge [0] ReceivingSideID,
timeInformation [1] TimeInformation,
legActive [2] BOOLEAN DEFAULT TRUE,
callLegReleasedAtTcpExpiry [3] NULL OPTIONAL,
extensions [4] Extensions {bound} OPTIONAL,
aChChargingAddress [5] AChChargingAddress {bound}
DEFAULT legID:receivingSideID:leg1,
...
}
}
CAMEL-FCIBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= CHOICE{
fCIBCCCAMELsequence1 [0] SEQUENCE {
freeFormatData [0] OCTET STRING (SIZE(
bound.&minFCIBillingChargingDataLength .. bound.&maxFCIBillingChargingDataLength)),
partyToCharge [1] SendingSideID DEFAULT sendingSideID: leg1,
appendFreeFormatData [2] AppendFreeFormatData DEFAULT overwrite,
...
}
}
CAMEL-FCIGPRSBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= SEQUENCE{
fCIBCCCAMELsequence1 [0] SEQUENCE {
freeFormatData [0] OCTET STRING (SIZE(
bound.&minFCIBillingChargingDataLength .. bound.&maxFCIBillingChargingDataLength)),
pDPID [1] PDPID OPTIONAL,
appendFreeFormatData [2] AppendFreeFormatData DEFAULT overwrite,
...
}
}
CAMEL-FCISMSBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= CHOICE{
fCIBCCCAMELsequence1 [0] SEQUENCE {
freeFormatData [0] OCTET STRING (SIZE(
bound.&minFCIBillingChargingDataLength .. bound.&maxFCIBillingChargingDataLength)),
appendFreeFormatData [1] AppendFreeFormatData DEFAULT overwrite
}
}
CAMEL-SCIBillingChargingCharacteristics ::= CHOICE {
aOCBeforeAnswer [0] AOCBeforeAnswer,
aOCAfterAnswer [1] AOCSubsequent,
aOC-extension [2] CAMEL-SCIBillingChargingCharacteristicsAlt
}
CAMEL-SCIBillingChargingCharacteristicsAlt ::= SEQUENCE {
...
}
-- This datatype is for extension in future releases.
CAMEL-SCIGPRSBillingChargingCharacteristics ::= SEQUENCE {
aOCGPRS [0] AOCGPRS,
pDPID [1] PDPID OPTIONAL,
...
}
Carrier {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minCarrierLength .. bound.&maxCarrierLength))
-- This parameter is used for North America (na) only.
-- It contains the carrier selection field (first octet) followed by Carrier ID
-- information (North America (na)).
-- The Carrier selection is one octet and is encoded as:
-- 00000000 No indication
-- 00000001 Selected carrier identification code (CIC) pre subscribed and not
-- input by calling party
-- 00000010 Selected carrier identification code (CIC) pre subscribed and input by
-- calling party
-- 00000011 Selected carrier identification code (CIC) pre subscribed, no
-- indication of whether input by calling party (undetermined)
-- 00000100 Selected carrier identification code (CIC) not pre subscribed and
-- input by calling party
-- 00000101
-- to Spare
-- 11111110
-- 11111111 Reserved
-- Refer to ANSI T1.113-1995 [92] for encoding of na carrier ID information (3 octets).
Cause {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minCauseLength .. bound.&maxCauseLength))
-- Indicates the cause for interface related information.
-- Refer to ETSI EN 300 356 1 [23] Cause parameter for encoding.
-- For the use of cause and location values refer to ITU T Recommendation Q.850 [47]
-- Shall always include the cause value and shall also include the diagnostics field,
-- if available.
CGEncountered ::= ENUMERATED {
noCGencountered (0),
manualCGencountered (1),
scpOverload (2)
}
-- Indicates the type of automatic call gapping encountered, if any.
ChangeOfPositionControlInfo {PARAMETERS-BOUND : bound} ::= SEQUENCE SIZE (1..bound.&numOfChangeOfPositionControlInfo) OF ChangeOfLocation {bound}
ChangeOfLocation {PARAMETERS-BOUND : bound} ::= CHOICE {
cellGlobalId [0] CellGlobalIdOrServiceAreaIdFixedLength,
serviceAreaId [1] CellGlobalIdOrServiceAreaIdFixedLength,
locationAreaId [2] LAIFixedLength,
inter-SystemHandOver [3] NULL,
inter-PLMNHandOver [4] NULL,
inter-MSCHandOver [5] NULL,
changeOfLocationAlt [6] ChangeOfLocationAlt {bound}
}
-- The cellGlobalId shall contain a Cell Global Identification.
-- The serviceAreaId shall contain a Service Area Identification.
ChangeOfLocationAlt {PARAMETERS-BOUND : bound} ::= SEQUENCE {
...
}
ChargeIndicator ::= OCTET STRING (SIZE (1))
-- As specified in ITU-T Recommendation Q.763 as follows:
-- no indication 'xxxx xx00'B
-- no charge 'xxxx xx01'B
-- charge 'xxxx xx10'B
-- spare 'xxxx xx11'B
-- Sending entity shall fill the upper six bits with '0's.
-- Receiving entity shall ignore the upper six bits.
ChargeNumber {PARAMETERS-BOUND : bound} ::= LocationNumber {bound}
-- Information sent in either direction indicating the chargeable number for the call and
-- consisting of the odd/even indicator, nature of address indicator, numbering plan indicator,
-- and address signals.
-- Uses the LocationNumber format which is based on the Location Number format as defined
-- in ITU-T Recommendation Q.763 [45].
-- For example, the ChargeNumber may be a third party number to which a call is billed for
-- the 3rd party billing service. In this case, the calling party may request operator assistance
-- to charge the call to, for example, their home number.
-- For NA, this parameter uniquely identifies the chargeable number for a call sent into a North
-- American long distance carrier. It transports the ChargeNumber Parameter Field as defined in
-- ANSI T1.113-1995 [92]. This provides
-- - 1 octet for the nature of address indicator field, plus
-- - 1 octet for a numbering plan field, plus
-- - up to 5 octets for the address signal (up to 10 digits)
-- The Charge Number in ANSI T1.113-1995 [92] normally contains a 10 digit national number within
-- the North American Numbering Plan (NANP); longer (e.g. international) charge numbers are not
-- supported in ANSI T1.113-1995 [92].
ChargingCharacteristics ::= CHOICE {
maxTransferredVolume [0] INTEGER (1..4294967295),
maxElapsedTime [1] INTEGER (1..86400)
}
-- maxTransferredVolume is measured in number of bytes
-- maxElapsedTime is measured in seconds
ChargingResult ::= CHOICE {
transferredVolume [0] TransferredVolume,
elapsedTime [1] ElapsedTime
}
ChargingRollOver ::= CHOICE {
transferredVolumeRollOver [0] TransferredVolumeRollOver,
elapsedTimeRollOver [1] ElapsedTimeRollOver
}
-- transferredVolumeRollOver shall be reported if ApplyChargingReportGPRS reports volume and
-- a roll-over has occurred in one or more volume counters. Otherwise, it shall be absent.
-- elapsedTimeRollOver shall be reported if ApplyChargingReportGPRS reports duration and
-- a roll-over has occurred in one or more duration counters. Otherwise, it shall be absent.
CollectedDigits ::= SEQUENCE {
minimumNbOfDigits [0] INTEGER (1..30) DEFAULT 1,
maximumNbOfDigits [1] INTEGER (1..30),
endOfReplyDigit [2] OCTET STRING (SIZE (1..2)) OPTIONAL,
cancelDigit [3] OCTET STRING (SIZE (1..2)) OPTIONAL,
startDigit [4] OCTET STRING (SIZE (1..2)) OPTIONAL,
firstDigitTimeOut [5] INTEGER (1..127) OPTIONAL,
interDigitTimeOut [6] INTEGER (1..127) OPTIONAL,
errorTreatment [7] ErrorTreatment DEFAULT stdErrorAndInfo,
interruptableAnnInd [8] BOOLEAN DEFAULT TRUE,
voiceInformation [9] BOOLEAN DEFAULT FALSE,
voiceBack [10] BOOLEAN DEFAULT FALSE
}
-- The use of voiceBack and the support of voice recognition via voiceInformation
-- is network operator specific.
-- The endOfReplyDigit, cancelDigit, and startDigit parameters have been
-- designated as OCTET STRING, and are to be encoded as BCD, one digit per octet
-- only, contained in the four least significant bits of each OCTET. The following encoding shall
-- be applied for the non-decimal characters:
-- 1011 (*), 1100 (#).
-- The usage is service dependent.
-- firstDigitTimeOut and interDigitTimeOut are measured in seconds.
CollectedInfo ::= CHOICE {
collectedDigits [0] CollectedDigits
}
ConnectedNumberTreatmentInd ::= ENUMERATED {
noINImpact (0),
presentationRestricted (1),
presentCalledINNumber (2),
presentCallINNumberRestricted (3)
}
-- This parameter is used to suppress or to display the connected number.
ControlType ::= ENUMERATED {
sCPOverloaded (0),
manuallyInitiated (1)
}
CompoundCriteria {PARAMETERS-BOUND : bound} ::= SEQUENCE {
basicGapCriteria [0] BasicGapCriteria {bound},
scfID [1] ScfID {bound} OPTIONAL
}
CorrelationID {PARAMETERS-BOUND : bound} ::= Digits {bound}
-- used by gsmSCF for correlation with a previous operation.
DateAndTime ::= OCTET STRING (SIZE(7))
-- DateAndTime is BCD encoded. The year digit indicating millenium occupies bits
-- 0-3 of the first octet, and the year digit indicating century occupies bits
-- 4-7 of the first octet.
-- The year digit indicating decade occupies bits 0-3 of the second octet,
-- whilst the digit indicating the year within the decade occupies bits 4-7 of
-- the second octet.
-- The most significant month digit occupies bits 0-3 of the third octet,
-- and the least significant month digit occupies bits 4-7 of the third octet.
-- The most significant day digit occupies bits 0-3 of the fourth octet,
-- and the least significant day digit occupies bits 4-7 of the fourth octet.
-- The most significant hours digit occupies bits 0-3 of the fifth octet,
-- and the least significant digit occupies bits 4-7 of the fifth octet.
-- The most significant minutes digit occupies bits 0-3 of the sixth octet,
-- and the least significant digit occupies bits 4-7 of the sixth octet.
-- The most significant seconds digit occupies bits 0-3 of the seventh octet,
-- and the least seconds significant digit occupies bits 4-7 of the seventh octet.
-- For the encoding of digits in an octet, refer to the timeAndtimezone parameter.
DestinationRoutingAddress {PARAMETERS-BOUND : bound} ::= SEQUENCE SIZE(1) OF
CalledPartyNumber {bound}
-- Indicates the Called Party Number.
Digits {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minDigitsLength .. bound.&maxDigitsLength))
-- Indicates the address signalling digits.
-- Refer to ETSI EN 300 356 1 [23] Generic Number & Generic Digits parameters for encoding.
-- The coding of the subfields 'NumberQualifier' in Generic Number and 'TypeOfDigits' in
-- Generic Digits are irrelevant to the CAP;
-- the ASN.1 tags are sufficient to identify the parameter.
-- The ISUP format does not allow to exclude these subfields,
-- therefore the value is network operator specific.
--
-- The following parameters shall use Generic Number:
-- - AdditionalCallingPartyNumber for InitialDP
-- - AssistingSSPIPRoutingAddress for EstablishTemporaryConnection
-- - CorrelationID for AssistRequestInstructions
-- - CalledAddressValue for all occurrences, CallingAddressValue for all occurrences.
--
-- The following parameters shall use Generic Digits:
-- - CorrelationID in EstablishTemporaryConnection
-- - number in VariablePart
-- - digitsResponse in ReceivedInformationArg
-- - midCallEvents in oMidCallSpecificInfo and tMidCallSpecificInfo
--
-- In the digitsResponse and midCallevents, the digits may also include the '*', '#',
-- a, b, c and d digits by using the IA5 character encoding scheme. If the BCD even or
-- BCD odd encoding scheme is used, then the following encoding shall be applied for the
-- non-decimal characters: 1011 (*), 1100 (#).
--
-- AssistingSSPIPRoutingAddress in EstablishTemporaryConnection and CorrelationID in
-- AssistRequestInstructions may contain a Hex B digit as address signal. Refer to
-- Annex A.6 for the usage of the Hex B digit.
--
-- Note that when CorrelationID is transported in Generic Digits, then the digits shall
-- always be BCD encoded.
DpSpecificCriteria {PARAMETERS-BOUND : bound}::= CHOICE {
applicationTimer [1] ApplicationTimer,
midCallControlInfo [2] MidCallControlInfo,
dpSpecificCriteriaAlt [3] DpSpecificCriteriaAlt {bound}
}
-- Exception handling: reception of DpSpecificCriteriaAlt shall be treated like
-- reception of no DpSpecificCriteria.
-- The gsmSCF may set a timer in the gsmSSF for the No_Answer event.
-- If the user does not answer the call within the allotted time,
-- then the gsmSSF reports the event to the gsmSCF.
-- The gsmSCF may define a criterion for the detection of DTMF digits during a call.
-- The gsmSCF may define other criteria in the dpSpecificCriteriaAlt alternative
-- in future releases.
DpSpecificCriteriaAlt {PARAMETERS-BOUND : bound} ::= SEQUENCE {
...,
changeOfPositionControlInfo [0] ChangeOfPositionControlInfo {bound},
numberOfDigits [1] NumberOfDigits OPTIONAL,
interDigitTimeout [2] INTEGER (1..127) OPTIONAL
}
-- interDigitTimeout duration in seconds.
DpSpecificInfoAlt {PARAMETERS-BOUND : bound} ::= SEQUENCE {
...,
oServiceChangeSpecificInfo [0] SEQUENCE {
ext-basicServiceCode [0] Ext-BasicServiceCode OPTIONAL,
...,
initiatorOfServiceChange [1] InitiatorOfServiceChange OPTIONAL,
natureOfServiceChange [2] NatureOfServiceChange OPTIONAL
},
tServiceChangeSpecificInfo [1] SEQUENCE {
ext-basicServiceCode [0] Ext-BasicServiceCode OPTIONAL,
...,
initiatorOfServiceChange [1] InitiatorOfServiceChange OPTIONAL,
natureOfServiceChange [2] NatureOfServiceChange OPTIONAL
},
collectedInfoSpecificInfo [2] SEQUENCE {
calledPartyNumber [0] CalledPartyNumber OPTIONAL,
...
}
}
-- This datatype is for extension in future releases.
ElapsedTime ::= CHOICE {
timeGPRSIfNoTariffSwitch [0] INTEGER (0..86400),
timeGPRSIfTariffSwitch [1] SEQUENCE {
timeGPRSSinceLastTariffSwitch [0] INTEGER (0..86400),
timeGPRSTariffSwitchInterval [1] INTEGER (0..86400) OPTIONAL
}
}
-- timeGPRSIfNoTariffSwitch is measured in seconds
-- timeGPRSSinceLastTariffSwitch and timeGPRSTariffSwitchInterval are measured in seconds
ElapsedTimeRollOver ::= CHOICE {
rO-TimeGPRSIfNoTariffSwitch [0] INTEGER (0..255),
rO-TimeGPRSIfTariffSwitch [1] SEQUENCE {
rO-TimeGPRSSinceLastTariffSwitch [0] INTEGER (0..255) OPTIONAL,
rO-TimeGPRSTariffSwitchInterval [1] INTEGER (0..255) OPTIONAL
}
}
-- rO-TimeGPRSIfNoTariffSwitch, rO-TimeGPRSSinceLastTariffSwitch and
-- rO-TimeGPRSTariffSwitchInterval
-- present counters indicating the number of parameter range rollovers.
EndUserAddress {PARAMETERS-BOUND: bound} ::= SEQUENCE {
pDPTypeOrganization [0] OCTET STRING (SIZE(1)),
pDPTypeNumber [1] OCTET STRING (SIZE(1)),
pDPAddress [2] OCTET STRING (SIZE(
bound.&minPDPAddressLength .. bound.&maxPDPAddressLength)) OPTIONAL
}
-- Indicates the EndUserAddress, refer to 3GPP TS 29.060 [12] for the encoding.
-- The pDPTypeOrganization shall use the least significant 4 bits of the octet encoded.
-- The sender of this parameter shall set the most significant 4 bits of the octet to 1.
-- The receiver of this parameter shall ignore the most significant 4 bits of this octet.
ErrorTreatment ::= ENUMERATED {
stdErrorAndInfo (0),
help (1),
repeatPrompt (2)
}
-- stdErrorAndInfomeans returning the 'ImproperCallerResponse' error in the event of an error
-- condition during collection of user info.
EventSpecificInformationBCSM {PARAMETERS-BOUND : bound} ::= CHOICE {
routeSelectFailureSpecificInfo [2] SEQUENCE {
failureCause [0] Cause {bound} OPTIONAL,
...
},
oCalledPartyBusySpecificInfo [3] SEQUENCE {
busyCause [0] Cause {bound} OPTIONAL,
...
},
oNoAnswerSpecificInfo [4] SEQUENCE {
-- no specific info defined --
...
},
oAnswerSpecificInfo [5] SEQUENCE {
destinationAddress [50] CalledPartyNumber {bound} OPTIONAL,
or-Call [51] NULL OPTIONAL,
forwardedCall [52] NULL OPTIONAL,
chargeIndicator [53] ChargeIndicator OPTIONAL,
ext-basicServiceCode [54] Ext-BasicServiceCode OPTIONAL,
ext-basicServiceCode2 [55] Ext-BasicServiceCode OPTIONAL,
...
},
oMidCallSpecificInfo [6] SEQUENCE {
midCallEvents [1] CHOICE {
dTMFDigitsCompleted [3] Digits {bound},
dTMFDigitsTimeOut [4] Digits {bound}
} OPTIONAL,
...
},
oDisconnectSpecificInfo [7] SEQUENCE {
releaseCause [0] Cause {bound} OPTIONAL,
...
},
tBusySpecificInfo [8] SEQUENCE {
busyCause [0] Cause {bound} OPTIONAL,
callForwarded [50] NULL OPTIONAL,
routeNotPermitted [51] NULL OPTIONAL,
forwardingDestinationNumber [52] CalledPartyNumber {bound} OPTIONAL,
...
},
tNoAnswerSpecificInfo [9] SEQUENCE {
callForwarded [50] NULL OPTIONAL,
forwardingDestinationNumber [52] CalledPartyNumber {bound} OPTIONAL,
...
},
tAnswerSpecificInfo [10] SEQUENCE {
destinationAddress [50] CalledPartyNumber {bound} OPTIONAL,
or-Call [51] NULL OPTIONAL,
forwardedCall [52] NULL OPTIONAL,
chargeIndicator [53] ChargeIndicator OPTIONAL,
ext-basicServiceCode [54] Ext-BasicServiceCode OPTIONAL,
ext-basicServiceCode2 [55] Ext-BasicServiceCode OPTIONAL,
...
},
tMidCallSpecificInfo [11] SEQUENCE {
midCallEvents [1] CHOICE {
dTMFDigitsCompleted [3] Digits {bound},
dTMFDigitsTimeOut [4] Digits {bound}
} OPTIONAL,
...
},
tDisconnectSpecificInfo [12] SEQUENCE {
releaseCause [0] Cause {bound} OPTIONAL,
...
},
oTermSeizedSpecificInfo [13] SEQUENCE {
locationInformation [50] LocationInformation OPTIONAL,
...
},
callAcceptedSpecificInfo [20] SEQUENCE {
locationInformation [50] LocationInformation OPTIONAL,
...
},
oAbandonSpecificInfo [21] SEQUENCE {
routeNotPermitted [50] NULL OPTIONAL,
...
},
oChangeOfPositionSpecificInfo [50] SEQUENCE {
locationInformation [50] LocationInformation OPTIONAL,
...,
metDPCriteriaList [51] MetDPCriteriaList {bound} OPTIONAL
},
tChangeOfPositionSpecificInfo [51] SEQUENCE {
locationInformation [50] LocationInformation OPTIONAL,
...,
metDPCriteriaList [51] MetDPCriteriaList {bound} OPTIONAL
},
dpSpecificInfoAlt [52] DpSpecificInfoAlt {bound}
}
-- Indicates the call related information specific to the event.
EventSpecificInformationSMS ::= CHOICE {
o-smsFailureSpecificInfo [0] SEQUENCE {
failureCause [0] MO-SMSCause OPTIONAL,
...
},
o-smsSubmissionSpecificInfo [1] SEQUENCE {
-- no specific info defined--
...
},
t-smsFailureSpecificInfo [2] SEQUENCE {
failureCause [0] MT-SMSCause OPTIONAL,
...
},
t-smsDeliverySpecificInfo [3] SEQUENCE {
-- no specific info defined--
...
}
}
EventTypeBCSM ::= ENUMERATED {
collectedInfo (2),
analyzedInformation (3),
routeSelectFailure (4),
oCalledPartyBusy (5),
oNoAnswer (6),
oAnswer (7),
oMidCall (8),
oDisconnect (9),
oAbandon (10),
termAttemptAuthorized (12),
tBusy (13),
tNoAnswer (14),
tAnswer (15),
tMidCall (16),
tDisconnect (17),
tAbandon (18),
oTermSeized (19),
callAccepted (27),
oChangeOfPosition (50),
tChangeOfPosition (51),
...,
oServiceChange (52),
tServiceChange (53)
}
-- Indicates the BCSM detection point event.
-- Values analyzedInformation and termAttemptAuthorized may be used
-- for TDPs only.
-- Exception handling: reception of an unrecognized value shall be treated
-- like reception of no detection point.
EventTypeSMS ::= ENUMERATED {
sms-CollectedInfo (1),
o-smsFailure (2),
o-smsSubmission (3),
sms-DeliveryRequested (11),
t-smsFailure (12),
t-smsDelivery (13)
}
-- Values sms-CollectedInfo and sms-DeliveryRequested may be used for TDPs only.
Extensions {PARAMETERS-BOUND : bound} ::= SEQUENCE SIZE (1..bound.&numOfExtensions) OF ExtensionField
ExtensionField ::= SEQUENCE {
type EXTENSION.&id ({SupportedExtensions}),
-- shall identify the value of an EXTENSION type
criticality CriticalityType DEFAULT ignore,
value [1] EXTENSION.&ExtensionType ({SupportedExtensions}{@type}),
...
}
-- This parameter indicates an extension of an argument data type.
-- Its content is network operator specific
FCIBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minFCIBillingChargingLength .. bound.&maxFCIBillingChargingLength))
(CONSTRAINED BY {-- shall be the result of the BER-encoded value of type --
CAMEL-FCIBillingChargingCharacteristics {bound}})
-- This parameter indicates the billing and/or charging characteristics.
-- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
FCIGPRSBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minFCIBillingChargingLength .. bound.&maxFCIBillingChargingLength))
(CONSTRAINED BY {-- shall be the result of the BER-encoded value of type -
CAMEL-FCIGPRSBillingChargingCharacteristics {bound}})
-- This parameter indicates the GPRS billing and/or charging characteristics.
-- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
FCISMSBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minFCIBillingChargingLength .. bound.&maxFCIBillingChargingLength))
(CONSTRAINED BY {-- shall be the result of the BER-encoded value of type -
CAMEL-FCISMSBillingChargingCharacteristics {bound}})
-- This parameter indicates the SMS billing and/or charging characteristics.
-- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
ForwardServiceInteractionInd ::= SEQUENCE {
conferenceTreatmentIndicator [1] OCTET STRING (SIZE(1)) OPTIONAL,
-- acceptConferenceRequest 'xxxx xx01'B
-- rejectConferenceRequest 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect conference treatment
callDiversionTreatmentIndicator [2] OCTET STRING (SIZE(1)) OPTIONAL,
-- callDiversionAllowed 'xxxx xx01'B
-- callDiversionNotAllowed 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect call diversion treatment
callingPartyRestrictionIndicator [4] OCTET STRING (SIZE(1)) OPTIONAL,
-- noINImpact 'xxxx xx01'B
-- presentationRestricted 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect calling party restriction treatment
...
}
GapCriteria {PARAMETERS-BOUND : bound}::= CHOICE {
basicGapCriteria BasicGapCriteria {bound},
compoundGapCriteria CompoundCriteria {bound}
}
GapIndicators ::= SEQUENCE {
duration [0] Duration,
gapInterval [1] Interval,
...
}
-- Indicates the call gapping characteristics.
-- No call gapping when gapInterval equals 0.
GapOnService ::= SEQUENCE {
serviceKey [0] ServiceKey,
...
}
GapTreatment {PARAMETERS-BOUND : bound} ::= CHOICE {
informationToSend [0] InformationToSend {bound},
releaseCause [1] Cause {bound}
}
-- The default value for Cause is the same as in ISUP.
GenericNumber {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minGenericNumberLength .. bound.&maxGenericNumberLength))
-- Indicates a generic number. Refer to ETSI EN 300 356 1 [23] Generic number for encoding.
GenericNumbers {PARAMETERS-BOUND : bound} ::= SET SIZE(1..bound.&numOfGenericNumbers) OF GenericNumber {bound}
GPRS-QoS ::= CHOICE {
short-QoS-format [0] QoS-Subscribed,
long-QoS-format [1] Ext-QoS-Subscribed
}
-- Short-QoS-format shall be sent for QoS in pre GSM release 99 format.
-- Long-QoS-format shall be sent for QoS in GSM release 99 (and beyond) format.
-- Which of the two QoS formats shall be sent is determined by which QoS
-- format is available in the SGSN at the time of sending.
-- Refer to 3GPP TS 29.002 [11] for encoding details of QoS-Subscribed and
-- Ext-QoS-Subscribed.
GPRS-QoS-Extension ::= SEQUENCE {
supplement-to-long-QoS-format [0] Ext2-QoS-Subscribed,
... ,
additionalSupplement [1] Ext3-QoS-Subscribed OPTIONAL
}
GPRSCause {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE
(bound.&minGPRSCauseLength .. bound.&maxGPRSCauseLength))
-- Shall only include the cause value.
-- 00000000 Unspecified
-- All other values shall be interpreted as 'Unspecified'.
--
-- This parameter indicates the cause for CAP interface related information.
-- The GPRSCause mapping to/from GTP cause values specified in the 3GPP TS 29.060 [12] and
-- to/from 3GPP TS 24.008 [9] GMM cause and SM cause values are outside scope of this document.
GPRSEvent ::= SEQUENCE {
gPRSEventType [0] GPRSEventType,
monitorMode [1] MonitorMode
}
-- Indicates the GPRS event information for monitoring.
GPRSEventSpecificInformation {PARAMETERS-BOUND : bound} ::= CHOICE {
attachChangeOfPositionSpecificInformation
[0] SEQUENCE {
locationInformationGPRS [0] LocationInformationGPRS OPTIONAL,
...
},
pdp-ContextchangeOfPositionSpecificInformation
[1] SEQUENCE {
accessPointName [0] AccessPointName {bound} OPTIONAL,
chargingID [1] GPRSChargingID OPTIONAL,
locationInformationGPRS [2] LocationInformationGPRS OPTIONAL,
endUserAddress [3] EndUserAddress {bound} OPTIONAL,
qualityOfService [4] QualityOfService OPTIONAL,
timeAndTimeZone [5] TimeAndTimezone {bound} OPTIONAL,
...,
gGSNAddress [6] GSN-Address OPTIONAL
},
detachSpecificInformation [2] SEQUENCE {
initiatingEntity [0] InitiatingEntity OPTIONAL,
...,
routeingAreaUpdate [1] NULL OPTIONAL
},
disconnectSpecificInformation [3] SEQUENCE {
initiatingEntity [0] InitiatingEntity OPTIONAL,
...,
routeingAreaUpdate [1] NULL OPTIONAL
},
pDPContextEstablishmentSpecificInformation
[4] SEQUENCE {
accessPointName [0] AccessPointName {bound} OPTIONAL,
endUserAddress [1] EndUserAddress {bound} OPTIONAL,
qualityOfService [2] QualityOfService OPTIONAL,
locationInformationGPRS [3] LocationInformationGPRS OPTIONAL,
timeAndTimeZone [4] TimeAndTimezone {bound} OPTIONAL,
pDPInitiationType [5] PDPInitiationType OPTIONAL,
...,
secondaryPDP-context [6] NULL OPTIONAL
},
pDPContextEstablishmentAcknowledgementSpecificInformation
[5] SEQUENCE {
accessPointName [0] AccessPointName {bound} OPTIONAL,
chargingID [1] GPRSChargingID OPTIONAL,
endUserAddress [2] EndUserAddress {bound} OPTIONAL,
qualityOfService [3] QualityOfService OPTIONAL,
locationInformationGPRS [4] LocationInformationGPRS OPTIONAL,
timeAndTimeZone [5] TimeAndTimezone {bound} OPTIONAL,
...,
gGSNAddress [6] GSN-Address OPTIONAL
}
}
GPRSEventType ::= ENUMERATED {
attach (1),
attachChangeOfPosition (2),
detached (3),
pdp-ContextEstablishment (11),
pdp-ContextEstablishmentAcknowledgement (12),
disonnect (13),
pdp-ContextChangeOfPosition (14)
}
InbandInfo {PARAMETERS-BOUND : bound} ::= SEQUENCE {
messageID [0] MessageID {bound},
numberOfRepetitions [1] INTEGER (1..127) OPTIONAL,
duration [2] INTEGER (0..32767) OPTIONAL,
interval [3] INTEGER (0..32767) OPTIONAL,
...
}
-- Interval is the time in seconds between each repeated announcement. Duration is the total
-- amount of time in seconds, including repetitions and intervals.
-- The end of announcement is either the end of duration or numberOfRepetitions,
-- whatever comes first.
-- duration with value 0 indicates infinite duration
InformationToSend {PARAMETERS-BOUND : bound} ::= CHOICE {
inbandInfo [0] InbandInfo {bound},
tone [1] Tone
}
InitiatingEntity ::= ENUMERATED {
mobileStation (0),
sgsn (1),
hlr (2),
ggsn (3)
}
InitiatorOfServiceChange ::= ENUMERATED {
a-side (0),
b-side (1)
}
InvokeID ::= INTEGER (-128..127)
IPRoutingAddress {PARAMETERS-BOUND : bound} ::= CalledPartyNumber {bound}
-- Indicates the routeing address for the IP.
IPSSPCapabilities {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minIPSSPCapabilitiesLength .. bound.&maxIPSSPCapabilitiesLength))
-- Indicates the gsmSRF resources available. The parameter has two parts, a standard and a
-- bilateral part. The standard part indicates capabilities defined as optional in CAP
-- that shall be recognised (but not necessarily supported) by a gsmSCF. The bilateral
-- part contains further information that is not specified in this standard, but which is set
-- according to bilateral agreements between network operators and/or equipment vendors.
-- The last octet of the standard part is indicated by bit 7 being set to 0, otherwise Bit 7 of
-- a standard part octet is set to 1 indicating that the standard part continues in the following
-- octet. Coding is as follows:
-- Octet 1 Standard Part for CAP
-- Bit Value Meaning
-- 0 0 IPRoutingAddress not supported
-- 1 IPRoutingAddress supported
-- 1 0 VoiceBack not supported
-- 1 VoiceBack supported
-- 2 0 VoiceInformation not supported, via speech recognition
-- 1 VoiceInformation supported, via speech recognition
-- 3 0 VoiceInformation not supported, via voice recognition
-- 1 VoiceInformation supported, via voice recognition
-- 4 0 Generation of voice announcements from Text not supported
-- 1 Generation of voice announcements from Text supported
-- 5 - Reserved
-- 6 - Reserved
-- 7 0 End of standard part
-- 1 This value is reserved in CAP
--
-- Octets 2 to 4 Bilateral Part: Network operator/equipment vendor specific
LegOrCallSegment {PARAMETERS-BOUND : bound} ::= CHOICE {
callSegmentID [0] CallSegmentID {bound},
legID [1] LegID
}
LegType ::= OCTET STRING (SIZE(1))
leg1 LegType ::= '01'H
leg2 LegType ::= '02'H
LocationInformationGPRS ::= SEQUENCE {
cellGlobalIdOrServiceAreaIdOrLAI [0] OCTET STRING (SIZE(5..7)) OPTIONAL,
routeingAreaIdentity [1] RAIdentity OPTIONAL,
geographicalInformation [2] GeographicalInformation OPTIONAL,
sgsn-Number [3] ISDN-AddressString OPTIONAL,
selectedLSAIdentity [4] LSAIdentity OPTIONAL,
extensionContainer [5] ExtensionContainer OPTIONAL,
...,
sai-Present [6] NULL OPTIONAL,
userCSGInformation [7] UserCSGInformation OPTIONAL
}
-- cellGlobalIdOrServiceAreaIdOrLAI shall contain the value part of the
-- CellGlobalIdOrServiceAreaIdFixedLength type or the LAIFixedLength type (i.e. excluding tags
-- and lengths) as defined in 3GPP TS 29.002 [13].
-- sai-Present indicates that the cellGlobalIdOrServiceAreaIdOrLAI parameter contains
-- a Service Area Identity.
-- UserCSGInformation contains the CSG ID, Access mode, and the CSG Membership Indication in the
-- case the Access mode is Hybrid Mode, as defined in 3GPP TS 23.060 [93].
-- WS define UserCSGInformation
UserCSGInformation ::= OCTET STRING
LocationNumber {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE (
bound.&minLocationNumberLength .. bound.&maxLocationNumberLength))
-- Indicates the Location Number for the calling party.
-- Refer to ETSI EN 300 356 1 [23] for encoding.
LowLayerCompatibility {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE (
bound.&minLowLayerCompatibilityLength .. bound.&maxLowLayerCompatibilityLength))
-- indicates the LowLayerCompatibility for the calling party.
-- Refer to 3GPP TS 24.008 [9] for encoding.
-- It shall be coded as in the value part defined in 3GPP TS 24.008.
-- i.e. the 3GPP TS 24.008 IEI and 3GPP TS 24.008 octet length indicator
-- shall not be included.
MessageID {PARAMETERS-BOUND : bound} ::= CHOICE {
elementaryMessageID [0] Integer4,
text [1] SEQUENCE {
messageContent [0] IA5String (SIZE(
bound.&minMessageContentLength .. bound.&maxMessageContentLength)),
attributes [1] OCTET STRING (SIZE(
bound.&minAttributesLength .. bound.&maxAttributesLength)) OPTIONAL
},
elementaryMessageIDs [29] SEQUENCE SIZE (1.. bound.&numOfMessageIDs) OF Integer4,
variableMessage [30] SEQUENCE {
elementaryMessageID [0] Integer4,
variableParts [1] SEQUENCE SIZE (1..5) OF VariablePart {bound}
}
}
-- Use of the text parameter is network operator/equipment vendor specific.
MetDPCriteriaList {PARAMETERS-BOUND : bound} ::= SEQUENCE SIZE (1..bound.&numOfChangeOfPositionControlInfo) OF MetDPCriterion {bound}
MetDPCriterion {PARAMETERS-BOUND : bound} ::= CHOICE {
enteringCellGlobalId [0] CellGlobalIdOrServiceAreaIdFixedLength,
leavingCellGlobalId [1] CellGlobalIdOrServiceAreaIdFixedLength,
enteringServiceAreaId [2] CellGlobalIdOrServiceAreaIdFixedLength,
leavingServiceAreaId [3] CellGlobalIdOrServiceAreaIdFixedLength,
enteringLocationAreaId [4] LAIFixedLength,
leavingLocationAreaId [5] LAIFixedLength,
inter-SystemHandOverToUMTS [6] NULL,
inter-SystemHandOverToGSM [7] NULL,
inter-PLMNHandOver [8] NULL,
inter-MSCHandOver [9] NULL,
metDPCriterionAlt [10] MetDPCriterionAlt {bound}
}
-- The enteringCellGlobalId and leavingCellGlobalId shall contain a Cell Global Identification.
-- The enteringServiceAreaId and leavingServiceAreaId shall contain a Service Area Identification.
MetDPCriterionAlt {PARAMETERS-BOUND : bound} ::= SEQUENCE {
...
}
MidCallControlInfo ::= SEQUENCE {
minimumNumberOfDigits [0] INTEGER (1..30) DEFAULT 1,
maximumNumberOfDigits [1] INTEGER (1..30) DEFAULT 30,
endOfReplyDigit [2] OCTET STRING (SIZE (1..2)) OPTIONAL,
cancelDigit [3] OCTET STRING (SIZE (1..2)) OPTIONAL,
startDigit [4] OCTET STRING (SIZE (1..2)) OPTIONAL,
interDigitTimeout [6] INTEGER (1..127) DEFAULT 10,
...
}
--
-- - minimumNumberOfDigits specifies the minumum number of digits that shall be collected
-- - maximumNumberOfDigits specifies the maximum number of digits that shall be collected
-- - endOfReplyDigit specifies the digit string that denotes the end of the digits
-- to be collected.
-- - cancelDigit specifies the digit string that indicates that the input shall
-- be erased and digit collection shall start afresh.
-- - startDigit specifies the digit string that denotes the start of the digits
-- to be collected.
-- - interDigitTimeout specifies the maximum duration in seconds between successive
-- digits.
--
-- endOfReplyDigit, cancelDigit and startDigit shall contain digits in the range 0..9, '*' and '#'
-- only. The collected digits string, reported to the gsmSCF, shall include the endOfReplyDigit and
-- the startDigit, if present.
--
-- endOfReplyDigit, cancelDigit and startDigit shall be encoded as BCD digits. Each octet shall
-- contain one BCD digit, in the 4 least significant bits of each octet.
-- The following encoding shall be used for the over-decadic digits: 1011 (*), 1100 (#).
MonitorMode ::= ENUMERATED {
interrupted (0),
notifyAndContinue (1),
transparent (2)
}
-- Indicates the event is relayed and/or processed by the SSP.
-- Transparent means that the gsmSSF or gprsSSF does not notify the gsmSCF of the event.
-- For the use of this parameter refer to the procedure descriptions in clause 11.
-- For the RequestNotificationCharging operation, 'interrupted' shall not be used in MonitorMode.
MO-SMSCause ::= ENUMERATED {
systemFailure (0),
unexpectedDataValue (1),
facilityNotSupported (2),
sM-DeliveryFailure (3),
releaseFromRadioInterface (4)
}
-- MO SMS error values which are reported to gsmSCF.
-- Most of these values are received from the SMSC as a response to
-- MO-ForwardSM operation.
MT-SMSCause ::= OCTET STRING (SIZE (1))
-- This variable is sent to the gsmSCF for a Short Message delivery failure
-- notification.
-- If the delivery failure is due to RP-ERROR RPDU received from the MS,
-- then MT-SMSCause shall be set to the RP-Cause component in the RP-ERROR RPDU.
-- Refer to 3GPP TS 24.011 [10] for the encoding of RP-Cause values.
-- Otherwise, if the delivery failure is due to internal failure in the MSC or SGSN
-- or time-out from the MS, then MT-SMSCause shall be set to 'Protocol error,
-- unspecified', as defined in 3GPP TS 24.011 [10].
NAOliInfo ::= OCTET STRING (SIZE (1))
-- NA Oli information takes the same value as defined in ANSI T1.113-1995 [92]
-- e.g. '3D'H - Decimal value 61 - Cellular Service (Type 1)
-- '3E'H - Decimal value 62 - Cellular Service (Type 2)
-- '3F'H - Decimal value 63 - Cellular Service (roaming)
NatureOfServiceChange ::= ENUMERATED {
userInitiated (0),
networkInitiated (1)
}
NumberOfDigits ::= INTEGER (1..255)
-- Indicates the number of digits to be collected.
OCSIApplicable ::= NULL
-- Indicates that the Originating CAMEL Subscription Information, if present, shall be
-- applied on the outgoing call leg created with a Connect operation. For the use of this
-- parameter see 3GPP TS 23.078 [7].
OriginalCalledPartyID {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minOriginalCalledPartyIDLength .. bound.&maxOriginalCalledPartyIDLength))
-- Indicates the original called number. Refer to ETSI EN 300 356 1 [23] Original Called Number
-- for encoding.
PDPID ::= OCTET STRING (SIZE (1))
-- PDP Identifier is a counter used to identify a specific PDP Context within a control
-- relationship between gprsSSF and gsmSCF.
PDPInitiationType ::= ENUMERATED {
mSInitiated (0),
networkInitiated (1)
}
QualityOfService ::= SEQUENCE {
requested-QoS [0] GPRS-QoS OPTIONAL,
subscribed-QoS [1] GPRS-QoS OPTIONAL,
negotiated-QoS [2] GPRS-QoS OPTIONAL,
...,
requested-QoS-Extension [3] GPRS-QoS-Extension OPTIONAL,
subscribed-QoS-Extension [4] GPRS-QoS-Extension OPTIONAL,
negotiated-QoS-Extension [5] GPRS-QoS-Extension OPTIONAL
}
ReceivingSideID ::= CHOICE {
receivingSideID [1] LegType
}
-- used to identify LegID in operations sent from gsmSSF to gsmSCF
RedirectingPartyID {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE (
bound.&minRedirectingPartyIDLength .. bound.&maxRedirectingPartyIDLength))
-- Indicates redirecting number.
-- Refer to ETSI EN 300 356 1 [23] Redirecting number for encoding.
RequestedInformationList {PARAMETERS-BOUND : bound} ::= SEQUENCE SIZE (1.. numOfInfoItems) OF RequestedInformation {bound}
RequestedInformationTypeList ::= SEQUENCE SIZE (1.. numOfInfoItems) OF RequestedInformationType
RequestedInformation {PARAMETERS-BOUND : bound} ::= SEQUENCE {
requestedInformationType [0] RequestedInformationType,
requestedInformationValue [1] RequestedInformationValue {bound},
...
}
RequestedInformationType ::= ENUMERATED {
callAttemptElapsedTime (0),
callStopTime (1),
callConnectedElapsedTime (2),
releaseCause (30)
}
RequestedInformationValue {PARAMETERS-BOUND : bound} ::= CHOICE {
callAttemptElapsedTimeValue [0] INTEGER (0..255),
callStopTimeValue [1] DateAndTime,
callConnectedElapsedTimeValue [2] Integer4,
releaseCauseValue [30] Cause {bound}
}
-- The callAttemptElapsedTimeValue is specified in seconds. The unit for the
-- callConnectedElapsedTimeValue is 100 milliseconds
RPCause ::= OCTET STRING (SIZE (1))
-- RP cause according to 3GPP TS 24.011 [10] or 3GPP TS 29.002 [11].
-- GsmSCF shall send this cause in the ReleaseSMS operation.
-- For a MO-SMS service, the MSC or SGSN shall send the RP Cause to the originating MS.
-- It shall be used to overwrite the RP-Cause element in the RP-ERROR RPDU.
-- For a MT-SMS service, the MSC or SGSN shall send the RP Cause to the sending SMS-GMSC.
-- It shall be used to overwrite the RP-Cause element in the RP-ERROR RPDU.
ScfID {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minScfIDLength .. bound.&maxScfIDLength))
-- defined by network operator.
-- Indicates the gsmSCF identity.
SCIBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE (
bound.&minSCIBillingChargingLength .. bound.&maxSCIBillingChargingLength))
(CONSTRAINED BY {-- shall be the result of the BER-encoded value of type --
CAMEL-SCIBillingChargingCharacteristics})
-- Indicates AOC information to be sent to a Mobile Station
-- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
SCIGPRSBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE (
bound.&minSCIBillingChargingLength .. bound.&maxSCIBillingChargingLength))
(CONSTRAINED BY {-- shall be the result of the BER-encoded value of type -
CAMEL-SCIGPRSBillingChargingCharacteristics})
-- Indicates AOC information to be sent to a Mobile Station
-- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
SendingSideID ::= CHOICE {sendingSideID [0] LegType}
-- used to identify LegID in operations sent from gsmSCF to gsmSSF
ServiceInteractionIndicatorsTwo ::= SEQUENCE {
forwardServiceInteractionInd [0] ForwardServiceInteractionInd OPTIONAL,
-- applicable to operations InitialDP, Connect and ContinueWithArgument.
backwardServiceInteractionInd [1] BackwardServiceInteractionInd OPTIONAL,
-- applicable to operations Connect and ContinueWithArgument.
bothwayThroughConnectionInd [2] BothwayThroughConnectionInd OPTIONAL,
-- applicable to ConnectToResource and EstablishTemporaryConnection
connectedNumberTreatmentInd [4] ConnectedNumberTreatmentInd OPTIONAL,
-- applicable to Connect and ContinueWithArgument
nonCUGCall [13] NULL OPTIONAL,
-- applicable to Connect and ContinueWithArgument
-- indicates that no parameters for CUG shall be used for the call (i.e. the call shall
-- be a non-CUG call).
-- If not present, it indicates one of three things:
-- a) continue with modified CUG information (when one or more of either CUG Interlock Code
-- and Outgoing Access Indicator are present), or
-- b) continue with original CUG information (when neither CUG Interlock Code or Outgoing
-- Access Indicator are present), i.e. no IN impact.
-- c) continue with the original non-CUG call.
holdTreatmentIndicator [50] OCTET STRING (SIZE(1)) OPTIONAL,
-- applicable to InitialDP, Connect and ContinueWithArgument
-- acceptHoldRequest 'xxxx xx01'B
-- rejectHoldRequest 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect call hold treatment
cwTreatmentIndicator [51] OCTET STRING (SIZE(1)) OPTIONAL,
-- applicable to InitialDP, Connect and ContinueWithArgument
-- acceptCw 'xxxx xx01'B
-- rejectCw 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect call waiting treatment
ectTreatmentIndicator [52] OCTET STRING (SIZE(1)) OPTIONAL,
-- applicable to InitialDP, Connect and ContinueWithArgument
-- acceptEctRequest 'xxxx xx01'B
-- rejectEctRequest 'xxxx xx10'B
-- if absent from Connect or ContinueWithArgument,
-- then CAMEL service does not affect explicit call transfer treatment
...
}
SGSNCapabilities ::= OCTET STRING (SIZE (1))
-- Indicates the SGSN capabilities. The coding of the parameter is as follows:
-- Bit Value Meaning
-- 0 0 AoC not supported by SGSN
-- 1 AoC supported by SGSN
-- 1 - This bit is reserved in CAP V.3
-- 2 - This bit is reserved in CAP V.3
-- 3 - This bit is reserved in CAP V.3
-- 4 - This bit is reserved in CAP V.3
-- 5 - This bit is reserved in CAP V.3
-- 6 - This bit is reserved in CAP V.3
-- 7 - This bit is reserved in CAP V.3
SMS-AddressString ::= AddressString (SIZE (1 .. maxSMS-AddressStringLength))
-- This data type is used to transport CallingPartyNumber for MT-SMS.
-- If this data type is used for MO-SMS, then the maximum number of digits shall be 16.
-- An SMS-AddressString may contain an alphanumeric character string. In this
-- case, a nature of address indicator '101'B is used, in accordance with
-- 3GPP TS 23.040 [6]. The address is coded in accordance with the GSM 7 bit
-- default alphabet definition and the SMS packing rules as specified in
-- 3GPP TS 23.038 [15] in this case.
maxSMS-AddressStringLength INTEGER ::= 11
SMSEvent ::= SEQUENCE {
eventTypeSMS [0] EventTypeSMS,
monitorMode [1] MonitorMode
}
TariffSwitchInterval ::= INTEGER (1 .. 86400)
-- TariffSwitchInterval is measured in 1 second units
TimeAndTimezone {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
bound.&minTimeAndTimezoneLength .. bound.&maxTimeAndTimezoneLength))
-- Indicates the time and timezone, relative to GMT. This parameter is BCD encoded.
-- The year digit indicating millenium occupies bits 0-3 of the first octet, and the year
-- digit indicating century occupies bits 4-7 of the first octet.
-- The year digit indicating decade occupies bits 0-3 of the second octet, whilst the digit
-- indicating the year within the decade occupies bits 4-7 of the second octet.
-- The most significant month digit occupies bits 0-3 of the third octet, and the least
-- significant month digit occupies bits 4-7 of the third octet.
-- The most significant day digit occupies bits 0-3 of the fourth octet, and the least
-- significant day digit occupies bits 4-7 of the fourth octet.
-- The most significant hours digit occupies bits 0-3 of the fifth octet, and the least
-- significant hours digit occupies bits 4-7 of the fifth octet.
-- The most significant minutes digit occupies bits 0-3 of the sixth octet, and the least
-- significant minutes digit occupies bits 4-7 of the sixth octet.
-- The most significant seconds digit occupies bits 0-3 of the seventh octet, and the least
-- significant seconds digit occupies bits 4-7 of the seventh octet.
--
-- The timezone information occupies the eighth octet. For the encoding of Timezone refer to
-- 3GPP TS 23.040 [6].
--
-- The BCD digits are packed and encoded as follows:
--
-- Bit 7 6 5 4 | 3 2 1 0
-- 2nd digit | 1st digit Octet 1
-- 3rd digit | 4th digit Octet 2
-- .. ..
-- nth digit | n-1th digit Octet m
--
-- 0000 digit 0
-- 0001 digit 1
-- 0010 digit 2
-- 0011 digit 3
-- 0100 digit 4
-- 0101 digit 5
-- 0110 digit 6
-- 0111 digit 7
-- 1000 digit 8
-- 1001 digit 9
-- 1010 spare
-- 1011 spare
-- 1100 spare
-- 1101 spare
-- 1110 spare
-- 1101 spare
--
-- where the leftmost bit of the digit is either bit 7 or bit 3 of the octet.
TimeIfNoTariffSwitch ::= INTEGER(0..864000)
-- TimeIfNoTariffSwitch is measured in 100 millisecond intervals
TimeIfTariffSwitch ::= SEQUENCE {
timeSinceTariffSwitch [0] INTEGER(0..864000),
tariffSwitchInterval [1] INTEGER(1..864000) OPTIONAL
}
-- timeSinceTariffSwitch and tariffSwitchInterval are measured in 100 millisecond intervals
TimeInformation ::= CHOICE {
timeIfNoTariffSwitch [0] TimeIfNoTariffSwitch,
timeIfTariffSwitch [1] TimeIfTariffSwitch
}
-- Indicates call duration information
TimerID ::= ENUMERATED {
tssf (0)
}
-- Indicates the timer to be reset.
TimerValue ::= Integer4
-- Indicates the timer value (in seconds).
Tone ::= SEQUENCE {
toneID [0] Integer4,
duration [1] Integer4 OPTIONAL,
...
}
-- The duration specifies the length of the tone in seconds, value 0 indicates infinite duration.
TPDataCodingScheme ::= OCTET STRING (SIZE (1))
-- TP Data Coding Scheme according to 3GPP TS 23.040 [6]
TPProtocolIdentifier ::= OCTET STRING (SIZE (1))
-- indicates the protocol used above the SM-Transfer Layer as specified in 3GPP TS 23.040 [6].
TPShortMessageSpecificInfo ::= OCTET STRING (SIZE (1))
-- contains the 1st octect of the applicable TPDU or the SMS-COMMAND TPDU as specified in
-- 3GPP TS 23.040 [6].
TPValidityPeriod ::= OCTET STRING (SIZE (1..7))
-- indicates the length of the validity period or the absolute time of the validity
-- period termination as specified in 3GPP TS 23.040 [6].
-- the length of ValidityPeriod is either 1 octet or 7 octets
TransferredVolume ::= CHOICE {
volumeIfNoTariffSwitch [0] INTEGER (0..4294967295),
volumeIfTariffSwitch [1] SEQUENCE {
volumeSinceLastTariffSwitch [0] INTEGER (0..4294967295),
volumeTariffSwitchInterval [1] INTEGER (0..4294967295) OPTIONAL
}
}
-- volumeIfNoTariffSwitch, volumeSinceLastTariffSwitch and volumeTariffSwitchInterval
-- are measured in bytes.
TransferredVolumeRollOver ::= CHOICE {
rO-VolumeIfNoTariffSwitch [0] INTEGER (0..255),
rO-VolumeIfTariffSwitch [1] SEQUENCE {
rO-VolumeSinceLastTariffSwitch [0] INTEGER (0..255) OPTIONAL,
rO-VolumeTariffSwitchInterval [1] INTEGER (0..255) OPTIONAL
}
}
-- rO-VolumeIfNoTariffSwitch, rO-VolumeSinceLastTariffSwitch and rO-VolumeTariffSwitchInterval
-- present counters indicating the number of parameter range rollovers.
UnavailableNetworkResource ::= ENUMERATED {
unavailableResources (0),
componentFailure (1),
basicCallProcessingException (2),
resourceStatusFailure (3),
endUserFailure (4)
}
-- Indicates the network resource that failed.
VariablePart {PARAMETERS-BOUND : bound} ::= CHOICE {
integer [0] Integer4,
number [1] Digits {bound}, -- Generic digits
time [2] OCTET STRING (SIZE(2)), -- HH: MM, BCD coded
date [3] OCTET STRING (SIZE(4)), -- YYYYMMDD, BCD coded
price [4] OCTET STRING (SIZE(4))
}
-- Indicates the variable part of the message. Time is BCD encoded.
-- The most significant hours digit occupies bits 0-3 of the first octet, and the least
-- significant digit occupies bits 4-7 of the first octet. The most significant minutes digit
-- occupies bits 0-3 of the second octet, and the least significant digit occupies bits 4-7
-- of the second octet.
--
-- Date is BCD encoded. The year digit indicating millenium occupies bits 0-3 of the first octet,
-- and the year digit indicating century occupies bits 4-7 of the first octet. The year digit
-- indicating decade occupies bits 0-3 of the second octet, whilst the digit indicating the year
-- within the decade occupies bits 4-7 of the second octet.
-- The most significant month digit occupies bits 0-3 of the third octet, and the least
-- significant month digit occupies bits 4-7 of the third octet. The most significant day digit
-- occupies bits 0-3 of the fourth octet, and the least significant day digit occupies bits 4-7
-- of the fourth octet.
-- Price is BCD encoded. The digit indicating hundreds of thousands occupies bits 0-3 of the
-- first octet, and the digit indicating tens of thousands occupies bits 4-7 of the first octet.
-- The digit indicating thousands occupies bits 0-3 of the second octet, whilst the digit
-- indicating hundreds occupies bits 4-7 of the second octet. The digit indicating tens occupies
-- bits 0-3 of the third octet, and the digit indicating 0 to 9 occupies bits 4-7 of the third
-- octet. The tenths digit occupies bits 0-3 of the fourth octet, and the hundredths digit
-- occupies bits 4-7 of the fourth octet.
--
-- For the encoding of digits in an octet, refer to the timeAndtimezone parameter
-- The Definition of range of constants follows
numOfInfoItems INTEGER ::= 4
END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-errorcodes.asn | -- 3GPP TS 29.078 11.0.0 (2011-09)
-- 5.4 Error codes
CAP-errorcodes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3) cap-errorcodes(57) version8(7)}
DEFINITIONS ::= BEGIN
IMPORTS
ros-InformationObjects
FROM CAP-object-identifiers {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-object-identifiers(100) version8(7)}
Code
FROM Remote-Operations-Information-Objects ros-InformationObjects
;
errcode-canceled Code ::= local: 0
errcode-cancelFailed Code ::= local: 1
errcode-eTCFailed Code ::= local: 3
errcode-improperCallerResponse Code ::= local: 4
errcode-missingCustomerRecord Code ::= local: 6
errcode-missingParameter Code ::= local: 7
errcode-parameterOutOfRange Code ::= local: 8
errcode-requestedInfoError Code ::= local: 10
errcode-systemFailure Code ::= local: 11
errcode-taskRefused Code ::= local: 12
errcode-unavailableResource Code ::= local: 13
errcode-unexpectedComponentSequence Code ::= local: 14
errcode-unexpectedDataValue Code ::= local: 15
errcode-unexpectedParameter Code ::= local: 16
errcode-unknownLegID Code ::= local: 17
errcode-unknownPDPID Code ::= local: 50
errcode-unknownCSID Code ::= local: 51
END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-errortypes.asn | -- 3GPP TS 29.078 11.0.0 (2011-09)
-- 5.2 Error types
CAP-errortypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3) cap-errortypes(51) version8(7)}
-- This module contains the type definitions for the CAP Error Types.
-- Where a parameter of type CHOICE is tagged with a specific tag value, the tag is automatically
-- replaced with an EXPLICIT tag of the same value.
DEFINITIONS IMPLICIT TAGS ::= BEGIN
IMPORTS
ros-InformationObjects,
datatypes,
errorcodes
FROM CAP-object-identifiers {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-object-identifiers(100) version8(7)}
ERROR
FROM Remote-Operations-Information-Objects ros-InformationObjects
InvokeID,
UnavailableNetworkResource
FROM CAP-datatypes datatypes
errcode-canceled,
errcode-cancelFailed,
errcode-eTCFailed,
errcode-improperCallerResponse,
errcode-missingCustomerRecord,
errcode-missingParameter,
errcode-parameterOutOfRange,
errcode-requestedInfoError,
errcode-systemFailure,
errcode-taskRefused,
errcode-unavailableResource,
errcode-unexpectedComponentSequence,
errcode-unexpectedDataValue,
errcode-unexpectedParameter,
errcode-unknownLegID,
errcode-unknownCSID,
errcode-unknownPDPID
FROM CAP-errorcodes errorcodes
;
-- TYPE DEFINITION FOR CAP ERROR TYPES FOLLOWS
canceled ERROR ::= {
CODE errcode-canceled
}
-- The operation has been canceled.
cancelFailed ERROR ::= {
PARAMETER SEQUENCE {
problem [0] ENUMERATED {
unknownOperation (0),
tooLate (1),
operationNotCancellable (2)
},
operation [1] InvokeID,
...
}
CODE errcode-cancelFailed
}
-- The operation failed to be canceled.
eTCFailed ERROR ::= {
CODE errcode-eTCFailed
}
-- The establish temporary connection failed.
improperCallerResponse ERROR ::= {
CODE errcode-improperCallerResponse
}
-- The caller response was not as expected.
missingCustomerRecord ERROR ::= {
CODE errcode-missingCustomerRecord
}
-- The Service Logic Program could not be found in the gsmSCF.
missingParameter ERROR ::= {
CODE errcode-missingParameter
}
-- An expected optional parameter was not received.
parameterOutOfRange ERROR ::= {
CODE errcode-parameterOutOfRange
}
-- The parameter was not as expected (e.g. missing or out of range).
requestedInfoError ERROR ::= {
PARAMETER ENUMERATED {
unknownRequestedInfo (1),
requestedInfoNotAvailable (2)
}
CODE errcode-requestedInfoError
}
-- The requested information cannot be found.
systemFailure ERROR ::= {
PARAMETER UnavailableNetworkResource
CODE errcode-systemFailure
}
-- The operation could not be completed due to a system failure at the serving physical entity.
taskRefused ERROR ::= {
PARAMETER ENUMERATED {
generic (0),
unobtainable (1),
congestion (2)
}
CODE errcode-taskRefused
}
-- An entity normally capable of the task requested cannot or chooses not to perform the task at
-- this time. This includes error situations like congestion and unobtainable address as used in
-- e.g. the connect operation.)
unavailableResource ERROR ::= {
CODE errcode-unavailableResource
}
-- A requested resource is not available at the serving entity.
unexpectedComponentSequence ERROR ::= {
CODE errcode-unexpectedComponentSequence
}
-- An incorrect sequence of Components was received (e.g. 'DisconnectForwardConnection'
-- followed by 'PlayAnnouncement').
unexpectedDataValue ERROR ::= {
CODE errcode-unexpectedDataValue
}
-- The data value was not as expected (e.g. route number expected but billing number received)
unexpectedParameter ERROR ::= {
CODE errcode-unexpectedParameter
}
-- A parameter received was not expected.
unknownLegID ERROR ::= {
CODE errcode-unknownLegID
}
-- Leg not known to the gsmSSF.
unknownCSID ERROR ::= {
CODE errcode-unknownCSID
}
-- Call Segment not known to the gsmSSF.
unknownPDPID ERROR ::= {
CODE errcode-unknownPDPID
}
-- PDPID not known by the receiving entity.
END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-GPRS-ReferenceNumber.asn | -- 3GPP TS 29.078 29.078 11.0.0 (2011-09)
-- 8.1.1 GPRS Reference Number
CAP-GPRS-ReferenceNumber {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-dialogueInformation(111) version8(7)}
-- Module CAP-GPRS-ReferenceNumber is updated to version8(7) for Rel-6. The definitions
-- in this module are not modified, compared to Rel-5.
DEFINITIONS ::= BEGIN
EXPORTS
id-CAP-GPRS-ReferenceNumber,
cAP-GPRS-ReferenceNumber-Abstract-Syntax;
IMPORTS
Integer4
FROM CS1-DataTypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1)
modules(0) cs1-datatypes(2) version1(0)}
;
id-CAP-GPRS-ReferenceNumber OBJECT IDENTIFIER ::= {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) as(1) cap-GPRS-ReferenceNumber(5) version3(2)}
cAP-GPRS-ReferenceNumber-Abstract-Syntax ABSTRACT-SYNTAX ::= {CAP-GPRS-ReferenceNumber IDENTIFIED BY id-CAP-GPRS-ReferenceNumber}
CAP-GPRS-ReferenceNumber ::= SEQUENCE {
destinationReference [0] Integer4 OPTIONAL,
originationReference [1] Integer4 OPTIONAL
}
-- This parameter is used to identify the relationship between SGSN and the gsmSCF.
END -- of CAP-GPRS-ReferenceNumber |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-gprsSSF-gsmSCF-ops-args.asn | -- 3GPP TS 29.078 11.0.0 (2011-09)
-- 8 GPRS Control
-- 8.1 gsmSCF/gprsSSF operations and arguments
CAP-gprsSSF-gsmSCF-ops-args {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-GPRS-ops-args(107) version8(7)}
-- Module CAP-gprsSSF-gsmSCF-ops-args is updated to version8(7) for Rel-6. The OPERATION
-- definitions in this module are not modified, compared to Rel-5.
DEFINITIONS IMPLICIT TAGS ::= BEGIN
-- This module contains the operations and operation arguments used for the
-- gprsSSF ? gsmSCF interface, for the control of GPRS.
-- The table in subclause 2.1 lists the specifications that contain the modules
-- that are used by CAP.
IMPORTS
errortypes,
datatypes,
operationcodes,
classes,
ros-InformationObjects
FROM CAP-object-identifiers {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-object-identifiers(100) version8(7)}
OPERATION
FROM Remote-Operations-Information-Objects ros-InformationObjects
ServiceKey
FROM CS1-DataTypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1)
modules(0) cs1-datatypes(2) version1(0)}
MiscCallInfo
FROM CS2-datatypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1)
cs2(20) modules(0) in-cs2-datatypes (0) version1(0)}
IMEI,
IMSI,
GSN-Address, -- WS moved to common datatypes in rel 9.0.0
RAIdentity, -- WS moved to common datatypes in rel 10.4.0
ISDN-AddressString
FROM MAP-CommonDataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-CommonDataTypes(18) version12(12)}
GPRSChargingID,
GPRSMSClass
-- GSN-Address, WS moved to common datatypes in rel 9.0.0
-- RAIdentity WS moved to common datatypes in rel 10.4.0
FROM MAP-MS-DataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-MS-DataTypes(11) version12(12)}
PARAMETERS-BOUND
FROM CAP-classes classes
opcode-activityTestGPRS,
opcode-applyChargingGPRS,
opcode-applyChargingReportGPRS,
opcode-cancelGPRS,
opcode-connectGPRS,
opcode-continueGPRS,
opcode-entityReleasedGPRS,
opcode-eventReportGPRS,
opcode-furnishChargingInformationGPRS,
opcode-initialDPGPRS,
opcode-releaseGPRS,
opcode-requestReportGPRSEvent,
opcode-resetTimerGPRS,
opcode-sendChargingInformationGPRS
FROM CAP-operationcodes operationcodes
-- The CAP Operation identifiers for CAP V3 for GPRS in Rel-6 are the same as the CAP Operation
-- identifiers for CAP V3 for GPRS in Rel-5.
AccessPointName {},
GPRSCause {},
ChargingCharacteristics,
ChargingResult,
ChargingRollOver,
EndUserAddress,
Extensions,
FCIGPRSBillingChargingCharacteristics,
GPRSEventSpecificInformation {},
GPRSEvent,
GPRSEventType,
LocationInformationGPRS,
PDPID,
PDPInitiationType,
QualityOfService,
SCIGPRSBillingChargingCharacteristics {},
SGSNCapabilities,
TimeAndTimezone {},
TimerID,
TimerValue
FROM CAP-datatypes datatypes
-- For Rel-6, the CAP-datatypes module is updated to version8(7); Object Identifier 'datatypes'
-- is also updated to version8(7). As a result, the present module uses Rel-6 data type definitions.
missingCustomerRecord,
missingParameter,
parameterOutOfRange,
systemFailure,
taskRefused,
unexpectedComponentSequence,
unexpectedDataValue,
unexpectedParameter,
unknownPDPID
FROM CAP-errortypes errortypes
-- For Rel-6, the CAP-errortypes module is updated to version8(7); Object Identifier
-- 'errortypes' is also updated to version8(7). As a result, the present module uses Rel-6
-- error type definitions.
;
activityTestGPRS OPERATION ::= {
RETURN RESULT TRUE
CODE opcode-activityTestGPRS}
-- Direction: gsmSCF -> gprsSSF, Timer: Tatg
-- This operation is used to check for the continued existence of a relationship between the gsmSCF
-- and gprsSSF. If the relationship is still in existence, then the gprsSSF will respond. If no
-- reply is received, then the gsmSCF will assume that the gprsSSF has failed in some way
-- and will take the appropriate action.
applyChargingGPRS OPERATION ::= {
ARGUMENT ApplyChargingGPRSArg
RETURN RESULT FALSE
ERRORS {missingParameter |
unexpectedComponentSequence |
unexpectedParameter |
unexpectedDataValue |
parameterOutOfRange |
systemFailure |
taskRefused |
unknownPDPID}
CODE opcode-applyChargingGPRS}
-- Direction gsmSCF -> gprsSSF, Timer Tacg
-- This operation is used for interacting from the gsmSCF with the gprsSSF CSE-controlled
-- GPRS session or PDP Context charging mechanism.
ApplyChargingGPRSArg ::= SEQUENCE {
chargingCharacteristics [0] ChargingCharacteristics,
tariffSwitchInterval [1] INTEGER (1..86400) OPTIONAL,
pDPID [2] PDPID OPTIONAL,
...
}
-- tariffSwitchInterval is measured in 1 second units.
applyChargingReportGPRS OPERATION ::= {
ARGUMENT ApplyChargingReportGPRSArg
RETURN RESULT TRUE
ERRORS {missingParameter |
unexpectedComponentSequence |
unexpectedParameter |
unexpectedDataValue |
parameterOutOfRange |
systemFailure |
taskRefused |
unknownPDPID}
CODE opcode-applyChargingReportGPRS}
-- Direction gprsSSF -> gsmSCF,Timer Tacrg
-- The ApplyChargingReportGPRS operation provides the feedback from the gprsSCF to the gsmSCF
-- CSE-controlled GPRS session charging mechanism.
ApplyChargingReportGPRSArg ::= SEQUENCE {
chargingResult [0] ChargingResult,
qualityOfService [1] QualityOfService OPTIONAL,
active [2] BOOLEAN DEFAULT TRUE,
pDPID [3] PDPID OPTIONAL,
...,
chargingRollOver [4] ChargingRollOver OPTIONAL
}
cancelGPRS OPERATION ::= {
ARGUMENT CancelGPRSArg
RETURN RESULT FALSE
ERRORS {missingParameter |
taskRefused |
unknownPDPID}
CODE opcode-cancelGPRS}
-- Direction: gsmSCF ?? gprsSSF, Timer: Tcag
-- This generic operation cancels all previous requests,
-- i.e. all EDPs and reports can be cancelled by the gsmSCF.
CancelGPRSArg ::= SEQUENCE {
pDPID [0] PDPID OPTIONAL,
...
}
connectGPRS {PARAMETERS-BOUND: bound} OPERATION::= {
ARGUMENT ConnectGPRSArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
unknownPDPID |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter}
CODE opcode-connectGPRS}
-- Direction: gsmSCF -> gprsSSF, Timer: Tcong
-- This operation is used to modify the Access Point Name used when establishing a PDP Context.
ConnectGPRSArg {PARAMETERS-BOUND: bound}::= SEQUENCE {
accessPointName [0] AccessPointName {bound},
pdpID [1] PDPID OPTIONAL,
...
}
continueGPRS OPERATION ::= {
ARGUMENT ContinueGPRSArg
RETURN RESULT FALSE
ERRORS {missingParameter |
unknownPDPID |
unexpectedDataValue}
CODE opcode-continueGPRS}
-- Direction: gsmSCF -> gprsSSF, Timer: Tcueg
-- This operation is used to request the gprsSSF to proceed with processing at the DP at
-- which it previously suspended processing to await gsmSCF instructions (i.e., proceed to
-- the next point in processing in the Attach/Detach state model or PDP Context
-- state model) substituting new data from the gsmSCF.
ContinueGPRSArg ::= SEQUENCE {
pDPID [0] PDPID OPTIONAL,
...
}
entityReleasedGPRS {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT EntityReleasedGPRSArg {bound}
RETURN RESULT TRUE
ERRORS {missingParameter |
taskRefused |
unknownPDPID}
CODE opcode-entityReleasedGPRS}
-- Direction: gprsSSF -> gsmSCF, Timer: Terg
-- This operation is used when the GPRS Session is detached or a PDP Context is diconnected and
-- the associated event is not armed for reporting.
-- The usage of this operation is independent of the functional entity that initiates the Detach
-- or PDP Context Disconnection and is independent of the cause of the Detach or PDP Context
-- Disconnect.
EntityReleasedGPRSArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
gPRSCause [0] GPRSCause {bound},
pDPID [1] PDPID OPTIONAL,
...
}
eventReportGPRS {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT EventReportGPRSArg {bound}
RETURN RESULT TRUE
ERRORS {unknownPDPID}
CODE opcode-eventReportGPRS}
-- Direction gprsSSF -> gsmSCF,Timer Tereg
-- This operation is used to notify the gsmSCF of a GPRS session or PDP context related
-- events (e.g. PDP context activation) previously requested by the gsmSCF in a
-- RequestReportGPRSEventoperation.
EventReportGPRSArg {PARAMETERS-BOUND : bound}::= SEQUENCE {
gPRSEventType [0] GPRSEventType,
miscGPRSInfo [1] MiscCallInfo DEFAULT {messageType request},
gPRSEventSpecificInformation [2] GPRSEventSpecificInformation {bound} OPTIONAL,
pDPID [3] PDPID OPTIONAL,
...
}
furnishChargingInformationGPRS {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT FurnishChargingInformationGPRSArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownPDPID}
CODE opcode-furnishChargingInformationGPRS}
-- Direction: gsmSCF -> gprsSSF, Timer: Tfcig
-- This operation is used to request the gprsSSF to generate, register a logical record or to
-- include some information in the default logical GPRS record.
-- The registered logical record is intended for off line charging of the GPRS session
-- or PDP Context.
FurnishChargingInformationGPRSArg {PARAMETERS-BOUND : bound} ::=
FCIGPRSBillingChargingCharacteristics{bound}
initialDPGPRS {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT InitialDPGPRSArg {bound}
RETURN RESULT FALSE
ERRORS {missingCustomerRecord |
missingParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter}
CODE opcode-initialDPGPRS}
-- Direction gprsSSF -> gsmSCF,Timer Tidpg
-- This operation is used by the gprsSSF when a trigger is detected at a DP in the GPRS state
-- machines to request instructions from the gsmSCF
InitialDPGPRSArg {PARAMETERS-BOUND : bound}::= SEQUENCE {
serviceKey [0] ServiceKey,
gPRSEventType [1] GPRSEventType,
mSISDN [2] ISDN-AddressString,
iMSI [3] IMSI,
timeAndTimeZone [4] TimeAndTimezone {bound},
gPRSMSClass [5] GPRSMSClass OPTIONAL,
endUserAddress [6] EndUserAddress {bound} OPTIONAL,
qualityOfService [7] QualityOfService OPTIONAL,
accessPointName [8] AccessPointName{bound} OPTIONAL,
routeingAreaIdentity [9] RAIdentity OPTIONAL,
chargingID [10] GPRSChargingID OPTIONAL,
sGSNCapabilities [11] SGSNCapabilities OPTIONAL,
locationInformationGPRS [12] LocationInformationGPRS OPTIONAL,
pDPInitiationType [13] PDPInitiationType OPTIONAL,
extensions [14] Extensions {bound} OPTIONAL,
...,
gGSNAddress [15] GSN-Address OPTIONAL,
secondaryPDP-context [16] NULL OPTIONAL,
iMEI [17] IMEI OPTIONAL
}
-- The RouteingAreaIdentity parameter is not used.
-- The receiving entity shall ignore RouteingAreaIdentity if received.
-- The RouteingAreaIdentity is conveyed in the LocationInformationGPRS parameter.
-- The CSGInformation is conveyed in the LocationInformationGPRS parameter. The encoding of the
-- parameter is as defined in 3GPP TS 29.002 [11].
releaseGPRS {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT ReleaseGPRSArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
taskRefused |
unknownPDPID}
CODE opcode-releaseGPRS}
-- Direction: gsmSCF -> gprsSSF, Timer: Trg
-- This operation is used to tear down an existing GPRS session or PDP Context at any phase.
ReleaseGPRSArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
gprsCause [0] GPRSCause {bound},
pDPID [1] PDPID OPTIONAL,
...
}
requestReportGPRSEvent {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT RequestReportGPRSEventArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownPDPID}
CODE opcode-requestReportGPRSEvent}
-- Direction: gsmSCF -> gprsSSF, Timer: Trrqe
-- This operation is used to request the gprsSSF to monitor for an event (e.g., GPRS events
-- such as attach or PDP Context activiation), then send a notification back to the
-- gsmSCF when the event is detected.
RequestReportGPRSEventArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
gPRSEvent [0] SEQUENCE SIZE (1..bound.&numOfGPRSEvents) OF GPRSEvent,
pDPID [1] PDPID OPTIONAL,
...
}
-- Indicates the GPRS related events for notification.
resetTimerGPRS OPERATION ::= {
ARGUMENT ResetTimerGPRSArg
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownPDPID}
CODE opcode-resetTimerGPRS}
-- Direction: gsmSCF ? gprsSSF, Timer: Trtg
-- This operation is used to request the gprsSSF to refresh an application timer in the gprsSSF.
ResetTimerGPRSArg ::= SEQUENCE {
timerID [0] TimerID DEFAULT tssf,
timervalue [1] TimerValue,
...
}
sendChargingInformationGPRS {PARAMETERS-BOUND: bound} OPERATION ::= {
ARGUMENT SendChargingInformationGPRSArg { bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
unexpectedComponentSequence |
unexpectedParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedDataValue |
unknownPDPID}
CODE opcode-sendChargingInformationGPRS}
-- Direction: gsmSCF -> gprsSSF, Timer: Tscig
-- This operation is used to instruct the gprsSSF on the charging information which the
-- gprsSSF shall send to the Mobile Station by means of GSM access signalling.
SendChargingInformationGPRSArg {PARAMETERS-BOUND: bound}::= SEQUENCE {
sCIGPRSBillingChargingCharacteristics [0] SCIGPRSBillingChargingCharacteristics {bound},
...
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-gsmSCF-gsmSRF-ops-args.asn | -- 3GPP TS 29.078 11.0.0 (2011-09)
-- 6.2 gsmSCF/gsmSRF interface
-- 6.2.1 gsmSCF/gsmSRF operations and arguments
CAP-gsmSCF-gsmSRF-ops-args {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-gsmSCF-gsmSRF-ops-args(103) version8(7)}
DEFINITIONS IMPLICIT TAGS ::= BEGIN
-- This module contains the operations and operation arguments used for the
-- gsmSRF - gsmSCF interface, for the control of circuit switched calls.
-- The table in subclause 2.1 lists the specifications that contain the modules
-- that are used by CAP.
IMPORTS
OPERATION
FROM Remote-Operations-Information-Objects ros-InformationObjects
opcode-playAnnouncement,
opcode-promptAndCollectUserInformation,
opcode-specializedResourceReport
FROM CAP-operationcodes operationcodes
-- The CAP Operation identifiers for CAP V4 in Rel-6 are the same as the CAP Operation
-- identifiers for CAP V4 in Rel-5.
CallSegmentID {},
CollectedInfo,
Digits {},
Extensions {},
InformationToSend {}
FROM CAP-datatypes datatypes
-- For Rel-6, the CAP-datatypes module is updated to version8(7); Object Identifier 'datatypes'
-- is also updated to version8(7). As a result, the present module uses Rel-6 data type definitions.
canceled,
improperCallerResponse,
missingParameter,
parameterOutOfRange,
systemFailure,
taskRefused,
unavailableResource,
unexpectedComponentSequence,
unexpectedDataValue,
unexpectedParameter,
unknownCSID
FROM CAP-errortypes errortypes
-- For Rel-6, the CAP-errortypes module is updated to version8(7); Object Identifier
-- 'errortypes' is also updated to version8(7). As a result, the present module uses Rel-6
-- error type definitions.
PARAMETERS-BOUND
FROM CAP-classes classes
ros-InformationObjects,
operationcodes,
datatypes,
errortypes,
classes
FROM CAP-object-identifiers {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-object-identifiers(100) version8(7)}
;
playAnnouncement {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT PlayAnnouncementArg {bound}
RETURN RESULT FALSE
ERRORS {canceled |
missingParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unavailableResource |
unknownCSID}
LINKED {specializedResourceReport}
CODE opcode-playAnnouncement}
-- Direction: gsmSCF -> gsmSRF, Timer: Tpa
-- This operation is to be used after Establish Temporary Connection (assist procedure
-- with a second gsmSSF) or a Connect to Resource (no assist) operation. It may be used
-- for inband interaction with a mobile station, or for interaction with an ISDN user.
-- In the former case, the gsmSRF is usually collocated with the gsmSSF for standard
-- tones (congestion tone...) or standard announcements.
-- In the latter case, the gsmSRF is always collocated with the gsmSSF in the switch.
-- Any error is returned to the gsmSCF. The timer associated with this operation must
-- be of a sufficient duration to allow its linked operation to be correctly correlated.
PlayAnnouncementArg {PARAMETERS-BOUND : bound}::= SEQUENCE {
informationToSend [0] InformationToSend {bound},
disconnectFromIPForbidden [1] BOOLEAN DEFAULT TRUE,
requestAnnouncementCompleteNotification [2] BOOLEAN DEFAULT TRUE,
extensions [3] Extensions {bound} OPTIONAL,
callSegmentID [5] CallSegmentID {bound} OPTIONAL,
requestAnnouncementStartedNotification [51] BOOLEAN DEFAULT FALSE,
...
}
promptAndCollectUserInformation {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT PromptAndCollectUserInformationArg {bound}
RESULT ReceivedInformationArg {bound}
ERRORS {canceled |
improperCallerResponse |
missingParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unavailableResource |
unexpectedDataValue |
unexpectedParameter |
unknownCSID}
LINKED {specializedResourceReport}
CODE opcode-promptAndCollectUserInformation}
-- Direction: gsmSCF -> gsmSRF, Timer: Tpc
-- This operation is used to interact with a user to collect information.
PromptAndCollectUserInformationArg {PARAMETERS-BOUND : bound}::= SEQUENCE {
collectedInfo [0] CollectedInfo,
disconnectFromIPForbidden [1] BOOLEAN DEFAULT TRUE,
informationToSend [2] InformationToSend {bound} OPTIONAL,
extensions [3] Extensions {bound} OPTIONAL,
callSegmentID [4] CallSegmentID {bound} OPTIONAL,
requestAnnouncementStartedNotification [51] BOOLEAN DEFAULT FALSE,
...
}
ReceivedInformationArg {PARAMETERS-BOUND : bound}::= CHOICE {
digitsResponse [0] Digits {bound}
}
specializedResourceReport OPERATION ::= {
ARGUMENT SpecializedResourceReportArg
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE opcode-specializedResourceReport}
-- Direction: gsmSRF -> gsmSCF, Timer: Tsrr
-- This operation is used as the response to a PlayAnnouncement operation when the announcement
-- completed report indication is set.
SpecializedResourceReportArg ::= CHOICE {
allAnnouncementsComplete [50] NULL,
firstAnnouncementStarted [51] NULL
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-gsmSSF-gsmSCF-ops-args.asn | -- 3GPP TS 29.078 11.0.0 (2011-09)
-- 6 Circuit Switched Call Control
-- 6.1 gsmSSF/CCF - gsmSCF Interface
-- 6.1.1 Operations and arguments
CAP-gsmSSF-gsmSCF-ops-args {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-gsmSSF-gsmSCF-ops-args(101) version8(7)}
DEFINITIONS IMPLICIT TAGS ::= BEGIN
-- This module contains the operations and operation arguments used for the
-- gsmSSF - gsmSCF interface, for the control of circuit switched calls.
-- The table in subclause 2.1 lists the specifications that contain the modules
-- that are used by CAP.
IMPORTS
errortypes,
datatypes,
operationcodes,
classes,
tc-Messages,
ros-InformationObjects
FROM CAP-object-identifiers {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-object-identifiers(100) version8(7)}
OPERATION
FROM Remote-Operations-Information-Objects ros-InformationObjects
CallingPartysCategory,
HighLayerCompatibility,
LegID,
RedirectionInformation,
ServiceKey
FROM CS1-DataTypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1)
modules(0) cs1-datatypes(2) version1(0)}
MiscCallInfo
FROM CS2-datatypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1)
cs2(20) modules(0) in-cs2-datatypes (0) version1(0)}
Ext-BasicServiceCode,
IMEI,
IMSI,
ISDN-AddressString
FROM MAP-CommonDataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-CommonDataTypes(18) version12(12)}
CUG-Index,
CUG-Interlock,
CUG-Info,
LocationInformation,
MS-Classmark2,
SubscriberState,
SupportedCamelPhases,
OfferedCamel4Functionalities
FROM MAP-MS-DataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-MS-DataTypes(11) version12(12)}
CallReferenceNumber,
SuppressionOfAnnouncement,
UU-Data
FROM MAP-CH-DataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-CH-DataTypes(13) version12(12)}
PARAMETERS-BOUND
FROM CAP-classes classes
opcode-activityTest,
opcode-applyCharging,
opcode-applyChargingReport,
opcode-assistRequestInstructions,
opcode-callGap,
opcode-callInformationReport,
opcode-callInformationRequest,
opcode-cancel,
opcode-collectInformation,
opcode-connect,
opcode-connectToResource,
opcode-continue,
opcode-continueWithArgument,
opcode-disconnectForwardConnection,
opcode-dFCWithArgument,
opcode-disconnectLeg,
opcode-entityReleased,
opcode-establishTemporaryConnection,
opcode-eventReportBCSM,
opcode-furnishChargingInformation,
opcode-initialDP,
opcode-initiateCallAttempt,
opcode-moveLeg,
opcode-playTone,
opcode-releaseCall,
opcode-requestReportBCSMEvent,
opcode-resetTimer,
opcode-sendChargingInformation,
opcode-splitLeg
FROM CAP-operationcodes operationcodes
-- The CAP Operation identifiers for CAP V4 in Rel-6 are the same as the CAP Operation
-- identifiers for CAP V4 in Rel-5.
AChBillingChargingCharacteristics {},
AdditionalCallingPartyNumber {},
AlertingPattern,
AChChargingAddress {},
AssistingSSPIPRoutingAddress {},
BCSMEvent {},
BCSM-Failure,
BearerCapability {},
Burst,
CalledPartyNumber {},
CalledPartyBCDNumber {},
CallingPartyNumber {},
CallResult {},
CallSegmentID {},
CallSegmentToCancel {},
CallSegmentFailure {},
Carrier,
Cause {},
CGEncountered,
ChargeNumber {},
ControlType,
CorrelationID {},
DestinationRoutingAddress {},
EventSpecificInformationBCSM {},
EventTypeBCSM,
Extensions {},
FCIBillingChargingCharacteristics {},
GapCriteria {},
GapIndicators,
GapTreatment,
GenericNumbers {},
InvokeID,
IPRoutingAddress {},
IPSSPCapabilities {},
leg1,
leg2,
LegOrCallSegment {},
LocationNumber {},
LowLayerCompatibility {},
MonitorMode,
NAOliInfo,
OCSIApplicable,
OriginalCalledPartyID {},
ReceivingSideID,
RedirectingPartyID {},
RequestedInformationList {},
RequestedInformationTypeList,
ScfID {},
SCIBillingChargingCharacteristics {},
SendingSideID,
ServiceInteractionIndicatorsTwo,
TimeAndTimezone {},
TimerID,
TimerValue
FROM CAP-datatypes datatypes
-- For Rel-6, the CAP-datatypes module is updated to version8(7); Object Identifier 'datatypes'
-- is also updated to version8(7). As a result, the present module uses Rel-6 data type definitions.
cancelFailed,
eTCFailed,
missingCustomerRecord,
missingParameter,
parameterOutOfRange,
requestedInfoError,
systemFailure,
taskRefused,
unexpectedComponentSequence,
unexpectedDataValue,
unexpectedParameter,
unknownLegID,
unknownCSID
FROM CAP-errortypes errortypes
-- For Rel-6, the CAP-errortypes module is updated to version8(7); Object Identifier
-- 'errortypes' is also updated to version8(7). As a result, the present module uses Rel-6
-- error type definitions.
;
activityTest OPERATION ::= {
RETURN RESULT TRUE
CODE opcode-activityTest}
-- Direction: gsmSCF -> gsmSSF, Timer: Tat
-- This operation is used to check for the continued existence of a relationship
-- between the gsmSCF and gsmSSF, assist gsmSSF or gsmSRF. If the relationship is
-- still in existence, then the gsmSSF will respond. If no reply is received,
-- then the gsmSCF will assume that the gsmSSF, assist gsmSSF or gsmSRF has failed
-- in some way.
applyCharging {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT ApplyChargingArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
unexpectedComponentSequence |
unexpectedParameter |
unexpectedDataValue |
parameterOutOfRange |
systemFailure |
taskRefused |
unknownLegID |
unknownCSID}
CODE opcode-applyCharging}
-- Direction: gsmSCF -> gsmSSF, Timer: Tac
-- This operation is used for interacting from the gsmSCF with the gsmSSF charging mechanisms.
-- The ApplyChargingReport operation provides the feedback from the gsmSSF to the gsmSCF.
ApplyChargingArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
aChBillingChargingCharacteristics [0] AChBillingChargingCharacteristics {bound},
partyToCharge [2] SendingSideID DEFAULT sendingSideID : leg1,
extensions [3] Extensions {bound} OPTIONAL,
aChChargingAddress [50] AChChargingAddress {bound}
DEFAULT legID:sendingSideID:leg1,
...,
-- WS modification Frensh National standard addition
-- https://gitlab.com/wireshark/wireshark/-/issues/7656
iTXcharging [64] BOOLEAN OPTIONAL
-- End WS
}
-- The partyToCharge parameter indicates the party in the call to which the ApplyCharging operation
-- shall be applied.
applyChargingReport {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT ApplyChargingReportArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
unexpectedComponentSequence |
unexpectedParameter |
unexpectedDataValue |
unknownCSID |
unknownLegID |
parameterOutOfRange |
systemFailure |
taskRefused}
CODE opcode-applyChargingReport}
-- Direction: gsmSSF -> gsmSCF, Timer: Tacr
-- This operation is used by the gsmSSF to report to the gsmSCF the occurrence of a
-- specific charging event as requested by the gsmSCF using the ApplyCharging operation.
ApplyChargingReportArg {PARAMETERS-BOUND : bound} ::= CallResult {bound}
assistRequestInstructions {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT AssistRequestInstructionsArg {bound}
RETURN RESULT FALSE
ERRORS {missingCustomerRecord |
missingParameter |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter}
CODE opcode-assistRequestInstructions}
-- Direction: gsmSSF -> gsmSCF or gsmSRF -> gsmSCF, Timer: Tari
-- This operation is used when there is an assist procedure and may be
-- sent by the gsmSSF or gsmSRF to the gsmSCF. This operation is sent by the
-- assisting gsmSSF to gsmSCF, when the initiating gsmSSF has set up a connection to
-- the gsmSRF or to the assisting gsmSSF as a result of receiving an
-- EstablishTemporaryConnection from
-- the gsmSCF.
-- Refer to clause 11 for a description of the procedures associated with this operation.
AssistRequestInstructionsArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
correlationID [0] CorrelationID {bound},
iPSSPCapabilities [2] IPSSPCapabilities {bound},
extensions [3] Extensions {bound} OPTIONAL,
...
}
-- OPTIONAL denotes network operator specific use. The value of the correlationID may be the
-- Called Party Number supplied by the initiating gsmSSF.
callGap {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT CallGapArg {bound}
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE opcode-callGap}
-- Direction: gsmSCF -> gsmSSF, Timer: Tcg
-- This operation is used to request the gsmSSF to reduce the rate at which specific service
-- requests are sent to the gsmSCF.
CallGapArg {PARAMETERS-BOUND : bound}::= SEQUENCE {
gapCriteria [0] GapCriteria {bound},
gapIndicators [1] GapIndicators,
controlType [2] ControlType OPTIONAL,
gapTreatment [3] GapTreatment {bound} OPTIONAL,
extensions [4] Extensions {bound} OPTIONAL,
...
}
-- OPTIONAL denotes network operator optional. If gapTreatment is not present, then the gsmSSF will
-- use a default treatment depending on network operator implementation.
callInformationReport {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT CallInformationReportArg {bound}
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE opcode-callInformationReport}
-- Direction: gsmSSF -> gsmSCF, Timer: Tcirp
-- This operation is used to send specific call information for a single call party to the gsmSCF as
-- requested by the gsmSCF in a previous CallInformationRequest.
CallInformationReportArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
requestedInformationList [0] RequestedInformationList {bound},
extensions [2] Extensions {bound} OPTIONAL,
legID [3] ReceivingSideID DEFAULT receivingSideID:leg2,
...
}
callInformationRequest {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT CallInformationRequestArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
requestedInfoError |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownLegID}
CODE opcode-callInformationRequest}
-- Direction: gsmSCF -> gsmSSF, Timer: Tcirq
-- This operation is used to request the gsmSSF to record specific information about a single
-- call party and report it to the gsmSCF (with a CallInformationReport operation).
CallInformationRequestArg {PARAMETERS-BOUND : bound}::= SEQUENCE {
requestedInformationTypeList [0] RequestedInformationTypeList,
extensions [2] Extensions {bound} OPTIONAL,
legID [3] SendingSideID DEFAULT sendingSideID:leg2,
...
}
-- OPTIONAL denotes network operator optional.
cancel {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT CancelArg {bound}
RETURN RESULT FALSE
ERRORS {cancelFailed |
missingParameter |
taskRefused |
unknownCSID}
CODE opcode-cancel}
-- Direction: gsmSCF -> gsmSSF, or gsmSCF -> gsmSRF, Timer: Tcan
-- This operation cancels the correlated previous operation or all previous requests. The following
-- operations can be canceled: PlayAnnouncement, PromptAndCollectUserInformation.
CancelArg {PARAMETERS-BOUND : bound} ::= CHOICE {
invokeID [0] InvokeID,
allRequests [1] NULL,
callSegmentToCancel [2] CallSegmentToCancel {bound}
}
-- The InvokeID has the same value as that which was used for the operation to be cancelled.
collectInformation {PARAMETERS-BOUND : bound} OPERATION::= {
ARGUMENT CollectInformationArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
SystemFailure |
TaskRefused |
UnexpectedComponentSequence |
UnexpectedDataValue |
UnexpectedParameter}
CODE opcode-collectInformation}
-- Direction: gsmSCF-> gsmSSF, Timer: Tci
-- This operation is used to request the gsmSSF to perform the call
-- processing actions to prompt a calling party for additional digits.
CollectInformationArg {PARAMETERS-BOUND : bound} ::= SEQUENCE{
extensions [0] Extensions {bound} OPTIONAL,
...
}
connect {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT ConnectArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownLegID}
CODE opcode-connect}
-- Direction: gsmSCF-> gsmSSF, Timer: Tcon
-- This operation is used to request the gsmSSF to perform the call processing actions
-- to route or forward a call to a specified destination.
ConnectArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
destinationRoutingAddress [0] DestinationRoutingAddress {bound},
alertingPattern [1] AlertingPattern OPTIONAL,
originalCalledPartyID [6] OriginalCalledPartyID {bound} OPTIONAL,
extensions [10] Extensions {bound} OPTIONAL,
carrier [11] Carrier {bound} OPTIONAL,
callingPartysCategory [28] CallingPartysCategory OPTIONAL,
redirectingPartyID [29] RedirectingPartyID {bound} OPTIONAL,
redirectionInformation [30] RedirectionInformation OPTIONAL,
genericNumbers [14] GenericNumbers {bound} OPTIONAL,
serviceInteractionIndicatorsTwo [15] ServiceInteractionIndicatorsTwo OPTIONAL,
chargeNumber [19] ChargeNumber {bound} OPTIONAL,
legToBeConnected [21] LegID OPTIONAL,
cug-Interlock [31] CUG-Interlock OPTIONAL,
cug-OutgoingAccess [32] NULL OPTIONAL,
suppressionOfAnnouncement [55] SuppressionOfAnnouncement OPTIONAL,
oCSIApplicable [56] OCSIApplicable OPTIONAL,
naOliInfo [57] NAOliInfo OPTIONAL,
bor-InterrogationRequested [58] NULL OPTIONAL,
... ,
suppress-N-CSI [59] NULL OPTIONAL
}
-- na-Info is included at the discretion of the gsmSCF operator.
connectToResource {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT ConnectToResourceArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownCSID}
CODE opcode-connectToResource}
-- Direction: gsmSCF -> gsmSSF, Timer: Tctr
-- This operation is used to connect a call segment from the gsmSSF to the
-- gsmSRF.
ConnectToResourceArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
resourceAddress CHOICE {
ipRoutingAddress [0] IPRoutingAddress {bound},
none [3] NULL
},
extensions [4] Extensions {bound} OPTIONAL,
serviceInteractionIndicatorsTwo [7] ServiceInteractionIndicatorsTwo OPTIONAL,
callSegmentID [50] CallSegmentID {bound} OPTIONAL,
...
}
continue OPERATION ::= {
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE opcode-continue}
-- Direction: gsmSCF -> gsmSSF, Timer: Tcue
-- This operation is used to request the gsmSSF to proceed with call processing at the
-- DP at which it previously suspended call processing to await gsmSCF instructions
-- (i.e. proceed to the next point in call in the BCSM). The gsmSSF continues call
-- processing without substituting new data from gsmSCF.
continueWithArgument {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT ContinueWithArgumentArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownLegID |
unknownCSID}
CODE opcode-continueWithArgument}
-- Direction: gsmSCF -> gsmSSF, Timer: Tcwa
-- This operation is used to request the gsmSSF to proceed with call processing at the
-- DP at which it previously suspended call processing to await gsmSCF instructions
-- (i.e. proceed to the next point in call in the BCSM). The gsmSSF continues call
-- processing with the modified call setup information as received from the gsmSCF.
ContinueWithArgumentArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
alertingPattern [1] AlertingPattern OPTIONAL,
extensions [6] Extensions {bound} OPTIONAL,
serviceInteractionIndicatorsTwo [7] ServiceInteractionIndicatorsTwo OPTIONAL,
callingPartysCategory [12] CallingPartysCategory OPTIONAL,
genericNumbers [16] GenericNumbers {bound} OPTIONAL,
cug-Interlock [17] CUG-Interlock OPTIONAL,
cug-OutgoingAccess [18] NULL OPTIONAL,
chargeNumber [50] ChargeNumber {bound} OPTIONAL,
carrier [52] Carrier {bound} OPTIONAL,
suppressionOfAnnouncement [55] SuppressionOfAnnouncement OPTIONAL,
naOliInfo [56] NAOliInfo OPTIONAL,
bor-InterrogationRequested [57] NULL OPTIONAL,
suppress-O-CSI [58] NULL OPTIONAL,
continueWithArgumentArgExtension [59] ContinueWithArgumentArgExtension {bound} OPTIONAL,
...
}
ContinueWithArgumentArgExtension {PARAMETERS-BOUND : bound} ::= SEQUENCE {
suppress-D-CSI [0] NULL OPTIONAL,
suppress-N-CSI [1] NULL OPTIONAL,
suppressOutgoingCallBarring [2] NULL OPTIONAL,
legOrCallSegment [3] LegOrCallSegment {bound} OPTIONAL,
...
}
disconnectForwardConnection OPERATION ::= {
RETURN RESULT FALSE
ERRORS {systemFailure |
taskRefused |
unexpectedComponentSequence}
CODE opcode-disconnectForwardConnection}
-- Direction: gsmSCF -> gsmSSF, Timer: Tdfc
-- This operation is used to disconnect a forward temporary connection or a connection to a
-- resource. Refer to clause 11 for a description of the procedures associated with this operation.
disconnectForwardConnectionWithArgument {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT DisconnectForwardConnectionWithArgumentArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownCSID}
CODE opcode-dFCWithArgument}
-- Direction gsmSCF -> gsmSSF, Timer Tdfcwa
-- This operation is used to disconnect a forward temporary connection or a connection to a
-- resource. Refer to clause 11 for a description of the procedures associated with this operation.
DisconnectForwardConnectionWithArgumentArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
callSegmentID [1] CallSegmentID {bound} OPTIONAL,
extensions [2] Extensions {bound} OPTIONAL,
...
}
disconnectLeg {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT DisconnectLegArg {bound}
RETURN RESULT TRUE
ERRORS {missingParameter |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownLegID}
CODE opcode-disconnectLeg}
-- Direction: gsmSCF -> gsmSSF, Timer Tdl
-- This operation is used by the gsmSCF to release a specific leg associated with the call and
-- retain any other legs not specified in the DisconnectLeg. Refer to clause 11 for a description
-- of the procedures associated with this operation.
DisconnectLegArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
legToBeReleased [0] LegID,
releaseCause [1] Cause {bound} OPTIONAL,
extensions [2] Extensions {bound} OPTIONAL,
...
}
entityReleased {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT EntityReleasedArg {bound}
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE opcode-entityReleased}
-- Direction: gsmSSF -> gsmSCF, Timer: Ter
-- This operation is used by the gsmSSF to inform the gsmSCF of an error or exception
EntityReleasedArg {PARAMETERS-BOUND : bound} ::= CHOICE {
callSegmentFailure [0] CallSegmentFailure {bound},
bCSM-Failure [1] BCSM-Failure {bound}
}
establishTemporaryConnection {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT EstablishTemporaryConnectionArg {bound}
RETURN RESULT FALSE
ERRORS {eTCFailed |
missingParameter |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownCSID}
CODE opcode-establishTemporaryConnection}
-- Direction: gsmSCF -> gsmSSF, Timer: Tetc
-- This operation is used to create a connection to a resource for a limited period
-- of time (e.g. to play an announcement, to collect user information); it implies
-- the use of the assist procedure. Refer to clause 11 for a description of the
-- procedures associated with this operation.
EstablishTemporaryConnectionArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
assistingSSPIPRoutingAddress [0] AssistingSSPIPRoutingAddress {bound},
correlationID [1] CorrelationID {bound} OPTIONAL,
scfID [3] ScfID {bound} OPTIONAL,
extensions [4] Extensions {bound} OPTIONAL,
carrier [5] Carrier {bound} OPTIONAL,
serviceInteractionIndicatorsTwo [6] ServiceInteractionIndicatorsTwo OPTIONAL,
callSegmentID [7] CallSegmentID {bound} OPTIONAL,
naOliInfo [50] NAOliInfo OPTIONAL,
chargeNumber [51] ChargeNumber {bound} OPTIONAL,
...,
originalCalledPartyID [52] OriginalCalledPartyID {bound} OPTIONAL,
callingPartyNumber [53] CallingPartyNumber {bound} OPTIONAL
}
eventReportBCSM {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT EventReportBCSMArg {bound}
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE opcode-eventReportBCSM}
-- Direction: gsmSSF -> gsmSCF, Timer: Terb
-- This operation is used to notify the gsmSCF of a call-related event (e.g. BCSM
-- events such as O_Busy or O_No_Answer) previously requested by the gsmSCF in a
-- RequestReportBCSMEvent operation.
EventReportBCSMArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
eventTypeBCSM [0] EventTypeBCSM,
eventSpecificInformationBCSM [2] EventSpecificInformationBCSM {bound} OPTIONAL,
legID [3] ReceivingSideID OPTIONAL,
miscCallInfo [4] MiscCallInfo DEFAULT {messageType request},
extensions [5] Extensions {bound} OPTIONAL,
...
}
furnishChargingInformation {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT FurnishChargingInformationArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownLegID}
CODE opcode-furnishChargingInformation}
-- Direction: gsmSCF -> gsmSSF, Timer: Tfci
-- This operation is used to request the gsmSSF to generate, register a call record
-- or to include some information in the default call record.
-- The registered call record is intended for off line charging of the call.
FurnishChargingInformationArg {PARAMETERS-BOUND : bound} ::=
FCIBillingChargingCharacteristics{bound}
initialDP {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT InitialDPArg {bound}
RETURN RESULT FALSE
ERRORS {missingCustomerRecord |
missingParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter}
CODE opcode-initialDP}
-- Direction: gsmSSF -> gsmSCF, Timer: Tidp
-- This operation is used after a TDP to indicate request for service.
InitialDPArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
serviceKey [0] ServiceKey ,
calledPartyNumber [2] CalledPartyNumber {bound} OPTIONAL,
callingPartyNumber [3] CallingPartyNumber {bound} OPTIONAL,
callingPartysCategory [5] CallingPartysCategory OPTIONAL,
cGEncountered [7] CGEncountered OPTIONAL,
iPSSPCapabilities [8] IPSSPCapabilities {bound} OPTIONAL,
locationNumber [10] LocationNumber {bound} OPTIONAL,
originalCalledPartyID [12] OriginalCalledPartyID {bound} OPTIONAL,
extensions [15] Extensions {bound} OPTIONAL,
highLayerCompatibility [23] HighLayerCompatibility OPTIONAL,
additionalCallingPartyNumber [25] AdditionalCallingPartyNumber {bound} OPTIONAL,
bearerCapability [27] BearerCapability {bound} OPTIONAL,
eventTypeBCSM [28] EventTypeBCSM OPTIONAL,
redirectingPartyID [29] RedirectingPartyID {bound} OPTIONAL,
redirectionInformation [30] RedirectionInformation OPTIONAL,
cause [17] Cause {bound} OPTIONAL,
serviceInteractionIndicatorsTwo [32] ServiceInteractionIndicatorsTwo OPTIONAL,
carrier [37] Carrier {bound} OPTIONAL,
cug-Index [45] CUG-Index OPTIONAL,
cug-Interlock [46] CUG-Interlock OPTIONAL,
cug-OutgoingAccess [47] NULL OPTIONAL,
iMSI [50] IMSI OPTIONAL,
subscriberState [51] SubscriberState OPTIONAL,
locationInformation [52] LocationInformation OPTIONAL,
ext-basicServiceCode [53] Ext-BasicServiceCode OPTIONAL,
callReferenceNumber [54] CallReferenceNumber OPTIONAL,
mscAddress [55] ISDN-AddressString OPTIONAL,
calledPartyBCDNumber [56] CalledPartyBCDNumber {bound} OPTIONAL,
timeAndTimezone [57] TimeAndTimezone {bound} OPTIONAL,
callForwardingSS-Pending [58] NULL OPTIONAL,
initialDPArgExtension [59] InitialDPArgExtension {bound} OPTIONAL,
...
}
InitialDPArgExtension {PARAMETERS-BOUND : bound} ::= SEQUENCE {
gmscAddress [0] ISDN-AddressString OPTIONAL,
forwardingDestinationNumber [1] CalledPartyNumber {bound} OPTIONAL,
ms-Classmark2 [2] MS-Classmark2 OPTIONAL,
iMEI [3] IMEI OPTIONAL,
supportedCamelPhases [4] SupportedCamelPhases OPTIONAL,
offeredCamel4Functionalities [5] OfferedCamel4Functionalities OPTIONAL,
bearerCapability2 [6] BearerCapability {bound} OPTIONAL,
ext-basicServiceCode2 [7] Ext-BasicServiceCode OPTIONAL,
highLayerCompatibility2 [8] HighLayerCompatibility OPTIONAL,
lowLayerCompatibility [9] LowLayerCompatibility {bound} OPTIONAL,
lowLayerCompatibility2 [10] LowLayerCompatibility {bound} OPTIONAL,
...,
enhancedDialledServicesAllowed [11] NULL OPTIONAL,
uu-Data [12] UU-Data OPTIONAL,
collectInformationAllowed [13] NULL OPTIONAL,
releaseCallArgExtensionAllowed [14] NULL OPTIONAL
}
-- If iPSSPCapabilities is not present then this denotes that a colocated gsmSRF is not
-- supported by the gsmSSF. If present, then the gsmSSF supports a colocated gsmSRF capable
-- of playing announcements via elementaryMessageIDs and variableMessages, the playing of
-- tones and the collection of DTMF digits. Other supported capabilities are explicitly
-- detailed in the IPSSPCapabilities parameter itself.
-- Carrier is included at the discretion of the gsmSSF operator.
-- The UserCSGInformation is conveyed in the LocationInformation. The encoding of the parameter is
-- as defined in 3GPP TS 29.002 [11].
initiateCallAttempt {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT InitiateCallAttemptArg {bound}
RESULT InitiateCallAttemptRes {bound}
ERRORS {missingParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter
}
CODE opcode-initiateCallAttempt}
-- Direction: gsmSCF -> gsmSSF, Timer Tica
-- This operation is used to instruct the gsmSSF to create a new call to a call party using the
-- address information provided by the gsmSCF.
InitiateCallAttemptArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
destinationRoutingAddress [0] DestinationRoutingAddress {bound},
extensions [4] Extensions {bound} OPTIONAL,
legToBeCreated [5] LegID OPTIONAL,
newCallSegment [6] CallSegmentID {bound} OPTIONAL,
callingPartyNumber [30] CallingPartyNumber {bound} OPTIONAL,
callReferenceNumber [51] CallReferenceNumber OPTIONAL,
gsmSCFAddress [52] ISDN-AddressString OPTIONAL,
suppress-T-CSI [53] NULL OPTIONAL,
...
}
InitiateCallAttemptRes {PARAMETERS-BOUND : bound} ::= SEQUENCE {
supportedCamelPhases [0] SupportedCamelPhases OPTIONAL,
offeredCamel4Functionalities [1] OfferedCamel4Functionalities OPTIONAL,
extensions [2] Extensions {bound} OPTIONAL,
...,
releaseCallArgExtensionAllowed [3] NULL OPTIONAL
}
moveLeg {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT MoveLegArg {bound}
RETURN RESULT TRUE
ERRORS {missingParameter |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownLegID}
CODE opcode-moveLeg}
-- Direction: gsmSCF -> gsmSSF, Timer: Tml
-- This operation is used by the gsmSCF to move a leg from one call segment to another call segment
-- within the same call segment association.
MoveLegArg {PARAMETERS-BOUND : bound} ::= SEQUENCE{
legIDToMove [0] LegID,
extensions [2] Extensions {bound} OPTIONAL,
...
}
playTone {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT PlayToneArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
systemFailure |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownLegID |
unknownCSID}
CODE opcode-playTone}
-- Direction: gsmSCF -> gsmSSF, Timer: Tpt
-- This operation is used to play tones to either a leg or a call segment using
-- the MSC's tone generator.
PlayToneArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
legOrCallSegment [0] LegOrCallSegment {bound},
bursts [1] Burst,
extensions [2] Extensions {bound} OPTIONAL,
...
}
releaseCall {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT ReleaseCallArg {bound}
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE opcode-releaseCall}
-- Direction: gsmSCF ->?gsmSSF, Timer: Trc
-- This operation is used to tear down an existing call at any phase of the call for all parties
-- involved in the call.
ReleaseCallArg {PARAMETERS-BOUND : bound} ::= CHOICE {
allCallSegments AllCallSegments,
allCallSegmentsWithExtension [2] AllCallSegmentsWithExtension
}
AllCallSegments ::= Cause {bound}
-- A default value of decimal 31 (normal unspecified) shall be given.
AllCallSegmentsWithExtension ::= SEQUENCE {
allCallSegments [0] AllCallSegments,
extensions [1] Extensions {bound} OPTIONAL
}
requestReportBCSMEvent {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT RequestReportBCSMEventArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownLegID}
CODE opcode-requestReportBCSMEvent}
-- Direction: gsmSCF -> gsmSSF, Timer: Trrb
-- This operation is used to request the gsmSSF to monitor for a call-related event
-- (e.g. BCSM events such as O_Busy or O_No_Answer) and to send a notification
-- to the gsmSCF when the event is detected.
--
-- NOTE:
-- Every EDP must be explicitly armed by the gsmSCF via a RequestReportBCSMEvent operation.
-- No implicit arming of EDPs at the gsmSSF after reception of any operation (different
-- from RequestReportBCSMEvent) from the gsmSCF is allowed.
RequestReportBCSMEventArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
bcsmEvents [0] SEQUENCE SIZE(1..bound.&numOfBCSMEvents) OF
BCSMEvent {bound},
extensions [2] Extensions {bound} OPTIONAL,
...
}
-- Indicates the BCSM related events for notification.
resetTimer {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT ResetTimerArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter |
unknownCSID}
CODE opcode-resetTimer}
-- Direction: gsmSCF -> gsmSSF, Timer: Trt
-- This operation is used to request the gsmSSF to refresh an application timer in the gsmSSF.
ResetTimerArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
timerID [0] TimerID DEFAULT tssf,
timervalue [1] TimerValue,
extensions [2] Extensions {bound} OPTIONAL,
callSegmentID [3] CallSegmentID {bound} OPTIONAL,
...
}
sendChargingInformation {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT SendChargingInformationArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
unexpectedComponentSequence |
unexpectedParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedDataValue |
unknownLegID}
CODE opcode-sendChargingInformation}
-- Direction: gsmSCF -> gsmSSF, Timer: Tsci
-- This operation is used to instruct the gsmSSF on the charging information to send by the gsmSSF.
-- The charging information can either be sent back by means of signalling or internal
-- if the gsmSSF is located in the local exchange. In the local exchange
-- this information may be used to update the charge meter or to create a standard call record.
SendChargingInformationArg {PARAMETERS-BOUND : bound}::= SEQUENCE {
sCIBillingChargingCharacteristics [0] SCIBillingChargingCharacteristics {bound},
partyToCharge [1] SendingSideID,
extensions [2] Extensions {bound} OPTIONAL,
...
}
splitLeg {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT SplitLegArg {bound}
RETURN RESULT TRUE
ERRORS {missingParameter |
unexpectedComponentSequence |
unexpectedParameter |
unexpectedDataValue |
systemFailure |
taskRefused |
unknownLegID}
CODE opcode-splitLeg}
-- Direction: gsmSCF -> gsmSSF, Timer Tsl
-- This operation is used by the gsmSCF to separate a leg from its source call segment and
-- place it in a new call segment within the same call segment association.
SplitLegArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
legToBeSplit [0] LegID,
newCallSegment [1] CallSegmentID {bound} OPTIONAL,
extensions [2] Extensions {bound} OPTIONAL,
...
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-object-identifiers.asn | -- 3GPP TS 29.078 11.0.0 (2011-09)
-- 5.6 Object IDentifiers (IDs)
CAP-object-identifiers {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-object-identifiers(100) version8(7)}
DEFINITIONS ::= BEGIN
-- This module assigns object identifiers for Modules, Packages, Contracts and ACs
-- used by CAP
-- For Modules from TC, ROS,
tc-Messages OBJECT IDENTIFIER ::=
{itu-t recommendation q 773 modules(2) messages(1) version3(3)}
tc-NotationExtensions OBJECT IDENTIFIER ::=
{itu-t recommendation q 775 modules(2) notation-extension (4) version1(1)}
ros-InformationObjects OBJECT IDENTIFIER ::=
{joint-iso-itu-t remote-operations(4) informationObjects(5) version1(0)}
-- For CAP Modules
datatypes OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-datatypes(52) version8(7)}
errortypes OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-errortypes(51) version8(7)}
operationcodes OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-operationcodes(53) version8(7)}
errorcodes OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-errorcodes(57) version8(7)}
classes OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-classes(54) version8(7)}
gsmSSF-gsmSCF-Operations OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-gsmSSF-gsmSCF-ops-args(101) version8(7)}
-- The Object Identifier 'gsmSSF-gsmSCF-Operations' is updated to version8(7) in Rel-6, so
-- other modules can IMPORT Rel-6 Operation definitions related to call control.
gsmSSF-gsmSCF-Protocol OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-gsmSSF-gsmSCF-pkgs-contracts-acs(102) version8(7)}
-- The Object Identifier 'gsmSSF-gsmSCF-Protocol' is updated to version8(7) in Rel-6, so
-- other modules can IMPORT Rel-6 Protocol definitions related to call control.
gsmSCF-gsmSRF-Operations OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-gsmSCF-gsmSRF-ops-args(103) version8(7)}
-- The Object Identifier 'gsmSCF-gsmSRF-Operations' is updated to version8(7) in Rel-6, so
-- other modules can IMPORT Rel-6 Operation definitions related to gsmSRF control.
gsmSCF-gsmSRF-Protocol OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-gsmSCF-gsmSRF-pkgs-contracts-acs(104) version8(7)}
-- The Object Identifier 'gsmSCF-gsmSRF-Protocol' is updated to version8(7) in Rel-6, so
-- other modules can IMPORT Rel-6 Protocol definitions related to gsmSRF control.
sms-Operations OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-SMS-ops-args(105) version8(7)}
-- The Object Identifier 'sms-Operations' is updated to version8(7) in Rel-6, so other
-- modules can IMPORT Rel-6 Operation definitions related to SMS control.
smsSSF-gsmSCF-Protocol OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-smsSSF-gsmSCF-pkgs-contracts-acs(106) version8(7)}
-- The Object Identifier 'smsSSF-gsmSCF-Protocol' is updated to version8(7) in Rel-6, so
-- other modules can IMPORT Rel-6 Protocol definitions related to SMS control.
gprsSSF-gsmSCF-Operations OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-GPRS-ops-args(107) version8(7)}
-- The Object Identifier 'gprsSSF-gsmSCF-Operations' is updated to version8(7) in Rel-6, so
-- other modules can IMPORT Rel-6 Operation definitions related to GPRS control.
gprsSSF-gsmSCF-Protocol OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3)
cap-gprsSSF-gsmSCF-pkgs-contracts-acs(108) version8(7)}
-- The Object Identifier 'gprsSSF-gsmSCF-Protocol' is updated to version8(7) in Rel-6, so
-- other modules can IMPORT Rel-6 Protocol definitions related to GPRS control.
id-CAP OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) cap4(22)}
id-CAP3 OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) cap3(20)}
id-CAPOE OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) cap4OE(23)}
id-CAP3OE OBJECT IDENTIFIER ::=
{itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) cap3OE(21)}
id-ac OBJECT IDENTIFIER ::= {id-CAP ac(3)}
id-acE OBJECT IDENTIFIER ::= {id-CAPOE ac(3)}
id-ac3E OBJECT IDENTIFIER ::= {id-CAP3OE ac(3)}
id-as OBJECT IDENTIFIER ::= {id-CAP as(5)}
id-asE OBJECT IDENTIFIER ::= {id-CAPOE as(5)}
id-rosObject OBJECT IDENTIFIER ::= {id-CAP rosObject(25)}
id-contract OBJECT IDENTIFIER ::= {id-CAP contract(26)}
id-contract3 OBJECT IDENTIFIER ::= {id-CAP3 contract(26)}
id-contractE OBJECT IDENTIFIER ::= {id-CAPOE contract(26)}
id-package OBJECT IDENTIFIER ::= {id-CAP package(27)}
id-packageE OBJECT IDENTIFIER ::= {id-CAPOE package(27)}
-- for ac, as, rosObject, contract and package, the values are identical to ITU-T Recommendation
-- Q.1218 [49]
-- ROS Objects
id-rosObject-gsmSCF OBJECT IDENTIFIER ::= {id-rosObject 4}
id-rosObject-gsmSSF OBJECT IDENTIFIER ::= {id-rosObject 5}
id-rosObject-gsmSRF OBJECT IDENTIFIER ::= {id-rosObject 6}
id-rosObject-gprsSSF OBJECT IDENTIFIER ::= {id-rosObject 7}
id-rosObject-smsSSF-V3 OBJECT IDENTIFIER ::= {id-rosObject 8}
id-rosObject-smsSSF-V4 OBJECT IDENTIFIER ::= {id-rosObject 9}
-- Application Contexts
-- gsmSSF/gsmSCF AC
id-ac-CAP-gsmSSF-scfGenericAC OBJECT IDENTIFIER ::= {id-acE 4}
id-ac-CAP-gsmSSF-scfAssistHandoffAC OBJECT IDENTIFIER ::= {id-acE 6}
id-ac-CAP-scf-gsmSSFGenericAC OBJECT IDENTIFIER ::= {id-acE 8}
-- gsmSRF/gsmSCF AC
id-ac-gsmSRF-gsmSCF OBJECT IDENTIFIER ::= {id-ac 14}
-- gprsSSF/gsmSCF AC
id-ac-CAP-gprsSSF-gsmSCF-AC OBJECT IDENTIFIER ::= {id-ac3E 50}
id-ac-CAP-gsmSCF-gprsSSF-AC OBJECT IDENTIFIER ::= {id-ac3E 51}
-- gprsSSF/gsmSCF or gsmSSF/gsmSCF AC
id-ac-cap3-sms-AC OBJECT IDENTIFIER ::= {id-ac3E 61}
id-ac-cap4-sms-AC OBJECT IDENTIFIER ::= {id-acE 61}
-- Contracts
-- gsmSSF/gsmSCF Contracts
id-CAPSsfToScfGeneric OBJECT IDENTIFIER ::= {id-contractE 3}
id-CAPAssistHandoffssfToScf OBJECT IDENTIFIER ::= {id-contractE 5}
id-CAPScfToSsfGeneric OBJECT IDENTIFIER ::= {id-contractE 6}
-- gsmSRF/gsmSCF Contracts
id-contract-gsmSRF-gsmSCF OBJECT IDENTIFIER ::= {id-contract 13}
-- gprsSSF/gsmSCF Contracts
id-capGprsSsfTogsmScf OBJECT IDENTIFIER ::= {id-contract 14}
id-capGsmScfToGprsSsf OBJECT IDENTIFIER ::= {id-contract 15}
-- gprsSSF/gsmSCF or gsmSSF/gsmSCF Contracts
id-cap3SmsSsfTogsmScf OBJECT IDENTIFIER ::= {id-contract3 16}
id-cap4SmsSsfTogsmScf OBJECT IDENTIFIER ::= {id-contract 16}
-- Operation Packages
-- gsmSSF/gsmSCF Operation Packages
id-package-scfActivation OBJECT IDENTIFIER ::= {id-package 11}
id-package-gsmSRF-scfActivationOfAssist OBJECT IDENTIFIER ::= {id-package 15}
id-package-assistConnectionEstablishment OBJECT IDENTIFIER ::= {id-package 16}
id-package-genericDisconnectResource OBJECT IDENTIFIER ::= {id-package 17}
id-package-nonAssistedConnectionEstablishment OBJECT IDENTIFIER ::= {id-package 18}
id-package-connect OBJECT IDENTIFIER ::= {id-package 19}
id-package-callHandling OBJECT IDENTIFIER ::= {id-packageE 20}
id-package-bcsmEventHandling OBJECT IDENTIFIER ::= {id-package 21}
id-package-ssfCallProcessing OBJECT IDENTIFIER ::= {id-packageE 24}
id-package-scfCallInitiation OBJECT IDENTIFIER ::= {id-package 25}
id-package-timer OBJECT IDENTIFIER ::= {id-package 26}
id-package-billing OBJECT IDENTIFIER ::= {id-package 27}
id-package-charging OBJECT IDENTIFIER ::= {id-package 28}
id-package-trafficManagement OBJECT IDENTIFIER ::= {id-package 29}
id-package-callReport OBJECT IDENTIFIER ::= {id-package 32}
id-package-signallingControl OBJECT IDENTIFIER ::= {id-package 33}
id-package-activityTest OBJECT IDENTIFIER ::= {id-package 34}
id-package-cancel OBJECT IDENTIFIER ::= {id-packageE 36}
id-package-cphResponse OBJECT IDENTIFIER ::= {id-package 37}
id-package-exceptionInform OBJECT IDENTIFIER ::= {id-package 38}
id-package-playTone OBJECT IDENTIFIER ::= {id-package 39}
-- gsmSRF/gsmSCF Operation Packages
id-package-specializedResourceControl OBJECT IDENTIFIER ::= {id-package 42}
id-package-gsmSRF-scfCancel OBJECT IDENTIFIER ::= {id-package 43}
-- gprsSSF/gsmSCF Operation Packages
id-package-gprsContinue OBJECT IDENTIFIER ::= {id-package 49}
id-package-gprsExceptionInformation OBJECT IDENTIFIER ::= {id-package 50}
id-package-gprsScfActivation OBJECT IDENTIFIER ::= {id-package 51}
id-package-gprsConnect OBJECT IDENTIFIER ::= {id-package 52}
id-package-gprsRelease OBJECT IDENTIFIER ::= {id-package 53}
id-package-gprsEventHandling OBJECT IDENTIFIER ::= {id-package 54}
id-package-gprsTimer OBJECT IDENTIFIER ::= {id-package 55}
id-package-gprsBilling OBJECT IDENTIFIER ::= {id-package 56}
id-package-gprsCharging OBJECT IDENTIFIER ::= {id-package 57}
id-package-gprsActivityTest OBJECT IDENTIFIER ::= {id-package 58}
id-package-gprsCancel OBJECT IDENTIFIER ::= {id-package 59}
id-package-gprsChargeAdvice OBJECT IDENTIFIER ::= {id-package 60}
-- gprsSSF/gsmSCF or gsmSSF/gsmSCF Operation Packages
id-package-smsActivation OBJECT IDENTIFIER ::= {id-package 61}
id-package-smsConnect OBJECT IDENTIFIER ::= {id-package 62}
id-package-smsContinue OBJECT IDENTIFIER ::= {id-package 63}
id-package-smsRelease OBJECT IDENTIFIER ::= {id-package 64}
id-package-smsEventHandling OBJECT IDENTIFIER ::= {id-package 65}
id-package-smsBilling OBJECT IDENTIFIER ::= {id-package 66}
id-package-smsTimer OBJECT IDENTIFIER ::= {id-package 67}
-- Abstract Syntaxes
-- gsmSSF/gsmSCF Abstract Syntaxes
id-as-gsmSSF-scfGenericAS OBJECT IDENTIFIER ::= {id-asE 4}
id-as-assistHandoff-gsmSSF-scfAS OBJECT IDENTIFIER ::= {id-asE 6}
id-as-scf-gsmSSFGenericAS OBJECT IDENTIFIER ::= {id-asE 7}
-- gsmSRF/gsmSCF Abstract Syntaxes
id-as-basic-gsmSRF-gsmSCF OBJECT IDENTIFIER ::= {id-as 14}
-- gprsSSF/gsmSCF Abstract Syntaxes
id-as-gprsSSF-gsmSCF-AS OBJECT IDENTIFIER ::= {id-as 50}
id-as-gsmSCF-gprsSSF-AS OBJECT IDENTIFIER ::= {id-as 51}
-- gprsSSF/gsmSCF or gsmSSF/gsmSCF Abstract Syntaxes
id-as-smsSSF-gsmSCF-AS OBJECT IDENTIFIER ::= {id-as 61}
END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-operationcodes.asn | -- 3GPP TS 29.078 11.0.0 (2011-09)
-- 5.3 Operation codes
CAP-operationcodes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3) cap-operationcodes(53) version8(7)}
DEFINITIONS ::= BEGIN
IMPORTS
ros-InformationObjects
FROM CAP-object-identifiers {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-object-identifiers(100) version8(7)}
Code
FROM Remote-Operations-Information-Objects ros-InformationObjects
;
-- the operations are grouped by the identified operation packages.
-- gsmSCF activation Package
opcode-initialDP Code ::= local: 0
-- gsmSCF/gsmSRF activation of assist Package
opcode-assistRequestInstructions Code ::= local: 16
-- Assist connection establishment Package
opcode-establishTemporaryConnection Code ::= local: 17
-- Generic disconnect resource Package
opcode-disconnectForwardConnection Code ::= local: 18
opcode-dFCWithArgument Code ::= local: 86
-- Non-assisted connection establishment Package
opcode-connectToResource Code ::= local: 19
-- Connect Package (elementary gsmSSF function)
opcode-connect Code ::= local: 20
-- Call handling Package (elementary gsmSSF function)
opcode-releaseCall Code ::= local: 22
-- BCSM Event handling Package
opcode-requestReportBCSMEvent Code ::= local: 23
opcode-eventReportBCSM Code ::= local: 24
-- gsmSSF call processing Package
opcode-collectInformation Code ::= local: 27
opcode-continue Code ::= local: 31
-- gsmSCF call initiation Package
opcode-initiateCallAttempt Code ::= local: 32
-- Timer Package
opcode-resetTimer Code ::= local: 33
-- Billing Package
opcode-furnishChargingInformation Code ::= local: 34
-- Charging Package
opcode-applyCharging Code ::= local: 35
opcode-applyChargingReport Code ::= local: 36
-- Traffic management Package
opcode-callGap Code ::= local: 41
-- Call report Package
opcode-callInformationReport Code ::= local: 44
opcode-callInformationRequest Code ::= local: 45
-- Signalling control Package
opcode-sendChargingInformation Code ::= local: 46
-- Specialized resource control Package
opcode-playAnnouncement Code ::= local: 47
opcode-promptAndCollectUserInformation Code ::= local: 48
opcode-specializedResourceReport Code ::= local: 49
-- Cancel Package
opcode-cancel Code ::= local: 53
-- Activity Test Package
opcode-activityTest Code ::= local: 55
-- CPH Response Package
opcode-continueWithArgument Code ::= local: 88
opcode-disconnectLeg Code ::= local: 90
opcode-moveLeg Code ::= local: 93
opcode-splitLeg Code ::= local: 95
-- Exception Inform Package
opcode-entityReleased Code ::= local: 96
-- Play Tone Package
opcode-playTone Code ::= local: 97
-- Sms Activation Package
opcode-initialDPSMS Code ::= local: 60
-- Sms Billing Package
opcode-furnishChargingInformationSMS Code ::= local: 61
-- Sms Connect Package
opcode-connectSMS Code ::= local: 62
-- Sms Event Handling Package
opcode-requestReportSMSEvent Code ::= local: 63
opcode-eventReportSMS Code ::= local: 64
-- Sms Processing Package
opcode-continueSMS Code ::= local: 65
-- Sms Release Package
opcode-releaseSMS Code ::= local: 66
-- Sms Timer Package
opcode-resetTimerSMS Code ::= local: 67
-- Gprs Activity Test Package
opcode-activityTestGPRS Code ::= local: 70
-- Gprs Charging Package
opcode-applyChargingGPRS Code ::= local: 71
opcode-applyChargingReportGPRS Code ::= local: 72
-- Gprs Cancel Package
opcode-cancelGPRS Code ::= local: 73
-- Gprs Connect Package
opcode-connectGPRS Code ::= local: 74
-- Gprs Processing Package
opcode-continueGPRS Code ::= local: 75
-- Gprs Exception Information Package
opcode-entityReleasedGPRS Code ::= local: 76
-- Gprs Billing Package
opcode-furnishChargingInformationGPRS Code ::= local: 77
-- Gprs Scf Activation Package
opcode-initialDPGPRS Code ::= local: 78
-- Gprs Release Package
opcode-releaseGPRS Code ::= local: 79
-- Gprs Event Handling Package
opcode-eventReportGPRS Code ::= local: 80
opcode-requestReportGPRSEvent Code ::= local: 81
-- Gprs Timer Package
opcode-resetTimerGPRS Code ::= local: 82
-- Gprs Charge Advice Package
opcode-sendChargingInformationGPRS Code ::= local: 83
END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-SMS-ops-args.asn | -- 3GPP TS 29.078 11.0.0 (2011-09)
-- 7 SMS Control
-- 7.1 SMS operations and arguments
CAP-SMS-ops-args {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3) cap-SMS-ops-args(105) version8(7)}
-- The module CAP-SMS-ops-args is updated to version8(7) for Rel-6. The OPERATION definitions
-- are not modified.
DEFINITIONS IMPLICIT TAGS::= BEGIN
-- This module contains the operations and operation arguments used for the
-- smsSSF? gsmSCF interface, for the control of MO-SMS and MT-SMS.
-- The table in subclause 2.1 lists the specifications that contain the modules
-- that are used by CAP.
IMPORTS
errortypes,
datatypes,
operationcodes,
classes,
ros-InformationObjects,
tc-Messages
FROM CAP-object-identifiers {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
umts-network(1) modules(3) cap-object-identifiers(100) version8(7)}
OPERATION
FROM Remote-Operations-Information-Objects ros-InformationObjects
ServiceKey
FROM CS1-DataTypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1)
modules(0) cs1-datatypes(2) version1(0)}
MiscCallInfo
FROM CS2-datatypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1)
cs2(20) modules(0) in-cs2-datatypes (0) version1(0)}
IMEI,
IMSI,
ISDN-AddressString
FROM MAP-CommonDataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-CommonDataTypes(18) version12(12)}
GPRSMSClass,
LocationInformation,
MS-Classmark2
FROM MAP-MS-DataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-MS-DataTypes(11) version12(12)}
PARAMETERS-BOUND
FROM CAP-classes classes
opcode-connectSMS,
opcode-continueSMS,
opcode-eventReportSMS,
opcode-furnishChargingInformationSMS,
opcode-initialDPSMS,
opcode-releaseSMS,
opcode-requestReportSMSEvent,
opcode-resetTimerSMS
FROM CAP-operationcodes operationcodes
-- The CAP Operation identifiers for CAP V3 and CAP V4 for SMS in Rel-6 are the same as in Rel-5.
CalledPartyBCDNumber {},
EventSpecificInformationSMS,
EventTypeSMS,
Extensions {},
FCISMSBillingChargingCharacteristics,
LocationInformationGPRS,
RPCause,
SMS-AddressString,
SMSEvent,
TimeAndTimezone {},
TimerID,
TimerValue,
TPDataCodingScheme,
TPProtocolIdentifier,
TPShortMessageSpecificInfo,
TPValidityPeriod
FROM CAP-datatypes datatypes
-- For Rel-6, the CAP-datatypes module is updated to version8(7); Object Identifier 'datatypes'
-- is also updated to version8(7). As a result, the present module uses Rel-6 data type definitions.
missingCustomerRecord,
missingParameter,
parameterOutOfRange,
systemFailure,
taskRefused,
unexpectedComponentSequence,
unexpectedDataValue,
unexpectedParameter
FROM CAP-errortypes errortypes
-- For Rel-6, the CAP-errortypes module is updated to version8(7); Object Identifier
-- 'errortypes' is also updated to version8(7). As a result, the present module uses Rel-6
-- error type definitions.
CallReferenceNumber
FROM MAP-CH-DataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
gsm-Network(1) modules(3) map-CH-DataTypes(13) version12(12)}
;
connectSMS {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT ConnectSMSArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter}
CODE opcode-connectSMS}
-- Direction: gsmSCF -> gsmSSF or gprsSSF, Timer: Tconsms
-- This operation is used to request the smsSSF to perform the SMS processing
-- actions to route or forward a short message to a specified destination.
ConnectSMSArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
callingPartysNumber [0] SMS-AddressString OPTIONAL,
destinationSubscriberNumber [1] CalledPartyBCDNumber {bound} OPTIONAL,
sMSCAddress [2] ISDN-AddressString OPTIONAL,
extensions [10] Extensions {bound} OPTIONAL,
...
}
continueSMS OPERATION ::= {
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE opcode-continueSMS}
-- Direction: gsmSCF -> smsSSF, Timer: Tcuesms
-- This operation is used to request the smsSSF to proceed with
-- Short Message processing at the DP at which it previously suspended
-- Short Message processing to await gsmSCF instructions (i.e. proceed
-- to the next Point in Association in the SMS FSM). The smsSSF
-- continues SMS processing without substituting new data from the gsmSCF.
eventReportSMS {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT EventReportSMSArg {bound}
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE opcode-eventReportSMS}
-- Direction: gsmSSF or gprsSSF -> gsmSCF, Timer: Terbsms
-- This operation is used to notify the gsmSCF of a Short Message related event (FSM events
-- such as submission, delivery or failure) previously requested by the gsmSCF in a
-- RequestReportSMSEvent operation.
EventReportSMSArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
eventTypeSMS [0] EventTypeSMS,
eventSpecificInformationSMS [1] EventSpecificInformationSMS OPTIONAL,
miscCallInfo [2] MiscCallInfo DEFAULT {messageType request},
extensions [10] Extensions {bound} OPTIONAL,
...
}
furnishChargingInformationSMS {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT FurnishChargingInformationSMSArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter}
CODE opcode-furnishChargingInformationSMS}
-- Direction: gsmSCF ?? gsmSSF or gprsSSF, Timer: Tfcisms
-- This operation is used to request the smsSSF to generate, register a charging record
-- or to include some information in the default SM record. The registered charging record is
-- intended for off line charging of the Short Message.
FurnishChargingInformationSMSArg {PARAMETERS-BOUND : bound} ::=
FCISMSBillingChargingCharacteristics {bound}
initialDPSMS {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT InitialDPSMSArg {bound}
RETURN RESULT FALSE
ERRORS {missingCustomerRecord |
missingParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter}
CODE opcode-initialDPSMS}
-- Direction: gsmSSF or gprsSSF -> gsmSCF, Timer: Tidpsms
-- This operation is used after a TDP to indicate request for service.
InitialDPSMSArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
serviceKey [0] ServiceKey,
destinationSubscriberNumber [1] CalledPartyBCDNumber {bound} OPTIONAL,
callingPartyNumber [2] SMS-AddressString OPTIONAL,
eventTypeSMS [3] EventTypeSMS OPTIONAL,
iMSI [4] IMSI OPTIONAL,
locationInformationMSC [5] LocationInformation OPTIONAL,
locationInformationGPRS [6] LocationInformationGPRS OPTIONAL,
sMSCAddress [7] ISDN-AddressString OPTIONAL,
timeAndTimezone [8] TimeAndTimezone {bound} OPTIONAL,
tPShortMessageSpecificInfo [9] TPShortMessageSpecificInfo OPTIONAL,
tPProtocolIdentifier [10] TPProtocolIdentifier OPTIONAL,
tPDataCodingScheme [11] TPDataCodingScheme OPTIONAL,
tPValidityPeriod [12] TPValidityPeriod OPTIONAL,
extensions [13] Extensions {bound} OPTIONAL,
...,
smsReferenceNumber [14] CallReferenceNumber OPTIONAL,
mscAddress [15] ISDN-AddressString OPTIONAL,
sgsn-Number [16] ISDN-AddressString OPTIONAL,
ms-Classmark2 [17] MS-Classmark2 OPTIONAL,
gPRSMSClass [18] GPRSMSClass OPTIONAL,
iMEI [19] IMEI OPTIONAL,
calledPartyNumber [20] ISDN-AddressString OPTIONAL
}
-- The UserCSGInformation is conveyed in the LocationInformation for CS and LocationInformationGPRS
-- for GPRS. The encoding of the parameter is as defined in 3GPP TS 29.002 [11].
releaseSMS OPERATION ::= {
ARGUMENT ReleaseSMSArg
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE opcode-releaseSMS}
-- Direction: gsmSCF -> gsmSSF or gprsSSF, Timer: Trelsms
-- This operation is used to prevent an attempt to submit or deliver a short message.
ReleaseSMSArg ::= RPCause
requestReportSMSEvent {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT RequestReportSMSEventArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
systemFailure |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter}
CODE opcode-requestReportSMSEvent}
-- Direction: gsmSCF -> gsmSSF or gprsSSF, Timer: Trrbsms
-- This operation is used to request the gsmSSF or gprsSSF to monitor for a
-- Short Message related event (FSM events such as submission, delivery or failure)
-- and to send a notification to the gsmSCF when the event is detected.
RequestReportSMSEventArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
sMSEvents [0] SEQUENCE SIZE (1..bound.&numOfSMSEvents) OF SMSEvent,
extensions [10] Extensions {bound} OPTIONAL,
...
}
-- Indicates the Short Message related events(s) for notification.
resetTimerSMS {PARAMETERS-BOUND : bound} OPERATION ::= {
ARGUMENT ResetTimerSMSArg {bound}
RETURN RESULT FALSE
ERRORS {missingParameter |
parameterOutOfRange |
taskRefused |
unexpectedComponentSequence |
unexpectedDataValue |
unexpectedParameter}
CODE opcode-resetTimerSMS}
-- Direction: gsmSCF -> smsSSF, Timer: Trtsms
-- This operation is used to request the smsSSF to refresh an application
-- timer in the smsSSF.
ResetTimerSMSArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
timerID [0] TimerID DEFAULT tssf,
timervalue [1] TimerValue,
extensions [2] Extensions {bound} OPTIONAL,
...
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/camel/CAP-U-ABORT-Data.asn | -- 3GPP TS 29.078 11.0.0 (2011-09)
-- 5.7 User Abort Data
CAP-U-ABORT-Data {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3) cap-u-abort-data(110) version8(7)}
DEFINITIONS ::= BEGIN
id-CAP-U-ABORT-Reason OBJECT IDENTIFIER ::= {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-Network(1) as(1) cap-u-abort-reason(2) version3(2)}
cAP-U-ABORT-Reason-Abstract-Syntax ABSTRACT-SYNTAX ::= {CAP-U-ABORT-REASON IDENTIFIED BY
id-CAP-U-ABORT-Reason}
CAP-U-ABORT-REASON ::= ENUMERATED {
no-reason-given (1),
application-timer-expired (2),
not-allowed-procedures (3),
abnormal-processing (4),
congestion (5),
invalid-reference (6),
missing-reference (7),
overlapping-dialogue (8)
}
-- application-timer-expired shall be set when application timer (e.g. Tssf) is expired.
-- not-allowed-procedures shall be set when received signal is not allowed in CAP
-- procedures.
-- For example, when a class 4 operation is received from the
-- gsmSCF and the operation is not allowed in gsmSSF FSM.
-- (gsmSSF FSM cannot continue state transition). (e.g. ReleaseCall
-- operation received in Waiting for End of Temporary Connection
-- state.)
-- abnormal-processing shall be set when abnormal procedures occur at entity action.
-- congestion shall be set when requested resource is unavailable due to
-- congestion at TC user (CAP) level.
-- invalid-reference shall be set if the received destinationReference is unknown or
-- for a known destination Reference the received originationReference
-- does not match with the stored originationReference.
-- This abort reason is used for CAP defined GPRS-ReferenceNumber.
-- missing-reference shall be set when the destinationReference or the
-- originationReference is absent in the received message but is
-- required to be present according to the procedures in
-- subclause 14.1.7.
-- This abort reason is used for CAP defined GPRS ReferenceNumber.
-- overlapping-dialogue shall be used by the gprsSSF to indicate to the gsmSCF that a
-- specific instance already has a TC dialogue open. This error
-- cause is typically obtained when both the gsmSCF and gprsSSF
-- open a new dialogue at the same time.
-- no-reason-given shall be set when any other reasons above do not apply
END -- of CAP-U-ABORT-Data |
Text | wireshark/epan/dissectors/asn1/camel/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME camel )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( EXT_ASN_FILE_LIST_LATE
../ros/Remote-Operations-Information-Objects.asn
../ros/Remote-Operations-Generic-ROS-PDUs.asn
)
set( ASN_FILE_LIST
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
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.asn
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
"${CMAKE_CURRENT_BINARY_DIR}/../inap/inap-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../gsm_map/gsm_map-exp.cnf"
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/camel/packet-camel-template.c | /* packet-camel-template.c
* Routines for Camel
* Copyright 2004, Tim Endean <[email protected]>
* Copyright 2005, Olivier Jacques <[email protected]>
* Copyright 2005, Javier Acuna <[email protected]>
* Updated to ETSI TS 129 078 V6.4.0 (2004-3GPP TS 29.078 version 6.4.0 Release 6 1 12)
* Copyright 2005-2010, Anders Broman <[email protected]>
* Updated to 3GPP TS 29.078 version 7.3.0 Release 7 (2006-06)
* Built from the gsm-map dissector Copyright 2004, Anders Broman <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
* References: ETSI 300 374
*/
/*
* Indentation logic: this file is indented with 2 spaces indentation.
* there are no tabs.
*/
#include "config.h"
#include <stdlib.h>
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/oids.h>
#include <epan/tap.h>
#include <epan/srt_table.h>
#include <epan/stat_tap_ui.h>
#include <epan/asn1.h>
#include <epan/expert.h>
#include <wsutil/strtoi.h>
#include "packet-ber.h"
#include "packet-camel.h"
#include "packet-q931.h"
#include "packet-e164.h"
#include "packet-isup.h"
#include "packet-gsm_map.h"
#include "packet-gsm_a_common.h"
#include "packet-inap.h"
#include "packet-tcap.h"
#define PNAME "Camel"
#define PSNAME "CAMEL"
#define PFNAME "camel"
/* Initialize the protocol and registered fields */
static int proto_camel = -1;
int date_format = 1; /*assume european date format */
int camel_tap = -1;
/* Global variables */
static guint32 opcode=0;
static guint32 errorCode=0;
static guint32 camel_ver = 0;
/* When several Camel components are received in a single TCAP message,
we have to use several buffers for the stored parameters
because else this data are erased during TAP dissector call */
#define MAX_CAMEL_INSTANCE 10
static int camelsrt_global_current=0;
static struct camelsrt_info_t camelsrt_global_info[MAX_CAMEL_INSTANCE];
/* ROSE context */
static rose_ctx_t camel_rose_ctx;
static int hf_digit = -1;
static int hf_camel_extension_code_local = -1;
static int hf_camel_error_code_local = -1;
static int hf_camel_cause_indicator = -1;
static int hf_camel_PDPTypeNumber_etsi = -1;
static int hf_camel_PDPTypeNumber_ietf = -1;
static int hf_camel_PDPAddress_IPv4 = -1;
static int hf_camel_PDPAddress_IPv6 = -1;
static int hf_camel_cellGlobalIdOrServiceAreaIdFixedLength = -1;
static int hf_camel_RP_Cause = -1;
static int hf_camel_CAMEL_AChBillingChargingCharacteristics = -1;
static int hf_camel_CAMEL_FCIBillingChargingCharacteristics = -1;
static int hf_camel_CAMEL_FCIGPRSBillingChargingCharacteristics = -1;
static int hf_camel_CAMEL_FCISMSBillingChargingCharacteristics = -1;
static int hf_camel_CAMEL_SCIBillingChargingCharacteristics = -1;
static int hf_camel_CAMEL_SCIGPRSBillingChargingCharacteristics = -1;
static int hf_camel_CAMEL_CallResult = -1;
/* Used by persistent data */
static int hf_camelsrt_SessionId=-1;
static int hf_camelsrt_RequestNumber=-1;
static int hf_camelsrt_Duplicate=-1;
static int hf_camelsrt_RequestFrame=-1;
static int hf_camelsrt_ResponseFrame=-1;
static int hf_camelsrt_DeltaTime=-1;
static int hf_camelsrt_SessionTime=-1;
static int hf_camelsrt_DeltaTime31=-1;
static int hf_camelsrt_DeltaTime75=-1;
static int hf_camelsrt_DeltaTime65=-1;
static int hf_camelsrt_DeltaTime22=-1;
static int hf_camelsrt_DeltaTime35=-1;
static int hf_camelsrt_DeltaTime80=-1;
static int hf_camel_timeandtimezone_bcd = -1;
#include "packet-camel-hf.c"
static struct camelsrt_info_t * gp_camelsrt_info;
/* Forward declarations */
static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx);
static int dissect_returnResultData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx);
static int dissect_returnErrorData(proto_tree *tree, tvbuff_t *tvb, int offset,asn1_ctx_t *actx);
static int dissect_camel_CAMEL_AChBillingChargingCharacteristics(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
static int dissect_camel_CAMEL_AChBillingChargingCharacteristicsV2(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
static int dissect_camel_CAMEL_CallResult(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
static int dissect_camel_EstablishTemporaryConnectionArgV2(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
static int dissect_camel_SpecializedResourceReportArgV23(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
/* XXX - can we get rid of these and always do the SRT work? */
static gboolean gcamel_PersistentSRT=FALSE;
static gboolean gcamel_DisplaySRT=FALSE;
gboolean gcamel_StatSRT=FALSE;
/* Initialize the subtree pointers */
static gint ett_camel = -1;
static gint ett_camelisup_parameter = -1;
static gint ett_camel_AccessPointName = -1;
static gint ett_camel_pdptypenumber = -1;
static gint ett_camel_cause = -1;
static gint ett_camel_RPcause = -1;
static gint ett_camel_stat = -1;
static gint ett_camel_calledpartybcdnumber = -1;
static gint ett_camel_callingpartynumber = -1;
static gint ett_camel_originalcalledpartyid = -1;
static gint ett_camel_redirectingpartyid = -1;
static gint ett_camel_locationnumber = -1;
static gint ett_camel_additionalcallingpartynumber = -1;
static gint ett_camel_calledAddressValue = -1;
static gint ett_camel_callingAddressValue = -1;
static gint ett_camel_assistingSSPIPRoutingAddress = -1;
static gint ett_camel_correlationID = -1;
static gint ett_camel_dTMFDigitsCompleted = -1;
static gint ett_camel_dTMFDigitsTimeOut = -1;
static gint ett_camel_number = -1;
static gint ett_camel_digitsResponse = -1;
static gint ett_camel_timeandtimezone = -1;
#include "packet-camel-ett.c"
static expert_field ei_camel_unknown_invokeData = EI_INIT;
static expert_field ei_camel_unknown_returnResultData = EI_INIT;
static expert_field ei_camel_unknown_returnErrorData = EI_INIT;
static expert_field ei_camel_par_wrong_length = EI_INIT;
/* Preference settings default */
#define MAX_SSN 254
static range_t *global_ssn_range;
static dissector_handle_t camel_handle;
static dissector_handle_t camel_v1_handle;
static dissector_handle_t camel_v2_handle;
static dissector_handle_t camel_v3_handle;
static dissector_handle_t camel_v4_handle;
/* Global variables */
static guint8 PDPTypeOrganization;
static guint8 PDPTypeNumber;
const char *camel_obj_id = NULL;
gboolean is_ExtensionField =FALSE;
/* Global hash tables*/
static wmem_map_t *srt_calls = NULL;
static guint32 camelsrt_global_SessionId=1;
static int camel_opcode_type;
#define CAMEL_OPCODE_INVOKE 1
#define CAMEL_OPCODE_RETURN_RESULT 2
#define CAMEL_OPCODE_RETURN_ERROR 3
#define CAMEL_OPCODE_REJECT 4
static const value_string camel_Component_vals[] = {
{ 1, "invoke" },
{ 2, "returnResultLast" },
{ 3, "returnError" },
{ 4, "reject" },
{ 0, NULL }
};
const value_string camelSRTtype_naming[]= {
{ CAMELSRT_SESSION, "TCAP_Session" },
{ CAMELSRT_VOICE_INITIALDP, "InitialDP/Continue" },
{ CAMELSRT_VOICE_ACR1, "Slice1_ACR/ACH" },
{ CAMELSRT_VOICE_ACR2, "Slice2_ACR/ACH" },
{ CAMELSRT_VOICE_ACR3, "Slice3_ACR/ACH" },
{ CAMELSRT_VOICE_DISC, "EvtRepBSCM/Release" },
{ CAMELSRT_SMS_INITIALDP, "InitialDP/ContinueSMS" },
{ CAMELSRT_GPRS_INITIALDP, "InitialDP/ContinueGPRS" },
{ CAMELSRT_GPRS_REPORT, "EvtRepGPRS/ContinueGPRS" },
{ 0,NULL}
};
#define EUROPEAN_DATE 1
#define AMERICAN_DATE 2
#define CAMEL_DATE_AND_TIME_LEN 20 /* 2*5 + 4 + 5 + 1 (HH:MM:SS;mm/dd/yyyy) */
static const enum_val_t date_options[] = {
{ "european", "DD/MM/YYYY", EUROPEAN_DATE },
{ "american", "MM/DD/YYYY", AMERICAN_DATE },
{ NULL, NULL, 0 }
};
static const value_string digit_value[] = {
{ 0, "0"},
{ 1, "1"},
{ 2, "2"},
{ 3, "3"},
{ 4, "4"},
{ 5, "5"},
{ 6, "6"},
{ 7, "7"},
{ 8, "8"},
{ 9, "9"},
{ 10, "spare"},
{ 11, "spare"},
{ 12, "spare"},
{ 13, "spare"},
{ 0, NULL}
};
#if 0
static const value_string camel_nature_of_addr_indicator_values[] = {
{ 0x00, "unknown" },
{ 0x01, "International Number" },
{ 0x02, "National Significant Number" },
{ 0x03, "Network Specific Number" },
{ 0x04, "Subscriber Number" },
{ 0x05, "Reserved" },
{ 0x06, "Abbreviated Number" },
{ 0x07, "Reserved for extension" },
{ 0, NULL }
};
static const value_string camel_number_plan_values[] = {
{ 0x00, "unknown" },
{ 0x01, "ISDN/Telephony Numbering (Rec ITU-T E.164)" },
{ 0x02, "spare" },
{ 0x03, "Data Numbering (ITU-T Rec. X.121)" },
{ 0x04, "Telex Numbering (ITU-T Rec. F.69)" },
{ 0x05, "spare" },
{ 0x06, "Land Mobile Numbering (ITU-T Rec. E.212)" },
{ 0x07, "spare" },
{ 0x08, "National Numbering" },
{ 0x09, "Private Numbering" },
{ 0x0f, "Reserved for extension" },
{ 0, NULL }
};
#endif
/* End includes from old" packet-camel.c */
static const value_string camel_RP_Cause_values[] = {
{ 1, "Unassigned (unallocated) number" },
{ 8, "Operator determined barring" },
{ 10, "Call barred" },
{ 11, "Reserved" },
{ 21, "Short message transfer rejected" },
{ 27, "Destination out of order" },
{ 28, "Unidentified subscriber" },
{ 29, "Facility Rejected" },
{ 30, "Unknown subscriber" },
{ 38, "Network out of order" },
{ 41, "Temporary failure" },
{ 42, "Congestion" },
{ 47, "Resources unavailable, unspecified" },
{ 50, "Requested facility not subscribed" },
{ 69, "Requested facility not implemented" },
{ 81, "Invalid short message transfer reference value" },
{ 95, "Semantically incorrect message" },
{ 96, "Invalid mandatory information" },
{ 97, " Message Type non-existent or not implemented" },
{ 98, "Message not compatible with short message protocol state" },
{ 99, "Information element non existent or not implemented" },
{ 111, "Protocol error, unspecified" },
{ 127, "Interworking, unspecified" },
{ 22,"Memory capacity exceeded" },
{ 0, NULL }
};
static const value_string camel_holdTreatmentIndicator_values[] = {
{ 0x01, "acceptHoldRequest" },
{ 0x02, "rejectHoldRequest" },
{ 0, NULL }
};
static const value_string camel_cwTreatmentIndicator_values[] = {
{ 0x01, "acceptCw" },
{ 0x02, "rejectCw" },
{ 0, NULL }
};
static const value_string camel_ectTreatmentIndicator_values[] = {
{ 0x01, "acceptEctRequest" },
{ 0x02, "rejectEctRequest" },
{ 0, NULL }
};
#include "packet-camel-val.h"
#include "packet-camel-table.c"
/*
* DEBUG fonctions
*/
#undef DEBUG_CAMELSRT
/* #define DEBUG_CAMELSRT */
#ifdef DEBUG_CAMELSRT
#include <stdio.h>
#include <stdarg.h>
static guint debug_level = 99;
static void dbg(guint level, char *fmt, ...) {
va_list ap;
if (level > debug_level) return;
va_start(ap,fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
}
#endif
static void
camelstat_init(struct register_srt* srt _U_, GArray* srt_array)
{
srt_stat_table *camel_srt_table;
gchar* tmp_str;
guint32 i;
camel_srt_table = init_srt_table("CAMEL Commands", NULL, srt_array, NB_CAMELSRT_CATEGORY, NULL, NULL, NULL);
for (i = 0; i < NB_CAMELSRT_CATEGORY; i++)
{
tmp_str = val_to_str_wmem(NULL,i,camelSRTtype_naming,"Unknown (%d)");
init_srt_table_row(camel_srt_table, i, tmp_str);
wmem_free(NULL, tmp_str);
}
}
static tap_packet_status
camelstat_packet(void *pcamel, packet_info *pinfo, epan_dissect_t *edt _U_, const void *psi, tap_flags_t flags _U_)
{
guint idx = 0;
srt_stat_table *camel_srt_table;
const struct camelsrt_info_t * pi=(const struct camelsrt_info_t *)psi;
srt_data_t *data = (srt_data_t *)pcamel;
int i;
for (i=1; i<NB_CAMELSRT_CATEGORY; i++) {
if ( pi->bool_msginfo[i] &&
pi->msginfo[i].is_delta_time
&& pi->msginfo[i].request_available
&& !pi->msginfo[i].is_duplicate )
{
camel_srt_table = g_array_index(data->srt_array, srt_stat_table*, idx);
add_srt_table_data(camel_srt_table, i, &pi->msginfo[i].req_time, pinfo);
}
} /* category */
return TAP_PACKET_REDRAW;
}
static char camel_number_to_char(int number)
{
if (number < 10)
return (char) (number + 48 ); /* this is ASCII specific */
else
return (char) (number + 55 );
}
/*
* 24.011 8.2.5.4
*/
static guint8
dissect_RP_cause_ie(tvbuff_t *tvb, guint32 offset, _U_ guint len,
proto_tree *tree, int hf_cause_value, guint8 *cause_value)
{
guint8 oct;
guint32 curr_offset;
curr_offset = offset;
oct = tvb_get_guint8(tvb, curr_offset);
*cause_value = oct & 0x7f;
proto_tree_add_uint(tree, hf_cause_value, tvb, curr_offset, 1, oct);
curr_offset++;
if ((oct & 0x80)) {
oct = tvb_get_guint8(tvb, curr_offset);
proto_tree_add_uint_format(tree, hf_cause_value,
tvb, curr_offset, 1, oct,
"Diagnostic : %u", oct);
curr_offset++;
}
return(curr_offset - offset);
}
static int dissect_camel_InitialDPArgExtensionV2(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
#include "packet-camel-fn.c"
#include "packet-camel-table2.c"
/*
* Functions needed for Hash-Table
*/
/* compare 2 keys */
static gint
camelsrt_call_equal(gconstpointer k1, gconstpointer k2)
{
const struct camelsrt_call_info_key_t *key1 = (const struct camelsrt_call_info_key_t *) k1;
const struct camelsrt_call_info_key_t *key2 = (const struct camelsrt_call_info_key_t *) k2;
return (key1->SessionIdKey == key2->SessionIdKey) ;
}
/* calculate a hash key */
static guint
camelsrt_call_hash(gconstpointer k)
{
const struct camelsrt_call_info_key_t *key = (const struct camelsrt_call_info_key_t *) k;
return key->SessionIdKey;
}
/*
* Find the dialog by Key and Time
*/
static struct camelsrt_call_t *
find_camelsrt_call(struct camelsrt_call_info_key_t *p_camelsrt_call_key)
{
struct camelsrt_call_t *p_camelsrt_call = NULL;
p_camelsrt_call = (struct camelsrt_call_t *)wmem_map_lookup(srt_calls, p_camelsrt_call_key);
#ifdef DEBUG_CAMELSRT
if(p_camelsrt_call) {
dbg(10,"D%d ", p_camelsrt_call->session_id);
} else {
dbg(23,"Not in hash ");
}
#endif
return p_camelsrt_call;
}
/*
* Initialize the data per call for the Service Response Time Statistics
* Data are linked to a Camel operation in a TCAP transaction
*/
static void
raz_camelsrt_call (struct camelsrt_call_t *p_camelsrt_call)
{
memset(p_camelsrt_call,0,sizeof(struct camelsrt_call_t));
}
/*
* New record to create, to identify a new transaction
*/
static struct camelsrt_call_t *
new_camelsrt_call(struct camelsrt_call_info_key_t *p_camelsrt_call_key)
{
struct camelsrt_call_info_key_t *p_new_camelsrt_call_key;
struct camelsrt_call_t *p_new_camelsrt_call = NULL;
/* Register the transaction in the hash table
with the tcap transaction Id as main Key
Once created, this entry will be updated later */
p_new_camelsrt_call_key = wmem_new(wmem_file_scope(), struct camelsrt_call_info_key_t);
p_new_camelsrt_call_key->SessionIdKey = p_camelsrt_call_key->SessionIdKey;
p_new_camelsrt_call = wmem_new(wmem_file_scope(), struct camelsrt_call_t);
raz_camelsrt_call(p_new_camelsrt_call);
p_new_camelsrt_call->session_id = camelsrt_global_SessionId++;
#ifdef DEBUG_CAMELSRT
dbg(10,"D%d ", p_new_camelsrt_call->session_id);
#endif
/* store it */
wmem_map_insert(srt_calls, p_new_camelsrt_call_key, p_new_camelsrt_call);
return p_new_camelsrt_call;
}
/*
* Routine called when the TAP is initialized.
* so hash table are (re)created
*/
static void
camelsrt_init_routine(void)
{
/* Reset the session counter */
camelsrt_global_SessionId=1;
/* The Display of SRT is enable
* 1) For wireshark only if Persistent Stat is enable
* 2) For Tshark, if the SRT CLI tap is registered
*/
gcamel_DisplaySRT=gcamel_PersistentSRT || gcamel_StatSRT;
}
/*
* Update a record with the data of the Request
*/
static void
update_camelsrt_call(struct camelsrt_call_t *p_camelsrt_call, packet_info *pinfo,
guint msg_category)
{
p_camelsrt_call->category[msg_category].req_num = pinfo->num;
p_camelsrt_call->category[msg_category].rsp_num = 0;
p_camelsrt_call->category[msg_category].responded = FALSE;
p_camelsrt_call->category[msg_category].req_time = pinfo->abs_ts;
}
/*
* Update the Camel session info, and close the session.
* Then remove the associated context, if we do not have persistentSRT enable
*/
static void
camelsrt_close_call_matching(packet_info *pinfo,
struct camelsrt_info_t *p_camelsrt_info)
{
struct camelsrt_call_t *p_camelsrt_call;
struct camelsrt_call_info_key_t camelsrt_call_key;
nstime_t delta;
p_camelsrt_info->bool_msginfo[CAMELSRT_SESSION]=TRUE;
#ifdef DEBUG_CAMELSRT
dbg(10,"\n Session end #%u\n", pinfo->num);
#endif
/* look only for matching request, if matching conversation is available. */
camelsrt_call_key.SessionIdKey = p_camelsrt_info->tcap_session_id;
#ifdef DEBUG_CAMELSRT
dbg(11,"Search key %lu ",camelsrt_call_key.SessionIdKey);
#endif
p_camelsrt_call = find_camelsrt_call(&camelsrt_call_key);
if(p_camelsrt_call) {
#ifdef DEBUG_CAMELSRT
dbg(12,"Found ");
#endif
/* Calculate Service Response Time */
nstime_delta(&delta, &pinfo->abs_ts, &p_camelsrt_call->category[CAMELSRT_SESSION].req_time);
p_camelsrt_call->category[CAMELSRT_SESSION].responded = TRUE;
p_camelsrt_info->msginfo[CAMELSRT_SESSION].request_available = TRUE;
p_camelsrt_info->msginfo[CAMELSRT_SESSION].is_delta_time = TRUE;
p_camelsrt_info->msginfo[CAMELSRT_SESSION].delta_time = delta; /* give it to tap */
p_camelsrt_info->msginfo[CAMELSRT_SESSION].req_time = p_camelsrt_call->category[CAMELSRT_SESSION].req_time;
if ( !gcamel_PersistentSRT ) {
wmem_map_remove(srt_calls, &camelsrt_call_key);
#ifdef DEBUG_CAMELSRT
dbg(20,"remove hash ");
#endif
} else {
#ifdef DEBUG_CAMELSRT
dbg(20,"keep hash ");
#endif
}
} /* call reference found */
}
/*
* Callback function for the TCAP dissector
* This callback function is used to inform the camel layer, that the session
* has been Closed or Aborted by a TCAP message without Camel component
* So, we can close the context for camel session, and update the stats.
*/
static void
camelsrt_tcap_matching(tvbuff_t *tvb _U_, packet_info *pinfo,
proto_tree *tree _U_,
struct tcaphash_context_t *p_tcap_context)
{
struct camelsrt_info_t *p_camelsrt_info;
#ifdef DEBUG_CAMELSRT
dbg(11,"Camel_CallBack ");
#endif
p_camelsrt_info=camelsrt_razinfo();
p_camelsrt_info->tcap_context=p_tcap_context;
if (p_tcap_context) {
#ifdef DEBUG_CAMELSRT
dbg(11,"Close TCAP ");
#endif
p_camelsrt_info->tcap_session_id = p_tcap_context->session_id;
camelsrt_close_call_matching(pinfo, p_camelsrt_info);
tap_queue_packet(camel_tap, pinfo, p_camelsrt_info);
}
}
/*
* Create the record identifiying the Camel session
* As the Tcap session id given by the TCAP dissector is uniq, it will be
* used as main key.
*/
static void
camelsrt_begin_call_matching(packet_info *pinfo,
struct camelsrt_info_t *p_camelsrt_info)
{
struct camelsrt_call_t *p_camelsrt_call;
struct camelsrt_call_info_key_t camelsrt_call_key;
p_camelsrt_info->bool_msginfo[CAMELSRT_SESSION]=TRUE;
/* prepare the key data */
camelsrt_call_key.SessionIdKey = p_camelsrt_info->tcap_session_id;
/* look up the request */
#ifdef DEBUG_CAMELSRT
dbg(10,"\n Session begin #%u\n", pinfo->num);
dbg(11,"Search key %lu ",camelsrt_call_key.SessionIdKey);
#endif
p_camelsrt_call = (struct camelsrt_call_t *)wmem_map_lookup(srt_calls, &camelsrt_call_key);
if (p_camelsrt_call) {
/* We have seen this request before -> do nothing */
#ifdef DEBUG_CAMELSRT
dbg(22,"Already seen ");
#endif
} else { /* p_camelsrt_call has not been found */
#ifdef DEBUG_CAMELSRT
dbg(10,"New key %lu ",camelsrt_call_key.SessionIdKey);
#endif
p_camelsrt_call = new_camelsrt_call(&camelsrt_call_key);
p_camelsrt_call->tcap_context=(struct tcaphash_context_t *)p_camelsrt_info->tcap_context;
update_camelsrt_call(p_camelsrt_call, pinfo,CAMELSRT_SESSION);
#ifdef DEBUG_CAMELSRT
dbg(11,"Update Callback ");
#endif
p_camelsrt_call->tcap_context->callback=camelsrt_tcap_matching;
}
}
/*
* Register the request, and try to find the response
*
*/
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 )
{
struct camelsrt_call_t *p_camelsrt_call;
struct camelsrt_call_info_key_t camelsrt_call_key;
proto_item *ti, *hidden_item;
#ifdef DEBUG_CAMELSRT
dbg(10,"\n %s #%u\n", val_to_str_const(srt_type, camelSRTtype_naming, "Unk"),pinfo->num);
#endif
/* look only for matching request, if matching conversation is available. */
camelsrt_call_key.SessionIdKey = p_camelsrt_info->tcap_session_id;
#ifdef DEBUG_CAMELSRT
dbg(11,"Search key %lu ", camelsrt_call_key.SessionIdKey);
#endif
p_camelsrt_call = find_camelsrt_call(&camelsrt_call_key);
if(p_camelsrt_call) {
#ifdef DEBUG_CAMELSRT
dbg(12,"Found ");
#endif
if (gcamel_DisplaySRT)
proto_tree_add_uint(tree, hf_camelsrt_SessionId, tvb, 0,0, p_camelsrt_call->session_id);
/* Hmm.. As there are several slices ApplyChargingReport/ApplyCharging
* we will prepare the measurement for 3 slices with 3 categories */
if (srt_type==CAMELSRT_VOICE_ACR1) {
if (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].req_num == 0) {
srt_type=CAMELSRT_VOICE_ACR1;
} else if ( (p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].req_num == 0)
&& (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num != 0)
&& (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num < pinfo->num) ) {
srt_type=CAMELSRT_VOICE_ACR2;
} else if ( (p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].req_num == 0)
&& (p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].rsp_num != 0)
&& (p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].rsp_num < pinfo->num) ) {
srt_type=CAMELSRT_VOICE_ACR3;
} else if (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num != 0
&& p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num > pinfo->num) {
srt_type=CAMELSRT_VOICE_ACR1;
} else if ( p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].rsp_num != 0
&& p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].rsp_num > pinfo->num) {
srt_type=CAMELSRT_VOICE_ACR2;
} else if (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num != 0
&& p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].rsp_num > pinfo->num) {
srt_type=CAMELSRT_VOICE_ACR3;
}
#ifdef DEBUG_CAMELSRT
dbg(70,"Request ACR %u ",srt_type);
dbg(70,"ACR1 %u %u",p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].req_num, p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].rsp_num);
dbg(70,"ACR2 %u %u",p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].req_num, p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].rsp_num);
dbg(70,"ACR3 %u %u",p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].req_num, p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].rsp_num);
#endif
} /* not ACR */
p_camelsrt_info->bool_msginfo[srt_type]=TRUE;
if (p_camelsrt_call->category[srt_type].req_num == 0) {
/* We have not yet seen a request to that call, so this must be the first request
remember its frame number. */
#ifdef DEBUG_CAMELSRT
dbg(5,"Set reqlink #%u ", pinfo->num);
#endif
update_camelsrt_call(p_camelsrt_call, pinfo, srt_type);
} else {
/* We have seen a request to this call - but was it *this* request? */
if (p_camelsrt_call->category[srt_type].req_num != pinfo->num) {
if (srt_type!=CAMELSRT_VOICE_DISC) {
/* No, so it's a duplicate request. Mark it as such. */
#ifdef DEBUG_CAMELSRT
dbg(21,"Display_duplicate with req %d ", p_camelsrt_call->category[srt_type].req_num);
#endif
p_camelsrt_info->msginfo[srt_type].is_duplicate = TRUE;
if (gcamel_DisplaySRT){
hidden_item = proto_tree_add_uint(tree, hf_camelsrt_Duplicate, tvb, 0,0, 77);
proto_item_set_hidden(hidden_item);
}
} else {
/* Ignore duplicate frame */
if (pinfo->num > p_camelsrt_call->category[srt_type].req_num) {
p_camelsrt_call->category[srt_type].req_num = pinfo->num;
#ifdef DEBUG_CAMELSRT
dbg(5,"DISC Set reqlink #%u ", pinfo->num);
#endif
update_camelsrt_call(p_camelsrt_call, pinfo, srt_type);
} /* greater frame */
} /* DISC */
} /* req_num already seen */
} /* req_num != 0 */
/* add link to response frame, if available */
if ( gcamel_DisplaySRT &&
(p_camelsrt_call->category[srt_type].rsp_num != 0) &&
(p_camelsrt_call->category[srt_type].req_num != 0) &&
(p_camelsrt_call->category[srt_type].req_num == pinfo->num) ) {
#ifdef DEBUG_CAMELSRT
dbg(20,"Display_framersplink %d ",p_camelsrt_call->category[srt_type].rsp_num);
#endif
ti = proto_tree_add_uint_format(tree, hf_camelsrt_RequestFrame, tvb, 0, 0,
p_camelsrt_call->category[srt_type].rsp_num,
"Linked response %s in frame %u",
val_to_str_const(srt_type, camelSRTtype_naming, "Unk"),
p_camelsrt_call->category[srt_type].rsp_num);
proto_item_set_generated(ti);
} /* frame valid */
} /* call reference */
}
/*
* Display the delta time between two messages in a field corresponding
* to the category (hf_camelsrt_DeltaTimexx).
*/
static void
camelsrt_display_DeltaTime(proto_tree *tree, tvbuff_t *tvb, nstime_t *value_ptr,
guint category)
{
proto_item *ti;
if ( gcamel_DisplaySRT ) {
switch(category) {
case CAMELSRT_VOICE_INITIALDP:
ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime31, tvb, 0, 0, value_ptr);
proto_item_set_generated(ti);
break;
case CAMELSRT_VOICE_ACR1:
case CAMELSRT_VOICE_ACR2:
case CAMELSRT_VOICE_ACR3:
ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime22, tvb, 0, 0, value_ptr);
proto_item_set_generated(ti);
break;
case CAMELSRT_VOICE_DISC:
ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime35, tvb, 0, 0, value_ptr);
proto_item_set_generated(ti);
break;
case CAMELSRT_GPRS_INITIALDP:
ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime75, tvb, 0, 0, value_ptr);
proto_item_set_generated(ti);
break;
case CAMELSRT_GPRS_REPORT:
ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime80, tvb, 0, 0, value_ptr);
proto_item_set_generated(ti);
break;
case CAMELSRT_SMS_INITIALDP:
ti = proto_tree_add_time(tree, hf_camelsrt_DeltaTime65, tvb, 0, 0, value_ptr);
proto_item_set_generated(ti);
break;
default:
break;
}
}
}
/*
* Check if the received message is a response to a previous request
* registered is the camel session context.
*/
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)
{
struct camelsrt_call_t *p_camelsrt_call;
struct camelsrt_call_info_key_t camelsrt_call_key;
nstime_t delta;
proto_item *ti, *hidden_item;
#ifdef DEBUG_CAMELSRT
dbg(10,"\n %s #%u\n", val_to_str_const(srt_type, camelSRTtype_naming, "Unk"),pinfo->num);
#endif
camelsrt_call_key.SessionIdKey = p_camelsrt_info->tcap_session_id;
/* look only for matching request, if matching conversation is available. */
#ifdef DEBUG_CAMELSRT
dbg(11,"Search key %lu ",camelsrt_call_key.SessionIdKey);
#endif
p_camelsrt_call = find_camelsrt_call(&camelsrt_call_key);
if(p_camelsrt_call) {
#ifdef DEBUG_CAMELSRT
dbg(12,"Found, req=%d ",p_camelsrt_call->category[srt_type].req_num);
#endif
if ( gcamel_DisplaySRT )
proto_tree_add_uint(tree, hf_camelsrt_SessionId, tvb, 0,0, p_camelsrt_call->session_id);
if (srt_type==CAMELSRT_VOICE_ACR1) {
if (p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].req_num != 0
&& p_camelsrt_call->category[CAMELSRT_VOICE_ACR3].req_num < pinfo->num) {
srt_type=CAMELSRT_VOICE_ACR1;
} else if ( p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].req_num != 0
&& p_camelsrt_call->category[CAMELSRT_VOICE_ACR2].req_num < pinfo->num) {
srt_type=CAMELSRT_VOICE_ACR2;
} else if (p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].req_num != 0
&& p_camelsrt_call->category[CAMELSRT_VOICE_ACR1].req_num < pinfo->num) {
srt_type=CAMELSRT_VOICE_ACR1;
}
#ifdef DEBUG_CAMELSRT
dbg(70,"Report ACR %u ",srt_type);
#endif
} /* not ACR */
p_camelsrt_info->bool_msginfo[srt_type]=TRUE;
if (p_camelsrt_call->category[srt_type].rsp_num == 0) {
if ( (p_camelsrt_call->category[srt_type].req_num != 0)
&& (pinfo->num > p_camelsrt_call->category[srt_type].req_num) ){
/* We have not yet seen a response to that call, so this must be the first response;
remember its frame number only if response comes after request */
#ifdef DEBUG_CAMELSRT
dbg(14,"Set reslink #%d req %u ",pinfo->num, p_camelsrt_call->category[srt_type].req_num);
#endif
p_camelsrt_call->category[srt_type].rsp_num = pinfo->num;
} else {
#ifdef DEBUG_CAMELSRT
dbg(2,"badreslink #%u req %u ",pinfo->num, p_camelsrt_call->category[srt_type].req_num);
#endif
} /* req_num != 0 */
} else { /* rsp_num != 0 */
/* We have seen a response to this call - but was it *this* response? */
if (p_camelsrt_call->category[srt_type].rsp_num != pinfo->num) {
/* No, so it's a duplicate response. Mark it as such. */
#ifdef DEBUG_CAMELSRT
dbg(21,"Display_duplicate rsp=%d ", p_camelsrt_call->category[srt_type].rsp_num);
#endif
p_camelsrt_info->msginfo[srt_type].is_duplicate = TRUE;
if ( gcamel_DisplaySRT ){
hidden_item = proto_tree_add_uint(tree, hf_camelsrt_Duplicate, tvb, 0,0, 77);
proto_item_set_hidden(hidden_item);
}
}
} /* rsp_num != 0 */
if ( (p_camelsrt_call->category[srt_type].req_num != 0) &&
(p_camelsrt_call->category[srt_type].rsp_num != 0) &&
(p_camelsrt_call->category[srt_type].rsp_num == pinfo->num) ) {
p_camelsrt_call->category[srt_type].responded = TRUE;
p_camelsrt_info->msginfo[srt_type].request_available = TRUE;
#ifdef DEBUG_CAMELSRT
dbg(20,"Display_frameReqlink %d ",p_camelsrt_call->category[srt_type].req_num);
#endif
/* Indicate the frame to which this is a reply. */
if ( gcamel_DisplaySRT ) {
ti = proto_tree_add_uint_format(tree, hf_camelsrt_ResponseFrame, tvb, 0, 0,
p_camelsrt_call->category[srt_type].req_num,
"Linked request %s in frame %u",
val_to_str_const(srt_type, camelSRTtype_naming, "Unk"),
p_camelsrt_call->category[srt_type].req_num);
proto_item_set_generated(ti);
}
/* Calculate Service Response Time */
nstime_delta(&delta, &pinfo->abs_ts, &p_camelsrt_call->category[srt_type].req_time);
p_camelsrt_info->msginfo[srt_type].is_delta_time = TRUE;
p_camelsrt_info->msginfo[srt_type].delta_time = delta; /* give it to tap */
p_camelsrt_info->msginfo[srt_type].req_time = p_camelsrt_call->category[srt_type].req_time;
/* display Service Response Time and make it filterable */
camelsrt_display_DeltaTime(tree, tvb, &delta, srt_type);
} /*req_num != 0 && not duplicate */
} /* call reference found */
}
/*
* Service Response Time analyze, called just after the camel dissector
* According to the camel operation, we
* - open/close a context for the camel session
* - look for a request, or look for the corresponding response
*/
void
camelsrt_call_matching(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
struct camelsrt_info_t *p_camelsrt_info)
{
#ifdef DEBUG_CAMELSRT
dbg(10,"tcap_session #%d ", p_camelsrt_info->tcap_session_id);
#endif
switch (p_camelsrt_info->opcode) {
case 0: /*InitialDP*/
camelsrt_begin_call_matching(pinfo, p_camelsrt_info);
camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_VOICE_INITIALDP);
break;
case 60: /*InitialDPSMS*/
camelsrt_begin_call_matching(pinfo, p_camelsrt_info);
camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_SMS_INITIALDP);
break;
case 78: /*InitialDPGPRS*/
camelsrt_begin_call_matching(pinfo, p_camelsrt_info);
camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_GPRS_INITIALDP);
break;
case 23: /*RequestReportBCSMEvent*/
break;
case 63: /*RequestReportSMSEvent*/
break;
case 81: /*RequestReportGPRSEvent*/
break;
case 24: /*EventReportBCSMEvent*/
camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_VOICE_DISC );
break;
case 64: /*EventReportSMS*/
/* Session has been explicity closed without TC_END */
camelsrt_close_call_matching(pinfo, p_camelsrt_info);
tcapsrt_close((struct tcaphash_context_t *)p_camelsrt_info->tcap_context, pinfo);
break;
case 80: /*EventReportGPRS*/
camelsrt_begin_call_matching(pinfo, p_camelsrt_info);
camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_GPRS_REPORT);
break;
case 35: /*ApplyCharging*/
camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_VOICE_ACR1 );
break;
case 71: /*ApplyChargingGPRS*/
break;
case 36: /*ApplyChargingReport*/
camelsrt_request_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_VOICE_ACR1 );
break;
case 72: /*ApplyChargingReportGPRS*/
break;
case 31: /*Continue*/
camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_VOICE_INITIALDP);
break;
case 65: /*ContinueSMS*/
camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_SMS_INITIALDP);
break;
case 75: /*ContinueGPRS*/
camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_GPRS_INITIALDP);
camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_GPRS_REPORT);
break;
case 22: /*ReleaseCall*/
camelsrt_report_call_matching(tvb, pinfo, tree, p_camelsrt_info,
CAMELSRT_VOICE_DISC);
/* Session has been closed by Network */
camelsrt_close_call_matching(pinfo, p_camelsrt_info);
break;
case 66: /*ReleaseSMS*/
/* Session has been closed by Network */
camelsrt_close_call_matching(pinfo, p_camelsrt_info);
tcapsrt_close((struct tcaphash_context_t *)p_camelsrt_info->tcap_context,pinfo);
break;
case 79: /*ReleaseGPRS*/
/* Session has been closed by Network */
camelsrt_close_call_matching(pinfo, p_camelsrt_info);
break;
} /* switch opcode */
}
/*
* Initialize the Message Info used by the main dissector
* Data are linked to a TCAP transaction
*/
struct camelsrt_info_t *
camelsrt_razinfo(void)
{
struct camelsrt_info_t *p_camelsrt_info ;
/* Global buffer for packet extraction */
camelsrt_global_current++;
if(camelsrt_global_current==MAX_CAMEL_INSTANCE){
camelsrt_global_current=0;
}
p_camelsrt_info=&camelsrt_global_info[camelsrt_global_current];
memset(p_camelsrt_info,0,sizeof(struct camelsrt_info_t));
p_camelsrt_info->opcode=255;
return p_camelsrt_info;
}
static guint8 camel_pdu_type = 0;
static guint8 camel_pdu_size = 0;
static int
dissect_camel_camelPDU(bool 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) {
opcode = 0;
if (p_private_tcap != NULL){
gp_camelsrt_info->tcap_context=p_private_tcap->context;
if (p_private_tcap->context)
gp_camelsrt_info->tcap_session_id = ( (struct tcaphash_context_t *) (p_private_tcap->context))->session_id;
}
camel_pdu_type = tvb_get_guint8(tvb, offset)&0x0f;
/* Get the length and add 2 */
camel_pdu_size = tvb_get_guint8(tvb, offset+1)+2;
/* Populate the info column with PDU type*/
col_add_str(actx->pinfo->cinfo, COL_INFO, val_to_str(camel_pdu_type, camel_Component_vals, "Unknown Camel (%u)"));
col_append_str(actx->pinfo->cinfo, COL_INFO, " ");
is_ExtensionField =FALSE;
offset = dissect_camel_ROS(TRUE, tvb, offset, actx, tree, hf_index);
return offset;
}
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)
{
proto_item *item;
proto_tree *tree = NULL, *stat_tree = NULL;
struct tcap_private_t * p_private_tcap = (struct tcap_private_t*)data;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
col_set_str(pinfo->cinfo, COL_PROTOCOL, col_protocol);
camel_ver = version;
/* create display subtree for the protocol */
if(parent_tree){
item = proto_tree_add_item(parent_tree, proto_camel, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_camel);
proto_item_append_text(item, "%s", suffix);
}
/* camelsrt reset counter, and initialise global pointer
to store service response time related data */
gp_camelsrt_info=camelsrt_razinfo();
dissect_camel_camelPDU(FALSE, tvb, 0, &asn1_ctx , tree, -1, p_private_tcap);
/* If a Tcap context is associated to this transaction */
if (gp_camelsrt_info->tcap_context ) {
if (gcamel_DisplaySRT && tree) {
stat_tree = proto_tree_add_subtree(tree, tvb, 0, 0, ett_camel_stat, NULL, "Stat");
}
camelsrt_call_matching(tvb, pinfo, stat_tree, gp_camelsrt_info);
tap_queue_packet(camel_tap, pinfo, gp_camelsrt_info);
}
return tvb_captured_length(tvb);
}
static int
dissect_camel_v1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
{
return dissect_camel_all(1, "Camel-v1", "-V1", tvb, pinfo, parent_tree, data);
}
static int
dissect_camel_v2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
{
return dissect_camel_all(2, "Camel-v2", "-V2", tvb, pinfo, parent_tree, data);
}
static int
dissect_camel_v3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
{
return dissect_camel_all(3, "Camel-v3", "-V3", tvb, pinfo, parent_tree, data);
}
static int
dissect_camel_v4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
{
return dissect_camel_all(4, "Camel-v4", "-V4", tvb, pinfo, parent_tree, data);
}
static int
dissect_camel(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
{
return dissect_camel_all(4, "Camel", "", tvb, pinfo, parent_tree, data);
}
/* TAP STAT INFO */
typedef enum
{
MESSAGE_TYPE_COLUMN = 0,
COUNT_COLUMN
} camel_stat_columns;
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"}};
static void camel_stat_init(stat_tap_table_ui* new_stat)
{
const char *table_name = "CAMEL Message Counters";
int num_fields = sizeof(camel_stat_fields)/sizeof(stat_tap_table_item);
stat_tap_table *table;
int i;
stat_tap_table_item_type items[sizeof(camel_stat_fields)/sizeof(stat_tap_table_item)];
table = stat_tap_find_table(new_stat, table_name);
if (table) {
if (new_stat->stat_tap_reset_table_cb) {
new_stat->stat_tap_reset_table_cb(table);
}
return;
}
table = stat_tap_init_table(table_name, num_fields, 0, NULL);
stat_tap_add_table(new_stat, table);
memset(items, 0x0, sizeof(items));
items[MESSAGE_TYPE_COLUMN].type = TABLE_ITEM_STRING;
items[COUNT_COLUMN].type = TABLE_ITEM_UINT;
items[COUNT_COLUMN].value.uint_value = 0;
/* Add a row for each value type */
for (i = 0; i < camel_MAX_NUM_OPR_CODES; i++)
{
const char *ocs = try_val_to_str(i, camel_opr_code_strings);
char *col_str;
if (ocs) {
col_str = ws_strdup_printf("Request %s", ocs);
} else {
col_str = ws_strdup_printf("Unknown op code %d", i);
}
items[MESSAGE_TYPE_COLUMN].value.string_value = col_str;
stat_tap_init_table_row(table, i, num_fields, items);
}
}
static tap_packet_status
camel_stat_packet(void *tapdata, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const void *csi_ptr, tap_flags_t flags _U_)
{
stat_data_t* stat_data = (stat_data_t*)tapdata;
const struct camelsrt_info_t *csi = (const struct camelsrt_info_t *) csi_ptr;
stat_tap_table* table;
stat_tap_table_item_type* msg_data;
table = g_array_index(stat_data->stat_tap_data->tables, stat_tap_table*, 0);
if (csi->opcode >= table->num_elements)
return TAP_PACKET_DONT_REDRAW;
msg_data = stat_tap_get_field_data(table, csi->opcode, COUNT_COLUMN);
msg_data->value.uint_value++;
stat_tap_set_field_data(table, csi->opcode, COUNT_COLUMN, msg_data);
return TAP_PACKET_REDRAW;
}
static void
camel_stat_reset(stat_tap_table* table)
{
guint element;
stat_tap_table_item_type* item_data;
for (element = 0; element < table->num_elements; element++)
{
item_data = stat_tap_get_field_data(table, element, COUNT_COLUMN);
item_data->value.uint_value = 0;
stat_tap_set_field_data(table, element, COUNT_COLUMN, item_data);
}
}
static void
camel_stat_free_table_item(stat_tap_table* table _U_, guint row _U_, guint column, stat_tap_table_item_type* field_data)
{
if (column != MESSAGE_TYPE_COLUMN) return;
g_free((char*)field_data->value.string_value);
}
/*--- proto_reg_handoff_camel ---------------------------------------*/
static void range_delete_callback(guint32 ssn, gpointer ptr _U_)
{
if (ssn) {
delete_itu_tcap_subdissector(ssn, camel_handle);
}
}
static void range_add_callback(guint32 ssn, gpointer ptr _U_)
{
if (ssn) {
add_itu_tcap_subdissector(ssn, camel_handle);
}
}
void proto_reg_handoff_camel(void) {
static gboolean camel_prefs_initialized = FALSE;
static range_t *ssn_range;
if (!camel_prefs_initialized) {
camel_prefs_initialized = TRUE;
register_ber_oid_dissector_handle("0.4.0.0.1.0.50.0",camel_v1_handle, proto_camel, "CAP-v1-gsmSSF-to-gsmSCF-AC" );
register_ber_oid_dissector_handle("0.4.0.0.1.0.50.1",camel_v2_handle, proto_camel, "CAP-v2-gsmSSF-to-gsmSCF-AC" );
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" );
register_ber_oid_dissector_handle("0.4.0.0.1.0.52.1",camel_v2_handle, proto_camel, "CAP-v2-gsmSRF-to-gsmSCF-AC" );
/* CAMEL Phase 3 Application Context Names */
register_ber_oid_dissector_handle("0.4.0.0.1.21.3.4", camel_v3_handle, proto_camel, "capssf-scfGenericAC");
register_ber_oid_dissector_handle("0.4.0.0.1.21.3.6", camel_v3_handle, proto_camel, "capssf-scfAssistHandoffAC");
register_ber_oid_dissector_handle("0.4.0.0.1.20.3.14", camel_v3_handle, proto_camel, "gsmSRF-gsmSCF-ac");
register_ber_oid_dissector_handle("0.4.0.0.1.21.3.50", camel_v3_handle, proto_camel, "cap3-gprssf-scfAC");
register_ber_oid_dissector_handle("0.4.0.0.1.21.3.51", camel_v3_handle, proto_camel, "cap3-gsmscf-gprsssfAC");
register_ber_oid_dissector_handle("0.4.0.0.1.21.3.61", camel_v3_handle, proto_camel, "cap3-sms-AC");
/* CAMEL Phase 4 Application Context Names */
register_ber_oid_dissector_handle("0.4.0.0.1.23.3.4", camel_v4_handle, proto_camel, "capssf-scfGenericAC");
register_ber_oid_dissector_handle("0.4.0.0.1.23.3.6", camel_v4_handle, proto_camel, "capssf-scfAssistHandoffAC");
register_ber_oid_dissector_handle("0.4.0.0.1.23.3.8", camel_v4_handle, proto_camel, "capscf-ssfGenericAC");
register_ber_oid_dissector_handle("0.4.0.0.1.22.3.14", camel_v4_handle, proto_camel, "gsmSRF-gsmSCF-ac");
register_ber_oid_dissector_handle("0.4.0.0.1.23.3.61", camel_v4_handle, proto_camel, "cap4-sms-AC");
#include "packet-camel-dis-tab.c"
} else {
range_foreach(ssn_range, range_delete_callback, NULL);
wmem_free(wmem_epan_scope(), ssn_range);
}
ssn_range = range_copy(wmem_epan_scope(), global_ssn_range);
range_foreach(ssn_range, range_add_callback, NULL);
}
void proto_register_camel(void) {
module_t *camel_module;
/* List of fields */
static hf_register_info hf[] = {
{ &hf_camel_extension_code_local,
{ "local", "camel.extension_code_local",
FT_INT32, BASE_DEC, NULL, 0,
"Extension local code", HFILL }},
{ &hf_camel_error_code_local,
{ "local", "camel.error_code_local",
FT_INT32, BASE_DEC, VALS(camel_err_code_string_vals), 0,
"ERROR code", HFILL }},
{ &hf_camel_cause_indicator, /* Currently not enabled */
{ "Cause indicator", "camel.cause_indicator",
FT_UINT8, BASE_DEC|BASE_EXT_STRING, &q850_cause_code_vals_ext, 0x7f,
NULL, HFILL }},
{ &hf_digit,
{ "Digit Value", "camel.digit_value",
FT_UINT8, BASE_DEC, VALS(digit_value), 0, NULL, HFILL }},
{ &hf_camel_PDPTypeNumber_etsi,
{ "ETSI defined PDP Type Value", "camel.PDPTypeNumber_etsi",
FT_UINT8, BASE_HEX, VALS(gsm_map_etsi_defined_pdp_vals), 0,
NULL, HFILL }},
{ &hf_camel_PDPTypeNumber_ietf,
{ "IETF defined PDP Type Value", "camel.PDPTypeNumber_ietf",
FT_UINT8, BASE_HEX, VALS(gsm_map_ietf_defined_pdp_vals), 0,
NULL, HFILL }},
{ &hf_camel_PDPAddress_IPv4,
{ "PDPAddress IPv4", "camel.PDPAddress_IPv4",
FT_IPv4, BASE_NONE, NULL, 0,
"IPAddress IPv4", HFILL }},
{ &hf_camel_PDPAddress_IPv6,
{ "PDPAddress IPv6", "camel.PDPAddress_IPv6",
FT_IPv6, BASE_NONE, NULL, 0,
"IPAddress IPv6", HFILL }},
{ &hf_camel_cellGlobalIdOrServiceAreaIdFixedLength,
{ "CellGlobalIdOrServiceAreaIdFixedLength", "camel.CellGlobalIdOrServiceAreaIdFixedLength",
FT_BYTES, BASE_NONE, NULL, 0,
"LocationInformationGPRS/CellGlobalIdOrServiceAreaIdOrLAI", HFILL }},
{ &hf_camel_RP_Cause,
{ "RP Cause", "camel.RP_Cause",
FT_UINT8, BASE_DEC, VALS(camel_RP_Cause_values), 0x7F,
"RP Cause Value", HFILL }},
{ &hf_camel_CAMEL_AChBillingChargingCharacteristics,
{ "CAMEL-AChBillingChargingCharacteristics", "camel.CAMEL_AChBillingChargingCharacteristics",
FT_UINT32, BASE_DEC, VALS(camel_CAMEL_AChBillingChargingCharacteristics_vals), 0,
NULL, HFILL }},
{ &hf_camel_CAMEL_FCIBillingChargingCharacteristics,
{ "CAMEL-FCIBillingChargingCharacteristics", "camel.CAMEL_FCIBillingChargingCharacteristics",
FT_UINT32, BASE_DEC, VALS(camel_CAMEL_FCIBillingChargingCharacteristics_vals), 0,
NULL, HFILL }},
{ &hf_camel_CAMEL_FCIGPRSBillingChargingCharacteristics,
{ "CAMEL-FCIGPRSBillingChargingCharacteristics", "camel.CAMEL_FCIGPRSBillingChargingCharacteristics",
FT_UINT32, BASE_DEC, NULL, 0,
NULL, HFILL }},
{ &hf_camel_CAMEL_FCISMSBillingChargingCharacteristics,
{ "CAMEL-FCISMSBillingChargingCharacteristics", "camel.CAMEL_FCISMSBillingChargingCharacteristics",
FT_UINT32, BASE_DEC, VALS(camel_CAMEL_FCISMSBillingChargingCharacteristics_vals), 0,
NULL, HFILL }},
{ &hf_camel_CAMEL_SCIBillingChargingCharacteristics,
{ "CAMEL-SCIBillingChargingCharacteristics", "camel.CAMEL_SCIBillingChargingCharacteristics",
FT_UINT32, BASE_DEC, VALS(camel_CAMEL_SCIBillingChargingCharacteristics_vals), 0,
NULL, HFILL }},
{ &hf_camel_CAMEL_SCIGPRSBillingChargingCharacteristics,
{ "CAMEL-SCIGPRSBillingChargingCharacteristics", "camel.CAMEL_SCIGPRSBillingChargingCharacteristics",
FT_UINT32, BASE_DEC, NULL, 0,
"CAMEL-FSCIGPRSBillingChargingCharacteristics", HFILL }},
{ &hf_camel_CAMEL_CallResult,
{ "CAMEL-CAMEL_CallResult", "camel.CAMEL_CallResult",
FT_UINT32, BASE_DEC, VALS(camel_CAMEL_CallResult_vals), 0,
"CAMEL-CallResult", HFILL }},
/* Camel Service Response Time */
{ &hf_camelsrt_SessionId,
{ "Session Id",
"camel.srt.session_id",
FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
{ &hf_camelsrt_RequestNumber,
{ "Request Number",
"camel.srt.request_number",
FT_UINT64, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
{ &hf_camelsrt_Duplicate,
{ "Request Duplicate",
"camel.srt.duplicate",
FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
{ &hf_camelsrt_RequestFrame,
{ "Requested Frame",
"camel.srt.reqframe",
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"SRT Request Frame", HFILL }
},
{ &hf_camelsrt_ResponseFrame,
{ "Response Frame",
"camel.srt.rspframe",
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"SRT Response Frame", HFILL }
},
{ &hf_camelsrt_DeltaTime,
{ "Service Response Time",
"camel.srt.deltatime",
FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
"DeltaTime between Request and Response", HFILL }
},
{ &hf_camelsrt_SessionTime,
{ "Session duration",
"camel.srt.sessiontime",
FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
"Duration of the TCAP session", HFILL }
},
{ &hf_camelsrt_DeltaTime31,
{ "Service Response Time",
"camel.srt.deltatime31",
FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
"DeltaTime between InitialDP and Continue", HFILL }
},
{ &hf_camelsrt_DeltaTime65,
{ "Service Response Time",
"camel.srt.deltatime65",
FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
"DeltaTime between InitialDPSMS and ContinueSMS", HFILL }
},
{ &hf_camelsrt_DeltaTime75,
{ "Service Response Time",
"camel.srt.deltatime75",
FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
"DeltaTime between InitialDPGPRS and ContinueGPRS", HFILL }
},
{ &hf_camelsrt_DeltaTime35,
{ "Service Response Time",
"camel.srt.deltatime35",
FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
"DeltaTime between ApplyChargingReport and ApplyCharging", HFILL }
},
{ &hf_camelsrt_DeltaTime22,
{ "Service Response Time",
"camel.srt.deltatime22",
FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
"DeltaTime between EventReport(Disconnect) and Release Call", HFILL }
},
{ &hf_camelsrt_DeltaTime80,
{ "Service Response Time",
"camel.srt.deltatime80",
FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
"DeltaTime between EventReportGPRS and ContinueGPRS", HFILL }
},
{ &hf_camel_timeandtimezone_bcd,
{ "Time and timezone",
"camel.timeandtimezone_bcd",
FT_STRING, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},
#ifdef REMOVED
#endif
#include "packet-camel-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_camel,
&ett_camelisup_parameter,
&ett_camel_AccessPointName,
&ett_camel_pdptypenumber,
&ett_camel_cause,
&ett_camel_RPcause,
&ett_camel_stat,
&ett_camel_calledpartybcdnumber,
&ett_camel_callingpartynumber,
&ett_camel_originalcalledpartyid,
&ett_camel_redirectingpartyid,
&ett_camel_locationnumber,
&ett_camel_additionalcallingpartynumber,
&ett_camel_calledAddressValue,
&ett_camel_callingAddressValue,
&ett_camel_assistingSSPIPRoutingAddress,
&ett_camel_correlationID,
&ett_camel_dTMFDigitsCompleted,
&ett_camel_dTMFDigitsTimeOut,
&ett_camel_number,
&ett_camel_digitsResponse,
&ett_camel_timeandtimezone,
#include "packet-camel-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_camel_unknown_invokeData, { "camel.unknown.invokeData", PI_MALFORMED, PI_WARN, "Unknown invokeData", EXPFILL }},
{ &ei_camel_unknown_returnResultData, { "camel.unknown.returnResultData", PI_MALFORMED, PI_WARN, "Unknown returnResultData", EXPFILL }},
{ &ei_camel_unknown_returnErrorData, { "camel.unknown.returnErrorData", PI_MALFORMED, PI_WARN, "Unknown returnResultData", EXPFILL }},
{ &ei_camel_par_wrong_length, { "camel.par_wrong_length", PI_PROTOCOL, PI_ERROR, "Wrong length of parameter", EXPFILL }},
};
expert_module_t* expert_camel;
static tap_param camel_stat_params[] = {
{ PARAM_FILTER, "filter", "Filter", NULL, TRUE }
};
static stat_tap_table_ui camel_stat_table = {
REGISTER_STAT_GROUP_TELEPHONY_GSM,
"CAMEL Messages and Response Status",
PSNAME,
"camel,counter",
camel_stat_init,
camel_stat_packet,
camel_stat_reset,
camel_stat_free_table_item,
NULL,
sizeof(camel_stat_fields)/sizeof(stat_tap_table_item), camel_stat_fields,
sizeof(camel_stat_params)/sizeof(tap_param), camel_stat_params,
NULL,
0
};
/* Register protocol */
proto_camel = proto_register_protocol(PNAME, PSNAME, PFNAME);
camel_handle = register_dissector("camel", dissect_camel, proto_camel);
camel_v1_handle = register_dissector("camel-v1", dissect_camel_v1, proto_camel);
camel_v2_handle = register_dissector("camel-v2", dissect_camel_v2, proto_camel);
camel_v3_handle = register_dissector("camel-v3", dissect_camel_v3, proto_camel);
camel_v4_handle = register_dissector("camel-v4", dissect_camel_v4, proto_camel);
proto_register_field_array(proto_camel, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_camel = expert_register_protocol(proto_camel);
expert_register_field_array(expert_camel, ei, array_length(ei));
rose_ctx_init(&camel_rose_ctx);
/* Register dissector tables */
camel_rose_ctx.arg_local_dissector_table = register_dissector_table("camel.ros.local.arg",
"CAMEL Operation Argument (local opcode)", proto_camel,
FT_UINT32, BASE_HEX);
camel_rose_ctx.res_local_dissector_table = register_dissector_table("camel.ros.local.res",
"CAMEL Operation Result (local opcode)", proto_camel,
FT_UINT32, BASE_HEX);
camel_rose_ctx.err_local_dissector_table = register_dissector_table("camel.ros.local.err",
"CAMEL Error (local opcode)", proto_camel,
FT_UINT32, BASE_HEX);
/* Register our configuration options, particularly our SSNs */
/* Set default SSNs */
range_convert_str(wmem_epan_scope(), &global_ssn_range, "146", MAX_SSN);
camel_module = prefs_register_protocol(proto_camel, proto_reg_handoff_camel);
prefs_register_enum_preference(camel_module, "date.format", "Date Format",
"The date format: (DD/MM) or (MM/DD)",
&date_format, date_options, FALSE);
prefs_register_range_preference(camel_module, "tcap.ssn",
"TCAP SSNs",
"TCAP Subsystem numbers used for Camel",
&global_ssn_range, MAX_SSN);
prefs_register_obsolete_preference(camel_module, "srt");
prefs_register_bool_preference(camel_module, "persistentsrt",
"Persistent stats for SRT",
"Statistics for Response Time",
&gcamel_PersistentSRT);
/* Routine for statistic */
register_init_routine(&camelsrt_init_routine);
/* create new hash-table for SRT */
srt_calls = wmem_map_new_autoreset(wmem_epan_scope(), wmem_file_scope(), camelsrt_call_hash, camelsrt_call_equal);
camel_tap=register_tap(PSNAME);
register_srt_table(proto_camel, PSNAME, 1, camelstat_packet, camelstat_init, NULL);
register_stat_tap_table_ui(&camel_stat_table);
}
/*
* Editor modelines
*
* Local Variables:
* c-basic-offset: 2
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* ex: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true:
*/ |
C/C++ | wireshark/epan/dissectors/asn1/camel/packet-camel-template.h | /* packet-camel-template.h
* Routines for Camel
* Copyright 2004, Tim Endean <[email protected]>
* Copyright 2005, Olivier Jacques <[email protected]>
* Built from the gsm-map dissector Copyright 2004, Anders Broman <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
* References: ETSI 300 374
*/
/*
* Indentation logic: this file is indented with 2 spaces indentation.
* there are no tabs.
*/
#ifndef PACKET_CAMEL_H
#define PACKET_CAMEL_H
#include "ws_symbol_export.h"
void proto_reg_handoff_camel(void);
void proto_register_camel(void);
/* Defines for the camel taps */
#define camel_MAX_NUM_OPR_CODES 256
WS_DLL_PUBLIC const value_string camel_opr_code_strings[];
/* #include "packet-camel-exp.h"*/
/** @file
*/
#define NB_CAMELSRT_CATEGORY 9+1 /**< Number of type of message */
/* for example TC_BEGIN with InitalDP, and TC_CONT with RequestReportBCSMEvent
is a category, we want to measure the delay between the two messages */
#define CAMELSRT_SESSION 1
#define CAMELSRT_VOICE_INITIALDP 2
#define CAMELSRT_VOICE_ACR1 3
#define CAMELSRT_VOICE_ACR2 4
#define CAMELSRT_VOICE_ACR3 5
#define CAMELSRT_VOICE_DISC 6
#define CAMELSRT_GPRS_INITIALDP 7
#define CAMELSRT_GPRS_REPORT 8
#define CAMELSRT_SMS_INITIALDP 9
WS_DLL_PUBLIC const value_string camelSRTtype_naming[];
/** If we have a request message and its response,
(eg: ApplyCharging, ApplyChargingReport)
the frames numbers are stored in this structure */
struct camelsrt_category_t {
guint32 req_num; /**< frame number request seen */
guint32 rsp_num; /**< frame number response seen */
nstime_t req_time; /**< arrival time of request */
gboolean responded; /**< true, if request has been responded */
};
/** List of stored parameters for a Camel dialogue
All this parameters are linked to the hash table key below (use of Tid)
In case of same Tid reused, the Camel parameters are chained.
The right dialogue will be identified with the arrival time of the InitialDP */
struct camelsrt_call_t {
guint32 session_id; /**< Identify the session, with an internal number */
struct tcaphash_context_t * tcap_context;
struct camelsrt_category_t category[NB_CAMELSRT_CATEGORY];
};
/** The Key for the hash table is the TCAP origine transaction identifier
of the TC_BEGIN containing the InitialDP */
struct camelsrt_call_info_key_t {
guint32 SessionIdKey;
};
/** Info for a couple of messages (or category)
The request must be available, not duplicated,
and once the corresponding response received,
we can deduce the Delta Time between Request/response */
struct camelsrt_msginfo_t {
gboolean request_available;
gboolean is_duplicate;
gboolean is_delta_time;
nstime_t req_time;
nstime_t delta_time;
};
/** List of infos to store for the analyse */
struct camelsrt_info_t {
guint32 tcap_session_id;
void * tcap_context;
guint8 opcode; /**< operation code of message received */
guint8 bool_msginfo[NB_CAMELSRT_CATEGORY]; /**< category for the received message */
struct camelsrt_msginfo_t msginfo[NB_CAMELSRT_CATEGORY];
};
/**
* Initialize the Message Info used by the main dissector
* Data are linked to a TCAP transaction
*/
struct camelsrt_info_t * camelsrt_razinfo(void);
/**
* Service Response Time analyze, called just after the camel dissector
* According to the camel operation, we
* - open/close a context for the camel session
* - look for a request, or look for the corresponding response
*/
void camelsrt_call_matching(tvbuff_t *tvb,
packet_info * pinfo _U_,
proto_tree *tree,
struct camelsrt_info_t * p_camel_info);
WS_DLL_PUBLIC gboolean gcamel_StatSRT;
#endif /* PACKET_camel_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/camel/TCAPMessages.asn | -- Generated by Asnp, the pretty-printer of France Telecom R&D (http://asn1.elibel.tm.fr/asnp/)
TCAPMessages {itu-t recommendation q 773 modules(2) messages(1) version3(3)}
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- This is a dummy asn1 file to be replacet when everthing is in place...
-- EXPORTS everything
-- Transaction Portion fields.
IMPORTS
ROS{}, InvokeId
FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
remote-operations(4) generic-ROS-PDUs(6) version1(0)}
OPERATION
FROM Remote-Operations-Information-Objects {joint-iso-itu-t
remote-operations(4) informationObjects(5) version1(0)};
TCInvokeIdSet ::= InvokeId(WITH COMPONENTS {
present (-128..127)
})
END -- TCAPMessages |
ASN.1 | wireshark/epan/dissectors/asn1/cbrs-oids/cbrs-oids.asn | --
-- Citizens Broadband Radio Service - Object Identifiers
--
-- ASN.1 interpolated from
-- - WInnForum CBRS COMSEC TS WINNF-15-S-0065-V2.0.0
-- https://www.wirelessinnovation.org/assets/work_products/Specifications/winnf-15-s-0065-v2.0.0%20cbrs%20communications%20security%20technical%20specification.pdf
-- - WInnForum CBRS Certificate Policy Document WINNF-17-S-0022
-- https://www.wirelessinnovation.org/assets/work_products/Specifications/winnf-17-s-0022%20v1.0.0%20cbrs%20pki%20certificate%20policy.pdf
-- on 2018-11-14
TCG DEFINITIONS::=
BEGIN
ZONE ::= UTF8String
FREQUENCY ::= UTF8String
FCCID ::= UTF8String
SERIAL ::= UTF8String
FRN ::= UTF8String
CPIRID ::= UTF8String
TEST ::= UTF8String
END |
Configuration | wireshark/epan/dissectors/asn1/cbrs-oids/cbrs-oids.cnf | # cbrs-oids.cnf
# Citizens Broadband Radio Service - Object Identifiers confirmation file
#.REGISTER
ZONE B "1.3.6.1.4.1.46609.1.2" "CBRS_PAL_ZONE"
FREQUENCY B "1.3.6.1.4.1.46609.1.3" "CBRS_PAL_FREQUENCY"
FCCID B "1.3.6.1.4.1.46609.1.4" "CBRS_CBSD_FCCID"
SERIAL B "1.3.6.1.4.1.46609.1.5" "CBRS_CBSD_SERIAL"
FRN B "1.3.6.1.4.1.46609.1.6" "CBRS_SAS/OPERATOR_administrator_FRN"
CPIRID B "1.3.6.1.4.1.46609.1.7" "CBRS_installer_CPIR-ID"
TEST B "1.3.6.1.4.1.46609.1.8" "CBRS_TEST" |
Text | wireshark/epan/dissectors/asn1/cbrs-oids/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME cbrs-oids )
set( PROTO_OPT )
set( EXPORT_FILES
${PROTOCOL_NAME}-exp.cnf
)
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
cbrs-oids.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/cbrs-oids/packet-cbrs-oids-template.c | /* packet-cbrs-oids.c
*
* Citizens Broadband Radio Service - Object Identifiers
*
* Extracted from
* - WInnForum CBRS COMSEC TS WINNF-15-S-0065-V2.0.0
* https://www.wirelessinnovation.org/assets/work_products/Specifications/winnf-15-s-0065-v2.0.0%20cbrs%20communications%20security%20technical%20specification.pdf
* - WInnForum CBRS Certificate Policy Document WINNF-17-S-0022
* https://www.wirelessinnovation.org/assets/work_products/Specifications/winnf-17-s-0022%20v1.0.0%20cbrs%20pki%20certificate%20policy.pdf
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/oids.h>
#include <epan/asn1.h>
#include "packet-ber.h"
#define PNAME "Citizen Broadband Radio Service - Object Identifiers"
#define PSNAME "CBRS_OIDS"
#define PFNAME "cbrs_oids"
void proto_register_cbrs_oids(void);
void proto_reg_handoff_cbrs_oids(void);
/* Initialize the protocol and registered fields */
static int proto_cbrs_oids = -1;
#include "packet-cbrs-oids-hf.c"
static int hf_cbrs_oids_UTF8String_PDU = -1;
/* Initialize the subtree pointers */
#include "packet-cbrs-oids-fn.c"
/*--- proto_register_cbrs_oids ----------------------------------------------*/
void proto_register_cbrs_oids(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_cbrs_oids_UTF8String_PDU,
{ "UTF8String", "cbrs-oids.UTF8String",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
#include "packet-cbrs-oids-hfarr.c"
};
/* Register protocol */
proto_cbrs_oids = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_cbrs_oids, hf, array_length(hf));
/* proto_register_subtree_array(ett, array_length(ett)); */
}
/*--- proto_reg_handoff_cbrs_oids -------------------------------------------*/
void proto_reg_handoff_cbrs_oids(void) {
#include "packet-cbrs-oids-dis-tab.c"
oid_add_from_string("CBRS Policy Documents","1.3.6.1.4.1.46609.2");
oid_add_from_string("CBRS Certificates issued pursuant to CPS","1.3.6.1.4.1.46609.2.1");
oid_add_from_string("CBRS ROLE","1.3.6.1.4.1.46609.1.1");
oid_add_from_string("CBRS SAS","1.3.6.1.4.1.46609.1.1.1");
oid_add_from_string("CBRS INSTALLER","1.3.6.1.4.1.46609.1.1.2");
oid_add_from_string("CBRS CBSD","1.3.6.1.4.1.46609.1.1.3");
oid_add_from_string("CBRS OPERATOR (Domain Proxy Operator)","1.3.6.1.4.1.46609.1.1.4");
oid_add_from_string("CBRS CA","1.3.6.1.4.1.46609.1.1.5");
oid_add_from_string("CBRS PAL","1.3.6.1.4.1.46609.1.1.6");
oid_add_from_string("CBRS ESC","1.3.6.1.4.1.46609.1.1.7");
} |
ASN.1 | wireshark/epan/dissectors/asn1/cdt/cdt.asn | CompressedDataType
{ iso(1) identified-organization(3) nato(26) stanags(0)
mmhs(4406) object-identifiers(0) id-mcont(4) 2 }
DEFINITIONS ::=
BEGIN
CompressedData ::= SEQUENCE {
compressionAlgorithm CompressionAlgorithmIdentifier,
compressedContentInfo CompressedContentInfo }
CompressionAlgorithmIdentifier ::= CHOICE {
algorithmID-ShortForm [0] IMPLICIT AlgorithmID-ShortForm,
algorithmID-OID [1] IMPLICIT OBJECT IDENTIFIER }
AlgorithmID-ShortForm ::= INTEGER {
zlibCompress (0) }
CompressedContentInfo ::= SEQUENCE {
contentType CHOICE {
contentType-ShortForm [0] IMPLICIT ContentType-ShortForm,
contentType-OID [1] IMPLICIT OBJECT IDENTIFIER
},
compressedContent [0] EXPLICIT CompressedContent }
CompressedContent ::= OCTET STRING
ContentType-ShortForm ::= INTEGER {
unidentified (0),
external (1), -- identified by the object-identifier
-- of the EXTERNAL content
p1 (2),
p3 (3),
p7 (4) }
END |
Configuration | wireshark/epan/dissectors/asn1/cdt/cdt.cnf | # cdt.cnf
# Compressed Data Type conformation file
#.EXPORTS
CompressedData
#.REGISTER
CompressedData B "1.3.26.0.4406.0.4.2" "cdt"
#.FN_BODY CompressedData
content_type = 0;
%(DEFAULT_BODY)s
#.FN_PARS AlgorithmID-ShortForm
VAL_PTR = &value
#.FN_BODY AlgorithmID-ShortForm
guint32 value;
%(DEFAULT_BODY)s
proto_item_append_text (cdt_item, ", %%s",
val_to_str (value, cdt_AlgorithmID_ShortForm_vals,
"unknown"));
col_append_fstr (actx->pinfo->cinfo, COL_INFO, "%%s ",
val_to_str (value, cdt_AlgorithmID_ShortForm_vals,
"unknown"));
#.FN_PARS ContentType-ShortForm
VAL_PTR = &content_type
#.FN_BODY ContentType-ShortForm
%(DEFAULT_BODY)s
proto_item_append_text (cdt_item, ", %%s",
val_to_str (content_type, cdt_ContentType_ShortForm_vals,
"unknown"));
col_append_fstr (actx->pinfo->cinfo, COL_INFO, "%%s ",
val_to_str (content_type, cdt_ContentType_ShortForm_vals,
"unknown"));
#.FN_PARS CompressedContentInfo/contentType/contentType-OID
FN_VARIANT = _str VAL_PTR = &obj_id
#.FN_BODY CompressedContentInfo/contentType/contentType-OID
const char *obj_id = NULL;
%(DEFAULT_BODY)s
if (obj_id) {
const char *name = oid_resolved_from_string (actx->pinfo->pool, obj_id);
if (!name) {
name = obj_id;
}
proto_item_append_text (cdt_item, ", %%s", name);
col_append_fstr (actx->pinfo->cinfo, COL_INFO, "%%s ", name);
}
#.FN_PARS CompressedContent
VAL_PTR = &compr_tvb
#.FN_BODY CompressedContent
tvbuff_t *next_tvb = NULL, *compr_tvb = NULL;
int save_offset = offset;
%(DEFAULT_BODY)s
if (compr_tvb == NULL) {
proto_tree_add_expert(top_tree, actx->pinfo, &ei_cdt_unable_compress_content,
tvb, save_offset, -1);
col_append_str (actx->pinfo->cinfo, COL_INFO,
"[Error: Unable to get compressed content]");
return offset;
}
next_tvb = tvb_child_uncompress (tvb, compr_tvb, 0, tvb_reported_length (compr_tvb));
if (next_tvb == NULL) {
proto_tree_add_expert(top_tree, actx->pinfo, &ei_cdt_unable_uncompress_content,
tvb, save_offset, -1);
col_append_str (actx->pinfo->cinfo, COL_INFO,
"[Error: Unable to uncompress content]");
return offset;
}
add_new_data_source (actx->pinfo, next_tvb, "Uncompressed Content");
switch (content_type) {
case CDT_UNDEFINED:
call_data_dissector(next_tvb, actx->pinfo, top_tree);
break;
case CDT_EXTERNAL:
dissect_unknown_ber (actx->pinfo, next_tvb, 0, top_tree);
break;
case CDT_P1:
dissect_p1_mts_apdu (next_tvb, actx->pinfo, top_tree, NULL);
break;
default:
call_data_dissector(next_tvb, actx->pinfo, top_tree);
break;
}
#.END |
Text | wireshark/epan/dissectors/asn1/cdt/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME cdt )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/cdt/packet-cdt-template.c | /* packet-cdt.c
*
* Routines for Compressed Data Type packet dissection.
*
* Copyright 2005, Stig Bjorlykke <[email protected]>, Thales Norway AS
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* Ref: STANAG 4406 Annex E
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/oids.h>
#include <epan/expert.h>
#include <epan/asn1.h>
#include "packet-ber.h"
#include "packet-p1.h"
#include "packet-cdt.h"
#define CDT_UNDEFINED 0
#define CDT_EXTERNAL 1
#define CDT_P1 2
#define CDT_P3 3
#define CDT_P7 4
#define PNAME "Compressed Data Type"
#define PSNAME "CDT"
#define PFNAME "cdt"
void proto_register_cdt(void);
void proto_reg_handoff_cdt(void);
static proto_tree *top_tree = NULL;
static proto_item *cdt_item = NULL;
static guint32 content_type = 0;
/* Initialize the protocol and registered fields */
static int proto_cdt = -1;
#include "packet-cdt-hf.c"
/* Initialize the subtree pointers */
#include "packet-cdt-ett.c"
static expert_field ei_cdt_unable_compress_content = EI_INIT;
static expert_field ei_cdt_unable_uncompress_content = EI_INIT;
#include "packet-cdt-fn.c"
/*--- proto_register_cdt -------------------------------------------*/
/*
** Dissect Compressed Data Type
*/
void dissect_cdt (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
{
proto_tree *tree = NULL;
/* save parent_tree so subdissectors can create new top nodes */
top_tree = parent_tree;
if (parent_tree) {
cdt_item = proto_tree_add_item (parent_tree, proto_cdt, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree (cdt_item, ett_cdt_CompressedData);
} else {
cdt_item = NULL;
}
col_set_str (pinfo->cinfo, COL_PROTOCOL, "CDT");
col_clear (pinfo->cinfo, COL_INFO);
dissect_CompressedData_PDU (tvb, pinfo, tree, NULL);
}
void proto_register_cdt (void) {
/* List of fields */
static hf_register_info hf[] = {
#include "packet-cdt-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
#include "packet-cdt-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_cdt_unable_compress_content, { "cdt.unable_compress_content", PI_UNDECODED, PI_ERROR, "Unable to get compressed content", EXPFILL }},
{ &ei_cdt_unable_uncompress_content, { "cdt.unable_uncompress_content", PI_UNDECODED, PI_ERROR, "Unable to get uncompressed content", EXPFILL }},
};
expert_module_t* expert_cdt;
/* Register protocol */
proto_cdt = proto_register_protocol (PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array (proto_cdt, hf, array_length(hf));
proto_register_subtree_array (ett, array_length(ett));
expert_cdt = expert_register_protocol(proto_cdt);
expert_register_field_array(expert_cdt, ei, array_length(ei));
}
/*--- proto_reg_handoff_cdt ---------------------------------------*/
void proto_reg_handoff_cdt (void) {
#include "packet-cdt-dis-tab.c"
} |
C/C++ | wireshark/epan/dissectors/asn1/cdt/packet-cdt-template.h | /* packet-cdt.h
*
* Routines for Compressed Data Type packet dissection.
*
* Copyright 2005, Stig Bjorlykke <[email protected]>, Thales Norway AS
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_CDT_H
#define PACKET_CDT_H
void dissect_cdt (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree);
#include "packet-cdt-exp.h"
#endif /* PACKET_CDT_H */ |
Configuration | wireshark/epan/dissectors/asn1/charging_ase/charging_ase.cnf | # charging ase.cnf
# charging ase conformation file
# Anders Broman 2009
#.EXPORTS
ChargingMessageType
ChargingMessageType_PDU
#.PDU
ChargingMessageType
#.FN_BODY ExtensionField/value
proto_tree_add_expert(tree, actx->pinfo, &ei_charging_ase_extensions_not_dissected, tvb, offset, -1);
return tvb_reported_length(tvb);
#.END |
Text | wireshark/epan/dissectors/asn1/charging_ase/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME charging_ase )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
Tariffing-Data-Types.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/charging_ase/packet-charging_ase-template.c | /* packet-charging_ase-template.c
* Copyright 2009 , Anders Broman <anders.broman [AT] ericsson.com>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
* References: ETSI ES 201 296 V1.3.1 (2003-04)
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/expert.h>
#include <epan/asn1.h>
#include "packet-ber.h"
#include "packet-charging_ase.h"
#define PNAME "Charging ASE"
#define PSNAME "ChargingASE"
#define PFNAME "chargingase"
void proto_register_charging_ase(void);
void proto_reg_handoff_charging_ase(void);
/* Define the Charging ASE proto */
static int proto_charging_ase = -1;
#include "packet-charging_ase-hf.c"
static int ett_charging_ase = -1;
#include "packet-charging_ase-ett.c"
static expert_field ei_charging_ase_extensions_not_dissected = EI_INIT;
static dissector_handle_t charging_ase_handle;
#include "packet-charging_ase-fn.c"
static int
dissect_charging_ase(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
proto_item *it;
proto_tree *tr;
it=proto_tree_add_protocol_format(tree, proto_charging_ase, tvb, 0, -1, "Charging ASE");
tr=proto_item_add_subtree(it, ett_charging_ase);
if(tvb_reported_length(tvb)>0)
{
dissect_charging_ase_ChargingMessageType_PDU(tvb , pinfo, tr, NULL);
}
return tvb_captured_length(tvb);
}
/* Register all the bits needed with the filtering engine */
void
proto_register_charging_ase(void)
{
/* List of fields */
static hf_register_info hf[] = {
#include "packet-charging_ase-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_charging_ase,
#include "packet-charging_ase-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_charging_ase_extensions_not_dissected, { "charging_ase.extensions_not_dissected", PI_UNDECODED, PI_WARN, "Extensions not dissected", EXPFILL }},
};
expert_module_t* expert_charging_ase;
proto_charging_ase = proto_register_protocol(PNAME, PSNAME, PFNAME);
proto_register_field_array(proto_charging_ase, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_charging_ase = expert_register_protocol(proto_charging_ase);
expert_register_field_array(expert_charging_ase, ei, array_length(ei));
charging_ase_handle = register_dissector("charging_ase", dissect_charging_ase, proto_charging_ase);
}
/* The registration hand-off routine */
void
proto_reg_handoff_charging_ase(void)
{
} |
C/C++ | wireshark/epan/dissectors/asn1/charging_ase/packet-charging_ase-template.h | /* packet-charging_ase-template.h
* Copyright 2009, Anders Broman <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_CHARGING_ASE_H
#define PACKET_CHARGING_ASE_H
#include "packet-charging_ase-exp.h"
#endif /* PACKET_CHARGING_ASE_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/charging_ase/Tariffing-Data-Types.asn | -- ETSI ES 201 296 V1.3.1 (2003-04)
Tariffing-Data-Types {itu-t(0) identified-organization(4) etsi (0) 1296 version3(4)}
DEFINITIONS IMPLICIT TAGS ::= BEGIN
-- This module contains the common data type definitions for the charging information used in the
-- new ISUP APM application "Charging ASE" and in the INAP charging operations.
--
--
EXPORTS
-- Charging Common Data Types
ChargingAcknowledgementInformation ,
AddOnChargingInformation ,
ChargingTariffInformation ,
StartCharging ,
StopCharging ,
ChargingMessageType
;
-- ChargingMessageType Type
ChargingMessageType ::= CHOICE {
crgt [0] ChargingTariffInformation,
aocrg [1] AddOnChargingInformation ,
crga [2] ChargingAcknowledgementInformation ,
start [3] StartCharging ,
stop [4] StopCharging }
-- ChargeUnitTimeInterval Type
ChargeUnitTimeInterval ::= OCTET STRING (SIZE(2))
-- The ChargeUnitTimeInterval is binary coded and has the value range from 0 to 35997. It begins with 200 milliseconds and
-- then in steps of 50 milliseconds.
-- the LSBit is the least significant bit of the first octet
-- the MSBit is the most significant bit of the last octet
-- the coding of the ChargeUnitTimeInterval is the following:
-- 0 : no periodic metering
-- 1 : 200 msec
-- 2 : 250 msec
-- ..
-- 35997 : 30 minutes
-- All other values are spare.
-- ChargingAcknowledgementInformation Type
ChargingAcknowledgementInformation ::= SEQUENCE {
acknowledgementIndicators [0] BIT STRING {
accepted (0) }
(SIZE(minAcknowledgementIndicatorsLen..maxAcknowledgementIndicatorsLen)), extensions [1]
SEQUENCE SIZE(1..numOfExtensions) OF ExtensionField OPTIONAL,
originationIdentification [2] ChargingReferenceIdentification,
destinationIdentification [3] ChargingReferenceIdentification
}
-- Coding of "accepted":
-- 0: not accepted.
-- 1: accepted.
-- The "extensions" is a SEQUENCE for possible extensions.
-- ChargingControlIndicators Type
ChargingControlIndicators ::= BIT STRING {
subscriberCharge (0),
immediateChangeOfActuallyAppliedTariff (1),
delayUntilStart (2) }
(SIZE(minChargingControlIndicatorsLen..maxChargingControlIndicatorsLen))
-- Coding of "subscriberCharge":
-- 0 - advice-of-charge: charging information only to be used by the advice of charge service.
-- 1 - subscriber-charge: charging information to be used by the subscriber charging program.
-- Coding of "immediateChangeOfActuallyAppliedTariff":
-- 0 - immediate tariff change without restart
-- 1 - immediate tariff change with restart
-- It is only used to change the actually applied tariff.
-- Coding of 'delayUntilStart':
-- 0 - start tariffing, if it is not already started, without waiting for the 'start' signal
-- 1 - delay start of tariffing up to the receipt of the 'start' signal
-- AddOnChargingInformation Type
AddOnChargingInformation ::= SEQUENCE {
chargingControlIndicators [0] ChargingControlIndicators ,
addOncharge [1] CHOICE {
addOnChargeCurrency [0] CurrencyFactorScale ,
addOnChargePulse [1] PulseUnits
},
extensions [2] SEQUENCE SIZE(1..numOfExtensions) OF ExtensionField OPTIONAL,
originationIdentification [3] ChargingReferenceIdentification,
destinationIdentification [4] ChargingReferenceIdentification OPTIONAL,
currency [5] Currency
}
-- This message is used to add an amount of charge for the call and does not alter the current tariff.
-- The destinationIdentification is not available in an initial AddOnChargingInformation, in all subsequent ones it is included, see
-- "Handling of Identifiers".
-- In the message the
-- add-on charge has either the pulse or currency format.
-- ChargingTariffInformation Type
ChargingTariffInformation ::= SEQUENCE {
chargingControlIndicators [0] ChargingControlIndicators,
chargingTariff [1] CHOICE {
tariffCurrency [0] TariffCurrency,
tariffPulse [1] TariffPulse
},
extensions [2] SEQUENCE SIZE(1..numOfExtensions) OF ExtensionField OPTIONAL,
originationIdentification [3] ChargingReferenceIdentification,
destinationIdentification [4] ChargingReferenceIdentification OPTIONAL,
currency [5] Currency
}
--This message is used
-- to transfer explicit tariff data to the originating subscriber exchange and the charge registration exchange during call
-- set-up and also in the active phase of a call.
-- The destinationIdentification is not available in an initial ChargingTariffInformation, in all subsequent ones it is included, see
-- "Handling of Identifiers".
Code ::= CHOICE
{
local INTEGER,
global OBJECT IDENTIFIER
}
-- CommunicationChargeCurrency Type
CommunicationChargeCurrency ::= SEQUENCE {
currencyFactorScale [0] CurrencyFactorScale ,
tariffDuration [1] TariffDuration ,
subTariffControl [2] SubTariffControl }
-- CommunicationChargePulse Type
CommunicationChargePulse ::= SEQUENCE {
pulseUnits [0] PulseUnits ,
chargeUnitTimeInterval [1] ChargeUnitTimeInterval ,
tariffDuration [2] TariffDuration }
-- Criticality Type
CriticalityType ::= ENUMERATED {
ignore(0),
abort(1) }
-- Currency Type
Currency ::= ENUMERATED {
noIndication (0),
australianDollar (1),
austrianSchilling (2),
belgianFranc (3),
britishPound (4),
czechKoruna (5),
danishKrone (6),
dutchGuilder (7),
euro (8),
finnishMarkka (9),
frenchFranc (10),
germanMark (11),
greekDrachma (12),
hungarianForint (13),
irishPunt (14),
italianLira (15),
japaneseYen (16),
luxembourgian-Franc (17),
norwegianKrone (18),
polishZloty (19),
portugeseEscudo (20),
russianRouble (21),
slovakKoruna (22),
spanishPeseta (23),
swedishKrone (24),
swissFranc (25),
turkishLira (26),
uSDollar (27),
...}
-- CurrencyFactor Type
CurrencyFactor ::= INTEGER (0..999999)
-- Value 0 indicates "no charge".
-- CurrencyFactorScale Type
CurrencyFactorScale ::= SEQUENCE {
currencyFactor [0] CurrencyFactor DEFAULT noCharge ,
currencyScale [1] CurrencyScale DEFAULT noScale }
-- The charge amount is indicated by the currency factor multiplied with the currency scale.
-- "no charge" indicates CurrencyFactorScale has the value 0.
-- CurrencyScale Type
CurrencyScale ::= INTEGER (-7..3)
-- The actual value for currency scale is given by 10x, where x is the value of the CurrencyScale.
--
-- the coding of CurrencyScale is as follows, all other values are spare:
-- -7 (249): 0,0000001
-- -6 (250): 0,000001
-- -5 (251): 0,00001
-- -4 (252): 0,0001
-- -3 (253): 0,001
-- -2 (254): 0,01
-- -1 (255): 0,1
-- 0 : 1
-- 1 : 10
-- 2 : 100
-- 3 : 1000
-- Definition of the extension class
EXTENSION ::= CLASS {
&ExtensionType,
&criticality CriticalityType DEFAULT ignore,
&id Code
}
WITH SYNTAX {
EXTENSION-SYNTAX &ExtensionType
CRITICALITY &criticality
IDENTIFIED BY &id
}
-- Example of addition of an extension named 'Some Network Specific Indicator' of type
-- BOOLEAN, with criticality 'abort' and to be identified as extension number 1
-- Example of definition using the above information object class:
--
-- SomeNetworkSpecificIndicator EXTENSION ::= {
-- EXTENSION-SYNTAX BOOLEAN
-- CRITICALITY abort
-- IDENTIFIED BY local : 1
-- }
-- Example of transfer syntax, using the ExtensionField datatype as specified in section 4.1.
-- Assuming the value of the extension is set to TRUE, the extensions parameter
-- becomes a Sequence of type INTEGER ::= 1, criticality ENUMERATED ::= 1 and value [1]
-- EXPLICIT BOOLEAN ::= TRUE.
--
-- Use of Q.1400 defined Extension is ffs
-- In addition the extension mechanism marker is used to identify the future minor additions to INAP.
firstExtension EXTENSION ::= {
EXTENSION-SYNTAX NULL
CRITICALITY ignore
IDENTIFIED BY local:1
}
-- firstExtension is just an example.
SupportedExtensions EXTENSION ::= {firstExtension , ...
-- full set of network operator extensions --}
-- SupportedExtension is the full set of the network operator extensions.
-- ExtensionField Type
ExtensionField ::= SEQUENCE {
type EXTENSION.&id ({SupportedExtensions}),
-- shall identify the value of an EXTENSION type
criticality CriticalityType DEFAULT ignore,
value [1] EXTENSION.&ExtensionType
({SupportedExtensions}{@type})
}
-- This parameter indicates an extension of an argument data type. Its contents is network operator specific.
-- PulseUnits Type
PulseUnits ::= OCTET STRING (SIZE(1))
-- the PulseUnits is binary coded and has the value range from 0 to 255
-- StartCharging Type
StartCharging ::= SEQUENCE {
networkOperators [0] SEQUENCE SIZE (1..maxNetworkOperators) OF NetworkIdentification OPTIONAL,
extensions [1] SEQUENCE SIZE(1..numOfExtensions) OF ExtensionField OPTIONAL,
originationIdentification [2] ChargingReferenceIdentification
}
--This message is used
-- to start charge generation/registration for one that belongs to one network operator or
-- to start charge generation/registration for more tariffs that belong to several network
-- operators.
-- The corresponding network operator(s) are listed within sub-parameter 'networkOperators'.
-- The sub-parameter 'networkOperators' is mandatory in configurations of multiple charge
-- determination points.
-- If sub-parameter 'networkOperators' is not present in a configuration with only one charge
-- determination point, the corresponding tariff is started.
-- The 'extensions' is a SEQUENCE for possible extensions.
-- StopCharging Type
StopCharging ::= SEQUENCE {
stopIndicators [0] BIT STRING {
callAttemptChargesApplicable (0) }
(SIZE(minStopIndicatorsLen.. maxStopIndicatorsLen)),
networkOperators [1] SEQUENCE SIZE (1..maxNetworkOperators) OF NetworkIdentification OPTIONAL,
extensions [2] SEQUENCE SIZE(1..numOfExtensions) OF ExtensionField OPTIONAL,
originationIdentification [3] ChargingReferenceIdentification
}
--This message is used to stop charge generation/registration
-- for one that belongs to one network operator or
-- to stop charge generation/registration for more tariffs that belong to several network operators.
-- The corresponding network operator(s) are listed within sub-parameter 'networkOperators'.
-- The sub-parameter 'networkOperators' is mandatory in configurations of multiple charge
-- determination points.
-- If sub-parameter 'networkOperators' is not present in a configuration with only one charge
-- determination point, the corresponding tariff is stopped.
-- Coding of 'callAttemptChargesApplicable':
-- 0 - stop tariffing, call attempt charges are not applicable
-- 1 - stop tariffing, call attempt charges are applicable
-- The 'extensions' is a SEQUENCE for possible extensions.
-- SubTariffControl Type
SubTariffControl ::= BIT STRING {oneTimeCharge (0)}
(SIZE(minSubTariffControlLen..maxSubTariffControlLen))
-- The coding of the oneTimeCharge is as follows:
-- 0 - Periodic charge
-- 1 - One time charge
minSubTariffControlLen INTEGER ::= 1
maxSubTariffControlLen INTEGER ::= 8
-- TariffCurrency Type
TariffCurrency ::= SEQUENCE {
currentTariffCurrency [0] TariffCurrencyFormat OPTIONAL ,
tariffSwitchCurrency [1] TariffSwitchCurrency OPTIONAL
}
-- TariffSwitchCurrency Type
TariffSwitchCurrency ::= SEQUENCE {
nextTariffCurrency [0] TariffCurrencyFormat ,
tariffSwitchoverTime [1] TariffSwitchoverTime
}
-- TariffCurrencyFormat Type
TariffCurrencyFormat ::= SEQUENCE {
communicationChargeSequenceCurrency [0] SEQUENCE
SIZE(minCommunicationTariffNum..maxCommunicationTariffNum)
OF CommunicationChargeCurrency OPTIONAL ,
tariffControlIndicators [1] BIT STRING {
non-cyclicTariff (0) }
(SIZE(minTariffIndicatorsLen..maxTariffIndicatorsLen)) ,
callAttemptChargeCurrency [2] CurrencyFactorScale OPTIONAL ,
callSetupChargeCurrency [3] CurrencyFactorScale OPTIONAL }
-- The communication charge sequence currency is a direct charge in currency per time unit. Only one fixed time unit is used.
-- This time unit has
-- to be agreed between all cooperating networks, e.g. one second. Being fixed, the time unit is not transferred over
-- ISUP/INAP.
-- The call attempt charge is a direct charge, to be charged only for unsuccessful calls.
-- The call set-up charge is a direct charge, to be charged once at start of charging.
--
-- The coding of the non-cyclicTariff is as follows:
-- 0 - Cyclic tariff ( at expiration of the tariff duration of the last communication tariff of the communication charge sequence,
-- the communication charge sequence is re-applied.
-- 1 - Non-cyclic tariff ( at expiration of the tariff duration of the last communication tariff of the communication charge
-- sequence, do not re-apply the communication charge sequence)
-- TariffDuration Type
TariffDuration ::= INTEGER (0..36000)
-- TariffDuration identifies with 0 unlimited duration and else in seconds unit.
-- 0 = unlimited
-- 1 = 1 second
-- 2 = 2 seconds
-- ...
-- 36000 = 10 hours
--
-- The duration indicates for how long time the communication charge component is valid. Expiration of the tariff duration
-- timer leads to the activation of the next communication charge (if present).
-- In the case where there is no next communication charge in the communication charge sequence, the action to be performed
-- is indicated by the tariffControlIndicators.
-- TariffPulse Type
TariffPulse ::= SEQUENCE {
currentTariffPulse [0] TariffPulseFormat OPTIONAL ,
tariffSwitchPulse [1] TariffSwitchPulse OPTIONAL }
-- TariffSwitchPulse Type
TariffSwitchPulse ::= SEQUENCE {
nextTariffPulse [0] TariffPulseFormat ,
tariffSwitchoverTime [1] TariffSwitchoverTime }
-- TariffPulseFormat Type
TariffPulseFormat ::= SEQUENCE {
communicationChargeSequencePulse [0] SEQUENCE
SIZE(minCommunicationTariffNum.. maxCommunicationTariffNum)
OF CommunicationChargePulse OPTIONAL ,
tariffControlIndicators [1] BIT STRING {
non-cyclicTariff (0) }
(SIZE(minTariffIndicatorsLen..maxTariffIndicatorsLen)) ,
callAttemptChargePulse [2] PulseUnits OPTIONAL ,
callSetupChargePulse [3] PulseUnits OPTIONAL }
-- The communication charges are meter-pulse units, which are to be applied per charge unit time interval.
-- The call attempt pulse units are to be charged only for unsuccessful calls.
-- The call set-up pulse units are to be charged once at start of charging.
-- TariffSwitchoverTime Type
TariffSwitchoverTime ::= OCTET STRING (SIZE(1))
-- This time is the absolute time at which the next tariff has to become active. It is represented in steps of 15 minutes.
-- The coding is the following:
-- 0 : spare
-- 1 : 0 hour 15 minutes
-- 2 : 0 hour 30 minutes
-- 3 : 0 hour 45 minutes
-- 4 : 1 hour 0 minutes
-- ..
-- 96 : 24 hours 0 minutes
-- 97-255 : spare
minAcknowledgementIndicatorsLen INTEGER ::= 1
maxAcknowledgementIndicatorsLen INTEGER ::= 8
minChargingControlIndicatorsLen INTEGER ::= 1
maxChargingControlIndicatorsLen INTEGER ::= 8
maxNetworkOperators INTEGER ::= 6
minStopIndicatorsLen INTEGER ::= 1
maxStopIndicatorsLen INTEGER ::= 8
minTariffIndicatorsLen INTEGER ::= 1
maxTariffIndicatorsLen INTEGER ::= 8
minCommunicationTariffNum INTEGER ::= 1
maxCommunicationTariffNum INTEGER ::= 4
noCharge INTEGER ::= 0
noScale INTEGER ::= 0
numOfExtensions INTEGER ::= 1 --network specific
-- ChargingReferenceIdentification Type
ChargingReferenceIdentification ::= SEQUENCE {
networkIdentification [0] NetworkIdentification,
referenceID [1] ReferenceID}
-- NetworkIdentification Type
NetworkIdentification ::= OBJECT IDENTIFIER
-- Following structure of the networkIdentification value shall be used:
-- {itu-t (0) administration (2) <national regulation authority> (x) network (y) node identification (z)}
-- The value for x is the value of the national regulation authority, the value for y is under the control of the national
-- regulation authority concerned, the value for z is under the control of the network concerned.
-- ReferenceID Type
ReferenceID ::= INTEGER (0..4294967295)
-- maximum value 232 - 1
END
-- of Tariffing-Data Types |
Text | wireshark/epan/dissectors/asn1/cmip/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME cmip )
set( PROTO_OPT )
set( EXPORT_FILES
${PROTOCOL_NAME}-exp.cnf
)
set( EXT_ASN_FILE_LIST_LATE
../x721/Attribute-ASN1Module.asn
../ros/Remote-Operations-Information-Objects.asn
../ros/Remote-Operations-Generic-ROS-PDUs.asn
)
set( ASN_FILE_LIST
CMIP-1.asn
CMIP-A-ABORT-Information.asn
CMIP-A-ASSOCIATE-Information.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
"${CMAKE_CURRENT_BINARY_DIR}/../acse/acse-exp.cnf"
)
ASN2WRS() |
ASN.1 | wireshark/epan/dissectors/asn1/cmip/CMIP-1.asn | -- Module CMIP-1 (X.711:10/1997)
CMIP-1 {joint-iso-itu-t ms(9) cmip(1) modules(0) protocol(3)} DEFINITIONS ::=
BEGIN
IMPORTS
ERROR, OPERATION
FROM Remote-Operations-Information-Objects {joint-iso-itu-t
remote-operations(4) informationObjects(5) version1(0)}
ROS{}, InvokeId, noInvokeId
FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
remote-operations(4) generic-ROS-PDUs(6) version1(0)};
CMIP-Operations OPERATION ::=
{m-Action | m-Action-Confirmed | m-CancelGet | m-Create | m-Delete |
m-EventReport | m-EventReport-Confirmed | m-Get | m-Linked-Reply | m-Set |
m-Set-Confirmed}
CMIP-Confirmed-Operations OPERATION ::=
{m-Action-Confirmed | m-CancelGet | m-Create | m-Delete |
m-EventReport-Confirmed | m-Get | m-Set-Confirmed}
-- CMISE error definitions
accessDenied ERROR ::= {PRIORITY {0}
CODE local:2
}
classInstanceConflict ERROR ::= {
PARAMETER BaseManagedObjectId
PRIORITY {1}
CODE local:19
}
complexityLimitation ERROR ::= {
PARAMETER ComplexityLimitation
OPTIONAL TRUE
PRIORITY {1}
CODE local:20
}
duplicateManagedObjectInstance ERROR ::= {
PARAMETER ObjectInstance
PRIORITY {1}
CODE local:11
}
getListError ERROR ::= {
PARAMETER GetListError
PRIORITY {1}
CODE local:7
}
invalidArgumentValue ERROR ::= {
PARAMETER InvalidArgumentValue
PRIORITY {1}
CODE local:15
}
invalidAttributeValue ERROR ::= {
PARAMETER Attribute
PRIORITY {1}
CODE local:6
}
invalidFilter ERROR ::= {
PARAMETER CMISFilter
PRIORITY {1}
CODE local:4
}
invalidObjectInstance ERROR ::= {
PARAMETER ObjectInstance
PRIORITY {1}
CODE local:17
}
invalidScope ERROR ::= {PARAMETER Scope
PRIORITY {1}
CODE local:16
}
missingAttributeValue ERROR ::= {
PARAMETER SET OF AttributeId
PRIORITY {1}
CODE local:18
}
mistypedOperation ERROR ::= {PRIORITY {1}
CODE local:21
}
noSuchAction ERROR ::= {
PARAMETER NoSuchAction
PRIORITY {1}
CODE local:9
}
noSuchArgument ERROR ::= {
PARAMETER NoSuchArgument
PRIORITY {1}
CODE local:14
}
noSuchAttribute ERROR ::= {
PARAMETER AttributeId
PRIORITY {1}
CODE local:5
}
noSuchEventType ERROR ::= {
PARAMETER NoSuchEventType
PRIORITY {1}
CODE local:13
}
noSuchInvokeId ERROR ::= {
PARAMETER InvokeIDType
PRIORITY {1}
CODE local:22
}
noSuchObjectClass ERROR ::= {
PARAMETER ObjectClass
PRIORITY {1}
CODE local:0
}
noSuchObjectInstance ERROR ::= {
PARAMETER ObjectInstance
PRIORITY {1}
CODE local:1
}
noSuchReferenceObject ERROR ::= {
PARAMETER ObjectInstance
PRIORITY {1}
CODE local:12
}
operationCancelled ERROR ::= {PRIORITY {1}
CODE local:23
}
processingFailure ERROR ::= {
PARAMETER ProcessingFailure
OPTIONAL TRUE
PRIORITY {1}
CODE local:10
}
setListError ERROR ::= {
PARAMETER SetListError
PRIORITY {1}
CODE local:8
}
syncNotSupported ERROR ::= {
PARAMETER CMISSync
PRIORITY {1}
CODE local:3
}
-- CMISE operations
-- Action operation (M-ACTION)
m-Action OPERATION ::= {
ARGUMENT ActionArgument
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE local:6
}
m-Action-Confirmed OPERATION ::= {
ARGUMENT ActionArgument
RESULT ActionResult
OPTIONAL TRUE -- this result is conditional;
-- for conditions see 8.3.3.2.9 of ITU-T Rec. X.710
ERRORS
{accessDenied | classInstanceConflict | complexityLimitation | invalidScope
| invalidArgumentValue | invalidFilter | noSuchAction | noSuchArgument |
noSuchObjectClass | noSuchObjectInstance | processingFailure |
syncNotSupported}
LINKED {m-Linked-Reply}
CODE local:7
}
-- Cancel get operation (M-CANCEL-GET)
m-CancelGet OPERATION ::= {
ARGUMENT InvokeIDType
RETURN RESULT TRUE
ERRORS {mistypedOperation | noSuchInvokeId | processingFailure}
CODE local:10
}
-- Create operation (M-CREATE)
m-Create OPERATION ::= {
ARGUMENT CreateArgument
RESULT CreateResult
OPTIONAL TRUE -- this result is conditional;
-- for conditions see 8.3.4.1.3 of ITU-T Rec. X.710
ERRORS
{accessDenied | classInstanceConflict | duplicateManagedObjectInstance |
invalidAttributeValue | invalidObjectInstance | missingAttributeValue |
noSuchAttribute | noSuchObjectClass | noSuchObjectInstance |
noSuchReferenceObject | processingFailure}
CODE local:8
}
-- Delete operation (M-DELETE)
m-Delete OPERATION ::= {
ARGUMENT DeleteArgument
RESULT DeleteResult
OPTIONAL TRUE -- this result is conditional;
-- for conditions see 8.3.5.2.8 of ITU-T Rec. X.710
ERRORS
{accessDenied | classInstanceConflict | complexityLimitation |
invalidFilter | invalidScope | noSuchObjectClass | noSuchObjectInstance |
processingFailure | syncNotSupported}
LINKED {m-Linked-Reply}
CODE local:9
}
-- Event Reporting operations (M-EVENT-REPORT)
m-EventReport OPERATION ::= {
ARGUMENT EventReportArgument
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE local:0
}
m-EventReport-Confirmed OPERATION ::= {
ARGUMENT EventReportArgument
RESULT EventReportResult
OPTIONAL TRUE
ERRORS
{invalidArgumentValue | noSuchArgument | noSuchEventType |
noSuchObjectClass | noSuchObjectInstance | processingFailure}
CODE local:1
}
-- Get operation (M-GET)
m-Get OPERATION ::= {
ARGUMENT GetArgument
RESULT GetResult
OPTIONAL TRUE -- this result is conditional;
-- for conditions see 8.3.1.2.8 of ITU-T Rec. X.710
ERRORS
{accessDenied | classInstanceConflict | complexityLimitation | getListError
| invalidFilter | invalidScope | noSuchObjectClass | noSuchObjectInstance
| operationCancelled | processingFailure | syncNotSupported}
LINKED {m-Linked-Reply}
CODE local:3
}
-- Linked operation to M-GET, M-SET (Confirmed), M-ACTION (Confirmed), and M-DELETE
m-Linked-Reply OPERATION ::= {ARGUMENT LinkedReplyArgument
CODE local:2
}
-- Set operations (M-SET)
m-Set OPERATION ::= {
ARGUMENT SetArgument
RETURN RESULT FALSE
ALWAYS RESPONDS FALSE
CODE local:4
}
m-Set-Confirmed OPERATION ::= {
ARGUMENT SetArgument
RESULT SetResult
OPTIONAL TRUE -- this result is conditional;
-- for conditions see 8.3.2.2.9 of ITU-T Rec. X.710
ERRORS
{accessDenied | classInstanceConflict | complexityLimitation |
invalidFilter | invalidScope | noSuchObjectClass | noSuchObjectInstance |
processingFailure | setListError | syncNotSupported}
LINKED {m-Linked-Reply}
CODE local:5
}
-- INFORMATION OBJECT definitions
-- While it is possible to use the Information object class definitions defined below to specify
-- Action types, Attribute types, Event Report types, and their associated ASN.1 type definitions,
-- the alternative approach using GDMO templates, as defined in ITU-T Rec. 722 | ISO/IEC 10165-5,
-- continues to be available for use with this Recommendation | International Standard.
CMIP-ACTION ::= CLASS {&id ActionTypeId UNIQUE,
&Value
}WITH SYNTAX {TYPE &Value
ID &id
}
CMIP-ATTRIBUTE ::= CLASS {&id AttributeId UNIQUE,
&Value
}WITH SYNTAX {TYPE &Value
ID &id
}
CMIP-AVA ::= CLASS {&id OBJECT IDENTIFIER UNIQUE,
&Value
}
CMIP-EVENT ::= CLASS {&id EventTypeId UNIQUE,
&Value
}WITH SYNTAX {TYPE &Value
ID &id
}
CMIP-SPECIFICERROR ::= CLASS {&id OBJECT IDENTIFIER UNIQUE,
&Value
}WITH SYNTAX {TYPE &Value
ID &id
}
-- Supporting type definitions
AccessControl ::= EXTERNAL
ActionArgument ::= SEQUENCE {
COMPONENTS OF BaseManagedObjectId,
accessControl [5] AccessControl OPTIONAL,
synchronization [6] IMPLICIT CMISSync DEFAULT bestEffort,
scope [7] Scope DEFAULT namedNumbers:baseObject,
filter CMISFilter DEFAULT and:{},
actionInfo [12] IMPLICIT ActionInfo,
...
}
ActionError ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
actionErrorInfo [6] ActionErrorInfo,
...
}
ActionErrorInfo ::= SEQUENCE {
errorStatus
ENUMERATED {accessDenied(2), noSuchAction(9), noSuchArgument(14),
invalidArgumentValue(15), ...
},
errorInfo
CHOICE {actionType CMIP-ACTION.&id({ActionSet}),
actionArgument [0] NoSuchArgument,
argumentValue [1] InvalidArgumentValue},
...
}
ActionInfo ::= SEQUENCE {
actionType CMIP-ACTION.&id({ActionSet}),
actionInfoArg [4] CMIP-ACTION.&Value({ActionSet}{@.actionType}) OPTIONAL
}
ActionReply ::= SEQUENCE {
actionType CMIP-ACTION.&id({ActionSet}),
actionReplyInfo [4] CMIP-ACTION.&Value({ActionSet}{@.actionType})
}
ActionResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
actionReply [6] IMPLICIT ActionReply OPTIONAL,
...
}
ActionSet CMIP-ACTION ::=
{...}
ActionTypeId ::= CHOICE {
globalForm [2] IMPLICIT OBJECT IDENTIFIER,
localForm [3] IMPLICIT INTEGER
}
-- This Recommendation | International Standard does not allocate any values for localForm.
-- Where this alternative is used, the permissible values for the integers and their meanings shall be defined
-- as part of the application context in which they are used
Attribute ::= SEQUENCE {
id CMIP-ATTRIBUTE.&id({AttributeSet}),
value CMIP-ATTRIBUTE.&Value({AttributeSet}{@.id})
}
AttributeError ::= SEQUENCE {
errorStatus
ENUMERATED {accessDenied(2), noSuchAttribute(5), invalidAttributeValue(6),
invalidOperation(24), invalidOperator(25), ...
},
modifyOperator [2] IMPLICIT ModifyOperator OPTIONAL, -- present for invalidOperator
-- and invalidOperation
attributeId CMIP-ATTRIBUTE.&id({AttributeSet}),
attributeValue CMIP-ATTRIBUTE.&Value({AttributeSet}{@.attributeId}) OPTIONAL
-- value is absent for setToDefault
}
AttributeId ::= CHOICE {
globalForm [0] IMPLICIT OBJECT IDENTIFIER,
localForm [1] IMPLICIT INTEGER
}
-- This Recommendation | International Standard does not allocate any values for localForm.
-- Where this alternative is used, the permissible values for the integers and their meanings shall be defined
-- as part of the application context in which they are used
AttributeIdError ::= SEQUENCE {
errorStatus ENUMERATED {accessDenied(2), noSuchAttribute(5), ...
},
attributeId AttributeId,
...
}
AttributeSet CMIP-ATTRIBUTE ::=
{...}
AttributeValueAssertion ::= SEQUENCE {
id CMIP-AVA.&id({AvaSet}),
value CMIP-AVA.&Value({AvaSet}{@.id})
}
AvaSet CMIP-AVA ::=
{...}
BaseManagedObjectId ::= SEQUENCE {
baseManagedObjectClass ObjectClass,
baseManagedObjectInstance ObjectInstance
}
CMISFilter ::= CHOICE {
item [8] FilterItem,
and [9] IMPLICIT SET OF CMISFilter,
or [10] IMPLICIT SET OF CMISFilter,
not [11] CMISFilter
}
CMISSync ::= ENUMERATED {bestEffort(0), atomic(1)}
ComplexityLimitation ::= SET {
scope [0] Scope OPTIONAL,
filter [1] CMISFilter OPTIONAL,
sync [2] CMISSync OPTIONAL,
...
}
CreateArgument ::= SEQUENCE {
managedObjectClass ObjectClass,
managedOrSuperiorObjectInstance
CHOICE {managedObjectInstance ObjectInstance,
superiorObjectInstance [8] ObjectInstance} OPTIONAL,
accessControl [5] AccessControl OPTIONAL,
referenceObjectInstance [6] ObjectInstance OPTIONAL,
attributeList [7] IMPLICIT SET OF Attribute OPTIONAL,
...
}
CreateResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL, -- shall be returned if omitted from CreateArgument
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
attributeList [6] IMPLICIT SET OF Attribute OPTIONAL,
...
}
DeleteArgument ::= SEQUENCE {
COMPONENTS OF BaseManagedObjectId,
accessControl [5] AccessControl OPTIONAL,
synchronization [6] IMPLICIT CMISSync DEFAULT bestEffort,
scope [7] Scope DEFAULT namedNumbers:baseObject,
filter CMISFilter DEFAULT and:{},
...
}
DeleteError ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
deleteErrorInfo [6] ENUMERATED {accessDenied(2), ...
},
...
}
DeleteResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
...
}
DistinguishedName ::= RDNSequence
EventReply ::= SEQUENCE {
eventType CMIP-EVENT.&id({EventSet}),
eventReplyInfo [8] CMIP-EVENT.&Value({EventSet}{@.eventType}) OPTIONAL
}
EventReportArgument ::= SEQUENCE {
managedObjectClass ObjectClass,
managedObjectInstance ObjectInstance,
eventTime [5] IMPLICIT GeneralizedTime OPTIONAL,
eventType CMIP-EVENT.&id({EventSet}),
eventInfo
[8] CMIP-EVENT.&Value({EventSet}{@.eventType}) OPTIONAL,
...
}
EventReportResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
eventReply EventReply OPTIONAL,
...
}
EventSet CMIP-EVENT ::=
{...}
EventTypeId ::= CHOICE {
globalForm [6] IMPLICIT OBJECT IDENTIFIER,
localForm [7] IMPLICIT INTEGER
}
-- This Recommendation | International Standard does not allocate any values for localForm.
-- Where this alternative is used, the permissible values for the integers and their meanings shall be defined
-- as part of the application context in which they are used
FilterItem ::= CHOICE {
equality [0] IMPLICIT Attribute,
substrings
[1] IMPLICIT SEQUENCE OF
CHOICE {initialString [0] IMPLICIT Attribute,
anyString [1] IMPLICIT Attribute,
finalString [2] IMPLICIT Attribute},
greaterOrEqual [2] IMPLICIT Attribute, -- asserted value ? attribute value
lessOrEqual [3] IMPLICIT Attribute, -- asserted value <= attribute value
present [4] AttributeId,
subsetOf [5] IMPLICIT Attribute, -- asserted value is a subset of attribute value
supersetOf [6] IMPLICIT Attribute, -- asserted value is a superset of attribute value
nonNullSetIntersection [7] IMPLICIT Attribute
}
GetArgument ::= SEQUENCE {
COMPONENTS OF BaseManagedObjectId,
accessControl [5] AccessControl OPTIONAL,
synchronization [6] IMPLICIT CMISSync DEFAULT bestEffort,
scope [7] Scope DEFAULT namedNumbers:baseObject,
filter CMISFilter DEFAULT and:{},
attributeIdList [12] IMPLICIT SET OF AttributeId OPTIONAL,
...
}
GetInfoStatus ::= CHOICE {
attributeIdError [0] IMPLICIT AttributeIdError,
attribute [1] IMPLICIT Attribute
}
GetListError ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
getInfoList [6] IMPLICIT SET OF GetInfoStatus,
...
}
GetResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
attributeList [6] IMPLICIT SET OF Attribute OPTIONAL,
...
}
InvalidArgumentValue ::= CHOICE {
actionValue [0] IMPLICIT ActionInfo,
eventValue
[1] IMPLICIT SEQUENCE {eventType CMIP-EVENT.&id({EventSet}),
eventInfo
[8] CMIP-EVENT.&Value({EventSet}{@.eventType})
OPTIONAL}
}
InvokeIDType ::= InvokeId--(ALL EXCEPT absent:NULL)
LinkedReplyArgument ::= CHOICE {
getResult [0] IMPLICIT GetResult,
getListError [1] IMPLICIT GetListError,
setResult [2] IMPLICIT SetResult,
setListError [3] IMPLICIT SetListError,
actionResult [4] IMPLICIT ActionResult,
processingFailure [5] IMPLICIT ProcessingFailure,
deleteResult [6] IMPLICIT DeleteResult,
actionError [7] IMPLICIT ActionError,
deleteError [8] IMPLICIT DeleteError
}
ModifyOperator ::= INTEGER {
replace(0), addValues(1), removeValues(2), setToDefault(3)}
NoSuchAction ::= SEQUENCE {
managedObjectClass ObjectClass,
actionType CMIP-ACTION.&id({ActionSet}),
...
}
NoSuchArgument ::= CHOICE {
actionId
[0] IMPLICIT SEQUENCE {managedObjectClass ObjectClass OPTIONAL,
actionType CMIP-ACTION.&id({ActionSet})
},
eventId
[1] IMPLICIT SEQUENCE {managedObjectClass ObjectClass OPTIONAL,
eventType CMIP-EVENT.&id({EventSet})
}
}
NoSuchEventType ::= SEQUENCE {
managedObjectClass ObjectClass,
eventType CMIP-EVENT.&id({EventSet}),
...
}
ObjectClass ::= CHOICE {
globalForm [0] IMPLICIT OBJECT IDENTIFIER,
localForm [1] IMPLICIT INTEGER
}
-- This Recommendation | International Standard does not allocate any values for localForm.
-- Where this alternative is used, the permissible values for the integers and their meanings shall be defined
-- as part of the application context in which they are used
ObjectInstance ::= CHOICE {
distinguishedName [2] IMPLICIT DistinguishedName,
nonSpecificForm [3] IMPLICIT OCTET STRING,
localDistinguishedName [4] IMPLICIT RDNSequence
}
-- localDistinguishedName is that portion of the distinguished name that is necessary to unambiguously identify the
-- managed object within the context of communication between the open systems
ProcessingFailure ::= SEQUENCE {
managedObjectClass ObjectClass,
managedObjectInstance ObjectInstance OPTIONAL,
specificErrorInfo [5] SpecificErrorInfo,
...
}
RDNSequence ::= SEQUENCE OF RelativeDistinguishedName
RelativeDistinguishedName ::= SET OF AttributeValueAssertion
Scope ::= CHOICE {
namedNumbers INTEGER {baseObject(0), firstLevelOnly(1), wholeSubtree(2)},
individualLevels [1] IMPLICIT INTEGER, -- POSITIVE integer indicates the level to be selected
baseToNthLevel [2] IMPLICIT INTEGER
} -- POSITIVE integer N indicates that the range of levels
-- (0 - N) is to be selected
-- with individualLevels and baseToNthLevel, a value of 0 has the same semantics as baseObject
-- with individualLevels, a value of 1 has the same semantics as firstLevelOnly
SetArgument ::= SEQUENCE {
COMPONENTS OF BaseManagedObjectId,
accessControl [5] AccessControl OPTIONAL,
synchronization [6] IMPLICIT CMISSync DEFAULT bestEffort,
scope [7] Scope DEFAULT namedNumbers:baseObject,
filter CMISFilter DEFAULT and:{},
modificationList
[12] IMPLICIT SET OF
SEQUENCE {modifyOperator
[2] IMPLICIT ModifyOperator DEFAULT replace,
attributeId
CMIP-ATTRIBUTE.&id({AttributeSet}),
attributeValue
CMIP-ATTRIBUTE.&Value
({AttributeSet}{@.attributeId}) OPTIONAL
},
-- value is absent for setToDefault
...
}
SetInfoStatus ::= CHOICE {
attributeError [0] IMPLICIT AttributeError,
attribute [1] IMPLICIT Attribute
}
SetListError ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
setInfoList [6] IMPLICIT SET OF SetInfoStatus,
...
}
SetResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
attributeList [6] IMPLICIT SET OF Attribute OPTIONAL,
...
}
SpecificErrorInfo ::= SEQUENCE {
errorId CMIP-SPECIFICERROR.&id({SpecificErrorSet}),
errorInfo CMIP-SPECIFICERROR.&Value({SpecificErrorSet}{@.errorId})
}
SpecificErrorSet CMIP-SPECIFICERROR ::=
{...}
-- the following type specifies the constraints to be applied when using ROSE to support CMIP
ROSEapdus ::=
ROS{{InvokeIDType}, {CMIP-Operations}, {CMIP-Confirmed-Operations}}
END -- End of CMIP syntax definitions
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
ASN.1 | wireshark/epan/dissectors/asn1/cmip/CMIP-A-ABORT-Information.asn | -- Module CMIP-A-ABORT-Information (X.711:10/1997)
CMIP-A-ABORT-Information {joint-iso-itu-t ms(9) cmip(1) modules(0)
aAbortUserInfo(2)} DEFINITIONS ::=
BEGIN
-- Information carried in user-information parameter of A-ABORT
CMIPAbortInfo ::= SEQUENCE {
abortSource [0] IMPLICIT CMIPAbortSource,
userInfo [1] EXTERNAL OPTIONAL
}
CMIPAbortSource ::= ENUMERATED {cmiseServiceUser(0), cmiseServiceProvider(1)}
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
ASN.1 | wireshark/epan/dissectors/asn1/cmip/CMIP-A-ASSOCIATE-Information.asn | -- Module CMIP-A-ASSOCIATE-Information (X.711:10/1997)
CMIP-A-ASSOCIATE-Information {joint-iso-itu-t ms(9) cmip(1) modules(0)
aAssociateUserInfo(1)} DEFINITIONS ::=
BEGIN
FunctionalUnits ::= BIT STRING {
multipleObjectSelection(0), filter(1), multipleReply(2), extendedService(3),
cancelGet(4)}
-- Functional unit i is supported if and only if bit i is one
-- Information carried in user-information parameter of A-ASSOCIATE
CMIPUserInfo ::= SEQUENCE {
protocolVersion [0] IMPLICIT ProtocolVersion DEFAULT {version1},
functionalUnits [1] IMPLICIT FunctionalUnits DEFAULT {},
accessControl [2] EXTERNAL OPTIONAL,
userInfo [3] EXTERNAL OPTIONAL
}
ProtocolVersion ::= BIT STRING {version1(0), version2(1)}
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
ASN.1 | wireshark/epan/dissectors/asn1/cmip/CMIP.asn | -- some of the definitions use implicit tags so be careful when adding
-- new structures.
-- Module CMIP-A-ASSOCIATE-Information (X.711:10/1997)
CMIP-A-ASSOCIATE-Information {joint-iso-itu-t ms(9) cmip(1) modules(0)
aAssociateUserInfo(1)} DEFINITIONS ::=
BEGIN
IMPORTS
EXTERNALt
FROM ACSE-1 {joint-iso-itu-t association-control(2) modules(0) acse1(1) version1(1)};
ModificationItem ::= SEQUENCE {
modifyOperator [2] IMPLICIT ModifyOperator OPTIONAL,
attributeId OBJECT IDENTIFIER,
attributeValue ANY OPTIONAL
}
GetListError ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
getInfoList [6] IMPLICIT SET OF GetInfoStatus,
...
}
ModifyOperator ::= INTEGER {
replace(0), addValues(1), removeValues(2), setToDefault(3)}
GetInfoStatus ::= CHOICE {
attributeIdError [0] IMPLICIT AttributeIdError,
attribute [1] IMPLICIT Attribute
}
AttributeIdError ::= SEQUENCE {
errorStatus ENUMERATED {accessDenied(2), noSuchAttribute(5), ...
},
attributeId AttributeId,
...
}
SetListError ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
setInfoList [6] IMPLICIT SET OF SetInfoStatus,
...
}
ActionError ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
actionErrorInfo [6] ActionErrorInfo,
...
}
ProcessingFailure ::= SEQUENCE {
managedObjectClass ObjectClass,
managedObjectInstance ObjectInstance OPTIONAL,
specificErrorInfo [5] SpecificErrorInfo,
...
}
RDNSequence ::= SEQUENCE OF RelativeDistinguishedName
RelativeDistinguishedName ::= SET OF AttributeValueAssertion
DeleteError ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
deleteErrorInfo [6] ENUMERATED {accessDenied(2), ...
},
...
}
SetInfoStatus ::= CHOICE {
attributeError [0] IMPLICIT AttributeError,
attribute [1] IMPLICIT Attribute
}
SpecificErrorInfo ::= SEQUENCE {
errorId OBJECT IDENTIFIER,
errorInfo ANY
}
NoSuchArgumentAction ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
actionType OBJECT IDENTIFIER
}
NoSuchArgumentEvent ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
eventType OBJECT IDENTIFIER
}
NoSuchArgument ::= CHOICE {
actionId
[0] IMPLICIT NoSuchArgumentAction,
eventId
[1] IMPLICIT NoSuchArgumentEvent
}
InvalidArgumentValueEventValue ::= SEQUENCE {
eventType OBJECT IDENTIFIER,
eventInfo [8] ANY OPTIONAL
}
InvalidArgumentValue ::= CHOICE {
actionValue [0] IMPLICIT ActionInfo,
eventValue
[1] IMPLICIT InvalidArgumentValueEventValue
}
ErrorInfo ::= CHOICE {
actionType OBJECT IDENTIFIER,
actionArgument [0] NoSuchArgument,
argumentValue [1] InvalidArgumentValue
}
ActionErrorInfo ::= SEQUENCE {
errorStatus
ENUMERATED {accessDenied(2), noSuchAction(9), noSuchArgument(14),
invalidArgumentValue(15), ...
},
errorInfo
ErrorInfo,
...
}
AttributeError ::= SEQUENCE {
errorStatus
ENUMERATED {accessDenied(2), noSuchAttribute(5), invalidAttributeValue(6),
invalidOperation(24), invalidOperator(25), ...
},
modifyOperator [2] IMPLICIT ModifyOperator OPTIONAL, -- present for invalidOperator
-- and invalidOperation
attributeId OBJECT IDENTIFIER,
attributeValue ANY OPTIONAL
-- value is absent for setToDefault
}
SetResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
attributeList [6] IMPLICIT SET OF Attribute OPTIONAL,
...
}
SetArgument ::= SEQUENCE {
baseManagedObjectClass ObjectClass,
baseManagedObjectInstance ObjectInstance,
accessControl [5] AccessControl OPTIONAL,
synchronization [6] IMPLICIT CMISSync OPTIONAL,
scope [7] Scope OPTIONAL,
filter CMISFilter OPTIONAL,
modificationList [12] IMPLICIT SET OF ModificationItem,
-- value is absent for setToDefault
...
}
LinkedReplyArgument ::= CHOICE {
getResult [0] IMPLICIT GetResult,
getListError [1] IMPLICIT GetListError,
setResult [2] IMPLICIT SetResult,
setListError [3] IMPLICIT SetListError,
actionResult [4] IMPLICIT ActionResult,
processingFailure [5] IMPLICIT ProcessingFailure,
deleteResult [6] IMPLICIT DeleteResult,
actionError [7] IMPLICIT ActionError,
deleteError [8] IMPLICIT DeleteError
}
EventReply ::= SEQUENCE {
eventType OBJECT IDENTIFIER,
eventReplyInfo [8] ANY OPTIONAL
}
DistinguishedName ::= RDNSequence
EventReportResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
eventReply EventReply OPTIONAL,
...
}
EventReportArgument ::= SEQUENCE {
managedObjectClass ObjectClass,
managedObjectInstance ObjectInstance,
eventTime [5] IMPLICIT GeneralizedTime OPTIONAL,
eventType OBJECT IDENTIFIER,
eventInfo [8] ANY OPTIONAL,
...
}
DeleteArgument ::= SEQUENCE {
baseManagedObjectClass ObjectClass,
baseManagedObjectInstance ObjectInstance,
accessControl [5] AccessControl OPTIONAL,
synchronization [6] IMPLICIT CMISSync OPTIONAL,
scope [7] Scope OPTIONAL,
filter CMISFilter OPTIONAL,
...
}
DeleteResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
...
}
CreateArgument ::= SEQUENCE {
managedObjectClass ObjectClass,
managedOrSuperiorObjectInstance
CHOICE {managedObjectInstance ObjectInstance,
superiorObjectInstance [8] ObjectInstance} OPTIONAL,
accessControl [5] AccessControl OPTIONAL,
referenceObjectInstance [6] ObjectInstance OPTIONAL,
attributeList [7] IMPLICIT SET OF Attribute OPTIONAL,
...
}
CreateResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL, -- shall be returned if omitted from CreateArgument
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
attributeList [6] IMPLICIT SET OF Attribute OPTIONAL,
...
}
ActionReply ::= SEQUENCE {
actionType OBJECT IDENTIFIER,
actionReplyInfo [4] ANY
}
ActionResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
actionReply [6] IMPLICIT ActionReply OPTIONAL,
...
}
ActionArgument ::= SEQUENCE {
baseManagedObjectClass ObjectClass,
baseManagedObjectInstance ObjectInstance,
accessControl [5] AccessControl OPTIONAL,
synchronization [6] IMPLICIT CMISSync OPTIONAL,
scope [7] Scope OPTIONAL,
filter CMISFilter OPTIONAL,
actionInfo [12] IMPLICIT ActionInfo,
...
}
ActionInfo ::= SEQUENCE {
actionType OBJECT IDENTIFIER,
actionInfoArg [4] ANY OPTIONAL
}
ObjectClass ::= CHOICE {
ocglobalForm [0] IMPLICIT OBJECT IDENTIFIER,
oclocalForm [1] IMPLICIT INTEGER
}
ObjectInstance ::= CHOICE {
distinguishedName [2] IMPLICIT DistinguishedName,
nonSpecificForm [3] IMPLICIT OCTET STRING,
localDistinguishedName [4] IMPLICIT RDNSequence
}
BaseManagedObjectId ::= SEQUENCE {
baseManagedObjectClass ObjectClass,
baseManagedObjectInstance ObjectInstance
}
AttributeId ::= CHOICE {
globalForm [0] IMPLICIT OBJECT IDENTIFIER,
localForm [1] IMPLICIT INTEGER
}
Attribute ::= SEQUENCE {
id AttributeId,
value ANY
}
AttributeValueAssertion ::= SEQUENCE {
id OBJECT IDENTIFIER,
value ANY
}
-- This Recommendation | International Standard does not allocate any values for localForm.
-- Where this alternative is used, the permissible values for the integers and their meanings shall be defined
-- as part of the application context in which they are used
FilterItem ::= CHOICE {
equality [0] IMPLICIT Attribute,
substrings
[1] IMPLICIT SEQUENCE OF
CHOICE {initialString [0] IMPLICIT Attribute,
anyString [1] IMPLICIT Attribute,
finalString [2] IMPLICIT Attribute},
greaterOrEqual [2] IMPLICIT Attribute, -- asserted value ? attribute value
lessOrEqual [3] IMPLICIT Attribute, -- asserted value <= attribute value
present [4] AttributeId,
subsetOf [5] IMPLICIT Attribute, -- asserted value is a subset of attribute value
supersetOf [6] IMPLICIT Attribute, -- asserted value is a superset of attribute value
nonNullSetIntersection [7] IMPLICIT Attribute
}
-- IMPORTED from Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) asn1Module(2) 1}
AdministrativeState ::= ENUMERATED {locked(0), unlocked(1), shuttingDown(2)}
DiscriminatorConstruct ::= CMISFilter
Destination ::= CHOICE {single AE-title,
multiple SET OF AE-title
}
OperationalState ::= ENUMERATED {disabled(0), enabled(1)}
NameBinding ::= OBJECT IDENTIFIER
-- FROM ACSE
AE-title ::= CHOICE {
ae-title-form1 AE-title-form1,
ae-title-form2 AE-title-form2,
...
}
-- As defined in ITU-T Rec. X.650 | ISO/IEC 7498-3, an application-entity title is composed of an application process
-- title and an application-entity qualifier. The ACSE protocol provides for the transfer of an application-entity title
-- value by the transfer of its component values. However, the following data type is provided for International
-- Standards that reference a single syntactic structure for AE titles.
AE-title-form1 ::= Name
-- For access to The Directory (see ITU-T Rec. X.500 series | ISO/IEC 9594), an AE title has AE-title-form1. This value
-- can be constructed from AP-title-form1 and AE-qualifier-form1 values contained in an AARQ or AARE APDU.
-- A discussion of forming an AE-title-form1 from AP-title-form1 and AE-qualifier form1 may be found in itu-t
-- Rec X.665 | ISO/IEC 9834-6.
AE-title-form2 ::= OBJECT IDENTIFIER
Name ::= CHOICE {
rdnSequence RDNSequence
}
-- End Imports
CMISFilter ::= CHOICE {
item [8] FilterItem,
and [9] IMPLICIT SET OF CMISFilter,
or [10] IMPLICIT SET OF CMISFilter,
not [11] CMISFilter
}
Scope ::= CHOICE {
namedNumbers INTEGER {baseObject(0), firstLevelOnly(1), wholeSubtree(2)},
individualLevels [1] IMPLICIT INTEGER, -- POSITIVE integer indicates the level to be selected
baseToNthLevel [2] IMPLICIT INTEGER
} -- POSITIVE integer N indicates that the range of levels
CMISSync ::= ENUMERATED {bestEffort(0), atomic(1)}
-- Supporting type definitions
AccessControl ::= EXTERNALt
GetArgument ::= SEQUENCE {
-- COMPONENTS OF BaseManagedObjectId, manually expanded
baseManagedObjectClass ObjectClass,
baseManagedObjectInstance ObjectInstance,
accessControl [5] AccessControl OPTIONAL,
synchronization [6] IMPLICIT CMISSync OPTIONAL,
scope [7] Scope OPTIONAL,
filter CMISFilter OPTIONAL,
attributeIdList [12] IMPLICIT SET OF AttributeId OPTIONAL,
...
}
GetResult ::= SEQUENCE {
managedObjectClass ObjectClass OPTIONAL,
managedObjectInstance ObjectInstance OPTIONAL,
currentTime [5] IMPLICIT GeneralizedTime OPTIONAL,
attributeList [6] IMPLICIT SET OF Attribute OPTIONAL,
...
}
Argument ::= ANY
ReturnResultBody ::= SEQUENCE {
opcode Opcode,
argument Argument
}
InvokeID ::= INTEGER
Opcode ::= INTEGER { m-EventReport(0), m-EventReport-Confirmed(1), m-Linked-Reply(2), m-Get(3), m-Set(4), m-Set-Confirmed(5), m-Action(6), m-Action-Confirmed(7), m-Create(8), m-Delete(9), m-CancelGet(10) }
--InvokeLinkedId ::= CHOICE {
-- present [0] IMPLICIT InvokeId,
-- absent [1] IMPLICIT NULL
--}
InvokeLinkedId ::= INTEGER
InvokeIDType ::= InvokeId
InvokeId ::= CHOICE {
present InvokeID,
absent NULL
}
Invoke ::= SEQUENCE {
invokeId InvokeId,
linkedId [0] IMPLICIT InvokeLinkedId OPTIONAL,
opcode Opcode,
argument Argument OPTIONAL
}
ReturnResult ::= SEQUENCE {
invokeId InvokeId,
rRBody ReturnResultBody OPTIONAL
}
ReturnError ::= SEQUENCE {
invokeId InvokeId
--XXX need to fill in missing fields here
}
GeneralProblem ::= INTEGER {
unrecognizedPDU(0), mistypedPDU(1), badlyStructuredPDU(2)
}
InvokeProblem ::= INTEGER {
duplicateInvocation(0), unrecognizedOperation(1), mistypedArgument(2),
resourceLimitation(3), releaseInProgress(4), unrecognizedLinkedId(5),
linkedResponseUnexpected(6), unexpectedLinkedOperation(7)
}
ReturnResultProblem ::= INTEGER {
unrecognizedInvocation(0), resultResponseUnexpected(1), mistypedResult(2)
}
ReturnErrorProblem ::= INTEGER {
unrecognizedInvocation(0), errorResponseUnexpected(1), unrecognizedError(2),
unexpectedError(3), mistypedParameter(4)
}
RejectProblem ::= INTEGER {
general-unrecognizedPDU(0), general-mistypedPDU(1),
general-badlyStructuredPDU(2), invoke-duplicateInvocation(10),
invoke-unrecognizedOperation(11), invoke-mistypedArgument(12),
invoke-resourceLimitation(13), invoke-releaseInProgress(14),
invoke-unrecognizedLinkedId(15), invoke-linkedResponseUnexpected(16),
invoke-unexpectedLinkedOperation(17),
returnResult-unrecognizedInvocation(20),
returnResult-resultResponseUnexpected(21), returnResult-mistypedResult(22),
returnError-unrecognizedInvocation(30),
returnError-errorResponseUnexpected(31), returnError-unrecognizedError(32),
returnError-unexpectedError(33), returnError-mistypedParameter(34)
}
RejectProb ::= CHOICE {
generalProblem [0] IMPLICIT GeneralProblem,
invokeProblem [1] IMPLICIT InvokeProblem,
returnResultProblem [2] IMPLICIT ReturnResultProblem,
returnErrorProblem [3] IMPLICIT ReturnErrorProblem
}
Reject ::= SEQUENCE {
invokeId InvokeId,
rejectProblem RejectProb
}
ROS ::= CHOICE {
invoke [1] IMPLICIT Invoke,
returnResult [2] IMPLICIT ReturnResult,
returnError [3] IMPLICIT ReturnError,
reject [4] IMPLICIT Reject
}
-- CMIP-A-ABORT
-- Information carried in user-information parameter of A-ABORT
CMIPAbortInfo ::= SEQUENCE {
abortSource [0] IMPLICIT CMIPAbortSource,
userInfo [1] EXTERNALt OPTIONAL
}
CMIPAbortSource ::= ENUMERATED {cmiseServiceUser(0), cmiseServiceProvider(1)}
-- CMIP-A-ASSOCIATE
FunctionalUnits ::= BIT STRING {
multipleObjectSelection(0), filter(1), multipleReply(2), extendedService(3),
cancelGet(4)}
-- Functional unit i is supported if and only if bit i is one
-- Information carried in user-information parameter of A-ASSOCIATE
CMIPUserInfo ::= SEQUENCE {
protocolVersion [0] IMPLICIT ProtocolVersion OPTIONAL,
functionalUnits [1] IMPLICIT FunctionalUnits OPTIONAL,
accessControl [2] EXTERNALt OPTIONAL,
userInfo [3] EXTERNALt OPTIONAL
}
ProtocolVersion ::= BIT STRING {version1(0), version2(1)}
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
Configuration | wireshark/epan/dissectors/asn1/cmip/cmip.cnf | # cmip.cnf
# CMIP conformation file
#.IMPORT ../acse/acse-exp.cnf
#.MODULE
Remote-Operations-Information-Objects cmip.ros
Attribute-ASN1Module cmip.x721
#.OMIT_ASSIGNMENT Remote-Operations-Information-Objects
Bind
Unbind
#.END
#.NO_EMIT ONLY_VALS
LinkedReplyArgument
#.TYPE_RENAME
Invoke/argument InvokeArgument
ReturnResult/result/result ResultArgument
Attribute/value AttributeValue
EventReportArgument/eventInfo EventReportArgumentEventInfo
#.FIELD_RENAME
Invoke/linkedId/present linkedIdPresent
Reject/problem/invoke invokeProblem
Reject/problem/returnError returnErrorProblem
Reject/problem/returnResult returnResultProblem
ReturnResult/result/result resultArgument
SetArgument/modificationList/_item/attributeValue attributevalue
ActionTypeId/globalForm actionTypeId_globalForm
AttributeId/globalForm attributeId_globalForm
EventTypeId/globalForm eventTypeId_globalForm
ObjectClass/globalForm objectClass_globalForm
ManagementExtension/identifier managementExtensionidentifier
ServiceUser/identifier serviceUseridentifier
AttributeValueAssertion/value attributeValueAssertionvalue
FilterItem/present filterItempresent
ObjectClass/localForm objectClasslocalForm
AttributeId/localForm attributeIdlocalForm
ActionErrorInfo/errorStatus actionErrorInfo-errorStatus
AttributeError/errorStatus attributeError-errorStatus
AttributeIdError/errorStatus attributeIdError-errorStatus
ActionErrorInfo/errorInfo actionErrorInfo
# SpecificErrorInfo/errorInfo specificErrorInfo
Attribute/id attributeid
CMIPUserInfo/accessControl cmipUserInfoaccessControl
ActionError/actionErrorInfo actionErroractionErrorInfo
EventReportArgument/eventInfo eventReportArgumenteventInfo
#.EXPORTS
CMIPAbortInfo
CMIPUserInfo
ROS
InvokeIDType
ObjectInstance
ObjectClass
Attribute
RDNSequence
ProbableCause
AdministrativeState
AvailabilityStatus
AttributeList
AdditionalInformation
#.TABLE_HDR
/* CMIP OPERATIONS */
static const value_string cmip_Opcode_vals[] = {
#.TABLE_BODY OPERATION
{ %(&operationCode)s, "%(_ident)s" },
#.TABLE_FTR
{ 0, NULL }
};
#.END
#.TABLE_HDR
/* CMIP ERRORS */
static const value_string cmip_error_code_vals[] = {
#.TABLE_BODY ERROR
{ %(&errorCode)s, "%(_ident)s" },
#.TABLE_FTR
{ 0, NULL }
};
#.END
# X.721
#.REGISTER
BaseManagedObjectId B "2.9.2.21.7.13" "BaseManagedObjectId(13)"
# X.721
SimpleNameType B "2.9.3.2.7.1" "discriminatorId(1)"
SimpleNameType B "2.9.3.2.7.2" "logId(2)"
LogRecordId B "2.9.3.2.7.3" "logRecordId(3)"
SystemId B "2.9.3.2.7.4" "systemId(4)"
SystemTitle B "2.9.3.2.7.5" "systemTitle(5)"
AdditionalInformation B "2.9.3.2.7.6" "additionalInformation(6)"
AdditionalText B "2.9.3.2.7.7" "additionalText(7)"
AttributeIdentifierList B "2.9.3.2.7.8" "attributeIdentifierList(8)"
AttributeList B "2.9.3.2.7.9" "attributeList(9)"
AttributeValueChangeDefinition B "2.9.3.2.7.10" "attributeValueChangeDefinition(10)"
BackedUpStatus B "2.9.3.2.7.11" "backedUpStatus(11)"
CorrelatedNotifications B "2.9.3.2.7.12" "correlatedNotifications(12)"
EventTime B "2.9.3.2.7.13" "eventTime(13)"
EventTypeId B "2.9.3.2.7.14" "eventType(14)"
MonitoredAttributes B "2.9.3.2.7.15" "monitoredAttributes(15)"
NotificationIdentifier B "2.9.3.2.7.16" "notificationIdentifier(16)"
PerceivedSeverity B "2.9.3.2.7.17" "perceivedSeverity(17)"
ProbableCause B "2.9.3.2.7.18" "probableCause(18)"
ProposedRepairActions B "2.9.3.2.7.19" "proposedRepairActions(19)"
AttributeValueChangeDefinition B "2.9.3.2.7.20" "relationshipChangeDefinition(20)"
SecurityAlarmCause B "2.9.3.2.7.21" "securityAlarmCause(21)"
SecurityAlarmDetector B "2.9.3.2.7.22" "securityAlarmDetector(22)"
SecurityAlarmSeverity B "2.9.3.2.7.23" "securityAlarmSeverity(23)"
ServiceProvider B "2.9.3.2.7.24" "serviceProvider(24)"
ServiceUser B "2.9.3.2.7.25" "serviceUser(25)"
SourceIndicator B "2.9.3.2.7.26" "sourceIndicator(26)"
SpecificProblems B "2.9.3.2.7.27" "specificProblems(27)"
AttributeValueChangeDefinition B "2.9.3.2.7.28" "stateChangeDefinition(28)"
ThresholdInfo B "2.9.3.2.7.29" "thresholdInfo(29)"
TrendIndication B "2.9.3.2.7.30" "trendIndication(30)"
AdministrativeState B "2.9.3.2.7.31" "administrativeState(31)"
AlarmStatus B "2.9.3.2.7.32" "alarmStatus(32)"
AvailabilityStatus B "2.9.3.2.7.33" "availabilityStatus(33)"
ControlStatus B "2.9.3.2.7.34" "controlStatus(34)"
OperationalState B "2.9.3.2.7.35" "operationalState(35)"
ProceduralStatus B "2.9.3.2.7.36" "proceduralStatus(36)"
StandbyStatus B "2.9.3.2.7.37" "standbyStatus(37)"
UnknownStatus B "2.9.3.2.7.38" "unknownStatus(38)"
UsageState B "2.9.3.2.7.39" "usageState(39)"
BackUpRelationshipObject B "2.9.3.2.7.40" "backUpObject(40)"
BackUpRelationshipObject B "2.9.3.2.7.41" "backedUpObject(41)"
GroupObjects B "2.9.3.2.7.42" "member(42)"
GroupObjects B "2.9.3.2.7.43" "owner(43)"
BackUpRelationshipObject B "2.9.3.2.7.44" "peer(44)"
PrioritisedObject B "2.9.3.2.7.45" "primary(45)"
PrioritisedObject B "2.9.3.2.7.46" "providerObject(46)"
PrioritisedObject B "2.9.3.2.7.47" "secondary(47)"
PrioritisedObject B "2.9.3.2.7.48" "userObject(48)"
ActiveDestination B "2.9.3.2.7.49" "activeDestination(49)"
Allomorphs B "2.9.3.2.7.50" "allomorphs(50)"
BackUpDestinationList B "2.9.3.2.7.51" "backUpDestinationList(51)"
CapacityAlarmThreshold B "2.9.3.2.7.52" "capacityAlarmThreshold(52)"
ConfirmedMode B "2.9.3.2.7.53" "confirmedMode(53)"
CurrentLogSize B "2.9.3.2.7.54" "currentLogSize(54)"
Destination B "2.9.3.2.7.55" "destination(55)"
DiscriminatorConstruct B "2.9.3.2.7.56" "discriminatorConstruct(56)"
IntervalsOfDay B "2.9.3.2.7.57" "intervalsOfDay(57)"
LogFullAction B "2.9.3.2.7.58" "logFullAction(58)"
LoggingTime B "2.9.3.2.7.59" "loggingTime(59)"
#ObjectClass B "2.9.3.2.7.60" "managedObjectClass(60)"
#ObjectInstance B "2.9.3.2.7.61" "managedObjectInstance(61)"
MaxLogSize B "2.9.3.2.7.62" "maxLogSize(62)"
NameBinding B "2.9.3.2.7.63" "nameBinding(63)"
NumberOfRecords B "2.9.3.2.7.64" "numberOfRecords(64)"
ObjectClass B "2.9.3.2.7.65" "objectClass(65)"
Packages B "2.9.3.2.7.66" "packages(66)"
#ObjectInstance B "2.9.3.2.7.66" "schedulerName(67)"
StartTime B "2.9.3.2.7.68" "startTime(68)"
StopTime B "2.9.3.2.7.69" "stopTime(69)"
SupportedFeatures B "2.9.3.2.7.70" "supportedFeatures(70)"
WeekMask B "2.9.3.2.7.71" "weekMask(71)"
# corruptedPDUsReceivedCounter(72) -- corruptedPDUsReceivedCounter attribute type
# incomingConnectionRejectErrorCounter(73) -- incomingConnectionRejectErrorCounte...
# incomingConnectionRequestsCounter(74) -- incomingConnectionRequestsCounter attr...
# incomingDisconnectCounter(75) -- incomingDisconnectCounter attribute type
# ncomingDisconnectErrorCounter(76) -- ncomingDisconnectErrorCounter attribute ty...
# incomingProtocolErrorCounter(77) -- incomingProtocolErrorCounter attribute type
# octetsReceivedCounter(78) -- octetsReceivedCounter attribute type
# octetsRetransmittedErrorCounter(79) -- octetsRetransmittedErrorCounter attribut...
# octetsSentCounter(80) -- octetsSentCounter attribute type
# outgoingConnectionRejectErrorCounter(81) -- outgoingConnectionRejectErrorCounte...
# outgoingConnectionRequestsCounter(82) -- outgoingConnectionRequestsCounter attr...
# outgoingDisconnectCounter(83) -- outgoingDisconnectCounter attribute type
# outgoingDisconnectErrorCounter(84) -- outgoingDisconnectErrorCounter attribute ...
# outgoingProtocolErrorCounter(85) -- outgoingProtocolErrorCounter attribute type
# pdusReceivedCounter(86) -- pdusReceivedCounter attribute type (PDU: Protocol Da...
# pdusRetransmittedErrorCounter(87) -- pdusRetransmittedErrorCounter attribute ty...
# pdusSentCounter(88) -- pdusSentCounter attribute type (PDU: Protocol Data Unit)
# corruptedPDUsReceivedThreshold(89) -- corruptedPDUsReceivedThreshold attribute ...
# incomingConnectionRejectErrorThreshold(90) -- incomingConnectionRejectErrorThre...
# incomingConnectionRequestsThreshold(91) -- incomingConnectionRequestsThreshold ...
# incomingDisconnectErrorThreshold(92) -- incomingDisconnectErrorThreshold attrib...
# incomingProtocolErrorThreshold(93) -- incomingProtocolErrorThreshold attribute ...
# octetsReceivedThreshold(94) -- octetsReceivedThreshold attribute type
# octetsRetransmittedThreshold(95) -- octetsRetransmittedThreshold attribute type
# octetsSentThreshold(96) -- octetsSentThreshold attribute type
# outgoingConnectionRejectErrorThreshold(97) -- outgoingConnectionRejectErrorThre...
# outgoingConnectionRequestsThreshold(98) -- outgoingConnectionRequestsThreshold ...
# outgoingDisconnectErrorThreshold(99) -- outgoingDisconnectErrorThreshold attrib...
# outgoingProtocolErrorThreshold(100) -- outgoingProtocolErrorThreshold attribute...
# pdusReceivedThreshold(101) -- pdusReceivedThreshold attribute type (PDU: Protoc...
# pdusRetransmittedErrorThreshold(102) -- pdusRetransmittedErrorThreshold attribu...
# pdusSentThreshold(103) -- pdusSentThreshold attribute type (PDU: Protocol Data ...
LifecycleState B "2.9.3.2.7.115" "lifecycleState(115)"
#.OMIT_ASSIGNMENT
# Removed as they are giving 'defined but not used' warnings currently.
ROSEapdus
CounterThreshold
GaugeThreshold
GaugeThresholdValue
LogAvailability
NotifyThreshold
SchedulingAvailability
TideMarkInfo
TideMark
UnscheduledLogAvailability
Priority
RejectProblem
#.PDU
#.FN_HDR CMIPAbortInfo
col_append_str(actx->pinfo->cinfo, COL_INFO, "CMIP-A-ABORT");
#.END
#.FN_HDR CMIPUserInfo
col_append_str(actx->pinfo->cinfo, COL_INFO, "CMIP-A-ASSOCIATE");
#.END
#.FN_BODY CMIPAbortSource VAL_PTR = &value
guint32 value;
%(DEFAULT_BODY)s
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " AbortSource:%%s", val_to_str(value, cmip_CMIPAbortSource_vals, " Unknown AbortSource:%%d"));
#.END
#.FN_BODY Code/local VAL_PTR = &opcode
%(DEFAULT_BODY)s
if(opcode_type== OPCODE_RETURN_ERROR){
col_append_str(actx->pinfo->cinfo, COL_INFO, val_to_str(opcode, cmip_error_code_vals, " Unknown Opcode:%%d"));
}else{
col_append_str(actx->pinfo->cinfo, COL_INFO, val_to_str(opcode, cmip_Opcode_vals, " Unknown Opcode:%%d"));
}
#.END
#.FN_HDR Invoke
opcode_type=OPCODE_INVOKE;
col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "Invoke ");
#.END
#.FN_HDR ReturnResult
opcode_type=OPCODE_RETURN_RESULT;
col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "ReturnResult ");
#.END
#.FN_HDR ReturnError
opcode_type=OPCODE_RETURN_ERROR;
col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "ReturnError ");
#.END
#.FN_HDR Reject
opcode_type=OPCODE_REJECT;
col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "Reject ");
#.END
#.FN_BODY AttributeId/globalForm FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
%(DEFAULT_BODY)s
actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? TRUE : FALSE;
#.FN_BODY AttributeId/localForm VAL_PTR = &actx->external.indirect_reference
%(DEFAULT_BODY)s
actx->external.indirect_ref_present = TRUE;
#.FN_BODY Attribute/value
if(actx->external.direct_ref_present){
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, actx->private_data);
} else if (actx->external.indirect_ref_present &&
dissector_try_uint(attribute_id_dissector_table, actx->external.indirect_reference, tvb, actx->pinfo, tree)) {
offset=tvb_reported_length (tvb);
} else {
offset=dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
}
#.FN_PARS AttributeValueAssertion/id
FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
#.FN_FTR AttributeValueAssertion/id
actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? TRUE : FALSE;
#.FN_BODY AttributeValueAssertion/value
if (actx->external.direct_ref_present) {
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, actx->private_data);
}
#.FN_BODY Invoke/argument
switch(opcode){
case 0: /* M-eventreport */
offset = dissect_cmip_EventReportArgument(FALSE, tvb, offset, actx, tree, -1);
break;
case 1: /* M-eventreport-confirmed */
offset = dissect_cmip_EventReportArgument(FALSE, tvb, offset, actx, tree, -1);
break;
case 2: /* M-linkedreply */
offset = dissect_cmip_LinkedReplyArgument(FALSE, tvb, offset, actx, tree, -1);
break;
case 3: /* M-get */
offset = dissect_cmip_GetArgument(FALSE, tvb, offset,actx, tree, -1);
break;
case 4: /* M-set */
offset = dissect_cmip_SetArgument(FALSE, tvb, offset,actx, tree, -1);
break;
case 5: /* M-set-confirmed */
offset = dissect_cmip_SetArgument(FALSE, tvb, offset,actx, tree, -1);
break;
case 6: /* M-action*/
offset = dissect_cmip_ActionArgument(FALSE, tvb, offset, actx, tree, -1);
break;
case 7: /* M-action-confirmed*/
offset = dissect_cmip_ActionArgument(FALSE, tvb, offset, actx, tree, -1);
break;
case 8: /* M-create*/
offset = dissect_cmip_CreateArgument(FALSE, tvb, offset, actx, tree, -1);
break;
case 9: /* M-delete*/
offset = dissect_cmip_DeleteArgument(FALSE, tvb, offset, actx, tree, -1);
break;
case 10: /* M-cancelget */
offset = dissect_cmip_InvokeIDType(FALSE, tvb, offset, actx, tree, -1);
break;
}
#.FN_BODY ReturnResult/result/result
switch(opcode){
case 0: /* M-eventreport*/
break; /* No return data */
case 1: /* M-eventreport-confirmed */
offset = dissect_cmip_EventReportResult(FALSE, tvb, offset, actx, tree, -1);
break;
case 2: /* M-linkedreply*/
break; /* No return data */
case 3: /* M-get */
offset = dissect_cmip_GetResult(FALSE, tvb, offset, actx, tree, -1);
break;
case 4: /* M-set */
break; /* No return data */
case 5: /* M-set-confirmed*/
offset = dissect_cmip_SetResult(FALSE, tvb, offset, actx, tree, -1);
break;
case 6: /* M-action*/
break; /* No return data */
case 7: /* M-action-confirmed*/
offset = dissect_cmip_ActionResult(FALSE, tvb, offset, actx, tree, -1);
break;
case 8: /* M-create*/
offset = dissect_cmip_CreateResult(FALSE, tvb, offset, actx, tree, -1);
break;
case 9: /* M-delete*/
offset = dissect_cmip_DeleteResult(FALSE, tvb, offset, actx, tree, -1);
break;
case 10: /* M-cancelget */
break; /* doe this one return any data? */
}
/*XXX add more types here */
#.FN_BODY ReturnError/parameter
switch(opcode){
case 19: /* classInstanceConflict */
dissect_cmip_BaseManagedObjectId(FALSE, tvb, offset, actx, tree, -1);
break;
case 20: /* complexityLimitation */
dissect_cmip_ComplexityLimitation(FALSE, tvb, offset, actx, tree, -1);
break;
case 11: /* duplicateManagedObjectInstance */
dissect_cmip_ObjectInstance(FALSE, tvb, offset, actx, tree, -1);
break;
case 7: /* getListError */
dissect_cmip_GetListError(FALSE, tvb, offset, actx, tree, -1);
break;
case 15: /* invalidArgumentValue */
dissect_cmip_InvalidArgumentValue(FALSE, tvb, offset, actx, tree, -1);
break;
case 6: /* invalidAttributeValue */
dissect_cmip_Attribute(FALSE, tvb, offset, actx, tree, -1);
break;
case 4: /* invalidFilter */
dissect_cmip_CMISFilter(FALSE, tvb, offset, actx, tree, -1);
break;
case 17: /* invalidObjectInstance */
dissect_cmip_ObjectInstance(FALSE, tvb, offset, actx, tree, -1);
break;
case 16: /* invalidScope */
dissect_cmip_Scope(FALSE, tvb, offset, actx, tree, -1);
break;
case 18: /* missingAttributeValue */
/* Hmmm SET OF AttributeId */
dissect_cmip_PAR_missingAttributeValue(FALSE, tvb, offset, actx, tree, -1);
break;
case 9: /* noSuchAction */
dissect_cmip_NoSuchAction(FALSE, tvb, offset, actx, tree, -1);
break;
case 14: /* noSuchArgument */
dissect_cmip_NoSuchArgument(FALSE, tvb, offset, actx, tree, -1);
break;
case 5: /* noSuchAttribute */
dissect_cmip_AttributeId(FALSE, tvb, offset, actx, tree, -1);
break;
case 13: /* noSuchEventType */
dissect_cmip_NoSuchEventType(FALSE, tvb, offset, actx, tree, -1);
break;
case 22: /* noSuchInvokeId */
dissect_cmip_InvokeIDType(FALSE, tvb, offset, actx, tree, -1);
break;
case 0: /* noSuchObjectClass */
dissect_cmip_ObjectClass(FALSE, tvb, offset, actx, tree, -1);
break;
case 1:/* noSuchObjectInstance */
dissect_cmip_ObjectInstance(FALSE, tvb, offset, actx, tree, -1);
break;
case 12: /* noSuchReferenceObject */
dissect_cmip_ObjectInstance(FALSE, tvb, offset, actx, tree, -1);
break;
case 10: /* processingFailure OPTIONAL TRUE*/
dissect_cmip_ProcessingFailure(FALSE, tvb, offset, actx, tree, -1);
break;
case 8: /* setListError */
dissect_cmip_SetListError(FALSE, tvb, offset, actx, tree, -1);
break;
case 3:/* syncNotSupported */
dissect_cmip_CMISSync(FALSE, tvb, offset, actx, tree, -1);
break;
}
#.FN_PARS ObjectClass/globalForm
FN_VARIANT = _str
#.FN_PARS ActionTypeId/globalForm
FN_VARIANT = _str HF_INDEX = hf_cmip_actionType_OID VAL_PTR = &object_identifier_id
#.FN_BODY ActionInfo/actionInfoArg
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
#.FN_PARS EventTypeId/globalForm
FN_VARIANT = _str HF_INDEX = hf_cmip_eventType_OID VAL_PTR = &object_identifier_id
#.FN_BODY EventReportArgument/eventInfo
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
#.FN_BODY EventReply/eventReplyInfo
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
#.FN_BODY SetArgument/modificationList/_item/attributeValue
if(actx->external.direct_ref_present){
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
} else if (actx->external.indirect_ref_present &&
dissector_try_uint(attribute_id_dissector_table, actx->external.indirect_reference, tvb, actx->pinfo, tree)) {
offset=tvb_reported_length (tvb);
} else {
offset=dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
}
#.FN_PARS SpecificErrorInfo/errorId
FN_VARIANT = _str HF_INDEX = hf_cmip_errorId_OID VAL_PTR = &object_identifier_id
#.FN_BODY SpecificErrorInfo/errorInfo
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
#.FN_BODY AttributeError/attributeValue
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
#.FN_BODY InvalidArgumentValue/eventValue/eventInfo
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
#.FN_BODY ActionReply/actionReplyInfo
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
# X.721
#.FN_PARS ManagementExtension/identifier FN_VARIANT = _str VAL_PTR = &object_identifier_id
#.FN_BODY ManagementExtension/information
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
#.FN_BODY AttributeValueChangeDefinition/_item/oldAttributeValue
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
#.FN_BODY AttributeValueChangeDefinition/_item/newAttributeValue
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
#.FN_PARS ServiceUser/identifier FN_VARIANT = _str VAL_PTR = &object_identifier_id
#.FN_BODY ServiceUser/details
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
#.FN_PARS SupportedFeatures/_item/featureIdentifier FN_VARIANT = _str VAL_PTR = &object_identifier_id
#.FN_BODY SupportedFeatures/_item/featureInfo
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
#.FIELD_ATTR
Attribute/id ABBREV=attributeid
FilterItem/present ABBREV=filterItempresent
Invoke/linkedId/present ABBREV=linkedIdPresent
#.END |
C | wireshark/epan/dissectors/asn1/cmip/packet-cmip-template.c | /* packet-cmip.c
* Routines for X.711 CMIP packet dissection
* Ronnie Sahlberg 2004
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/expert.h>
#include <epan/oids.h>
#include <epan/asn1.h>
#include "packet-ber.h"
#include "packet-acse.h"
#include "packet-x509if.h"
#include "packet-cmip.h"
#define PNAME "X711 CMIP"
#define PSNAME "CMIP"
#define PFNAME "cmip"
void proto_register_cmip(void);
void proto_reg_handoff_cmip(void);
/* XXX some stuff we need until we can get rid of it */
#include "packet-ses.h"
#include "packet-pres.h"
/* Initialize the protocol and registered fields */
static int proto_cmip = -1;
static int hf_cmip_actionType_OID = -1;
static int hf_cmip_eventType_OID = -1;
static int hf_cmip_attributeId_OID = -1;
static int hf_cmip_errorId_OID = -1;
#include "packet-cmip-hf.c"
/* Initialize the subtree pointers */
static gint ett_cmip = -1;
#include "packet-cmip-ett.c"
static expert_field ei_wrong_spdu_type = EI_INIT;
static guint32 opcode;
static dissector_handle_t cmip_handle = NULL;
/* Dissector table */
static dissector_table_t attribute_id_dissector_table;
#include "packet-cmip-table.c"
static int opcode_type;
#define OPCODE_INVOKE 1
#define OPCODE_RETURN_RESULT 2
#define OPCODE_RETURN_ERROR 3
#define OPCODE_REJECT 4
static const char *object_identifier_id;
#include "packet-cmip-val.h"
#include "packet-cmip-fn.c"
/* XXX this one should be broken out later and moved into the conformance file */
static int
dissect_cmip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data)
{
struct SESSION_DATA_STRUCTURE* session;
proto_item *item;
proto_tree *tree;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
/* Reject the packet if data is NULL */
if (data == NULL)
return 0;
session = (struct SESSION_DATA_STRUCTURE*)data;
if(session->spdu_type == 0 ) {
proto_tree_add_expert_format(parent_tree, pinfo, &ei_wrong_spdu_type, tvb, 0, -1,
"Internal error: wrong spdu type %x from session dissector.", session->spdu_type);
return 0;
}
asn1_ctx.private_data = session;
item = proto_tree_add_item(parent_tree, proto_cmip, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_cmip);
col_set_str(pinfo->cinfo, COL_PROTOCOL, "CMIP");
col_clear(pinfo->cinfo, COL_INFO);
switch(session->spdu_type){
case SES_CONNECTION_REQUEST:
case SES_CONNECTION_ACCEPT:
case SES_DISCONNECT:
case SES_FINISH:
case SES_REFUSE:
dissect_cmip_CMIPUserInfo(FALSE,tvb,0,&asn1_ctx,tree,-1);
break;
case SES_ABORT:
dissect_cmip_CMIPAbortInfo(FALSE,tvb,0,&asn1_ctx,tree,-1);
break;
case SES_DATA_TRANSFER:
dissect_cmip_ROS(FALSE,tvb,0,&asn1_ctx,tree,-1);
break;
default:
;
}
return tvb_captured_length(tvb);
}
/*--- proto_register_cmip ----------------------------------------------*/
void proto_register_cmip(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_cmip_actionType_OID,
{ "actionType", "cmip.actionType_OID",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_cmip_eventType_OID,
{ "eventType", "cmip.eventType_OID",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_cmip_attributeId_OID,
{ "attributeId", "cmip.attributeId_OID",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_cmip_errorId_OID,
{ "errorId", "cmip.errorId_OID",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
#include "packet-cmip-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_cmip,
#include "packet-cmip-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_wrong_spdu_type, { "cmip.wrong_spdu_type", PI_PROTOCOL, PI_ERROR, "Internal error: wrong spdu type", EXPFILL }},
};
expert_module_t* expert_cmip;
/* Register protocol */
proto_cmip = proto_register_protocol(PNAME, PSNAME, PFNAME);
cmip_handle = register_dissector("cmip", dissect_cmip, proto_cmip);
/* Register fields and subtrees */
proto_register_field_array(proto_cmip, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_cmip = expert_register_protocol(proto_cmip);
expert_register_field_array(expert_cmip, ei, array_length(ei));
#include "packet-cmip-dis-tab.c"
oid_add_from_string("discriminatorId(1)","2.9.3.2.7.1");
attribute_id_dissector_table = register_dissector_table("cmip.attribute_id", "CMIP Attribute Id", proto_cmip, FT_UINT32, BASE_DEC);
}
/*--- proto_reg_handoff_cmip -------------------------------------------*/
void proto_reg_handoff_cmip(void) {
register_ber_oid_dissector_handle("2.9.0.0.2", cmip_handle, proto_cmip, "cmip");
register_ber_oid_dissector_handle("2.9.1.1.4", cmip_handle, proto_cmip, "joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
oid_add_from_string("2.9.3.2.3.1","managedObjectClass(3) alarmRecord(1)");
oid_add_from_string("2.9.3.2.3.2","managedObjectClass(3) attributeValueChangeRecord(2)");
oid_add_from_string("2.9.3.2.3.3","managedObjectClass(3) discriminator(3)");
oid_add_from_string("2.9.3.2.3.4","managedObjectClass(3) eventForwardingDiscriminator(4)");
oid_add_from_string("2.9.3.2.3.5","managedObjectClass(3) eventLogRecord(5)");
oid_add_from_string("2.9.3.2.3.6","managedObjectClass(3) log(6)");
oid_add_from_string("2.9.3.2.3.7","managedObjectClass(3) logRecord(7)");
oid_add_from_string("2.9.3.2.3.8","managedObjectClass(3) objectCreationRecord(8)");
oid_add_from_string("2.9.3.2.3.9","managedObjectClass(3) objectDeletionRecord(9)");
oid_add_from_string("2.9.3.2.3.10","managedObjectClass(3) relationshipChangeRecord(10)");
oid_add_from_string("2.9.3.2.3.11","managedObjectClass(3) securityAlarmReportRecord(11)");
oid_add_from_string("2.9.3.2.3.12","managedObjectClass(3) stateChangeRecord(12)");
oid_add_from_string("2.9.3.2.3.13","managedObjectClass(3) system(13)");
oid_add_from_string("2.9.3.2.3.14","managedObjectClass(3) top(14)");
oid_add_from_string("2.9.3.2.4.14","administrativeStatePackage(14)");
oid_add_from_string("2.9.1.1.4","joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
/*#include "packet-cmip-dis-tab.c" */
} |
C/C++ | wireshark/epan/dissectors/asn1/cmip/packet-cmip-template.h | /* packet-cmip.h
* Routines for X.711 CMIP packet dissection
* Ronnie Sahlberg 2004
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_CMIP_H
#define PACKET_CMIP_H
#include "packet-cmip-exp.h"
#endif /* PACKET_CMIP_H */ |
Text | wireshark/epan/dissectors/asn1/cmp/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME cmp )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
CMP.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
../pkix1explicit/pkix1explicit_exp.cnf
../pkix1implicit/pkix1implicit_exp.cnf
"${CMAKE_CURRENT_BINARY_DIR}/../crmf/crmf-exp.cnf"
)
ASN2WRS() |
ASN.1 | wireshark/epan/dissectors/asn1/cmp/CMP.asn | -- Extracted from RFC4210
-- by Martin Peylo <[email protected]>
--
-- Changes to the original ASN.1 source:
-- - Commented out the import of UTF8String which is not needed
-- - Commented out PKIBody/p10cr since PKCS-10 is not implemented
-- - Uncommented the definitions for the OIDs used in InfoTypeAndValue
--
-- The copyright statement from the original description in RFC4211
-- follows below:
--
-- Full Copyright Statement
--
-- Copyright (C) The Internet Society (2005).
--
-- This document is subject to the rights, licenses and restrictions
-- contained in BCP 78, and except as set forth therein, the authors
-- retain all their rights.
--
-- This document and the information contained herein are provided on an
-- "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
-- OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
-- ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
-- INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
-- INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
-- WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
PKIXCMP {iso(1) identified-organization(3)
dod(6) internet(1) security(5) mechanisms(5) pkix(7)
id-mod(0) id-mod-cmp2000(16)}
DEFINITIONS EXPLICIT TAGS ::=
BEGIN
-- EXPORTS ALL --
IMPORTS
Certificate, CertificateList, Extensions, AlgorithmIdentifier --,
-- UTF8String
-- if required; otherwise, comment out
FROM PKIX1Explicit88 {iso(1) identified-organization(3)
dod(6) internet(1) security(5) mechanisms(5) pkix(7)
id-mod(0) id-pkix1-explicit-88(1)}
GeneralName, KeyIdentifier
FROM PKIX1Implicit88 {iso(1) identified-organization(3)
dod(6) internet(1) security(5) mechanisms(5) pkix(7)
id-mod(0) id-pkix1-implicit-88(2)}
CertTemplate, PKIPublicationInfo, EncryptedValue, CertId,
CertReqMessages
FROM PKIXCRMF-2005 {iso(1) identified-organization(3)
dod(6) internet(1) security(5) mechanisms(5) pkix(7)
id-mod(0) id-mod-crmf2005(36)}
-- see also the behavioral clarifications to CRMF codified in
-- Appendix C of this specification
CertificationRequest
FROM PKCS-10 {iso(1) member-body(2)
us(840) rsadsi(113549)
pkcs(1) pkcs-10(10) modules(1) pkcs-10(1)}
-- (specified in RFC 2986 with 1993 ASN.1 syntax and IMPLICIT
-- tags). Alternatively, implementers may directly include
-- the [PKCS10] syntax in this module
;
-- the rest of the module contains locally-defined OIDs and
-- constructs
CMPCertificate ::= CHOICE {
x509v3PKCert Certificate
}
-- This syntax, while bits-on-the-wire compatible with the
-- standard X.509 definition of "Certificate", allows the
-- possibility of future certificate types (such as X.509
-- attribute certificates, WAP WTLS certificates, or other kinds
-- of certificates) within this certificate management protocol,
-- should a need ever arise to support such generality. Those
-- implementations that do not foresee a need to ever support
-- other certificate types MAY, if they wish, comment out the
-- above structure and "un-comment" the following one prior to
-- compiling this ASN.1 module. (Note that interoperability
-- with implementations that don't do this will be unaffected by
-- this change.)
-- CMPCertificate ::= Certificate
PKIMessage ::= SEQUENCE {
header PKIHeader,
body PKIBody,
protection [0] PKIProtection OPTIONAL,
extraCerts [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
OPTIONAL
}
PKIMessages ::= SEQUENCE SIZE (1..MAX) OF PKIMessage
PKIHeader ::= SEQUENCE {
pvno INTEGER { cmp1999(1), cmp2000(2) },
sender GeneralName,
-- identifies the sender
recipient GeneralName,
-- identifies the intended recipient
messageTime [0] GeneralizedTime OPTIONAL,
-- time of production of this message (used when sender
-- believes that the transport will be "suitable"; i.e.,
-- that the time will still be meaningful upon receipt)
protectionAlg [1] AlgorithmIdentifier OPTIONAL,
-- algorithm used for calculation of protection bits
senderKID [2] KeyIdentifier OPTIONAL,
recipKID [3] KeyIdentifier OPTIONAL,
-- to identify specific keys used for protection
transactionID [4] OCTET STRING OPTIONAL,
-- identifies the transaction; i.e., this will be the same in
-- corresponding request, response, certConf, and PKIConf
-- messages
senderNonce [5] OCTET STRING OPTIONAL,
recipNonce [6] OCTET STRING OPTIONAL,
-- nonces used to provide replay protection, senderNonce
-- is inserted by the creator of this message; recipNonce
-- is a nonce previously inserted in a related message by
-- the intended recipient of this message
freeText [7] PKIFreeText OPTIONAL,
-- this may be used to indicate context-specific instructions
-- (this field is intended for human consumption)
generalInfo [8] SEQUENCE SIZE (1..MAX) OF
InfoTypeAndValue OPTIONAL
-- this may be used to convey context-specific information
-- (this field not primarily intended for human consumption)
}
PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String
-- text encoded as UTF-8 String [RFC3629] (note: each
-- UTF8String MAY include an [RFC3066] language tag
-- to indicate the language of the contained text
-- see [RFC2482] for details)
PKIBody ::= CHOICE { -- message-specific body elements
ir [0] CertReqMessages, --Initialization Request
ip [1] CertRepMessage, --Initialization Response
cr [2] CertReqMessages, --Certification Request
cp [3] CertRepMessage, --Certification Response
p10cr [4] CertificationRequest, --imported from [PKCS10]
popdecc [5] POPODecKeyChallContent, --pop Challenge
popdecr [6] POPODecKeyRespContent, --pop Response
kur [7] CertReqMessages, --Key Update Request
kup [8] CertRepMessage, --Key Update Response
krr [9] CertReqMessages, --Key Recovery Request
krp [10] KeyRecRepContent, --Key Recovery Response
rr [11] RevReqContent, --Revocation Request
rp [12] RevRepContent, --Revocation Response
ccr [13] CertReqMessages, --Cross-Cert. Request
ccp [14] CertRepMessage, --Cross-Cert. Response
ckuann [15] CAKeyUpdAnnContent, --CA Key Update Ann.
cann [16] CertAnnContent, --Certificate Ann.
rann [17] RevAnnContent, --Revocation Ann.
crlann [18] CRLAnnContent, --CRL Announcement
pkiconf [19] PKIConfirmContent, --Confirmation
nested [20] NestedMessageContent, --Nested Message
genm [21] GenMsgContent, --General Message
genp [22] GenRepContent, --General Response
error [23] ErrorMsgContent, --Error Message
certConf [24] CertConfirmContent, --Certificate confirm
pollReq [25] PollReqContent, --Polling request
pollRep [26] PollRepContent --Polling response
}
PKIProtection ::= BIT STRING
ProtectedPart ::= SEQUENCE {
header PKIHeader,
body PKIBody
}
id-PasswordBasedMac OBJECT IDENTIFIER ::= {1 2 840 113533 7 66 13}
PBMParameter ::= SEQUENCE {
salt OCTET STRING,
-- note: implementations MAY wish to limit acceptable sizes
-- of this string to values appropriate for their environment
-- in order to reduce the risk of denial-of-service attacks
owf AlgorithmIdentifier,
-- AlgId for a One-Way Function (SHA-1 recommended)
iterationCount INTEGER,
-- number of times the OWF is applied
-- note: implementations MAY wish to limit acceptable sizes
-- of this integer to values appropriate for their environment
-- in order to reduce the risk of denial-of-service attacks
mac AlgorithmIdentifier
-- the MAC AlgId (e.g., DES-MAC, Triple-DES-MAC [PKCS11],
} -- or HMAC [RFC2104, RFC2202])
id-DHBasedMac OBJECT IDENTIFIER ::= {1 2 840 113533 7 66 30}
DHBMParameter ::= SEQUENCE {
owf AlgorithmIdentifier,
-- AlgId for a One-Way Function (SHA-1 recommended)
mac AlgorithmIdentifier
-- the MAC AlgId (e.g., DES-MAC, Triple-DES-MAC [PKCS11],
} -- or HMAC [RFC2104, RFC2202])
NestedMessageContent ::= PKIMessages
PKIStatus ::= INTEGER {
accepted (0),
-- you got exactly what you asked for
grantedWithMods (1),
-- you got something like what you asked for; the
-- requester is responsible for ascertaining the differences
rejection (2),
-- you don't get it, more information elsewhere in the message
waiting (3),
-- the request body part has not yet been processed; expect to
-- hear more later (note: proper handling of this status
-- response MAY use the polling req/rep PKIMessages specified
-- in Section 5.3.22; alternatively, polling in the underlying
-- transport layer MAY have some utility in this regard)
revocationWarning (4),
-- this message contains a warning that a revocation is
-- imminent
revocationNotification (5),
-- notification that a revocation has occurred
keyUpdateWarning (6)
-- update already done for the oldCertId specified in
-- CertReqMsg
}
PKIFailureInfo ::= BIT STRING {
-- since we can fail in more than one way!
-- More codes may be added in the future if/when required.
badAlg (0),
-- unrecognized or unsupported Algorithm Identifier
badMessageCheck (1),
-- integrity check failed (e.g., signature did not verify)
badRequest (2),
-- transaction not permitted or supported
badTime (3),
-- messageTime was not sufficiently close to the system time,
-- as defined by local policy
badCertId (4),
-- no certificate could be found matching the provided criteria
badDataFormat (5),
-- the data submitted has the wrong format
wrongAuthority (6),
-- the authority indicated in the request is different from the
-- one creating the response token
incorrectData (7),
-- the requester's data is incorrect (for notary services)
missingTimeStamp (8),
-- when the timestamp is missing but should be there
-- (by policy)
badPOP (9),
-- the proof-of-possession failed
certRevoked (10),
-- the certificate has already been revoked
certConfirmed (11),
-- the certificate has already been confirmed
wrongIntegrity (12),
-- invalid integrity, password based instead of signature or
-- vice versa
badRecipientNonce (13),
-- invalid recipient nonce, either missing or wrong value
timeNotAvailable (14),
-- the TSA's time source is not available
unacceptedPolicy (15),
-- the requested TSA policy is not supported by the TSA.
unacceptedExtension (16),
-- the requested extension is not supported by the TSA.
addInfoNotAvailable (17),
-- the additional information requested could not be
-- understood or is not available
badSenderNonce (18),
-- invalid sender nonce, either missing or wrong size
badCertTemplate (19),
-- invalid cert. template or missing mandatory information
signerNotTrusted (20),
-- signer of the message unknown or not trusted
transactionIdInUse (21),
-- the transaction identifier is already in use
unsupportedVersion (22),
-- the version of the message is not supported
notAuthorized (23),
-- the sender was not authorized to make the preceding
-- request or perform the preceding action
systemUnavail (24),
-- the request cannot be handled due to system unavailability
systemFailure (25),
-- the request cannot be handled due to system failure
duplicateCertReq (26)
-- certificate cannot be issued because a duplicate
-- certificate already exists
}
PKIStatusInfo ::= SEQUENCE {
status PKIStatus,
statusString PKIFreeText OPTIONAL,
failInfo PKIFailureInfo OPTIONAL
}
OOBCert ::= CMPCertificate
OOBCertHash ::= SEQUENCE {
hashAlg [0] AlgorithmIdentifier OPTIONAL,
certId [1] CertId OPTIONAL,
hashVal BIT STRING
-- hashVal is calculated over the DER encoding of the
-- self-signed certificate with the identifier certID.
}
POPODecKeyChallContent ::= SEQUENCE OF Challenge
-- One Challenge per encryption key certification request (in the
-- same order as these requests appear in CertReqMessages).
Challenge ::= SEQUENCE {
owf AlgorithmIdentifier OPTIONAL,
-- MUST be present in the first Challenge; MAY be omitted in
-- any subsequent Challenge in POPODecKeyChallContent (if
-- omitted, then the owf used in the immediately preceding
-- Challenge is to be used).
witness OCTET STRING,
-- the result of applying the one-way function (owf) to a
-- randomly-generated INTEGER, A. [Note that a different
-- INTEGER MUST be used for each Challenge.]
challenge OCTET STRING
-- the encryption (under the public key for which the cert.
-- request is being made) of Rand, where Rand is specified as
-- Rand ::= SEQUENCE {
-- int INTEGER,
-- - the randomly-generated INTEGER A (above)
-- sender GeneralName
-- - the sender's name (as included in PKIHeader)
-- }
}
POPODecKeyRespContent ::= SEQUENCE OF INTEGER
-- One INTEGER per encryption key certification request (in the
-- same order as these requests appear in CertReqMessages). The
-- retrieved INTEGER A (above) is returned to the sender of the
-- corresponding Challenge.
CertRepMessage ::= SEQUENCE {
caPubs [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
OPTIONAL,
response SEQUENCE OF CertResponse
}
CertResponse ::= SEQUENCE {
certReqId INTEGER,
-- to match this response with corresponding request (a value
-- of -1 is to be used if certReqId is not specified in the
-- corresponding request)
status PKIStatusInfo,
certifiedKeyPair CertifiedKeyPair OPTIONAL,
rspInfo OCTET STRING OPTIONAL
-- analogous to the id-regInfo-utf8Pairs string defined
-- for regInfo in CertReqMsg [CRMF]
}
CertifiedKeyPair ::= SEQUENCE {
certOrEncCert CertOrEncCert,
privateKey [0] EncryptedValue OPTIONAL,
-- see [CRMF] for comment on encoding
publicationInfo [1] PKIPublicationInfo OPTIONAL
}
CertOrEncCert ::= CHOICE {
certificate [0] CMPCertificate,
encryptedCert [1] EncryptedValue
}
KeyRecRepContent ::= SEQUENCE {
status PKIStatusInfo,
newSigCert [0] CMPCertificate OPTIONAL,
caCerts [1] SEQUENCE SIZE (1..MAX) OF
CMPCertificate OPTIONAL,
keyPairHist [2] SEQUENCE SIZE (1..MAX) OF
CertifiedKeyPair OPTIONAL
}
RevReqContent ::= SEQUENCE OF RevDetails
RevDetails ::= SEQUENCE {
certDetails CertTemplate,
-- allows requester to specify as much as they can about
-- the cert. for which revocation is requested
-- (e.g., for cases in which serialNumber is not available)
crlEntryDetails Extensions OPTIONAL
-- requested crlEntryExtensions
}
RevRepContent ::= SEQUENCE {
status SEQUENCE SIZE (1..MAX) OF PKIStatusInfo,
-- in same order as was sent in RevReqContent
revCerts [0] SEQUENCE SIZE (1..MAX) OF CertId
OPTIONAL,
-- IDs for which revocation was requested
-- (same order as status)
crls [1] SEQUENCE SIZE (1..MAX) OF CertificateList
-- the resulting CRLs (there may be more than one)
}
CAKeyUpdAnnContent ::= SEQUENCE {
oldWithNew CMPCertificate, -- old pub signed with new priv
newWithOld CMPCertificate, -- new pub signed with old priv
newWithNew CMPCertificate -- new pub signed with new priv
}
CertAnnContent ::= CMPCertificate
RevAnnContent ::= SEQUENCE {
status PKIStatus,
certId CertId,
willBeRevokedAt GeneralizedTime,
badSinceDate GeneralizedTime,
crlDetails Extensions OPTIONAL
-- extra CRL details (e.g., crl number, reason, location, etc.)
}
CRLAnnContent ::= SEQUENCE OF CertificateList
CertConfirmContent ::= SEQUENCE OF CertStatus
CertStatus ::= SEQUENCE {
certHash OCTET STRING,
-- the hash of the certificate, using the same hash algorithm
-- as is used to create and verify the certificate signature
certReqId INTEGER,
-- to match this confirmation with the corresponding req/rep
statusInfo PKIStatusInfo OPTIONAL
}
PKIConfirmContent ::= NULL
InfoTypeAndValue ::= SEQUENCE {
infoType OBJECT IDENTIFIER,
infoValue ANY DEFINED BY infoType OPTIONAL
}
-- Example InfoTypeAndValue contents include, but are not limited
-- to, the following (un-comment in this ASN.1 module and use as
-- appropriate for a given environment):
--
-- id-it-caProtEncCert OBJECT IDENTIFIER ::= {id-it 1}
CAProtEncCertValue ::= CMPCertificate
-- id-it-signKeyPairTypes OBJECT IDENTIFIER ::= {id-it 2}
SignKeyPairTypesValue ::= SEQUENCE OF AlgorithmIdentifier
-- id-it-encKeyPairTypes OBJECT IDENTIFIER ::= {id-it 3}
EncKeyPairTypesValue ::= SEQUENCE OF AlgorithmIdentifier
-- id-it-preferredSymmAlg OBJECT IDENTIFIER ::= {id-it 4}
PreferredSymmAlgValue ::= AlgorithmIdentifier
-- id-it-caKeyUpdateInfo OBJECT IDENTIFIER ::= {id-it 5}
CAKeyUpdateInfoValue ::= CAKeyUpdAnnContent
-- id-it-currentCRL OBJECT IDENTIFIER ::= {id-it 6}
CurrentCRLValue ::= CertificateList
-- id-it-unsupportedOIDs OBJECT IDENTIFIER ::= {id-it 7}
UnsupportedOIDsValue ::= SEQUENCE OF OBJECT IDENTIFIER
-- id-it-keyPairParamReq OBJECT IDENTIFIER ::= {id-it 10}
KeyPairParamReqValue ::= OBJECT IDENTIFIER
-- id-it-keyPairParamRep OBJECT IDENTIFIER ::= {id-it 11}
KeyPairParamRepValue ::= AlgorithmIdentifier
-- id-it-revPassphrase OBJECT IDENTIFIER ::= {id-it 12}
RevPassphraseValue ::= EncryptedValue
-- id-it-implicitConfirm OBJECT IDENTIFIER ::= {id-it 13}
ImplicitConfirmValue ::= NULL
-- id-it-confirmWaitTime OBJECT IDENTIFIER ::= {id-it 14}
ConfirmWaitTimeValue ::= GeneralizedTime
-- id-it-origPKIMessage OBJECT IDENTIFIER ::= {id-it 15}
OrigPKIMessageValue ::= PKIMessages
-- id-it-suppLangTags OBJECT IDENTIFIER ::= {id-it 16}
SuppLangTagsValue ::= SEQUENCE OF UTF8String
--
-- where
--
-- id-pkix OBJECT IDENTIFIER ::= {
-- iso(1) identified-organization(3)
-- dod(6) internet(1) security(5) mechanisms(5) pkix(7)}
-- and
-- id-it OBJECT IDENTIFIER ::= {id-pkix 4}
--
--
-- This construct MAY also be used to define new PKIX Certificate
-- Management Protocol request and response messages, or general-
-- purpose (e.g., announcement) messages for future needs or for
-- specific environments.
GenMsgContent ::= SEQUENCE OF InfoTypeAndValue
-- May be sent by EE, RA, or CA (depending on message content).
-- The OPTIONAL infoValue parameter of InfoTypeAndValue will
-- typically be omitted for some of the examples given above.
-- The receiver is free to ignore any contained OBJ. IDs that it
-- does not recognize. If sent from EE to CA, the empty set
-- indicates that the CA may send
-- any/all information that it wishes.
GenRepContent ::= SEQUENCE OF InfoTypeAndValue
-- Receiver MAY ignore any contained OIDs that it does not
-- recognize.
ErrorMsgContent ::= SEQUENCE {
pKIStatusInfo PKIStatusInfo,
errorCode INTEGER OPTIONAL,
-- implementation-specific error codes
errorDetails PKIFreeText OPTIONAL
-- implementation-specific error details
}
PollReqContent ::= SEQUENCE OF SEQUENCE {
certReqId INTEGER
}
PollRepContent ::= SEQUENCE OF SEQUENCE {
certReqId INTEGER,
checkAfter INTEGER, -- time in seconds
reason PKIFreeText OPTIONAL
}
END -- of CMP module |
Configuration | wireshark/epan/dissectors/asn1/cmp/cmp.cnf | # CMP.cnf
# CMP conformation file
#.MODULE_IMPORT
PKIX1Explicit88 pkix1explicit
PKIX1Implicit88 pkix1implicit
PKCS-10 pkcs10
#.INCLUDE ../pkix1explicit/pkix1explicit_exp.cnf
#.INCLUDE ../pkix1implicit/pkix1implicit_exp.cnf
#.INCLUDE ../crmf/crmf-exp.cnf
#.EXPORTS
PKIMessage
ProtectedPart
OOBCert
OOBCertHash
#.REGISTER
PBMParameter B "1.2.840.113533.7.66.13" "id-PasswordBasedMac"
DHBMParameter B "1.2.640.113533.7.66.30" "id-DHBasedMac"
CAProtEncCertValue B "1.3.6.1.5.5.7.4.1" "id-it-caProtEncCert"
SignKeyPairTypesValue B "1.3.6.1.5.5.7.4.2" "id-it-signKeyPairTypes"
EncKeyPairTypesValue B "1.3.6.1.5.5.7.4.3" "id-it-encKeyPairTypes"
PreferredSymmAlgValue B "1.3.6.1.5.5.7.4.4" "id-it-preferredSymmAlg"
CAKeyUpdateInfoValue B "1.3.6.1.5.5.7.4.5" "id-it-caKeyUpdateInfo"
CurrentCRLValue B "1.3.6.1.5.5.7.4.6" "id-it-currentCRL"
UnsupportedOIDsValue B "1.3.6.1.5.5.7.4.7" "id-it-unsupportedOIDs"
KeyPairParamReqValue B "1.3.6.1.5.5.7.4.10" "id-it-keyPairParamReq"
KeyPairParamRepValue B "1.3.6.1.5.5.7.4.11" "id-it-keyPairParamRep"
RevPassphraseValue B "1.3.6.1.5.5.7.4.12" "id-it-revPassphrase"
ImplicitConfirmValue B "1.3.6.1.5.5.7.4.13" "id-it-implicitConfirm"
ConfirmWaitTimeValue B "1.3.6.1.5.5.7.4.14" "id-it-confirmWaitTime"
OrigPKIMessageValue B "1.3.6.1.5.5.7.4.15" "id-it-origPKIMessage"
SuppLangTagsValue B "1.3.6.1.5.5.7.4.16" "id-it-suppLangTags"
#.NO_EMIT
#.TYPE_RENAME
#.FIELD_RENAME
RevRepContent/status rvrpcnt_status
CertResponse/status pkistatusinf
KeyRecRepContent/status pkistatusinf
PKIStatusInfo/status pkistatus
RevAnnContent/status pkistatus
#.FIELD_ATTR
PKIStatusInfo/status ABBREV=pkistatus
RevRepContent/status ABBREV=rvrpcnt_status
#.FN_PARS InfoTypeAndValue/infoType
FN_VARIANT = _str HF_INDEX = hf_cmp_type_oid VAL_PTR = &actx->external.direct_reference
#.FN_BODY InfoTypeAndValue/infoValue
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
#.FN_PARS PKIBody
VAL_PTR = &branch_taken
#.FN_BODY PKIBody
gint branch_taken;
%(DEFAULT_BODY)s
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Body=%%s", val_to_str(branch_taken, cmp_PKIBody_vals, "unknown"));
#.FN_PARS PKIStatus
VAL_PTR = &value
#.FN_BODY PKIStatus
guint32 value;
%(DEFAULT_BODY)s
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Status=%%s", val_to_str(value, cmp_PKIStatus_vals, "unknown"));
#.END_OF_CNF |
C | wireshark/epan/dissectors/asn1/cmp/packet-cmp-template.c | /* packet-cmp.c
*
* Routines for RFC2510 Certificate Management Protocol packet dissection
* Ronnie Sahlberg 2004
* Updated to RFC4210 CMPv2 and associated "Transport Protocols for CMP" draft
* Martin Peylo 2008
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/oids.h>
#include <epan/asn1.h>
#include "packet-ber.h"
#include "packet-cmp.h"
#include "packet-crmf.h"
#include "packet-pkix1explicit.h"
#include "packet-pkix1implicit.h"
#include "packet-pkcs10.h"
#include "packet-tcp.h"
#include "packet-http.h"
#include <epan/prefs.h>
#define PNAME "Certificate Management Protocol"
#define PSNAME "CMP"
#define PFNAME "cmp"
#define TCP_PORT_CMP 829
void proto_register_cmp(void);
static dissector_handle_t cmp_http_handle;
static dissector_handle_t cmp_tcp_style_http_handle;
static dissector_handle_t cmp_tcp_handle;
/* desegmentation of CMP over TCP */
static gboolean cmp_desegment = TRUE;
static guint cmp_alternate_http_port = 0;
static guint cmp_alternate_tcp_style_http_port = 0;
/* Initialize the protocol and registered fields */
static int proto_cmp = -1;
static int hf_cmp_type_oid = -1;
static int hf_cmp_tcptrans_len = -1;
static int hf_cmp_tcptrans_type = -1;
static int hf_cmp_tcptrans_poll_ref = -1;
static int hf_cmp_tcptrans_next_poll_ref = -1;
static int hf_cmp_tcptrans_ttcb = -1;
static int hf_cmp_tcptrans10_version = -1;
static int hf_cmp_tcptrans10_flags = -1;
#include "packet-cmp-hf.c"
/* Initialize the subtree pointers */
static gint ett_cmp = -1;
#include "packet-cmp-ett.c"
#include "packet-cmp-fn.c"
static int
dissect_cmp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
return dissect_cmp_PKIMessage(FALSE, tvb, 0, &asn1_ctx, tree, -1);
}
#define CMP_TYPE_PKIMSG 0
#define CMP_TYPE_POLLREP 1
#define CMP_TYPE_POLLREQ 2
#define CMP_TYPE_NEGPOLLREP 3
#define CMP_TYPE_PARTIALMSGREP 4
#define CMP_TYPE_FINALMSGREP 5
#define CMP_TYPE_ERRORMSGREP 6
static const value_string cmp_pdu_types[] = {
{ CMP_TYPE_PKIMSG, "pkiMsg" },
{ CMP_TYPE_POLLREP, "pollRep" },
{ CMP_TYPE_POLLREQ, "pollReq" },
{ CMP_TYPE_NEGPOLLREP, "negPollRep" },
{ CMP_TYPE_PARTIALMSGREP, "partialMsgRep" },
{ CMP_TYPE_FINALMSGREP, "finalMsgRep" },
{ CMP_TYPE_ERRORMSGREP, "errorMsgRep" },
{ 0, NULL },
};
static int dissect_cmp_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data _U_)
{
tvbuff_t *next_tvb;
guint32 pdu_len;
guint8 pdu_type;
proto_item *item=NULL;
proto_item *ti=NULL;
proto_tree *tree=NULL;
proto_tree *tcptrans_tree=NULL;
int offset=0;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "CMP");
col_set_str(pinfo->cinfo, COL_INFO, "PKIXCMP");
if(parent_tree){
item=proto_tree_add_item(parent_tree, proto_cmp, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_cmp);
}
pdu_len=tvb_get_ntohl(tvb, 0);
pdu_type=tvb_get_guint8(tvb, 4);
if (pdu_type < 10) {
/* RFC2510 TCP transport */
ti = proto_tree_add_item(tree, proto_cmp, tvb, offset, 5, ENC_NA);
tcptrans_tree = proto_item_add_subtree(ti, ett_cmp);
proto_tree_add_item(tree, hf_cmp_tcptrans_len, tvb, offset, 4, ENC_BIG_ENDIAN);
offset += 4;
proto_tree_add_item(tree, hf_cmp_tcptrans_type, tvb, offset++, 1, ENC_BIG_ENDIAN);
} else {
/* post RFC2510 TCP transport - the former "type" field is now "version" */
tcptrans_tree = proto_tree_add_subtree(tree, tvb, offset, 7, ett_cmp, NULL, "TCP transport");
pdu_type=tvb_get_guint8(tvb, 6);
proto_tree_add_item(tcptrans_tree, hf_cmp_tcptrans_len, tvb, offset, 4, ENC_BIG_ENDIAN);
offset += 4;
proto_tree_add_item(tcptrans_tree, hf_cmp_tcptrans10_version, tvb, offset++, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(tcptrans_tree, hf_cmp_tcptrans10_flags, tvb, offset++, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(tcptrans_tree, hf_cmp_tcptrans_type, tvb, offset++, 1, ENC_BIG_ENDIAN);
}
col_add_str (pinfo->cinfo, COL_INFO, val_to_str (pdu_type, cmp_pdu_types, "0x%x"));
switch(pdu_type){
case CMP_TYPE_PKIMSG:
next_tvb = tvb_new_subset_length_caplen(tvb, offset, tvb_reported_length_remaining(tvb, offset), pdu_len);
dissect_cmp_pdu(next_tvb, pinfo, tree, NULL);
offset += tvb_reported_length_remaining(tvb, offset);
break;
case CMP_TYPE_POLLREP:
proto_tree_add_item(tcptrans_tree, hf_cmp_tcptrans_poll_ref, tvb, offset, 4, ENC_BIG_ENDIAN);
offset += 4;
proto_tree_add_item(tcptrans_tree, hf_cmp_tcptrans_ttcb, tvb, offset, 4, ENC_TIME_SECS|ENC_BIG_ENDIAN);
offset += 4;
break;
case CMP_TYPE_POLLREQ:
proto_tree_add_item(tcptrans_tree, hf_cmp_tcptrans_poll_ref, tvb, offset, 4, ENC_BIG_ENDIAN);
offset += 4;
break;
case CMP_TYPE_NEGPOLLREP:
break;
case CMP_TYPE_PARTIALMSGREP:
proto_tree_add_item(tcptrans_tree, hf_cmp_tcptrans_next_poll_ref, tvb, offset, 4, ENC_BIG_ENDIAN);
offset += 4;
proto_tree_add_item(tcptrans_tree, hf_cmp_tcptrans_ttcb, tvb, offset, 4, ENC_TIME_SECS|ENC_BIG_ENDIAN);
offset += 4;
next_tvb = tvb_new_subset_length_caplen(tvb, offset, tvb_reported_length_remaining(tvb, offset), pdu_len);
dissect_cmp_pdu(next_tvb, pinfo, tree, NULL);
offset += tvb_reported_length_remaining(tvb, offset);
break;
case CMP_TYPE_FINALMSGREP:
next_tvb = tvb_new_subset_length_caplen(tvb, offset, tvb_reported_length_remaining(tvb, offset), pdu_len);
dissect_cmp_pdu(next_tvb, pinfo, tree, NULL);
offset += tvb_reported_length_remaining(tvb, offset);
break;
case CMP_TYPE_ERRORMSGREP:
/*XXX to be added*/
break;
}
return offset;
}
static guint get_cmp_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb,
int offset, void *data _U_)
{
guint32 plen;
/*
* Get the length of the CMP-over-TCP packet.
*/
plen = tvb_get_ntohl(tvb, offset);
return plen+4;
}
/* CMP over TCP: RFC2510 section 5.2 and "Transport Protocols for CMP" draft */
static int
dissect_cmp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data)
{
guint32 pdu_len;
guint8 pdu_type;
int offset=4; /* RFC2510 TCP transport header length */
/* only attempt to dissect it as CMP over TCP if we have
* at least 5 bytes.
*/
if (!tvb_bytes_exist(tvb, 0, 5)) {
return 0;
}
pdu_len=tvb_get_ntohl(tvb, 0);
pdu_type=tvb_get_guint8(tvb, 4);
if(pdu_type == 10) {
/* post RFC2510 TCP transport */
pdu_type = tvb_get_guint8(tvb, 7);
offset = 7; /* post RFC2510 TCP transport header length */
/* arbitrary limit: assume a CMP over TCP pdu is never >10000 bytes
* in size.
* It is definitely at least 3 byte for post RFC2510 TCP transport
*/
if((pdu_len<=2)||(pdu_len>10000)){
return 0;
}
} else {
/* RFC2510 TCP transport */
/* type is between 0 and 6 */
if(pdu_type>6){
return 0;
}
/* arbitrary limit: assume a CMP over TCP pdu is never >10000 bytes
* in size.
* It is definitely at least 1 byte to accommodate the flags byte
*/
if((pdu_len<=0)||(pdu_len>10000)){
return 0;
}
}
/* type 0 contains a PKI message and must therefore be >= 3 bytes
* long (flags + BER TAG + BER LENGTH
*/
if((pdu_type==0)&&(pdu_len<3)){
return 0;
}
tcp_dissect_pdus(tvb, pinfo, parent_tree, cmp_desegment, offset, get_cmp_pdu_len,
dissect_cmp_tcp_pdu, data);
return tvb_captured_length(tvb);
}
static int
dissect_cmp_http(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data _U_)
{
proto_item *item=NULL;
proto_tree *tree=NULL;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "CMP");
col_set_str(pinfo->cinfo, COL_INFO, "PKIXCMP");
if(parent_tree){
item=proto_tree_add_item(parent_tree, proto_cmp, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_cmp);
}
return dissect_cmp_pdu(tvb, pinfo, tree, NULL);
}
/*--- proto_register_cmp ----------------------------------------------*/
void proto_register_cmp(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_cmp_type_oid,
{ "InfoType", "cmp.type.oid",
FT_STRING, BASE_NONE, NULL, 0,
"Type of InfoTypeAndValue", HFILL }},
{ &hf_cmp_tcptrans_len,
{ "Length", "cmp.tcptrans.length",
FT_UINT32, BASE_DEC, NULL, 0,
"TCP transport Length of PDU in bytes", HFILL }},
{ &hf_cmp_tcptrans_type,
{ "Type", "cmp.tcptrans.type",
FT_UINT8, BASE_DEC, VALS(cmp_pdu_types), 0,
"TCP transport PDU Type", HFILL }},
{ &hf_cmp_tcptrans_poll_ref,
{ "Polling Reference", "cmp.tcptrans.poll_ref",
FT_UINT32, BASE_HEX, NULL, 0,
"TCP transport Polling Reference", HFILL }},
{ &hf_cmp_tcptrans_next_poll_ref,
{ "Next Polling Reference", "cmp.tcptrans.next_poll_ref",
FT_UINT32, BASE_HEX, NULL, 0,
"TCP transport Next Polling Reference", HFILL }},
{ &hf_cmp_tcptrans_ttcb,
{ "Time to check Back", "cmp.tcptrans.ttcb",
FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0,
"TCP transport Time to check Back", HFILL }},
{ &hf_cmp_tcptrans10_version,
{ "Version", "cmp.tcptrans10.version",
FT_UINT8, BASE_DEC, NULL, 0,
"TCP transport version", HFILL }},
{ &hf_cmp_tcptrans10_flags,
{ "Flags", "cmp.tcptrans10.flags",
FT_UINT8, BASE_DEC, NULL, 0,
"TCP transport flags", HFILL }},
#include "packet-cmp-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_cmp,
#include "packet-cmp-ettarr.c"
};
module_t *cmp_module;
/* Register protocol */
proto_cmp = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_cmp, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
/* Register preferences */
cmp_module = prefs_register_protocol(proto_cmp, proto_reg_handoff_cmp);
prefs_register_bool_preference(cmp_module, "desegment",
"Reassemble CMP-over-TCP messages spanning multiple TCP segments",
"Whether the CMP-over-TCP dissector should reassemble messages spanning multiple TCP segments. "
"To use this option, you must also enable \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings.",
&cmp_desegment);
prefs_register_uint_preference(cmp_module, "http_alternate_port",
"Alternate HTTP port",
"Decode this TCP port\'s traffic as CMP-over-HTTP. Set to \"0\" to disable. "
"Use this if the Content-Type is not set correctly.",
10,
&cmp_alternate_http_port);
prefs_register_uint_preference(cmp_module, "tcp_style_http_alternate_port",
"Alternate TCP-style-HTTP port",
"Decode this TCP port\'s traffic as TCP-transport-style CMP-over-HTTP. Set to \"0\" to disable. "
"Use this if the Content-Type is not set correctly.",
10,
&cmp_alternate_tcp_style_http_port);
/* Register dissectors */
cmp_http_handle = register_dissector("cmp.http", dissect_cmp_http, proto_cmp);
cmp_tcp_style_http_handle = register_dissector("cmp.tcp_pdu", dissect_cmp_tcp_pdu, proto_cmp);
cmp_tcp_handle = register_dissector("cmp", dissect_cmp_tcp, proto_cmp);
register_ber_syntax_dissector("PKIMessage", proto_cmp, dissect_cmp_pdu);
}
/*--- proto_reg_handoff_cmp -------------------------------------------*/
void proto_reg_handoff_cmp(void) {
static gboolean inited = FALSE;
static guint cmp_alternate_http_port_prev = 0;
static guint cmp_alternate_tcp_style_http_port_prev = 0;
if (!inited) {
dissector_add_string("media_type", "application/pkixcmp", cmp_http_handle);
dissector_add_string("media_type", "application/x-pkixcmp", cmp_http_handle);
dissector_add_string("media_type", "application/pkixcmp-poll", cmp_tcp_style_http_handle);
dissector_add_string("media_type", "application/x-pkixcmp-poll", cmp_tcp_style_http_handle);
dissector_add_uint_with_preference("tcp.port", TCP_PORT_CMP, cmp_tcp_handle);
oid_add_from_string("Cryptlib-presence-check","1.3.6.1.4.1.3029.3.1.1");
oid_add_from_string("Cryptlib-PKIBoot","1.3.6.1.4.1.3029.3.1.2");
oid_add_from_string("HMAC MD5","1.3.6.1.5.5.8.1.1");
oid_add_from_string("HMAC SHA-1","1.3.6.1.5.5.8.1.2");
oid_add_from_string("HMAC TIGER","1.3.6.1.5.5.8.1.3");
oid_add_from_string("HMAC RIPEMD-160","1.3.6.1.5.5.8.1.4");
#include "packet-cmp-dis-tab.c"
inited = TRUE;
}
/* change alternate HTTP port if changed in the preferences */
if (cmp_alternate_http_port != cmp_alternate_http_port_prev) {
if (cmp_alternate_http_port_prev != 0) {
http_tcp_dissector_delete(cmp_alternate_http_port_prev);
}
if (cmp_alternate_http_port != 0)
http_tcp_dissector_add( cmp_alternate_http_port, cmp_http_handle);
cmp_alternate_http_port_prev = cmp_alternate_http_port;
}
/* change alternate TCP-style-HTTP port if changed in the preferences */
if (cmp_alternate_tcp_style_http_port != cmp_alternate_tcp_style_http_port_prev) {
if (cmp_alternate_tcp_style_http_port_prev != 0) {
http_tcp_dissector_delete(cmp_alternate_tcp_style_http_port_prev);
}
if (cmp_alternate_tcp_style_http_port != 0)
http_tcp_dissector_add( cmp_alternate_tcp_style_http_port, cmp_tcp_style_http_handle);
cmp_alternate_tcp_style_http_port_prev = cmp_alternate_tcp_style_http_port;
}
} |
C/C++ | wireshark/epan/dissectors/asn1/cmp/packet-cmp-template.h | /* packet-cmp.h
* Routines for RFC2510 Certificate Management Protocol packet dissection
* Ronnie Sahlberg 2004
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_CMP_H
#define PACKET_CMP_H
void proto_reg_handoff_cmp(void);
#include "packet-cmp-exp.h"
#endif /* PACKET_CMP_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/cms/AttributeCertificateVersion1.asn | -- Extracted from RFC5652
AttributeCertificateVersion1
{ iso(1) member-body(2) us(840) rsadsi(113549)
pkcs(1) pkcs-9(9) smime(16) modules(0) v1AttrCert(15) }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- EXPORTS All
IMPORTS
-- Directory Authentication Framework (X.509)
AttCertValidityPeriod, Extensions, IssuerSerial
FROM AuthenticationFramework { joint-iso-itu-t ds(5)
module(1) authenticationFramework(7) 3 }
GeneralNames
FROM CertificateExtensions { joint-iso-ccitt ds(5)
module(1) certificateExtensions(26) 0 }
UniqueIdentifier
FROM SelectedAttributeTypes { joint-iso-itu-t ds(5) module(1)
selectedAttributeTypes(5) 3 };
-- Definition extracted from X.509-1997 [X.509-97], but
-- different type names are used to avoid collisions.
AttributeCertificateV1 ::= SEQUENCE {
acInfo AttributeCertificateInfoV1,
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING }
AttributeCertificateInfoV1 ::= SEQUENCE {
version AttCertVersionV1 DEFAULT v1,
subject CHOICE {
baseCertificateID [0] IssuerSerial,
-- associated with a Public Key Certificate
subjectName [1] GeneralNames },
-- associated with a name
issuer GeneralNames,
signature AlgorithmIdentifier,
serialNumber CertificateSerialNumber,
attCertValidityPeriod AttCertValidityPeriod,
attributes SEQUENCE OF Attribute,
issuerUniqueID UniqueIdentifier OPTIONAL,
extensions Extensions OPTIONAL }
AttCertVersionV1 ::= INTEGER { v1(0) }
END -- of AttributeCertificateVersion1 |
Text | wireshark/epan/dissectors/asn1/cms/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME cms )
set( PROTO_OPT )
set( EXPORT_FILES
${PROTOCOL_NAME}-exp.cnf
)
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
CryptographicMessageSyntax.asn
AttributeCertificateVersion1.asn
CMSFirmwareWrapper.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b -C )
set( EXTRA_CNF
"${CMAKE_CURRENT_BINARY_DIR}/../x509af/x509af-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509ce/x509ce-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509if/x509if-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509sat/x509sat-exp.cnf"
)
set ( EXPORT_DEPENDS
"${CMAKE_CURRENT_BINARY_DIR}/../x509af/x509af-exp.cnf"
)
ASN2WRS() |
Configuration | wireshark/epan/dissectors/asn1/cms/cms.cnf | # CMS.cnf
# CMS conformation file
#.IMPORT ../x509af/x509af-exp.cnf
#.IMPORT ../x509ce/x509ce-exp.cnf
#.IMPORT ../x509if/x509if-exp.cnf
#.IMPORT ../x509sat/x509sat-exp.cnf
#.OMIT_ASSIGNMENT
CBCParameter
ExtendedCertificateOrCertificate
#.END
#.EXPORTS
ContentInfo
ContentType
Countersignature
Digest
DigestAlgorithmIdentifier
DigestAlgorithmIdentifiers
DigestInfo
EncapsulatedContentInfo
EnvelopedData
AuthEnvelopedData
IssuerAndSerialNumber
SignedAttributes
SignedData
SignerIdentifier
SignerInfo
SignerInfos
SignatureValue
UnsignedAttributes
#.REGISTER
ContentInfo B "1.2.840.113549.1.9.16.1.6" "id-ct-contentInfo"
#OctetString B "1.2.840.113549.1.7.1" "id-data" see x509sat.cnf
SignedData B "1.2.840.113549.1.7.2" "id-signedData"
EnvelopedData B "1.2.840.113549.1.7.3" "id-envelopedData"
DigestedData B "1.2.840.113549.1.7.5" "id-digestedData"
EncryptedData B "1.2.840.113549.1.7.6" "id-encryptedData"
AuthenticatedData B "1.2.840.113549.1.9.16.1.2" "id-ct-authenticatedData"
EncryptedContentInfo B "1.2.840.113549.1.9.16.1.9" "id-ct-compressedData"
AuthEnvelopedData B "1.2.840.113549.1.9.16.1.23" "id-ct-authEnvelopedData"
ContentType B "1.2.840.113549.1.9.3" "id-contentType"
MessageDigest B "1.2.840.113549.1.9.4" "id-messageDigest"
SigningTime B "1.2.840.113549.1.9.5" "id-signingTime"
Countersignature B "1.2.840.113549.1.9.6" "id-counterSignature"
ContentInfo B "2.6.1.4.18" "id-et-pkcs7"
IssuerAndSerialNumber B "1.3.6.1.4.1.311.16.4" "ms-oe-encryption-key-preference"
SMIMECapabilities B "1.2.840.113549.1.9.15" "id-smime-capabilities"
SMIMEEncryptionKeyPreference B "1.2.840.113549.1.9.16.2.11" "id-encryption-key-preference"
# I think the following should be RC2CBCParameter - but that appears to be incorrect
RC2CBCParameters B "1.2.840.113549.3.4" "id-alg-rc4"
KeyEncryptionAlgorithmIdentifier B "0.4.0.127.0.7.1.1.5.1.1.3" "ecka-eg-X963KDF-SHA256"
KeyEncryptionAlgorithmIdentifier B "0.4.0.127.0.7.1.1.5.1.1.4" "ecka-eg-X963KDF-SHA384"
KeyEncryptionAlgorithmIdentifier B "0.4.0.127.0.7.1.1.5.1.1.5" "ecka-eg-X963KDF-SHA512"
KeyEncryptionAlgorithmIdentifier B "2.16.840.1.101.3.4.1.5" "id-aes128-wrap"
KeyEncryptionAlgorithmIdentifier B "2.16.840.1.101.3.4.1.25" "id-aes192-wrap"
KeyEncryptionAlgorithmIdentifier B "2.16.840.1.101.3.4.1.45" "id-aes256-wrap"
GCMParameters B "2.16.840.1.101.3.4.1.6" "id-aes128-GCM"
GCMParameters B "2.16.840.1.101.3.4.1.26" "id-aes192-GCM"
GCMParameters B "2.16.840.1.101.3.4.1.46" "id-aes256-GCM"
CCMParameters B "2.16.840.1.101.3.4.1.7" "id-aes128-CCM"
CCMParameters B "2.16.840.1.101.3.4.1.27" "id-aes192-CCM"
CCMParameters B "2.16.840.1.101.3.4.1.44" "id-aes256-CCM"
# EC algorithms from RFC 3278 / RFC 5753
KeyWrapAlgorithm B "1.3.133.16.840.63.0.2" "dhSinglePass-stdDH-sha1kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.11.0" "dhSinglePass-stdDH-sha224kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.11.1" "dhSinglePass-stdDH-sha256kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.11.2" "dhSinglePass-stdDH-sha384kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.11.3" "dhSinglePass-stdDH-sha512kdf-scheme"
KeyWrapAlgorithm B "1.3.133.16.840.63.0.3" "dhSinglePass-cofactorDH-sha1kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.14.0" "dhSinglePass-cofactorDH-sha224kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.14.1" "dhSinglePass-cofactorDH-sha256kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.14.2" "dhSinglePass-cofactorDH-sha384kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.14.3" "dhSinglePass-cofactorDH-sha512kdf-scheme"
KeyWrapAlgorithm B "1.3.133.16.840.63.0.16" "mqvSinglePass-sha1kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.15.0" "mqvSinglePass-sha224kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.15.1" "mqvSinglePass-sha256kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.15.2" "mqvSinglePass-sha384kdf-scheme"
KeyWrapAlgorithm B "1.3.132.1.15.3" "mqvSinglePass-sha512kdf-scheme"
# RFC 3370 [CMS-ASN] (and RFC 5911 section 3)
# - section 4.3.1 - registered in packet-cms-template.c
# NULL B "1.2.840.113549.1.9.16.3.6" "id-alg-CMS3DESwrap"
# - section 4.3.2
RC2WrapParameter B "1.2.840.113549.1.9.16.3.7" "id-alg-CMSRC2-wrap"
# - section 4.4.1 - PBKDF2-params defined in PKCS#5 / RFC 8018 - not yet implemented
# PBKDF2-params B "1.2.840.113549.1.5.12" "id-PBKDF2"
# - section 5.1
IV B "1.2.840.113549.3.7" "des-ede3-cbc"
# - section 5.2
RC2CBCParameters B "1.2.840.113549.3.2" "rc2-cbc"
# RFC 2798 Attributes - see master list in x509sat.cnf
SignedData B "2.16.840.1.113730.3.1.40" "userSMIMECertificate"
# RFC 4108 Attributes (in CMSFirmwareWrapper.asn)
FirmwarePkgData B "1.2.840.113549.1.9.16.1.16" "id-ct-firmwarePackage"
FirmwarePackageIdentifier B "1.2.840.113549.1.9.16.2.35" "id-aa-firmwarePackageID"
TargetHardwareIdentifiers B "1.2.840.113549.1.9.16.2.36" "id-aa-targetHardwareIDs"
DecryptKeyIdentifier B "1.2.840.113549.1.9.16.2.37" "id-aa-decryptKeyID"
ImplementedCryptoAlgorithms B "1.2.840.113549.1.9.16.2.38" "id-aa-implCryptoAlgs"
ImplementedCompressAlgorithms B "1.2.840.113549.1.9.16.2.43" "id-aa-implCompressAlgs"
CommunityIdentifiers B "1.2.840.113549.1.9.16.2.40" "id-aa-communityIdentifiers"
FirmwarePackageInfo B "1.2.840.113549.1.9.16.2.42" "id-aa-firmwarePackageInfo"
WrappedFirmwareKey B "1.2.840.113549.1.9.16.2.39" "id-aa-wrappedFirmwareKey"
FirmwarePackageLoadReceipt B "1.2.840.113549.1.9.16.1.17" "id-ct-firmwareLoadReceipt"
FirmwarePackageLoadError B "1.2.840.113549.1.9.16.1.18" "id-ct-firmwareLoadError"
HardwareModuleName B "1.3.6.1.5.5.7.8.4" "id-on-hardwareModuleName"
FirmwarePackageMessageDigest B "1.2.840.113549.1.9.16.2.41" "id-aa-fwPkgMessageDigest"
#.NO_EMIT
#.TYPE_RENAME
#.FIELD_RENAME
SignerInfo/signature signatureValue
RecipientEncryptedKey/rid rekRid
EncryptedContentInfo/contentType encryptedContentType
AttributeCertificateV1/signature signatureValue_v1
AttributeCertificateV1/signatureAlgorithm signatureAlgorithm_v1
AttributeCertificateInfoV1/attributes attributes_v1
AttributeCertificateInfoV1/issuer issuer_v1
AttributeCertificateInfoV1/signature signature_v1
AttributeCertificateInfoV1/version version_v1
RevocationInfoChoice/other otherRIC
FirmwarePackageLoadReceipt/version fwReceiptVersion
FirmwarePackageLoadError/version fwErrorVersion
#.FN_BODY ContentInfo
top_tree = tree;
%(DEFAULT_BODY)s
top_tree = NULL;
#.FN_PARS ContentType
FN_VARIANT = _str VAL_PTR = &cms_data->object_identifier_id
#.FN_BODY ContentType
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
cms_data->object_identifier_id = NULL;
const char *name = NULL;
%(DEFAULT_BODY)s
if(cms_data->object_identifier_id) {
name = oid_resolved_from_string(actx->pinfo->pool, cms_data->object_identifier_id);
proto_item_append_text(tree, " (%%s)", name ? name : cms_data->object_identifier_id);
}
#.FN_BODY ContentInfo/content
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
offset=call_ber_oid_callback(cms_data->object_identifier_id, tvb, offset, actx->pinfo, tree, NULL);
#.FN_BODY EncapsulatedContentInfo/eContent
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
cms_data->content_tvb = NULL;
offset = dissect_ber_octet_string(FALSE, actx, tree, tvb, offset, hf_index, &cms_data->content_tvb);
if(cms_data->content_tvb) {
proto_item_set_text(actx->created_item, "eContent (%%u bytes)", tvb_reported_length(cms_data->content_tvb));
call_ber_oid_callback(cms_data->object_identifier_id, cms_data->content_tvb, 0, actx->pinfo, top_tree ? top_tree : tree, NULL);
}
#.FN_PARS OtherRecipientInfo/oriType
FN_VARIANT = _str VAL_PTR = &cms_data->object_identifier_id
#.FN_HDR OtherRecipientInfo/oriType
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
cms_data->object_identifier_id = NULL;
#.FN_BODY OtherRecipientInfo/oriValue
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
offset=call_ber_oid_callback(cms_data->object_identifier_id, tvb, offset, actx->pinfo, tree, NULL);
#.FN_PARS OtherKeyAttribute/keyAttrId
FN_VARIANT = _str HF_INDEX = hf_cms_ci_contentType VAL_PTR = &cms_data->object_identifier_id
#.FN_HDR OtherKeyAttribute/keyAttrId
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
cms_data->object_identifier_id = NULL;
#.FN_BODY OtherKeyAttribute/keyAttr
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
offset=call_ber_oid_callback(cms_data->object_identifier_id, tvb, offset, actx->pinfo, tree, NULL);
#.FN_PARS OtherRevocationInfoFormat/otherRevInfoFormat
FN_VARIANT = _str VAL_PTR = &cms_data->object_identifier_id
#.FN_HDR OtherRevocationInfoFormat/otherRevInfoFormat
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
cms_data->object_identifier_id = NULL;
#.FN_BODY OtherRevocationInfoFormat/otherRevInfo
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
offset=call_ber_oid_callback(cms_data->object_identifier_id, tvb, offset, actx->pinfo, tree, NULL);
#.FN_PARS Attribute/attrType
FN_VARIANT = _str HF_INDEX = hf_cms_attrType VAL_PTR = &cms_data->object_identifier_id
#.FN_BODY Attribute/attrType
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
cms_data->object_identifier_id = NULL;
const char *name = NULL;
%(DEFAULT_BODY)s
if(cms_data->object_identifier_id) {
name = oid_resolved_from_string(actx->pinfo->pool, cms_data->object_identifier_id);
proto_item_append_text(tree, " (%%s)", name ? name : cms_data->object_identifier_id);
}
#.FN_BODY AttributeValue
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
offset=call_ber_oid_callback(cms_data->object_identifier_id, tvb, offset, actx->pinfo, tree, NULL);
#.FN_BODY MessageDigest
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
proto_item *pi;
int old_offset = offset;
%(DEFAULT_BODY)s
pi = actx->created_item;
/* move past TLV */
old_offset = get_ber_identifier(tvb, old_offset, NULL, NULL, NULL);
old_offset = get_ber_length(tvb, old_offset, NULL, NULL);
if(cms_data->content_tvb)
cms_verify_msg_digest(pi, cms_data->content_tvb, x509af_get_last_algorithm_id(), tvb, old_offset);
#.FN_PARS SMIMECapability/capability
FN_VARIANT = _str HF_INDEX = hf_cms_attrType VAL_PTR = &cms_data->object_identifier_id
#.FN_BODY SMIMECapability/capability
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
cms_data->object_identifier_id = NULL;
const char *name = NULL;
%(DEFAULT_BODY)s
if(cms_data->object_identifier_id) {
name = oid_resolved_from_string(actx->pinfo->pool, cms_data->object_identifier_id);
proto_item_append_text(tree, " %%s", name ? name : cms_data->object_identifier_id);
cap_tree = tree;
}
#.FN_BODY SMIMECapability/parameters
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
offset=call_ber_oid_callback(cms_data->object_identifier_id, tvb, offset, actx->pinfo, tree, NULL);
#.FN_PARS RC2ParameterVersion
VAL_PTR = &length
#.FN_BODY RC2ParameterVersion
guint32 length = 0;
%(DEFAULT_BODY)s
if(cap_tree != NULL)
proto_item_append_text(cap_tree, " (%%d bits)", length);
#.FN_PARS EncryptedContent VAL_PTR = &encrypted_tvb
#.FN_HDR EncryptedContent
tvbuff_t *encrypted_tvb;
proto_item *item;
#.END
#.FN_FTR EncryptedContent
struct cms_private_data *cms_data = cms_get_private_data(actx->pinfo);
item = actx->created_item;
PBE_decrypt_data(cms_data->object_identifier_id, encrypted_tvb, actx->pinfo, actx, item);
#.END |
ASN.1 | wireshark/epan/dissectors/asn1/cms/CMSFirmwareWrapper.asn | -- Verbatim copy of Appendix A of RFC 4108 followed by Errata ID 4093
CMSFirmwareWrapper
{ iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
pkcs-9(9) smime(16) modules(0) cms-firmware-wrap(22) }
DEFINITIONS IMPLICIT TAGS ::= BEGIN
IMPORTS
EnvelopedData
FROM CryptographicMessageSyntax -- [CMS]
{ iso(1) member-body(2) us(840) rsadsi(113549)
pkcs(1) pkcs-9(9) smime(16) modules(0) cms-2004(24) };
-- Firmware Package Content Type and Object Identifier
id-ct-firmwarePackage OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) ct(1) 16 }
FirmwarePkgData ::= OCTET STRING
-- Firmware Package Signed Attributes and Object Identifiers
id-aa-firmwarePackageID OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) aa(2) 35 }
FirmwarePackageIdentifier ::= SEQUENCE {
name PreferredOrLegacyPackageIdentifier,
stale PreferredOrLegacyStalePackageIdentifier OPTIONAL }
PreferredOrLegacyPackageIdentifier ::= CHOICE {
preferred PreferredPackageIdentifier,
legacy OCTET STRING }
PreferredPackageIdentifier ::= SEQUENCE {
fwPkgID OBJECT IDENTIFIER,
verNum INTEGER (0..MAX) }
PreferredOrLegacyStalePackageIdentifier ::= CHOICE {
preferredStaleVerNum INTEGER (0..MAX),
legacyStaleVersion OCTET STRING }
id-aa-targetHardwareIDs OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) aa(2) 36 }
TargetHardwareIdentifiers ::= SEQUENCE OF OBJECT IDENTIFIER
id-aa-decryptKeyID OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) aa(2) 37 }
DecryptKeyIdentifier ::= OCTET STRING
id-aa-implCryptoAlgs OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) aa(2) 38 }
ImplementedCryptoAlgorithms ::= SEQUENCE OF OBJECT IDENTIFIER
id-aa-implCompressAlgs OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) aa(2) 43 }
ImplementedCompressAlgorithms ::= SEQUENCE OF OBJECT IDENTIFIER
id-aa-communityIdentifiers OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) aa(2) 40 }
CommunityIdentifiers ::= SEQUENCE OF CommunityIdentifier
CommunityIdentifier ::= CHOICE {
communityOID OBJECT IDENTIFIER,
hwModuleList HardwareModules }
HardwareModules ::= SEQUENCE {
hwType OBJECT IDENTIFIER,
hwSerialEntries SEQUENCE OF HardwareSerialEntry }
HardwareSerialEntry ::= CHOICE {
all NULL,
single OCTET STRING,
block SEQUENCE {
low OCTET STRING,
high OCTET STRING } }
id-aa-firmwarePackageInfo OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) aa(2) 42 }
FirmwarePackageInfo ::= SEQUENCE {
fwPkgType INTEGER OPTIONAL,
dependencies SEQUENCE OF
PreferredOrLegacyPackageIdentifier OPTIONAL }
-- Firmware Package Unsigned Attributes and Object Identifiers
id-aa-wrappedFirmwareKey OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) aa(2) 39 }
WrappedFirmwareKey ::= EnvelopedData
-- Firmware Package Load Receipt Content Type and Object Identifier
id-ct-firmwareLoadReceipt OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) ct(1) 17 }
FirmwarePackageLoadReceipt ::= SEQUENCE {
version FWReceiptVersion DEFAULT v1,
hwType OBJECT IDENTIFIER,
hwSerialNum OCTET STRING,
fwPkgName PreferredOrLegacyPackageIdentifier,
trustAnchorKeyID OCTET STRING OPTIONAL,
decryptKeyID [1] OCTET STRING OPTIONAL }
FWReceiptVersion ::= INTEGER { v1(1) }
-- Firmware Package Load Error Report Content Type
-- and Object Identifier
id-ct-firmwareLoadError OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) ct(1) 18 }
FirmwarePackageLoadError ::= SEQUENCE {
version FWErrorVersion DEFAULT v1,
hwType OBJECT IDENTIFIER,
hwSerialNum OCTET STRING,
errorCode FirmwarePackageLoadErrorCode,
vendorErrorCode VendorLoadErrorCode OPTIONAL,
fwPkgName PreferredOrLegacyPackageIdentifier OPTIONAL,
config [1] SEQUENCE OF CurrentFWConfig OPTIONAL }
FWErrorVersion ::= INTEGER { v1(1) }
CurrentFWConfig ::= SEQUENCE {
fwPkgType INTEGER OPTIONAL,
fwPkgName PreferredOrLegacyPackageIdentifier }
FirmwarePackageLoadErrorCode ::= ENUMERATED {
decodeFailure (1),
badContentInfo (2),
badSignedData (3),
badEncapContent (4),
badCertificate (5),
badSignerInfo (6),
badSignedAttrs (7),
badUnsignedAttrs (8),
missingContent (9),
noTrustAnchor (10),
notAuthorized (11),
badDigestAlgorithm (12),
badSignatureAlgorithm (13),
unsupportedKeySize (14),
signatureFailure (15),
contentTypeMismatch (16),
badEncryptedData (17),
unprotectedAttrsPresent (18),
badEncryptContent (19),
badEncryptAlgorithm (20),
missingCiphertext (21),
noDecryptKey (22),
decryptFailure (23),
badCompressAlgorithm (24),
missingCompressedContent (25),
decompressFailure (26),
wrongHardware (27),
stalePackage (28),
notInCommunity (29),
unsupportedPackageType (30),
missingDependency (31),
wrongDependencyVersion (32),
insufficientMemory (33),
badFirmware (34),
unsupportedParameters (35),
breaksDependency (36),
otherError (99) }
VendorLoadErrorCode ::= INTEGER
-- Other Name syntax for Hardware Module Name
id-on-hardwareModuleName OBJECT IDENTIFIER ::= {
iso(1) identified-organization(3) dod(6) internet(1) security(5)
mechanisms(5) pkix(7) on(8) 4 }
HardwareModuleName ::= SEQUENCE {
hwType OBJECT IDENTIFIER,
hwSerialNum OCTET STRING }
-- From Errata ID 4093: Elements defined Section 2.2.10 and missing in the appendix
id-aa-fwPkgMessageDigest OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
smime(16) aa(2) 41 }
FirmwarePackageMessageDigest ::= SEQUENCE {
algorithm AlgorithmIdentifier,
msgDigest OCTET STRING }
END |
ASN.1 | wireshark/epan/dissectors/asn1/cms/CryptographicMessageSyntax.asn | -- Extracted from RFC5652
-- and massaged/modified so it passes through our asn2wrs compiler
CryptographicMessageSyntax
{ iso(1) member-body(2) us(840) rsadsi(113549)
pkcs(1) pkcs-9(9) smime(16) modules(0) cms-2004(24) }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- EXPORTS All
-- The types and values defined in this module are exported for use
-- in the other ASN.1 modules. Other applications may use them for
-- their own purposes.
IMPORTS
-- Directory Information Framework (X.501)
Name
FROM InformationFramework { joint-iso-itu-t ds(5) modules(1)
informationFramework(1) 3 }
-- Directory Authentication Framework (X.509)
AlgorithmIdentifier, AttributeCertificate, Certificate,
CertificateList, CertificateSerialNumber
FROM AuthenticationFramework { joint-iso-itu-t ds(5)
module(1) authenticationFramework(7) 3 } ;
-- Cryptographic Message Syntax
ContentInfo ::= SEQUENCE {
contentType ContentType,
content [0] EXPLICIT ANY DEFINED BY contentType }
ContentType ::= OBJECT IDENTIFIER
SignedData ::= SEQUENCE {
version CMSVersion,
digestAlgorithms DigestAlgorithmIdentifiers,
encapContentInfo EncapsulatedContentInfo,
certificates [0] IMPLICIT CertificateSet OPTIONAL,
crls [1] IMPLICIT RevocationInfoChoices OPTIONAL,
signerInfos SignerInfos }
DigestAlgorithmIdentifiers ::= SET OF DigestAlgorithmIdentifier
SignerInfos ::= SET OF SignerInfo
-- Implemented by hand in the template
EncapsulatedContentInfo ::= SEQUENCE {
eContentType ContentType,
eContent [0] EXPLICIT OCTET STRING OPTIONAL }
SignerInfo ::= SEQUENCE {
version CMSVersion,
sid SignerIdentifier,
digestAlgorithm DigestAlgorithmIdentifier,
signedAttrs [0] IMPLICIT SignedAttributes OPTIONAL,
signatureAlgorithm SignatureAlgorithmIdentifier,
signature SignatureValue,
unsignedAttrs [1] IMPLICIT UnsignedAttributes OPTIONAL }
SignerIdentifier ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
subjectKeyIdentifier [0] SubjectKeyIdentifier }
SignedAttributes ::= SET SIZE (1..MAX) OF Attribute
UnsignedAttributes ::= SET SIZE (1..MAX) OF Attribute
Attribute ::= SEQUENCE {
attrType OBJECT IDENTIFIER,
attrValues SET OF AttributeValue }
AttributeValue ::= ANY
SignatureValue ::= OCTET STRING
EnvelopedData ::= SEQUENCE {
version CMSVersion,
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
recipientInfos RecipientInfos,
encryptedContentInfo EncryptedContentInfo,
unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }
OriginatorInfo ::= SEQUENCE {
certs [0] IMPLICIT CertificateSet OPTIONAL,
crls [1] IMPLICIT RevocationInfoChoices OPTIONAL }
RecipientInfos ::= SET SIZE (1..MAX) OF RecipientInfo
EncryptedContentInfo ::= SEQUENCE {
contentType ContentType,
contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL }
EncryptedContent ::= OCTET STRING
UnprotectedAttributes ::= SET SIZE (1..MAX) OF Attribute
RecipientInfo ::= CHOICE {
ktri KeyTransRecipientInfo,
kari [1] KeyAgreeRecipientInfo,
kekri [2] KEKRecipientInfo,
pwri [3] PasswordRecipientInfo,
ori [4] OtherRecipientInfo }
EncryptedKey ::= OCTET STRING
KeyTransRecipientInfo ::= SEQUENCE {
version CMSVersion, -- always set to 0 or 2
rid RecipientIdentifier,
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
encryptedKey EncryptedKey }
RecipientIdentifier ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
subjectKeyIdentifier [0] SubjectKeyIdentifier }
KeyAgreeRecipientInfo ::= SEQUENCE {
version CMSVersion, -- always set to 3
originator [0] EXPLICIT OriginatorIdentifierOrKey,
ukm [1] EXPLICIT UserKeyingMaterial OPTIONAL,
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
recipientEncryptedKeys RecipientEncryptedKeys }
OriginatorIdentifierOrKey ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
subjectKeyIdentifier [0] SubjectKeyIdentifier,
originatorKey [1] OriginatorPublicKey }
OriginatorPublicKey ::= SEQUENCE {
algorithm AlgorithmIdentifier,
publicKey BIT STRING }
RecipientEncryptedKeys ::= SEQUENCE OF RecipientEncryptedKey
RecipientEncryptedKey ::= SEQUENCE {
rid KeyAgreeRecipientIdentifier,
encryptedKey EncryptedKey }
KeyAgreeRecipientIdentifier ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
rKeyId [0] IMPLICIT RecipientKeyIdentifier }
RecipientKeyIdentifier ::= SEQUENCE {
subjectKeyIdentifier SubjectKeyIdentifier,
date GeneralizedTime OPTIONAL,
other OtherKeyAttribute OPTIONAL }
SubjectKeyIdentifier ::= OCTET STRING
KEKRecipientInfo ::= SEQUENCE {
version CMSVersion, -- always set to 4
kekid KEKIdentifier,
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
encryptedKey EncryptedKey }
KEKIdentifier ::= SEQUENCE {
keyIdentifier OCTET STRING,
date GeneralizedTime OPTIONAL,
other OtherKeyAttribute OPTIONAL }
PasswordRecipientInfo ::= SEQUENCE {
version CMSVersion, -- always set to 0
keyDerivationAlgorithm [0] KeyDerivationAlgorithmIdentifier
OPTIONAL,
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
encryptedKey EncryptedKey }
OtherRecipientInfo ::= SEQUENCE {
oriType OBJECT IDENTIFIER,
oriValue ANY DEFINED BY oriType }
DigestedData ::= SEQUENCE {
version CMSVersion,
digestAlgorithm DigestAlgorithmIdentifier,
encapContentInfo EncapsulatedContentInfo,
digest Digest }
Digest ::= OCTET STRING
EncryptedData ::= SEQUENCE {
version CMSVersion,
encryptedContentInfo EncryptedContentInfo,
unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }
AuthenticatedData ::= SEQUENCE {
version CMSVersion,
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
recipientInfos RecipientInfos,
macAlgorithm MessageAuthenticationCodeAlgorithm,
digestAlgorithm [1] DigestAlgorithmIdentifier OPTIONAL,
encapContentInfo EncapsulatedContentInfo,
authAttrs [2] IMPLICIT AuthAttributes OPTIONAL,
mac MessageAuthenticationCode,
unauthAttrs [3] IMPLICIT UnauthAttributes OPTIONAL }
AuthAttributes ::= SET SIZE (1..MAX) OF Attribute
UnauthAttributes ::= SET SIZE (1..MAX) OF Attribute
MessageAuthenticationCode ::= OCTET STRING
DigestAlgorithmIdentifier ::= AlgorithmIdentifier
SignatureAlgorithmIdentifier ::= AlgorithmIdentifier
KeyEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
ContentEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
MessageAuthenticationCodeAlgorithm ::= AlgorithmIdentifier
KeyDerivationAlgorithmIdentifier ::= AlgorithmIdentifier
RevocationInfoChoices ::= SET OF RevocationInfoChoice
RevocationInfoChoice ::= CHOICE {
crl CertificateList,
other [1] IMPLICIT OtherRevocationInfoFormat }
OtherRevocationInfoFormat ::= SEQUENCE {
otherRevInfoFormat OBJECT IDENTIFIER,
otherRevInfo ANY DEFINED BY otherRevInfoFormat }
CertificateChoices ::= CHOICE {
certificate Certificate,
extendedCertificate [0] IMPLICIT ExtendedCertificate, -- Obsolete
v1AttrCert [1] IMPLICIT AttributeCertificateV1, -- Obsolete
v2AttrCert [2] IMPLICIT AttributeCertificateV2 }
AttributeCertificateV2 ::= AttributeCertificate
CertificateSet ::= SET OF CertificateChoices
IssuerAndSerialNumber ::= SEQUENCE {
issuer Name,
serialNumber CertificateSerialNumber }
CMSVersion ::= INTEGER { v0(0), v1(1), v2(2), v3(3), v4(4), v5(5) }
UserKeyingMaterial ::= OCTET STRING
OtherKeyAttribute ::= SEQUENCE {
keyAttrId OBJECT IDENTIFIER,
keyAttr ANY DEFINED BY keyAttrId OPTIONAL }
-- Content Type Object Identifiers
id-ct-contentInfo OBJECT IDENTIFIER ::= { iso(1) member-body(2)
us(840) rsadsi(113549) pkcs(1) pkcs9(9) smime(16) ct(1) 6 }
id-data OBJECT IDENTIFIER ::= { iso(1) member-body(2)
us(840) rsadsi(113549) pkcs(1) pkcs7(7) 1 }
id-signedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
us(840) rsadsi(113549) pkcs(1) pkcs7(7) 2 }
id-envelopedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
us(840) rsadsi(113549) pkcs(1) pkcs7(7) 3 }
id-digestedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
us(840) rsadsi(113549) pkcs(1) pkcs7(7) 5 }
id-encryptedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
us(840) rsadsi(113549) pkcs(1) pkcs7(7) 6 }
id-ct-authData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) ct(1) 2 }
-- The CMS Attributes
MessageDigest ::= OCTET STRING
SigningTime ::= Time
Time ::= CHOICE {
utcTime UTCTime,
generalTime GeneralizedTime }
Countersignature ::= SignerInfo
-- Algorithm Identifiers
--
-- sha-1 OBJECT IDENTIFIER ::= { iso(1) identified-organization(3)
-- oiw(14) secsig(3) algorithm(2) 26 }
--
-- md5 OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840)
-- rsadsi(113549) digestAlgorithm(2) 5 }
--
-- id-dsa-with-sha1 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
-- us(840) x9-57 (10040) x9cm(4) 3 }
--
-- rsaEncryption OBJECT IDENTIFIER ::= { iso(1) member-body(2)
-- us(840) rsadsi(113549) pkcs(1) pkcs-1(1) 1 }
--
-- dh-public-number OBJECT IDENTIFIER ::= { iso(1) member-body(2)
-- us(840) ansi-x942(10046) number-type(2) 1 }
--
-- id-alg-ESDH OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840)
-- rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 5 }
--
-- id-alg-CMS3DESwrap OBJECT IDENTIFIER ::= { iso(1) member-body(2)
-- us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 6 }
--
-- id-alg-CMSRC2wrap OBJECT IDENTIFIER ::= { iso(1) member-body(2)
-- us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 7 }
--
-- des-ede3-cbc OBJECT IDENTIFIER ::= { iso(1) member-body(2)
-- us(840) rsadsi(113549) encryptionAlgorithm(3) 7 }
--
-- rc2-cbc OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840)
-- rsadsi(113549) encryptionAlgorithm(3) 2 }
--
-- hMAC-SHA1 OBJECT IDENTIFIER ::= { iso(1) identified-organization(3)
-- dod(6) internet(1) security(5) mechanisms(5) 8 1 2 }
--
--
-- Algorithm Parameters
--
KeyWrapAlgorithm ::= AlgorithmIdentifier
RC2WrapParameter ::= RC2ParameterVersion
RC2ParameterVersion ::= INTEGER
CBCParameter ::= IV
IV ::= OCTET STRING
RC2CBCParameter ::= SEQUENCE {
rc2ParameterVersion INTEGER,
iv OCTET STRING }
-- Attribute Object Identifiers
id-contentType OBJECT IDENTIFIER ::= { iso(1) member-body(2)
us(840) rsadsi(113549) pkcs(1) pkcs9(9) 3 }
id-messageDigest OBJECT IDENTIFIER ::= { iso(1) member-body(2)
us(840) rsadsi(113549) pkcs(1) pkcs9(9) 4 }
id-signingTime OBJECT IDENTIFIER ::= { iso(1) member-body(2)
us(840) rsadsi(113549) pkcs(1) pkcs9(9) 5 }
id-countersignature OBJECT IDENTIFIER ::= { iso(1) member-body(2)
us(840) rsadsi(113549) pkcs(1) pkcs9(9) 6 }
-- Obsolete Extended Certificate syntax from PKCS #6
ExtendedCertificateOrCertificate ::= CHOICE {
certificate Certificate,
extendedCertificate [0] IMPLICIT ExtendedCertificate }
ExtendedCertificate ::= SEQUENCE {
extendedCertificateInfo ExtendedCertificateInfo,
signatureAlgorithm SignatureAlgorithmIdentifier,
signature Signature }
ExtendedCertificateInfo ::= SEQUENCE {
version CMSVersion,
certificate Certificate,
attributes UnauthAttributes }
Signature ::= BIT STRING
-- PKCS #7 type that was removed from CMS
DigestInfo ::= SEQUENCE {
digestAlgorithm DigestAlgorithmIdentifier,
digest Digest }
-- From S/MIME
SMIMECapabilities ::= SEQUENCE OF SMIMECapability
SMIMECapability ::= SEQUENCE {
capability OBJECT IDENTIFIER,
parameters ANY OPTIONAL
}
SMIMEEncryptionKeyPreference ::= CHOICE {
issuerAndSerialNumber [0] IssuerAndSerialNumber,
recipientKeyId [1] RecipientKeyIdentifier,
subjectAltKeyIdentifier [2] SubjectKeyIdentifier
}
-- some implememtations do not seem to use the RC2CBCParameter with 1.2.840.113549.3.2 as per RFC 2630 12.4.2
-- so we create this CHOICE to workaround this problem until we understand what is really the correct solution
RC2CBCParameters ::= CHOICE {
rc2WrapParameter RC2WrapParameter,
rc2CBCParameter RC2CBCParameter
}
END -- of CryptographicMessageSyntax2004
CMS-AuthEnvelopedData-2007 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
pkcs-9(9) smime(16) modules(0) cms-authEnvelopedData(31) }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- EXPORTS All
-- The types and values defined in this module are exported for use
-- in the other ASN.1 modules. Other applications may use them for
-- their own purposes.
-- IMPORTS
-- Imports from RFC 3852 [CMS], Section 12.1
-- AuthAttributes,
-- CMSVersion,
-- EncryptedContentInfo,
-- MessageAuthenticationCode,
-- OriginatorInfo,
-- RecipientInfos,
-- UnauthAttributes
-- FROM CryptographicMessageSyntax2004
-- { iso(1) member-body(2) us(840) rsadsi(113549)
-- pkcs(1) pkcs-9(9) smime(16) modules(0)
-- cms-2004(24) } ;
AuthEnvelopedData ::= SEQUENCE {
version CMSVersion,
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
recipientInfos RecipientInfos,
authEncryptedContentInfo EncryptedContentInfo,
authAttrs [1] IMPLICIT AuthAttributes OPTIONAL,
mac MessageAuthenticationCode,
unauthAttrs [2] IMPLICIT UnauthAttributes OPTIONAL }
id-ct-authEnvelopedData OBJECT IDENTIFIER ::= { iso(1)
member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9)
smime(16) ct(1) 23 }
END -- of CMS-AuthEnvelopedData-2007
CMS-AES-CCM-and-AES-GCM
{ iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
pkcs-9(9) smime(16) modules(0) cms-aes-ccm-and-gcm(32) }
DEFINITIONS IMPLICIT TAGS ::= BEGIN
-- EXPORTS All
-- Object Identifiers
aes OBJECT IDENTIFIER ::= { joint-iso-itu-t(2) country(16) us(840)
organization(1) gov(101) csor(3) nistAlgorithm(4) 1 }
id-aes128-CCM OBJECT IDENTIFIER ::= { aes 7 }
id-aes192-CCM OBJECT IDENTIFIER ::= { aes 27 }
id-aes256-CCM OBJECT IDENTIFIER ::= { aes 47 }
id-aes128-GCM OBJECT IDENTIFIER ::= { aes 6 }
id-aes192-GCM OBJECT IDENTIFIER ::= { aes 26 }
id-aes256-GCM OBJECT IDENTIFIER ::= { aes 46 }
-- Parameters for AigorithmIdentifier
CCMParameters ::= SEQUENCE {
aes-nonce OCTET STRING (SIZE(7..13)),
aes-ICVlen AES-CCM-ICVlen DEFAULT 12 }
AES-CCM-ICVlen ::= INTEGER (4 | 6 | 8 | 10 | 12 | 14 | 16)
GCMParameters ::= SEQUENCE {
aes-nonce OCTET STRING, -- recommended size is 12 octets
aes-ICVlen AES-GCM-ICVlen DEFAULT 12 }
AES-GCM-ICVlen ::= INTEGER (12 | 13 | 14 | 15 | 16)
END |
C | wireshark/epan/dissectors/asn1/cms/packet-cms-template.c | /* packet-cms.c
* Routines for RFC5652 Cryptographic Message Syntax packet dissection
* Ronnie Sahlberg 2004
* Stig Bjorlykke 2010
* Uwe Heuert 2022
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/oids.h>
#include <epan/asn1.h>
#include <epan/proto_data.h>
#include <wsutil/wsgcrypt.h>
#include "packet-ber.h"
#include "packet-cms.h"
#include "packet-x509af.h"
#include "packet-x509ce.h"
#include "packet-x509if.h"
#include "packet-x509sat.h"
#include "packet-pkcs12.h"
#define PNAME "Cryptographic Message Syntax"
#define PSNAME "CMS"
#define PFNAME "cms"
void proto_register_cms(void);
void proto_reg_handoff_cms(void);
/* Initialize the protocol and registered fields */
static int proto_cms = -1;
static int hf_cms_ci_contentType = -1;
#include "packet-cms-hf.c"
/* Initialize the subtree pointers */
static gint ett_cms = -1;
#include "packet-cms-ett.c"
static dissector_handle_t cms_handle = NULL;
static int dissect_cms_OCTET_STRING(bool implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_) ; /* XXX kill a compiler warning until asn2wrs stops generating these silly wrappers */
struct cms_private_data {
const char *object_identifier_id;
tvbuff_t *content_tvb;
};
static proto_tree *top_tree=NULL;
static proto_tree *cap_tree=NULL;
#define HASH_SHA1 "1.3.14.3.2.26"
#define HASH_MD5 "1.2.840.113549.2.5"
/* SHA-2 variants */
#define HASH_SHA224 "2.16.840.1.101.3.4.2.4"
#define SHA224_BUFFER_SIZE 32 /* actually 28 */
#define HASH_SHA256 "2.16.840.1.101.3.4.2.1"
#define SHA256_BUFFER_SIZE 32
unsigned char digest_buf[MAX(HASH_SHA1_LENGTH, HASH_MD5_LENGTH)];
/*
* Dissect CMS PDUs inside a PPDU.
*/
static int
dissect_cms(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data _U_)
{
int offset = 0;
proto_item *item=NULL;
proto_tree *tree=NULL;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
if(parent_tree){
item = proto_tree_add_item(parent_tree, proto_cms, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_cms);
}
col_set_str(pinfo->cinfo, COL_PROTOCOL, "CMS");
col_clear(pinfo->cinfo, COL_INFO);
while (tvb_reported_length_remaining(tvb, offset) > 0){
offset=dissect_cms_ContentInfo(FALSE, tvb, offset, &asn1_ctx , tree, -1);
}
return tvb_captured_length(tvb);
}
static struct cms_private_data*
cms_get_private_data(packet_info *pinfo)
{
struct cms_private_data *cms_data = (struct cms_private_data*)p_get_proto_data(pinfo->pool, pinfo, proto_cms, 0);
if (!cms_data) {
cms_data = wmem_new0(pinfo->pool, struct cms_private_data);
p_add_proto_data(pinfo->pool, pinfo, proto_cms, 0, cms_data);
}
return cms_data;
}
static void
cms_verify_msg_digest(proto_item *pi, tvbuff_t *content, const char *alg, tvbuff_t *tvb, int offset)
{
int i= 0, buffer_size = 0;
/* we only support two algorithms at the moment - if we do add SHA2
we should add a registration process to use a registration process */
if(strcmp(alg, HASH_SHA1) == 0) {
gcry_md_hash_buffer(GCRY_MD_SHA1, digest_buf, tvb_get_ptr(content, 0, tvb_captured_length(content)), tvb_captured_length(content));
buffer_size = HASH_SHA1_LENGTH;
} else if(strcmp(alg, HASH_MD5) == 0) {
gcry_md_hash_buffer(GCRY_MD_MD5, digest_buf, tvb_get_ptr(content, 0, tvb_captured_length(content)), tvb_captured_length(content));
buffer_size = HASH_MD5_LENGTH;
}
if(buffer_size) {
/* compare our computed hash with what we have received */
if(tvb_bytes_exist(tvb, offset, buffer_size) &&
(tvb_memeql(tvb, offset, digest_buf, buffer_size) != 0)) {
proto_item_append_text(pi, " [incorrect, should be ");
for(i = 0; i < buffer_size; i++)
proto_item_append_text(pi, "%02X", digest_buf[i]);
proto_item_append_text(pi, "]");
}
else
proto_item_append_text(pi, " [correct]");
} else {
proto_item_append_text(pi, " [unable to verify]");
}
}
#include "packet-cms-fn.c"
/*--- proto_register_cms ----------------------------------------------*/
void proto_register_cms(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_cms_ci_contentType,
{ "contentType", "cms.contentInfo.contentType",
FT_OID, BASE_NONE, NULL, 0,
NULL, HFILL }},
#include "packet-cms-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_cms,
#include "packet-cms-ettarr.c"
};
/* Register protocol */
proto_cms = proto_register_protocol(PNAME, PSNAME, PFNAME);
cms_handle = register_dissector(PFNAME, dissect_cms, proto_cms);
/* Register fields and subtrees */
proto_register_field_array(proto_cms, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
register_ber_syntax_dissector("ContentInfo", proto_cms, dissect_ContentInfo_PDU);
register_ber_syntax_dissector("SignedData", proto_cms, dissect_SignedData_PDU);
register_ber_oid_syntax(".p7s", NULL, "ContentInfo");
register_ber_oid_syntax(".p7m", NULL, "ContentInfo");
register_ber_oid_syntax(".p7c", NULL, "ContentInfo");
}
/*--- proto_reg_handoff_cms -------------------------------------------*/
void proto_reg_handoff_cms(void) {
dissector_handle_t content_info_handle;
#include "packet-cms-dis-tab.c"
/* RFC 3370 [CMS-ASN} section 4.3.1 */
register_ber_oid_dissector("1.2.840.113549.1.9.16.3.6", dissect_ber_oid_NULL_callback, proto_cms, "id-alg-CMS3DESwrap");
oid_add_from_string("id-data","1.2.840.113549.1.7.1");
oid_add_from_string("id-alg-des-ede3-cbc","1.2.840.113549.3.7");
oid_add_from_string("id-alg-des-cbc","1.3.14.3.2.7");
oid_add_from_string("id-ct-authEnvelopedData","1.2.840.113549.1.9.16.1.23");
oid_add_from_string("id-aes-CBC-CMAC-128","0.4.0.127.0.7.1.3.1.1.2");
oid_add_from_string("id-aes-CBC-CMAC-192","0.4.0.127.0.7.1.3.1.1.3");
oid_add_from_string("id-aes-CBC-CMAC-256","0.4.0.127.0.7.1.3.1.1.4");
oid_add_from_string("ecdsaWithSHA256","1.2.840.10045.4.3.2");
oid_add_from_string("ecdsaWithSHA384","1.2.840.10045.4.3.3");
oid_add_from_string("ecdsaWithSHA512","1.2.840.10045.4.3.4");
content_info_handle = create_dissector_handle (dissect_ContentInfo_PDU, proto_cms);
dissector_add_string("media_type", "application/pkcs7-mime", content_info_handle);
dissector_add_string("media_type", "application/pkcs7-signature", content_info_handle);
dissector_add_string("media_type", "application/vnd.de-dke-k461-ic1+xml", content_info_handle);
dissector_add_string("media_type", "application/vnd.de-dke-k461-ic1+xml; encap=cms-tr03109", content_info_handle);
dissector_add_string("media_type", "application/vnd.de-dke-k461-ic1+xml; encap=cms-tr03109-zlib", content_info_handle);
dissector_add_string("media_type", "application/hgp;encap=cms", content_info_handle);
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.