Initial import from MAP_v10.6.0.zip

master R.2.A
Harald Welte 2018-05-26 13:48:25 +02:00
commit 6c79da0965
26 changed files with 9756 additions and 0 deletions

View File

@ -0,0 +1,194 @@
-- Reference: 3GPP TS 29.002 10.6.0
MAP-ApplicationContexts {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-ApplicationContexts (2) version13 (13)}
DEFINITIONS
::=
BEGIN
-- EXPORTS everything
IMPORTS
gsm-NetworkId,
ac-Id
FROM MobileDomainDefinitions {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
mobileDomainDefinitions (0) version1 (1)}
;
-- application-context-names
map-ac OBJECT IDENTIFIER ::= {gsm-NetworkId ac-Id}
networkLocUpContext-v3 OBJECT IDENTIFIER ::=
{map-ac networkLocUp(1) version3(3)}
locationCancellationContext-v3 OBJECT IDENTIFIER ::=
{map-ac locationCancel(2) version3(3)}
roamingNumberEnquiryContext-v3 OBJECT IDENTIFIER ::=
{map-ac roamingNbEnquiry(3) version3(3)}
authenticationFailureReportContext-v3 OBJECT IDENTIFIER ::=
{map-ac authenticationFailureReport(39) version3(3)}
locationInfoRetrievalContext-v3 OBJECT IDENTIFIER ::=
{map-ac locInfoRetrieval(5) version3(3)}
resetContext-v2 OBJECT IDENTIFIER ::=
{map-ac reset(10) version2(2)}
handoverControlContext-v3 OBJECT IDENTIFIER ::=
{map-ac handoverControl(11) version3(3)}
equipmentMngtContext-v3 OBJECT IDENTIFIER ::=
{map-ac equipmentMngt(13) version3(3)}
infoRetrievalContext-v3 OBJECT IDENTIFIER ::=
{map-ac infoRetrieval(14) version3(3)}
interVlrInfoRetrievalContext-v3 OBJECT IDENTIFIER ::=
{map-ac interVlrInfoRetrieval(15) version3(3)}
subscriberDataMngtContext-v3 OBJECT IDENTIFIER ::=
{map-ac subscriberDataMngt(16) version3(3)}
tracingContext-v3 OBJECT IDENTIFIER ::=
{map-ac tracing(17) version3(3)}
networkFunctionalSsContext-v2 OBJECT IDENTIFIER ::=
{map-ac networkFunctionalSs(18) version2(2)}
networkUnstructuredSsContext-v2 OBJECT IDENTIFIER ::=
{map-ac networkUnstructuredSs(19) version2(2)}
shortMsgGatewayContext-v3 OBJECT IDENTIFIER ::=
{map-ac shortMsgGateway(20) version3(3)}
shortMsgMO-RelayContext-v3 OBJECT IDENTIFIER ::=
{map-ac shortMsgMO-Relay(21) version3(3)}
shortMsgAlertContext-v2 OBJECT IDENTIFIER ::=
{map-ac shortMsgAlert(23) version2(2)}
mwdMngtContext-v3 OBJECT IDENTIFIER ::=
{map-ac mwdMngt(24) version3(3)}
shortMsgMT-RelayContext-v3 OBJECT IDENTIFIER ::=
{map-ac shortMsgMT-Relay(25) version3(3)}
shortMsgMT-Relay-VGCS-Context-v3 OBJECT IDENTIFIER ::=
{map-ac shortMsgMT-Relay-VGCS(41) version3(3)}
imsiRetrievalContext-v2 OBJECT IDENTIFIER ::=
{map-ac imsiRetrieval(26) version2(2)}
msPurgingContext-v3 OBJECT IDENTIFIER ::=
{map-ac msPurging(27) version3(3)}
subscriberInfoEnquiryContext-v3 OBJECT IDENTIFIER ::=
{map-ac subscriberInfoEnquiry(28) version3(3)}
anyTimeInfoEnquiryContext-v3 OBJECT IDENTIFIER ::=
{map-ac anyTimeInfoEnquiry(29) version3(3)}
callControlTransferContext-v4 OBJECT IDENTIFIER ::=
{map-ac callControlTransfer(6) version4(4)}
ss-InvocationNotificationContext-v3 OBJECT IDENTIFIER ::=
{map-ac ss-InvocationNotification(36) version3(3)}
groupCallControlContext-v3 OBJECT IDENTIFIER ::=
{map-ac groupCallControl(31) version3(3)}
groupCallInfoRetrievalContext-v3 OBJECT IDENTIFIER ::=
{map-ac groupCallInfoRetrieval(45) version3(3)}
gprsLocationUpdateContext-v3 OBJECT IDENTIFIER ::=
{map-ac gprsLocationUpdate(32) version3(3)}
gprsLocationInfoRetrievalContext-v4 OBJECT IDENTIFIER ::=
{map-ac gprsLocationInfoRetrieval(33) version4(4)}
failureReportContext-v3 OBJECT IDENTIFIER ::=
{map-ac failureReport(34) version3(3)}
gprsNotifyContext-v3 OBJECT IDENTIFIER ::=
{map-ac gprsNotify(35) version3(3)}
reportingContext-v3 OBJECT IDENTIFIER ::=
{map-ac reporting(7) version3(3)}
callCompletionContext-v3 OBJECT IDENTIFIER ::=
{map-ac callCompletion(8) version3(3)}
istAlertingContext-v3 OBJECT IDENTIFIER ::=
{map-ac istAlerting(4) version3(3)}
serviceTerminationContext-v3 OBJECT IDENTIFIER ::=
{map-ac immediateTermination(9) version3(3)}
locationSvcGatewayContext-v3 OBJECT IDENTIFIER ::=
{map-ac locationSvcGateway(37) version3(3)}
locationSvcEnquiryContext-v3 OBJECT IDENTIFIER ::=
{map-ac locationSvcEnquiry(38) version3(3)}
mm-EventReportingContext-v3 OBJECT IDENTIFIER ::=
{map-ac mm-EventReporting(42) version3(3)}
anyTimeInfoHandlingContext-v3 OBJECT IDENTIFIER ::=
{map-ac anyTimeInfoHandling(43) version3(3)}
subscriberDataModificationNotificationContext-v3 OBJECT IDENTIFIER ::=
{map-ac subscriberDataModificationNotification(22) version3(3)}
resourceManagementContext-v3 OBJECT IDENTIFIER ::=
{map-ac resourceManagement(44) version3(3)}
-- The following Object Identifiers are reserved for application-contexts
-- existing in previous versions of the protocol
-- AC Name & Version Object Identifier
--
-- networkLocUpContext-v1 map-ac networkLocUp (1) version1 (1)
-- networkLocUpContext-v2 map-ac networkLocUp (1) version2 (2)
-- locationCancellationContext-v1 map-ac locationCancellation (2) version1 (1)
-- locationCancellationContext-v2 map-ac locationCancellation (2) version2 (2)
-- roamingNumberEnquiryContext-v1 map-ac roamingNumberEnquiry (3) version1 (1)
-- roamingNumberEnquiryContext-v2 map-ac roamingNumberEnquiry (3) version2 (2)
-- locationInfoRetrievalContext-v1 map-ac locationInfoRetrieval (5) version1 (1)
-- locationInfoRetrievalContext-v2 map-ac locationInfoRetrieval (5) version2 (2)
-- resetContext-v1 map-ac reset (10) version1 (1)
-- handoverControlContext-v1 map-ac handoverControl (11) version1 (1)
-- handoverControlContext-v2 map-ac handoverControl (11) version2 (2)
-- sIWFSAllocationContext-v3 map-ac sIWFSAllocation (12) version3 (3)
-- equipmentMngtContext-v1 map-ac equipmentMngt (13) version1 (1)
-- equipmentMngtContext-v2 map-ac equipmentMngt (13) version2 (2)
-- infoRetrievalContext-v1 map-ac infoRetrieval (14) version1 (1)
-- infoRetrievalContext-v2 map-ac infoRetrieval (14) version2 (2)
-- interVlrInfoRetrievalContext-v2 map-ac interVlrInfoRetrieval (15) version2 (2)
-- subscriberDataMngtContext-v1 map-ac subscriberDataMngt (16) version1 (1)
-- subscriberDataMngtContext-v2 map-ac subscriberDataMngt (16) version2 (2)
-- tracingContext-v1 map-ac tracing (17) version1 (1)
-- tracingContext-v2 map-ac tracing (17) version2 (2)
-- networkFunctionalSsContext-v1 map-ac networkFunctionalSs (18) version1 (1)
-- shortMsgGatewayContext-v1 map-ac shortMsgGateway (20) version1 (1)
-- shortMsgGatewayContext-v2 map-ac shortMsgGateway (20) version2 (2)
-- shortMsgRelayContext-v1 map-ac shortMsgRelay (21) version1 (1)
-- shortMsgAlertContext-v1 map-ac shortMsgAlert (23) version1 (1)
-- mwdMngtContext-v1 map-ac mwdMngt (24) version1 (1)
-- mwdMngtContext-v2 map-ac mwdMngt (24) version2 (2)
-- shortMsgMT-RelayContext-v2 map-ac shortMsgMT-Relay (25) version2 (2)
-- msPurgingContext-v2 map-ac msPurging (27) version2 (2)
-- callControlTransferContext-v3 map-ac callControlTransferContext (6) version3 (3)
-- gprsLocationInfoRetrievalContext-v3 map-ac gprsLocationInfoRetrievalContext (33) version3 (3)
END

473
src/MAP_CH_DataTypes.asn Normal file
View File

@ -0,0 +1,473 @@
-- Reference: 3GPP TS 29.002 10.6.0
MAP-CH-DataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CH-DataTypes (13) version13 (13)}
DEFINITIONS
IMPLICIT TAGS
::=
BEGIN
EXPORTS
SendRoutingInfoArg,
SendRoutingInfoRes,
ProvideRoamingNumberArg,
ProvideRoamingNumberRes,
ResumeCallHandlingArg,
ResumeCallHandlingRes,
NumberOfForwarding,
SuppressionOfAnnouncement,
CallReferenceNumber,
SetReportingStateArg,
SetReportingStateRes,
StatusReportArg,
StatusReportRes,
RemoteUserFreeArg,
RemoteUserFreeRes,
IST-AlertArg,
IST-AlertRes,
IST-CommandArg,
IST-CommandRes,
UU-Data,
ReleaseResourcesArg,
ReleaseResourcesRes
;
IMPORTS
SubscriberInfo,
SupportedCamelPhases,
OfferedCamel4CSIs,
CUG-Interlock,
O-CSI,
D-CSI,
O-BcsmCamelTDPCriteriaList,
T-BCSM-CAMEL-TDP-CriteriaList,
IST-SupportIndicator,
IST-AlertTimerValue,
T-CSI,
NumberPortabilityStatus,
PagingArea
FROM MAP-MS-DataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-MS-DataTypes (11) version13 (13)}
ForwardingOptions,
SS-List,
CCBS-Feature
FROM MAP-SS-DataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-SS-DataTypes (14) version13 (13)}
ISDN-AddressString,
ISDN-SubaddressString,
FTN-AddressString,
ExternalSignalInfo,
Ext-ExternalSignalInfo,
IMSI,
LMSI,
Ext-BasicServiceCode,
AlertingPattern,
NAEA-PreferredCI,
EMLPP-Priority
FROM MAP-CommonDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CommonDataTypes (18) version13 (13)}
ExtensionContainer
FROM MAP-ExtensionDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version13 (13)}
;
CUG-CheckInfo ::= SEQUENCE {
cug-Interlock CUG-Interlock,
cug-OutgoingAccess NULL OPTIONAL,
extensionContainer ExtensionContainer OPTIONAL,
...}
NumberOfForwarding ::= INTEGER (1..5)
SendRoutingInfoArg ::= SEQUENCE {
msisdn [0] ISDN-AddressString,
cug-CheckInfo [1] CUG-CheckInfo OPTIONAL,
numberOfForwarding [2] NumberOfForwarding OPTIONAL,
interrogationType [3] InterrogationType,
or-Interrogation [4] NULL OPTIONAL,
or-Capability [5] OR-Phase OPTIONAL,
gmsc-OrGsmSCF-Address [6] ISDN-AddressString,
callReferenceNumber [7] CallReferenceNumber OPTIONAL,
forwardingReason [8] ForwardingReason OPTIONAL,
basicServiceGroup [9] Ext-BasicServiceCode OPTIONAL,
networkSignalInfo [10] ExternalSignalInfo OPTIONAL,
camelInfo [11] CamelInfo OPTIONAL,
suppressionOfAnnouncement [12] SuppressionOfAnnouncement OPTIONAL,
extensionContainer [13] ExtensionContainer OPTIONAL,
...,
alertingPattern [14] AlertingPattern OPTIONAL,
ccbs-Call [15] NULL OPTIONAL,
supportedCCBS-Phase [16] SupportedCCBS-Phase OPTIONAL,
additionalSignalInfo [17] Ext-ExternalSignalInfo OPTIONAL,
istSupportIndicator [18] IST-SupportIndicator OPTIONAL,
pre-pagingSupported [19] NULL OPTIONAL,
callDiversionTreatmentIndicator [20] CallDiversionTreatmentIndicator OPTIONAL,
longFTN-Supported [21] NULL OPTIONAL,
suppress-VT-CSI [22] NULL OPTIONAL,
suppressIncomingCallBarring [23] NULL OPTIONAL,
gsmSCF-InitiatedCall [24] NULL OPTIONAL,
basicServiceGroup2 [25] Ext-BasicServiceCode OPTIONAL,
networkSignalInfo2 [26] ExternalSignalInfo OPTIONAL,
suppressMTSS [27] SuppressMTSS OPTIONAL,
mtRoamingRetrySupported [28] NULL OPTIONAL,
callPriority [29] EMLPP-Priority OPTIONAL
}
SuppressionOfAnnouncement ::= NULL
SuppressMTSS ::= BIT STRING {
suppressCUG (0),
suppressCCBS (1) } (SIZE (2..16))
-- Other bits than listed above shall be discarded
InterrogationType ::= ENUMERATED {
basicCall (0),
forwarding (1)}
OR-Phase ::= INTEGER (1..127)
CallReferenceNumber ::= OCTET STRING (SIZE (1..8))
ForwardingReason ::= ENUMERATED {
notReachable (0),
busy (1),
noReply (2)}
SupportedCCBS-Phase ::= INTEGER (1..127)
-- exception handling:
-- Only value 1 is used.
-- Values in the ranges 2-127 are reserved for future use.
-- If received values 2-127 shall be mapped on to value 1.
CallDiversionTreatmentIndicator ::= OCTET STRING (SIZE(1))
-- callDiversionAllowed (xxxx xx01)
-- callDiversionNotAllowed (xxxx xx10)
-- network default is call diversion allowed
SendRoutingInfoRes ::= [3] SEQUENCE {
imsi [9] IMSI OPTIONAL,
-- IMSI must be present if SendRoutingInfoRes is not segmented.
-- If the TC-Result-NL segmentation option is taken the IMSI must be
-- present in one segmented transmission of SendRoutingInfoRes.
extendedRoutingInfo ExtendedRoutingInfo OPTIONAL,
cug-CheckInfo [3] CUG-CheckInfo OPTIONAL,
cugSubscriptionFlag [6] NULL OPTIONAL,
subscriberInfo [7] SubscriberInfo OPTIONAL,
ss-List [1] SS-List OPTIONAL,
basicService [5] Ext-BasicServiceCode OPTIONAL,
forwardingInterrogationRequired [4] NULL OPTIONAL,
vmsc-Address [2] ISDN-AddressString OPTIONAL,
extensionContainer [0] ExtensionContainer OPTIONAL,
... ,
naea-PreferredCI [10] NAEA-PreferredCI OPTIONAL,
-- naea-PreferredCI is included at the discretion of the HLR operator.
ccbs-Indicators [11] CCBS-Indicators OPTIONAL,
msisdn [12] ISDN-AddressString OPTIONAL,
numberPortabilityStatus [13] NumberPortabilityStatus OPTIONAL,
istAlertTimer [14] IST-AlertTimerValue OPTIONAL,
supportedCamelPhasesInVMSC [15] SupportedCamelPhases OPTIONAL,
offeredCamel4CSIsInVMSC [16] OfferedCamel4CSIs OPTIONAL,
routingInfo2 [17] RoutingInfo OPTIONAL,
ss-List2 [18] SS-List OPTIONAL,
basicService2 [19] Ext-BasicServiceCode OPTIONAL,
allowedServices [20] AllowedServices OPTIONAL,
unavailabilityCause [21] UnavailabilityCause OPTIONAL,
releaseResourcesSupported [22] NULL OPTIONAL,
gsm-BearerCapability [23] ExternalSignalInfo OPTIONAL
}
AllowedServices ::= BIT STRING {
firstServiceAllowed (0),
secondServiceAllowed (1) } (SIZE (2..8))
-- firstService is the service indicated in the networkSignalInfo
-- secondService is the service indicated in the networkSignalInfo2
-- Other bits than listed above shall be discarded
UnavailabilityCause ::= ENUMERATED {
bearerServiceNotProvisioned (1),
teleserviceNotProvisioned (2),
absentSubscriber (3),
busySubscriber (4),
callBarred (5),
cug-Reject (6),
...}
-- exception handling:
-- Reception of other values than the ones listed shall result in the service
-- being unavailable for that call.
CCBS-Indicators ::= SEQUENCE {
ccbs-Possible [0] NULL OPTIONAL,
keepCCBS-CallIndicator [1] NULL OPTIONAL,
extensionContainer [2] ExtensionContainer OPTIONAL,
...}
RoutingInfo ::= CHOICE {
roamingNumber ISDN-AddressString,
forwardingData ForwardingData}
ForwardingData ::= SEQUENCE {
forwardedToNumber [5] ISDN-AddressString OPTIONAL,
-- When this datatype is sent from an HLR which supports CAMEL Phase 2
-- to a GMSC which supports CAMEL Phase 2 the GMSC shall not check the
-- format of the number
forwardedToSubaddress [4] ISDN-SubaddressString OPTIONAL,
forwardingOptions [6] ForwardingOptions OPTIONAL,
extensionContainer [7] ExtensionContainer OPTIONAL,
...,
longForwardedToNumber [8] FTN-AddressString OPTIONAL}
ProvideRoamingNumberArg ::= SEQUENCE {
imsi [0] IMSI,
msc-Number [1] ISDN-AddressString,
msisdn [2] ISDN-AddressString OPTIONAL,
lmsi [4] LMSI OPTIONAL,
gsm-BearerCapability [5] ExternalSignalInfo OPTIONAL,
networkSignalInfo [6] ExternalSignalInfo OPTIONAL,
suppressionOfAnnouncement [7] SuppressionOfAnnouncement OPTIONAL,
gmsc-Address [8] ISDN-AddressString OPTIONAL,
callReferenceNumber [9] CallReferenceNumber OPTIONAL,
or-Interrogation [10] NULL OPTIONAL,
extensionContainer [11] ExtensionContainer OPTIONAL,
... ,
alertingPattern [12] AlertingPattern OPTIONAL,
ccbs-Call [13] NULL OPTIONAL,
supportedCamelPhasesInInterrogatingNode [15] SupportedCamelPhases OPTIONAL,
additionalSignalInfo [14] Ext-ExternalSignalInfo OPTIONAL,
orNotSupportedInGMSC [16] NULL OPTIONAL,
pre-pagingSupported [17] NULL OPTIONAL,
longFTN-Supported [18] NULL OPTIONAL,
suppress-VT-CSI [19] NULL OPTIONAL,
offeredCamel4CSIsInInterrogatingNode [20] OfferedCamel4CSIs OPTIONAL,
mtRoamingRetrySupported [21] NULL OPTIONAL,
pagingArea [22] PagingArea OPTIONAL,
callPriority [23] EMLPP-Priority OPTIONAL,
mtrf-Indicator [24] NULL OPTIONAL,
oldMSC-Number [25] ISDN-AddressString OPTIONAL
}
ProvideRoamingNumberRes ::= SEQUENCE {
roamingNumber ISDN-AddressString,
extensionContainer ExtensionContainer OPTIONAL,
...,
releaseResourcesSupported NULL OPTIONAL,
vmsc-Address ISDN-AddressString OPTIONAL }
ResumeCallHandlingArg ::= SEQUENCE {
callReferenceNumber [0] CallReferenceNumber OPTIONAL,
basicServiceGroup [1] Ext-BasicServiceCode OPTIONAL,
forwardingData [2] ForwardingData OPTIONAL,
imsi [3] IMSI OPTIONAL,
cug-CheckInfo [4] CUG-CheckInfo OPTIONAL,
o-CSI [5] O-CSI OPTIONAL,
extensionContainer [7] ExtensionContainer OPTIONAL,
ccbs-Possible [8] NULL OPTIONAL,
msisdn [9] ISDN-AddressString OPTIONAL,
uu-Data [10] UU-Data OPTIONAL,
allInformationSent [11] NULL OPTIONAL,
...,
d-csi [12] D-CSI OPTIONAL,
o-BcsmCamelTDPCriteriaList [13] O-BcsmCamelTDPCriteriaList OPTIONAL,
basicServiceGroup2 [14] Ext-BasicServiceCode OPTIONAL,
mtRoamingRetry [15] NULL OPTIONAL
}
UU-Data ::= SEQUENCE {
uuIndicator [0] UUIndicator OPTIONAL,
uui [1] UUI OPTIONAL,
uusCFInteraction [2] NULL OPTIONAL,
extensionContainer [3] ExtensionContainer OPTIONAL,
...}
UUIndicator ::= OCTET STRING (SIZE (1))
-- Octets are coded according to ETS 300 356
UUI ::= OCTET STRING (SIZE (1..131))
-- Octets are coded according to ETS 300 356
ResumeCallHandlingRes ::= SEQUENCE {
extensionContainer ExtensionContainer OPTIONAL,
...}
CamelInfo ::= SEQUENCE {
supportedCamelPhases SupportedCamelPhases,
suppress-T-CSI NULL OPTIONAL,
extensionContainer ExtensionContainer OPTIONAL,
... ,
offeredCamel4CSIs [0] OfferedCamel4CSIs OPTIONAL }
ExtendedRoutingInfo ::= CHOICE {
routingInfo RoutingInfo,
camelRoutingInfo [8] CamelRoutingInfo}
CamelRoutingInfo ::= SEQUENCE {
forwardingData ForwardingData OPTIONAL,
gmscCamelSubscriptionInfo [0] GmscCamelSubscriptionInfo,
extensionContainer [1] ExtensionContainer OPTIONAL,
...}
GmscCamelSubscriptionInfo ::= SEQUENCE {
t-CSI [0] T-CSI OPTIONAL,
o-CSI [1] O-CSI OPTIONAL,
extensionContainer [2] ExtensionContainer OPTIONAL,
...,
o-BcsmCamelTDP-CriteriaList [3] O-BcsmCamelTDPCriteriaList OPTIONAL,
t-BCSM-CAMEL-TDP-CriteriaList [4] T-BCSM-CAMEL-TDP-CriteriaList OPTIONAL,
d-csi [5] D-CSI OPTIONAL}
SetReportingStateArg ::= SEQUENCE {
imsi [0] IMSI OPTIONAL,
lmsi [1] LMSI OPTIONAL,
ccbs-Monitoring [2] ReportingState OPTIONAL,
extensionContainer [3] ExtensionContainer OPTIONAL,
...}
ReportingState ::= ENUMERATED {
stopMonitoring (0),
startMonitoring (1),
...}
-- exception handling:
-- reception of values 2-10 shall be mapped to 'stopMonitoring'
-- reception of values > 10 shall be mapped to 'startMonitoring'
SetReportingStateRes ::= SEQUENCE{
ccbs-SubscriberStatus [0] CCBS-SubscriberStatus OPTIONAL,
extensionContainer [1] ExtensionContainer OPTIONAL,
...}
CCBS-SubscriberStatus ::= ENUMERATED {
ccbsNotIdle (0),
ccbsIdle (1),
ccbsNotReachable (2),
...}
-- exception handling:
-- reception of values 3-10 shall be mapped to 'ccbsNotIdle'
-- reception of values 11-20 shall be mapped to 'ccbsIdle'
-- reception of values > 20 shall be mapped to 'ccbsNotReachable'
StatusReportArg ::= SEQUENCE{
imsi [0] IMSI,
eventReportData [1] EventReportData OPTIONAL,
callReportdata [2] CallReportData OPTIONAL,
extensionContainer [3] ExtensionContainer OPTIONAL,
...}
EventReportData ::= SEQUENCE{
ccbs-SubscriberStatus [0] CCBS-SubscriberStatus OPTIONAL,
extensionContainer [1] ExtensionContainer OPTIONAL,
...}
CallReportData ::= SEQUENCE{
monitoringMode [0] MonitoringMode OPTIONAL,
callOutcome [1] CallOutcome OPTIONAL,
extensionContainer [2] ExtensionContainer OPTIONAL,
...}
MonitoringMode ::= ENUMERATED {
a-side (0),
b-side (1),
...}
-- exception handling:
-- reception of values 2-10 shall be mapped 'a-side'
-- reception of values > 10 shall be mapped to 'b-side'
CallOutcome ::= ENUMERATED {
success (0),
failure (1),
busy (2),
...}
-- exception handling:
-- reception of values 3-10 shall be mapped to 'success'
-- reception of values 11-20 shall be mapped to 'failure'
-- reception of values > 20 shall be mapped to 'busy'
StatusReportRes ::= SEQUENCE {
extensionContainer [0] ExtensionContainer OPTIONAL,
...}
RemoteUserFreeArg ::= SEQUENCE{
imsi [0] IMSI,
callInfo [1] ExternalSignalInfo,
ccbs-Feature [2] CCBS-Feature,
translatedB-Number [3] ISDN-AddressString,
replaceB-Number [4] NULL OPTIONAL,
alertingPattern [5] AlertingPattern OPTIONAL,
extensionContainer [6] ExtensionContainer OPTIONAL,
...}
RemoteUserFreeRes ::= SEQUENCE{
ruf-Outcome [0] RUF-Outcome,
extensionContainer [1] ExtensionContainer OPTIONAL,
...}
RUF-Outcome ::= ENUMERATED{
accepted (0),
rejected (1),
noResponseFromFreeMS (2), -- T4 Expiry
noResponseFromBusyMS (3), -- T10 Expiry
udubFromFreeMS (4),
udubFromBusyMS (5),
...}
-- exception handling:
-- reception of values 6-20 shall be mapped to 'accepted'
-- reception of values 21-30 shall be mapped to 'rejected'
-- reception of values 31-40 shall be mapped to 'noResponseFromFreeMS'
-- reception of values 41-50 shall be mapped to 'noResponseFromBusyMS'
-- reception of values 51-60 shall be mapped to 'udubFromFreeMS'
-- reception of values > 60 shall be mapped to 'udubFromBusyMS'
IST-AlertArg ::= SEQUENCE{
imsi [0] IMSI,
extensionContainer [1] ExtensionContainer OPTIONAL,
...}
IST-AlertRes ::= SEQUENCE{
istAlertTimer [0] IST-AlertTimerValue OPTIONAL,
istInformationWithdraw [1] NULL OPTIONAL,
callTerminationIndicator [2] CallTerminationIndicator OPTIONAL,
extensionContainer [3] ExtensionContainer OPTIONAL,
...}
IST-CommandArg ::= SEQUENCE{
imsi [0] IMSI,
extensionContainer [1] ExtensionContainer OPTIONAL,
...}
IST-CommandRes ::= SEQUENCE{
extensionContainer ExtensionContainer OPTIONAL,
...}
CallTerminationIndicator ::= ENUMERATED {
terminateCallActivityReferred (0),
terminateAllCallActivities (1),
...}
-- exception handling:
-- reception of values 2-10 shall be mapped to ' terminateCallActivityReferred '
-- reception of values > 10 shall be mapped to ' terminateAllCallActivities '
-- In MSCs not supporting linkage of all call activities, any value received shall
-- be interpreted as ' terminateCallActivityReferred '
ReleaseResourcesArg ::= SEQUENCE{
msrn ISDN-AddressString,
extensionContainer ExtensionContainer OPTIONAL,
...}
ReleaseResourcesRes ::= SEQUENCE{
extensionContainer ExtensionContainer OPTIONAL,
...}
END

View File

@ -0,0 +1,214 @@
-- Reference: 3GPP TS 29.002 10.6.0
MAP-CallHandlingOperations {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CallHandlingOperations (7)
version13 (13)}
DEFINITIONS
::=
BEGIN
EXPORTS
sendRoutingInfo,
provideRoamingNumber,
resumeCallHandling,
setReportingState,
statusReport,
remoteUserFree,
ist-Alert,
ist-Command,
releaseResources
;
IMPORTS
OPERATION
FROM Remote-Operations-Information-Objects {
joint-iso-itu-t remote-operations(4)
informationObjects(5) version1(0)}
systemFailure,
dataMissing,
unexpectedDataValue,
facilityNotSupported,
or-NotAllowed,
unknownSubscriber,
numberChanged,
bearerServiceNotProvisioned,
teleserviceNotProvisioned,
noRoamingNumberAvailable,
absentSubscriber,
busySubscriber,
noSubscriberReply,
callBarred,
forwardingViolation,
forwardingFailed,
cug-Reject,
resourceLimitation,
incompatibleTerminal,
unidentifiedSubscriber
FROM MAP-Errors {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-Errors (10) version13 (13)}
SendRoutingInfoArg,
SendRoutingInfoRes,
ProvideRoamingNumberArg,
ProvideRoamingNumberRes,
ResumeCallHandlingArg,
ResumeCallHandlingRes,
SetReportingStateArg,
SetReportingStateRes,
StatusReportArg,
StatusReportRes,
RemoteUserFreeArg,
RemoteUserFreeRes,
IST-AlertArg,
IST-AlertRes,
IST-CommandArg,
IST-CommandRes,
ReleaseResourcesArg,
ReleaseResourcesRes
FROM MAP-CH-DataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CH-DataTypes (13) version13 (13)}
;
sendRoutingInfo OPERATION ::= { --Timer m
-- The timer is set to the upper limit of the range if the GMSC supports pre-paging.
ARGUMENT
SendRoutingInfoArg
RESULT
SendRoutingInfoRes
ERRORS {
systemFailure |
dataMissing |
unexpectedDataValue |
facilityNotSupported |
or-NotAllowed |
unknownSubscriber |
numberChanged |
bearerServiceNotProvisioned |
teleserviceNotProvisioned |
absentSubscriber |
busySubscriber |
noSubscriberReply |
callBarred |
cug-Reject |
forwardingViolation}
CODE local:22 }
provideRoamingNumber OPERATION ::= { --Timer m
-- The timer is set to the upper limit of the range if the HLR supports pre-paging.
ARGUMENT
ProvideRoamingNumberArg
RESULT
ProvideRoamingNumberRes
ERRORS {
systemFailure |
dataMissing |
unexpectedDataValue |
facilityNotSupported |
or-NotAllowed |
absentSubscriber |
noRoamingNumberAvailable}
CODE local:4 }
resumeCallHandling OPERATION ::= { --Timer m
ARGUMENT
ResumeCallHandlingArg
RESULT
ResumeCallHandlingRes
-- optional
ERRORS {
forwardingFailed |
or-NotAllowed |
unexpectedDataValue |
dataMissing }
CODE local:6 }
setReportingState OPERATION ::= { --Timer m
ARGUMENT
SetReportingStateArg
RESULT
SetReportingStateRes
-- optional
ERRORS {
systemFailure |
unidentifiedSubscriber |
unexpectedDataValue |
dataMissing |
resourceLimitation |
facilityNotSupported}
CODE local:73 }
statusReport OPERATION ::= { --Timer m
ARGUMENT
StatusReportArg
RESULT
StatusReportRes
-- optional
ERRORS {
unknownSubscriber |
systemFailure |
unexpectedDataValue |
dataMissing}
CODE local:74 }
remoteUserFree OPERATION ::= { --Timer ml
ARGUMENT
RemoteUserFreeArg
RESULT
RemoteUserFreeRes
ERRORS {
unexpectedDataValue |
dataMissing |
incompatibleTerminal |
absentSubscriber |
systemFailure |
busySubscriber}
CODE local:75 }
ist-Alert OPERATION ::= { --Timer m
ARGUMENT
IST-AlertArg
RESULT
IST-AlertRes
-- optional
ERRORS {
unexpectedDataValue |
resourceLimitation |
unknownSubscriber |
systemFailure |
facilityNotSupported}
CODE local:87 }
ist-Command OPERATION::= { --Timer m
ARGUMENT
IST-CommandArg
RESULT
IST-CommandRes
-- optional
ERRORS {
unexpectedDataValue |
resourceLimitation |
unknownSubscriber |
systemFailure |
facilityNotSupported}
CODE local:88 }
releaseResources OPERATION::= { --Timer m
ARGUMENT
ReleaseResourcesArg
RESULT
ReleaseResourcesRes
-- optional
ERRORS {
unexpectedDataValue |
systemFailure }
CODE local:20 }
END

663
src/MAP_CommonDataTypes.asn Normal file
View File

@ -0,0 +1,663 @@
-- Reference: 3GPP TS 29.002 10.6.0
MAP-CommonDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CommonDataTypes (18) version13 (13)}
DEFINITIONS
IMPLICIT TAGS
::=
BEGIN
EXPORTS
-- general data types and values
AddressString,
ISDN-AddressString,
maxISDN-AddressLength,
FTN-AddressString,
ISDN-SubaddressString,
ExternalSignalInfo,
Ext-ExternalSignalInfo,
AccessNetworkSignalInfo,
SignalInfo,
maxSignalInfoLength,
AlertingPattern,
TBCD-STRING,
DiameterIdentity,
Time,
-- data types for numbering and identification
IMSI,
IMSI-MAP, -- for compatibility with CAP v7.3.0
TMSI,
Identity,
SubscriberId,
IMEI,
IMEI-MAP, -- for compatibility with CAP v7.3.0
HLR-List,
LMSI,
GlobalCellId,
NetworkResource,
AdditionalNetworkResource,
NAEA-PreferredCI,
NAEA-CIC,
ASCI-CallReference,
SubscriberIdentity,
PLMN-Id,
E-UTRAN-CGI,
TA-Id,
RAIdentity,
-- data types for CAMEL
CellGlobalIdOrServiceAreaIdOrLAI,
CellGlobalIdOrServiceAreaIdFixedLength,
LAIFixedLength,
-- data types for subscriber management
BasicServiceCode,
Ext-BasicServiceCode,
EMLPP-Info,
EMLPP-Priority,
MC-SS-Info,
MaxMC-Bearers,
MC-Bearers,
Ext-SS-Status,
-- data types for geographic location
AgeOfLocationInformation,
LCSClientExternalID,
LCSClientInternalID,
LCSServiceTypeID,
-- gprs location registration types
GSN-Address
;
IMPORTS
TeleserviceCode,
Ext-TeleserviceCode
FROM MAP-TS-Code {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-TS-Code (19) version13 (13)}
BearerServiceCode,
Ext-BearerServiceCode
FROM MAP-BS-Code {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-BS-Code (20) version13 (13)}
SS-Code
FROM MAP-SS-Code {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-SS-Code (15) version13 (13)}
ExtensionContainer
FROM MAP-ExtensionDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version13 (13)}
;
-- general data types
TBCD-STRING ::= OCTET STRING
-- This type (Telephony Binary Coded Decimal String) is used to
-- represent several digits from 0 through 9, *, #, a, b, c, two
-- digits per octet, each digit encoded 0000 to 1001 (0 to 9),
-- 1010 (*), 1011 (#), 1100 (a), 1101 (b) or 1110 (c); 1111 used
-- as filler when there is an odd number of digits.
-- bits 8765 of octet n encoding digit 2n
-- bits 4321 of octet n encoding digit 2(n-1) +1
DiameterIdentity ::= OCTET STRING (SIZE(9..55))
-- content of DiameterIdentity is defined in IETF RFC 3588 [139]
AddressString ::= OCTET STRING (SIZE (1..maxAddressLength))
-- This type is used to represent a number for addressing
-- purposes. It is composed of
-- a) one octet for nature of address, and numbering plan
-- indicator.
-- b) digits of an address encoded as TBCD-String.
-- a) The first octet includes a one bit extension indicator, a
-- 3 bits nature of address indicator and a 4 bits numbering
-- plan indicator, encoded as follows:
-- bit 8: 1 (no extension)
-- bits 765: nature of address indicator
-- 000 unknown
-- 001 international number
-- 010 national significant number
-- 011 network specific number
-- 100 subscriber number
-- 101 reserved
-- 110 abbreviated number
-- 111 reserved for extension
-- bits 4321: numbering plan indicator
-- 0000 unknown
-- 0001 ISDN/Telephony Numbering Plan (Rec ITU-T E.164)
-- 0010 spare
-- 0011 data numbering plan (ITU-T Rec X.121)
-- 0100 telex numbering plan (ITU-T Rec F.69)
-- 0101 spare
-- 0110 land mobile numbering plan (ITU-T Rec E.212)
-- 0111 spare
-- 1000 national numbering plan
-- 1001 private numbering plan
-- 1111 reserved for extension
-- all other values are reserved.
-- b) The following octets representing digits of an address
-- encoded as a TBCD-STRING.
maxAddressLength INTEGER ::= 20
ISDN-AddressString ::=
AddressString (SIZE (1..maxISDN-AddressLength))
-- This type is used to represent ISDN numbers.
maxISDN-AddressLength INTEGER ::= 9
FTN-AddressString ::=
AddressString (SIZE (1..maxFTN-AddressLength))
-- This type is used to represent forwarded-to numbers.
-- If NAI = international the first digits represent the country code (CC)
-- and the network destination code (NDC) as for E.164.
maxFTN-AddressLength INTEGER ::= 15
ISDN-SubaddressString ::=
OCTET STRING (SIZE (1..maxISDN-SubaddressLength))
-- This type is used to represent ISDN subaddresses.
-- It is composed of
-- a) one octet for type of subaddress and odd/even indicator.
-- b) 20 octets for subaddress information.
-- a) The first octet includes a one bit extension indicator, a
-- 3 bits type of subaddress and a one bit odd/even indicator,
-- encoded as follows:
-- bit 8: 1 (no extension)
-- bits 765: type of subaddress
-- 000 NSAP (X.213/ISO 8348 AD2)
-- 010 User Specified
-- All other values are reserved
-- bit 4: odd/even indicator
-- 0 even number of address signals
-- 1 odd number of address signals
-- The odd/even indicator is used when the type of subaddress
-- is "user specified" and the coding is BCD.
-- bits 321: 000 (unused)
-- b) Subaddress information.
-- The NSAP X.213/ISO8348AD2 address shall be formatted as specified
-- by octet 4 which contains the Authority and Format Identifier
-- (AFI). The encoding is made according to the "preferred binary
-- encoding" as defined in X.213/ISO834AD2. For the definition
-- of this type of subaddress, see ITU-T Rec I.334.
-- For User-specific subaddress, this field is encoded according
-- to the user specification, subject to a maximum length of 20
-- octets. When interworking with X.25 networks BCD coding should
-- be applied.
maxISDN-SubaddressLength INTEGER ::= 21
ExternalSignalInfo ::= SEQUENCE {
protocolId ProtocolId,
signalInfo SignalInfo,
-- Information about the internal structure is given in
-- clause 7.6.9.
extensionContainer ExtensionContainer OPTIONAL,
-- extensionContainer must not be used in version 2
...}
SignalInfo ::= OCTET STRING (SIZE (1..maxSignalInfoLength))
maxSignalInfoLength INTEGER ::= 200
-- This NamedValue represents the theoretical maximum number of octets which is
-- available to carry a single instance of the SignalInfo data type,
-- without requiring segmentation to cope with the network layer service.
-- However, the actual maximum size available for an instance of the data
-- type may be lower, especially when other information elements
-- have to be included in the same component.
ProtocolId ::= ENUMERATED {
gsm-0408 (1),
gsm-0806 (2),
gsm-BSSMAP (3),
-- Value 3 is reserved and must not be used
ets-300102-1 (4)}
Ext-ExternalSignalInfo ::= SEQUENCE {
ext-ProtocolId Ext-ProtocolId,
signalInfo SignalInfo,
-- Information about the internal structure is given in
-- clause 7.6.9.10
extensionContainer ExtensionContainer OPTIONAL,
...}
Ext-ProtocolId ::= ENUMERATED {
ets-300356 (1),
...
}
-- exception handling:
-- For Ext-ExternalSignalInfo sequences containing this parameter with any
-- other value than the ones listed the receiver shall ignore the whole
-- Ext-ExternalSignalInfo sequence.
AccessNetworkSignalInfo ::= SEQUENCE {
accessNetworkProtocolId AccessNetworkProtocolId,
signalInfo LongSignalInfo,
-- Information about the internal structure is given in clause 7.6.9.1
extensionContainer ExtensionContainer OPTIONAL,
...}
LongSignalInfo ::= OCTET STRING (SIZE (1..maxLongSignalInfoLength))
maxLongSignalInfoLength INTEGER ::= 2560
-- This Named Value represents the maximum number of octets which is available
-- to carry a single instance of the LongSignalInfo data type using
-- White Book SCCP with the maximum number of segments.
-- It takes account of the octets used by the lower layers of the protocol, and
-- other information elements which may be included in the same component.
AccessNetworkProtocolId ::= ENUMERATED {
ts3G-48006 (1),
ts3G-25413 (2),
...}
-- exception handling:
-- For AccessNetworkSignalInfo sequences containing this parameter with any
-- other value than the ones listed the receiver shall ignore the whole
-- AccessNetworkSignalInfo sequence.
AlertingPattern ::= OCTET STRING (SIZE (1) )
-- This type is used to represent Alerting Pattern
-- bits 8765 : 0000 (unused)
-- bits 43 : type of Pattern
-- 00 level
-- 01 category
-- 10 category
-- all other values are reserved.
-- bits 21 : type of alerting
alertingLevel-0 AlertingPattern ::= '00000000'B
alertingLevel-1 AlertingPattern ::= '00000001'B
alertingLevel-2 AlertingPattern ::= '00000010'B
-- all other values of Alerting level are reserved
-- Alerting Levels are defined in GSM 02.07
alertingCategory-1 AlertingPattern ::= '00000100'B
alertingCategory-2 AlertingPattern ::= '00000101'B
alertingCategory-3 AlertingPattern ::= '00000110'B
alertingCategory-4 AlertingPattern ::= '00000111'B
alertingCategory-5 AlertingPattern ::= '00001000'B
-- all other values of Alerting Category are reserved
-- Alerting categories are defined in GSM 02.07
GSN-Address ::= OCTET STRING (SIZE (5..17))
-- Octets are coded according to TS 3GPP TS 23.003 [17]
Time ::= OCTET STRING (SIZE (4))
-- Octets are coded according to IETF RFC 3588 [139]
-- data types for numbering and identification
IMSI ::= TBCD-STRING (SIZE (3..8))
-- digits of MCC, MNC, MSIN are concatenated in this order.
IMSI-MAP ::= IMSI -- for compatibility with CAP v7.3.0
Identity ::= CHOICE {
imsi IMSI,
imsi-WithLMSI IMSI-WithLMSI}
IMSI-WithLMSI ::= SEQUENCE {
imsi IMSI,
lmsi LMSI,
-- a special value 00000000 indicates that the LMSI is not in use
...}
ASCI-CallReference ::= TBCD-STRING (SIZE (1..8))
-- digits of VGCS/VBS-area,Group-ID are concatenated in this order if there is a
-- VGCS/VBS-area.
TMSI ::= OCTET STRING (SIZE (1..4))
SubscriberId ::= CHOICE {
imsi [0] IMSI,
tmsi [1] TMSI}
IMEI ::= TBCD-STRING (SIZE (8))
-- Refers to International Mobile Station Equipment Identity
-- and Software Version Number (SVN) defined in TS 3GPP TS 23.003 [17].
-- If the SVN is not present the last octet shall contain the
-- digit 0 and a filler.
-- If present the SVN shall be included in the last octet.
IMEI-MAP ::= IMEI -- for compatibility with CAP v7.3.0
HLR-Id ::= IMSI
-- leading digits of IMSI, i.e. (MCC, MNC, leading digits of
-- MSIN) forming HLR Id defined in TS 3GPP TS 23.003 [17].
HLR-List ::= SEQUENCE SIZE (1..maxNumOfHLR-Id) OF
HLR-Id
maxNumOfHLR-Id INTEGER ::= 50
LMSI ::= OCTET STRING (SIZE (4))
GlobalCellId ::= OCTET STRING (SIZE (5..7))
-- Refers to Cell Global Identification defined in TS 3GPP TS 23.003 [17].
-- The internal structure is defined as follows:
-- octet 1 bits 4321 Mobile Country Code 1st digit
-- bits 8765 Mobile Country Code 2nd digit
-- octet 2 bits 4321 Mobile Country Code 3rd digit
-- bits 8765 Mobile Network Code 3rd digit
-- or filler (1111) for 2 digit MNCs
-- octet 3 bits 4321 Mobile Network Code 1st digit
-- bits 8765 Mobile Network Code 2nd digit
-- octets 4 and 5 Location Area Code according to TS 3GPP TS 24.008 [35]
-- octets 6 and 7 Cell Identity (CI) according to TS 3GPP TS 24.008 [35]
NetworkResource ::= ENUMERATED {
plmn (0),
hlr (1),
vlr (2),
pvlr (3),
controllingMSC (4),
vmsc (5),
eir (6),
rss (7)}
AdditionalNetworkResource ::= ENUMERATED {
sgsn (0),
ggsn (1),
gmlc (2),
gsmSCF (3),
nplr (4),
auc (5),
... ,
ue (6),
mme (7)}
-- if unknown value is received in AdditionalNetworkResource
-- it shall be ignored.
NAEA-PreferredCI ::= SEQUENCE {
naea-PreferredCIC [0] NAEA-CIC,
extensionContainer [1] ExtensionContainer OPTIONAL,
...}
NAEA-CIC ::= OCTET STRING (SIZE (3))
-- The internal structure is defined by the Carrier Identification
-- parameter in ANSI T1.113.3. Carrier codes between “000” and “999” may
-- be encoded as 3 digits using “000” to “999” or as 4 digits using
-- “0000” to “0999”. Carrier codes between “1000” and “9999” are encoded
-- using 4 digits.
SubscriberIdentity ::= CHOICE {
imsi [0] IMSI,
msisdn [1] ISDN-AddressString
}
LCSClientExternalID ::= SEQUENCE {
externalAddress [0] ISDN-AddressString OPTIONAL,
extensionContainer [1] ExtensionContainer OPTIONAL,
... }
LCSClientInternalID ::= ENUMERATED {
broadcastService (0),
o-andM-HPLMN (1),
o-andM-VPLMN (2),
anonymousLocation (3),
targetMSsubscribedService (4),
... }
-- for a CAMEL phase 3 PLMN operator client, the value targetMSsubscribedService shall be used
LCSServiceTypeID ::= INTEGER (0..127)
-- the integer values 0-63 are reserved for Standard LCS service types
-- the integer values 64-127 are reserved for Non Standard LCS service types
-- Standard LCS Service Types
emergencyServices LCSServiceTypeID ::= 0
emergencyAlertServices LCSServiceTypeID ::= 1
personTracking LCSServiceTypeID ::= 2
fleetManagement LCSServiceTypeID ::= 3
assetManagement LCSServiceTypeID ::= 4
trafficCongestionReporting LCSServiceTypeID ::= 5
roadsideAssistance LCSServiceTypeID ::= 6
routingToNearestCommercialEnterprise LCSServiceTypeID ::= 7
navigation LCSServiceTypeID ::= 8
--this service type is reserved for use in previous releases
citySightseeing LCSServiceTypeID ::= 9
localizedAdvertising LCSServiceTypeID ::= 10
mobileYellowPages LCSServiceTypeID ::= 11
trafficAndPublicTransportationInfo LCSServiceTypeID ::= 12
weather LCSServiceTypeID ::= 13
assetAndServiceFinding LCSServiceTypeID ::= 14
gaming LCSServiceTypeID ::= 15
findYourFriend LCSServiceTypeID ::= 16
dating LCSServiceTypeID ::= 17
chatting LCSServiceTypeID ::= 18
routeFinding LCSServiceTypeID ::= 19
whereAmI LCSServiceTypeID ::= 20
-- The values of LCSServiceTypeID are defined according to 3GPP TS 22.071.
-- Non Standard LCS Service Types
serv64 LCSServiceTypeID ::= 64
serv65 LCSServiceTypeID ::= 65
serv66 LCSServiceTypeID ::= 66
serv67 LCSServiceTypeID ::= 67
serv68 LCSServiceTypeID ::= 68
serv69 LCSServiceTypeID ::= 69
serv70 LCSServiceTypeID ::= 70
serv71 LCSServiceTypeID ::= 71
serv72 LCSServiceTypeID ::= 72
serv73 LCSServiceTypeID ::= 73
serv74 LCSServiceTypeID ::= 74
serv75 LCSServiceTypeID ::= 75
serv76 LCSServiceTypeID ::= 76
serv77 LCSServiceTypeID ::= 77
serv78 LCSServiceTypeID ::= 78
serv79 LCSServiceTypeID ::= 79
serv80 LCSServiceTypeID ::= 80
serv81 LCSServiceTypeID ::= 81
serv82 LCSServiceTypeID ::= 82
serv83 LCSServiceTypeID ::= 83
serv84 LCSServiceTypeID ::= 84
serv85 LCSServiceTypeID ::= 85
serv86 LCSServiceTypeID ::= 86
serv87 LCSServiceTypeID ::= 87
serv88 LCSServiceTypeID ::= 88
serv89 LCSServiceTypeID ::= 89
serv90 LCSServiceTypeID ::= 90
serv91 LCSServiceTypeID ::= 91
serv92 LCSServiceTypeID ::= 92
serv93 LCSServiceTypeID ::= 93
serv94 LCSServiceTypeID ::= 94
serv95 LCSServiceTypeID ::= 95
serv96 LCSServiceTypeID ::= 96
serv97 LCSServiceTypeID ::= 97
serv98 LCSServiceTypeID ::= 98
serv99 LCSServiceTypeID ::= 99
serv100 LCSServiceTypeID ::= 100
serv101 LCSServiceTypeID ::= 101
serv102 LCSServiceTypeID ::= 102
serv103 LCSServiceTypeID ::= 103
serv104 LCSServiceTypeID ::= 104
serv105 LCSServiceTypeID ::= 105
serv106 LCSServiceTypeID ::= 106
serv107 LCSServiceTypeID ::= 107
serv108 LCSServiceTypeID ::= 108
serv109 LCSServiceTypeID ::= 109
serv110 LCSServiceTypeID ::= 110
serv111 LCSServiceTypeID ::= 111
serv112 LCSServiceTypeID ::= 112
serv113 LCSServiceTypeID ::= 113
serv114 LCSServiceTypeID ::= 114
serv115 LCSServiceTypeID ::= 115
serv116 LCSServiceTypeID ::= 116
serv117 LCSServiceTypeID ::= 117
serv118 LCSServiceTypeID ::= 118
serv119 LCSServiceTypeID ::= 119
serv120 LCSServiceTypeID ::= 120
serv121 LCSServiceTypeID ::= 121
serv122 LCSServiceTypeID ::= 122
serv123 LCSServiceTypeID ::= 123
serv124 LCSServiceTypeID ::= 124
serv125 LCSServiceTypeID ::= 125
serv126 LCSServiceTypeID ::= 126
serv127 LCSServiceTypeID ::= 127
PLMN-Id ::= OCTET STRING (SIZE (3))
-- The internal structure is defined as follows:
-- octet 1 bits 4321 Mobile Country Code 1st digit
-- bits 8765 Mobile Country Code 2nd digit
-- octet 2 bits 4321 Mobile Country Code 3rd digit
-- bits 8765 Mobile Network Code 3rd digit
-- or filler (1111) for 2 digit MNCs
-- octet 3 bits 4321 Mobile Network Code 1st digit
-- bits 8765 Mobile Network Code 2nd digit
E-UTRAN-CGI ::= OCTET STRING (SIZE (7))
-- Octets are coded as described in 3GPP TS 29.118.
TA-Id ::= OCTET STRING (SIZE (5))
-- Octets are coded as described in 3GPP TS 29.118.
RAIdentity ::= OCTET STRING (SIZE (6))
-- Routing Area Identity is coded in accordance with 3GPP TS 29.060 [105].
-- It shall contain the value part defined in 3GPP TS 29.060 only. I.e. the 3GPP TS 29.060
-- type identifier octet shall not be included.
-- data types for CAMEL
CellGlobalIdOrServiceAreaIdOrLAI ::= CHOICE {
cellGlobalIdOrServiceAreaIdFixedLength [0] CellGlobalIdOrServiceAreaIdFixedLength,
laiFixedLength [1] LAIFixedLength}
CellGlobalIdOrServiceAreaIdFixedLength ::= OCTET STRING (SIZE (7))
-- Refers to Cell Global Identification or Service Are Identification
-- defined in 3GPP TS 23.003.
-- The internal structure is defined as follows:
-- octet 1 bits 4321 Mobile Country Code 1st digit
-- bits 8765 Mobile Country Code 2nd digit
-- octet 2 bits 4321 Mobile Country Code 3rd digit
-- bits 8765 Mobile Network Code 3rd digit
-- or filler (1111) for 2 digit MNCs
-- octet 3 bits 4321 Mobile Network Code 1st digit
-- bits 8765 Mobile Network Code 2nd digit
-- octets 4 and 5 Location Area Code according to 3GPP TS 24.008
-- octets 6 and 7 Cell Identity (CI) value or
-- Service Area Code (SAC) value
-- according to 3GPP TS 23.003
LAIFixedLength ::= OCTET STRING (SIZE (5))
-- Refers to Location Area Identification defined in 3GPP TS 23.003 [17].
-- The internal structure is defined as follows:
-- octet 1 bits 4321 Mobile Country Code 1st digit
-- bits 8765 Mobile Country Code 2nd digit
-- octet 2 bits 4321 Mobile Country Code 3rd digit
-- bits 8765 Mobile Network Code 3rd digit
-- or filler (1111) for 2 digit MNCs
-- octet 3 bits 4321 Mobile Network Code 1st digit
-- bits 8765 Mobile Network Code 2nd digit
-- octets 4 and 5 Location Area Code according to 3GPP TS 24.008 [35]
-- data types for subscriber management
BasicServiceCode ::= CHOICE {
bearerService [2] BearerServiceCode,
teleservice [3] TeleserviceCode}
Ext-BasicServiceCode ::= CHOICE {
ext-BearerService [2] Ext-BearerServiceCode,
ext-Teleservice [3] Ext-TeleserviceCode}
EMLPP-Info ::= SEQUENCE {
maximumentitledPriority EMLPP-Priority,
defaultPriority EMLPP-Priority,
extensionContainer ExtensionContainer OPTIONAL,
...}
EMLPP-Priority ::= INTEGER (0..15)
-- The mapping from the values A,B,0,1,2,3,4 to the integer-value is
-- specified as follows where A is the highest and 4 is the lowest
-- priority level
-- the integer values 7-15 are spare and shall be mapped to value 4
priorityLevelA EMLPP-Priority ::= 6
priorityLevelB EMLPP-Priority ::= 5
priorityLevel0 EMLPP-Priority ::= 0
priorityLevel1 EMLPP-Priority ::= 1
priorityLevel2 EMLPP-Priority ::= 2
priorityLevel3 EMLPP-Priority ::= 3
priorityLevel4 EMLPP-Priority ::= 4
MC-SS-Info ::= SEQUENCE {
ss-Code [0] SS-Code,
ss-Status [1] Ext-SS-Status,
nbrSB [2] MaxMC-Bearers,
nbrUser [3] MC-Bearers,
extensionContainer [4] ExtensionContainer OPTIONAL,
...}
MaxMC-Bearers ::= INTEGER (2..maxNumOfMC-Bearers)
MC-Bearers ::= INTEGER (1..maxNumOfMC-Bearers)
maxNumOfMC-Bearers INTEGER ::= 7
Ext-SS-Status ::= OCTET STRING (SIZE (1..5))
-- OCTET 1:
--
-- bits 8765: 0000 (unused)
-- bits 4321: Used to convey the "P bit","R bit","A bit" and "Q bit",
-- representing supplementary service state information
-- as defined in TS 3GPP TS 23.011 [22]
-- bit 4: "Q bit"
-- bit 3: "P bit"
-- bit 2: "R bit"
-- bit 1: "A bit"
-- OCTETS 2-5: reserved for future use. They shall be discarded if
-- received and not understood.
-- data types for geographic location
AgeOfLocationInformation ::= INTEGER (0..32767)
-- the value represents the elapsed time in minutes since the last
-- network contact of the mobile station (i.e. the actuality of the
-- location information).
-- value “0” indicates that the MS is currently in contact with the
-- network
-- value “32767” indicates that the location information is at least
-- 32767 minutes old
END

View File

@ -0,0 +1,157 @@
-- Reference: 3GPP TS 29.002 10.6.0
MAP-DialogueInformation {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-DialogueInformation (3) version13 (13)}
DEFINITIONS
IMPLICIT TAGS
::=
BEGIN
EXPORTS
map-DialogueAS,
MAP-DialoguePDU
;
IMPORTS
gsm-NetworkId,
as-Id
FROM MobileDomainDefinitions {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
mobileDomainDefinitions (0) version1 (1)}
AddressString
FROM MAP-CommonDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network(1) modules (3) map-CommonDataTypes (18) version13 (13)}
ExtensionContainer
FROM MAP-ExtensionDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version13 (13)}
;
-- Following types needed for coding of user information of TCAP ASPs for MAP
TCAP-MAP-user-information ::=
SEQUENCE OF TCAP-MAP-user-information-element
TCAP-MAP-user-information-element ::= SEQUENCE {
syntax OBJECT IDENTIFIER,
mAP-DialoguePDU MAP-DialoguePDU
}
/*
This is used in TCAP ASP as EXTERNAL when
MAP-DialoguePDU is embedded in EXTERNAL (because the
'single-ASN1-type' alternative of 'encoding' must be used)
*/
MAP-DialoguePDU-inEXTERNAL ::= [UNIVERSAL 8] IMPLICIT SEQUENCE {
direct-reference OBJECT IDENTIFIER,
encoding CHOICE {
single-ASN1-type [0] EXPLICIT MAP-DialoguePDU
}
}
/*
This is a helper type used during coding/decoding...
*/
Seq-of-ANY-MAP ::= SEQUENCE OF ANY
-- abstract syntax name for MAP-DialoguePDU
map-DialogueAS OBJECT IDENTIFIER ::=
{gsm-NetworkId as-Id map-DialoguePDU (1) version1 (1)}
MAP-DialoguePDU ::= CHOICE {
map-open [0] MAP-OpenInfo,
map-accept [1] MAP-AcceptInfo,
map-close [2] MAP-CloseInfo,
map-refuse [3] MAP-RefuseInfo,
map-userAbort [4] MAP-UserAbortInfo,
map-providerAbort [5] MAP-ProviderAbortInfo}
MAP-OpenInfo ::= SEQUENCE {
destinationReference [0] AddressString OPTIONAL,
originationReference [1] AddressString OPTIONAL,
...,
extensionContainer ExtensionContainer OPTIONAL
-- extensionContainer must not be used in version 2
}
MAP-AcceptInfo ::= SEQUENCE {
...,
extensionContainer ExtensionContainer OPTIONAL
-- extensionContainer must not be used in version 2
}
MAP-CloseInfo ::= SEQUENCE {
...,
extensionContainer ExtensionContainer OPTIONAL
-- extensionContainer must not be used in version 2
}
MAP-RefuseInfo ::= SEQUENCE {
reason Reason,
...,
extensionContainer ExtensionContainer OPTIONAL,
-- extensionContainer must not be used in version 2
alternativeApplicationContext OBJECT IDENTIFIER OPTIONAL
-- alternativeApplicationContext must not be used in version 2
}
Reason ::= ENUMERATED {
noReasonGiven (0),
invalidDestinationReference (1),
invalidOriginatingReference (2)}
MAP-UserAbortInfo ::= SEQUENCE {
map-UserAbortChoice MAP-UserAbortChoice,
...,
extensionContainer ExtensionContainer OPTIONAL
-- extensionContainer must not be used in version 2
}
MAP-UserAbortChoice ::= CHOICE {
userSpecificReason [0] NULL,
userResourceLimitation [1] NULL,
resourceUnavailable [2] ResourceUnavailableReason,
applicationProcedureCancellation [3] ProcedureCancellationReason}
ResourceUnavailableReason ::= ENUMERATED {
shortTermResourceLimitation (0),
longTermResourceLimitation (1)}
ProcedureCancellationReason ::= ENUMERATED {
handoverCancellation (0),
radioChannelRelease (1),
networkPathRelease (2),
callRelease (3),
associatedProcedureFailure (4),
tandemDialogueRelease (5),
remoteOperationsFailure (6)}
MAP-ProviderAbortInfo ::= SEQUENCE {
map-ProviderAbortReason MAP-ProviderAbortReason,
...,
extensionContainer ExtensionContainer OPTIONAL
-- extensionContainer must not be used in version 2
}
MAP-ProviderAbortReason ::= ENUMERATED {
abnormalDialogue (0),
invalidPDU (1)}
END

423
src/MAP_ER_DataTypes.asn Normal file
View File

@ -0,0 +1,423 @@
-- Reference: 3GPP TS 29.002 10.6.0
MAP-ER-DataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-ER-DataTypes (17) version13 (13)}
DEFINITIONS
IMPLICIT TAGS
::=
BEGIN
EXPORTS
RoamingNotAllowedParam,
CallBarredParam,
CUG-RejectParam,
SS-IncompatibilityCause,
PW-RegistrationFailureCause,
SM-DeliveryFailureCause,
SystemFailureParam,
DataMissingParam,
UnexpectedDataParam,
FacilityNotSupParam,
OR-NotAllowedParam,
UnknownSubscriberParam,
NumberChangedParam,
UnidentifiedSubParam,
IllegalSubscriberParam,
IllegalEquipmentParam,
BearerServNotProvParam,
TeleservNotProvParam,
TracingBufferFullParam,
NoRoamingNbParam,
AbsentSubscriberParam,
BusySubscriberParam,
NoSubscriberReplyParam,
ForwardingViolationParam,
ForwardingFailedParam,
ATI-NotAllowedParam,
SubBusyForMT-SMS-Param,
MessageWaitListFullParam,
AbsentSubscriberSM-Param,
AbsentSubscriberDiagnosticSM,
ResourceLimitationParam,
NoGroupCallNbParam,
IncompatibleTerminalParam,
ShortTermDenialParam,
LongTermDenialParam,
UnauthorizedRequestingNetwork-Param,
UnauthorizedLCSClient-Param,
PositionMethodFailure-Param,
UnknownOrUnreachableLCSClient-Param,
MM-EventNotSupported-Param,
ATSI-NotAllowedParam,
ATM-NotAllowedParam,
IllegalSS-OperationParam,
SS-NotAvailableParam,
SS-SubscriptionViolationParam,
InformationNotAvailableParam,
TargetCellOutsideGCA-Param,
OngoingGroupCallParam,
PositionMethodFailure-Diagnostic,
UnauthorizedLCSClient-Diagnostic
;
IMPORTS
SS-Status
FROM MAP-SS-DataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-SS-DataTypes (14) version13 (13)}
SignalInfo,
BasicServiceCode,
NetworkResource,
AdditionalNetworkResource
FROM MAP-CommonDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CommonDataTypes (18) version13 (13)}
SS-Code
FROM MAP-SS-Code {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-SS-Code (15) version13 (13)}
ExtensionContainer
FROM MAP-ExtensionDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version13 (13)}
;
RoamingNotAllowedParam ::= SEQUENCE {
roamingNotAllowedCause RoamingNotAllowedCause,
extensionContainer ExtensionContainer OPTIONAL,
...,
additionalRoamingNotAllowedCause [0] AdditionalRoamingNotAllowedCause OPTIONAL }
-- if the additionalRoamingNotallowedCause is received by the MSC/VLR or SGSN then the
-- roamingNotAllowedCause shall be discarded.
AdditionalRoamingNotAllowedCause ::= ENUMERATED {
supportedRAT-TypesNotAllowed (0),
...}
RoamingNotAllowedCause ::= ENUMERATED {
plmnRoamingNotAllowed (0),
operatorDeterminedBarring (3)}
CallBarredParam ::= CHOICE {
callBarringCause CallBarringCause,
-- call BarringCause must not be used in version 3 and higher
extensibleCallBarredParam ExtensibleCallBarredParam
-- extensibleCallBarredParam must not be used in version <3
}
CallBarringCause ::= ENUMERATED {
barringServiceActive (0),
operatorBarring (1)}
ExtensibleCallBarredParam ::= SEQUENCE {
callBarringCause CallBarringCause OPTIONAL,
extensionContainer ExtensionContainer OPTIONAL,
... ,
unauthorisedMessageOriginator [1] NULL OPTIONAL }
CUG-RejectParam ::= SEQUENCE {
cug-RejectCause CUG-RejectCause OPTIONAL,
extensionContainer ExtensionContainer OPTIONAL,
...}
CUG-RejectCause ::= ENUMERATED {
incomingCallsBarredWithinCUG (0),
subscriberNotMemberOfCUG (1),
requestedBasicServiceViolatesCUG-Constraints (5),
calledPartySS-InteractionViolation (7)}
SS-IncompatibilityCause ::= SEQUENCE {
ss-Code [1] SS-Code OPTIONAL,
basicService BasicServiceCode OPTIONAL,
ss-Status [4] SS-Status OPTIONAL,
...}
PW-RegistrationFailureCause ::= ENUMERATED {
undetermined (0),
invalidFormat (1),
newPasswordsMismatch (2)}
SM-EnumeratedDeliveryFailureCause ::= ENUMERATED {
memoryCapacityExceeded (0),
equipmentProtocolError (1),
equipmentNotSM-Equipped (2),
unknownServiceCentre (3),
sc-Congestion (4),
invalidSME-Address (5),
subscriberNotSC-Subscriber (6)}
SM-DeliveryFailureCause ::= SEQUENCE {
sm-EnumeratedDeliveryFailureCause SM-EnumeratedDeliveryFailureCause,
diagnosticInfo SignalInfo OPTIONAL,
extensionContainer ExtensionContainer OPTIONAL,
...}
AbsentSubscriberSM-Param ::= SEQUENCE {
absentSubscriberDiagnosticSM AbsentSubscriberDiagnosticSM OPTIONAL,
-- AbsentSubscriberDiagnosticSM can be either for non-GPRS
-- or for GPRS
extensionContainer ExtensionContainer OPTIONAL,
...,