Initial import of asn1 files and asn1c-generated .c / .h

This commit is contained in:
Harald Welte 2010-06-13 07:58:40 +02:00
commit 745cb43d2f
1298 changed files with 106794 additions and 0 deletions

617
asn/GSMMAP.asn Normal file
View File

@ -0,0 +1,617 @@
-- Expanded ASN1 Module 'MAP-Protocol'
--SIEMENS ASN.1 Compiler R5.70 (Production_5.70)
-- Date: 2003-09-04 Time: 14:14:00
-- Updated to version 3GPP TS 29.002 V7.5.0 (2006-09) Release 7
-- $Id: GSMMAP.asn 31404 2010-01-01 22:29:28Z etxrab $
DummyMAP{ 0 identified-organization (4) etsi (0) mobileDomain (0) gsm-Network (1) modules (3) map-Protocol (4) version5 (5) }
DEFINITIONS
IMPLICIT TAGS
::=
BEGIN
-- Must import data types for the "old" asn1 defs collected here.
IMPORTS
AddressString,
BasicServiceCode,
ExternalSignalInfo,
GlobalCellId,
ISDN-AddressString,
IMSI,
IMSI-WithLMSI,
LMSI,
ProtocolId,
SignalInfo
FROM MAP-CommonDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CommonDataTypes (18) version11 (11)}
ExtensionContainer
FROM MAP-ExtensionDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version11 (11)}
CUG-CheckInfo,
NumberOfForwarding,
RoutingInfo
FROM MAP-CH-DataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CH-DataTypes (13) version11 (11)}
;
-- 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] Invoke,
returnResultLast [2] ReturnResult,
returnError [3] ReturnError,
reject [4] Reject,
-- TCAP adds returnResultNotLast to allow for the segmentation of a result.
returnResultNotLast [7] ReturnResult
}
Invoke ::= SEQUENCE {
invokeID InvokeIdType,
linkedID [0] InvokeIdType OPTIONAL,
opCode MAP-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 MAP-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 MAP-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] GeneralProblem,
invokeProblem [1] InvokeProblem,
returnResultProblem [2] ReturnResultProblem,
returnErrorProblem [3] ReturnErrorProblem } }
InvokeIdType ::= INTEGER (-128..127)
MAP-OPERATION ::= CHOICE {
localValue OperationLocalvalue,
globalValue OBJECT IDENTIFIER }
GSMMAPOperationLocalvalue ::= INTEGER{
updateLocation (2),
cancelLocation (3),
provideRoamingNumber (4),
noteSubscriberDataModified (5),
resumeCallHandling (6),
insertSubscriberData (7),
deleteSubscriberData (8),
sendParameters (9),
registerSS (10),
eraseSS (11),
activateSS (12),
deactivateSS (13),
interrogateSS (14),
authenticationFailureReport (15),
notifySS (16),
registerPassword (17),
getPassword (18),
processUnstructuredSS-Data (19),
releaseResources (20),
mt-ForwardSM-VGCS (21),
sendRoutingInfo (22),
updateGprsLocation (23),
sendRoutingInfoForGprs (24),
failureReport (25),
noteMsPresentForGprs (26),
performHandover (28),
sendEndSignal (29),
performSubsequentHandover (30),
provideSIWFSNumber (31),
sIWFSSignallingModify (32),
processAccessSignalling (33),
forwardAccessSignalling (34),
noteInternalHandover (35),
reset (37),
forwardCheckSS (38),
prepareGroupCall (39),
sendGroupCallEndSignal (40),
processGroupCallSignalling (41),
forwardGroupCallSignalling (42),
checkIMEI (43),
mt-forwardSM (44),
sendRoutingInfoForSM (45),
mo-forwardSM (46),
reportSM-DeliveryStatus (47),
noteSubscriberPresent (48),
alertServiceCentreWithoutResult (49),
activateTraceMode (50),
deactivateTraceMode (51),
traceSubscriberActivity (52),
beginSubscriberActivity (54),
sendIdentification (55),
sendAuthenticationInfo (56),
restoreData (57),
sendIMSI (58),
processUnstructuredSS-Request (59),
unstructuredSS-Request (60),
unstructuredSS-Notify (61),
anyTimeSubscriptionInterrogation (62),
informServiceCentre (63),
alertServiceCentre (64),
anyTimeModification (65),
readyForSM (66),
purgeMS (67),
prepareHandover (68),
prepareSubsequentHandover (69),
provideSubscriberInfo (70),
anyTimeInterrogation (71),
ss-InvocationNotification (72),
setReportingState (73),
statusReport (74),
remoteUserFree (75),
registerCC-Entry (76),
eraseCC-Entry (77),
secureTransportClass1 (78),
secureTransportClass2 (79),
secureTransportClass3 (80),
secureTransportClass4 (81),
provideSubscriberLocation (83),
sendGroupCallInfo (84),
sendRoutingInfoForLCS (85),
subscriberLocationReport (86),
ist-Alert (87),
ist-Command (88),
noteMM-Event (89),
lcs-PeriodicLocationCancellation (109),
lcs-LocationUpdate (110),
lcs-PeriodicLocationRequest (111),
lcs-AreaEventCancellation (112),
lcs-AreaEventReport (113),
lcs-AreaEventRequest (114),
lcs-MOLR (115),
lcs-LocationNotification (116),
callDeflection (117),
userUserService (118),
accessRegisterCCEntry (119),
forwardCUG-Info (120),
splitMPTY (121),
retrieveMPTY (122),
holdMPTY(123),
buildMPTY (124),
forwardChargeAdvice(125),
explicitCT (126)
}
OperationLocalvalue ::= GSMMAPOperationLocalvalue
MAP-ERROR ::= CHOICE {
localValue LocalErrorcode,
globalValue OBJECT IDENTIFIER }
GSMMAPLocalErrorcode ::= INTEGER{
systemFailure (34),
dataMissing (35),
unexpectedDataValue (36),
facilityNotSupported (21),
incompatibleTerminal (28),
resourceLimitation (51),
unknownSubscriber (1),
numberChanged (44),
unknownMSC (3),
unidentifiedSubscriber (5),
unknownEquipment (7),
roamingNotAllowed (8),
illegalSubscriber (9),
illegalEquipment (12),
bearerServiceNotProvisioned (10),
teleserviceNotProvisioned (11),
noHandoverNumberAvailable (25),
subsequentHandoverFailure (26),
targetCellOutsideGroupCallArea (42),
tracingBufferFull (40),
noRoamingNumberAvailable (39),
absentSubscriber (27),
busySubscriber (45),
noSubscriberReply (46),
callBarred (13),
forwardingViolation (14),
forwardingFailed (47),
cug-Reject (15),
or-NotAllowed (48),
ati-NotAllowed (49),
atsi-NotAllowed (60),
atm-NotAllowed (61),
informationNotAvailabl (62),
illegalSS-Operation (16),
ss-ErrorStatus (17),
ss-NotAvailable (18),
ss-SubscriptionViolatio (19),
ss-Incompatibility (20),
unknownAlphabe (71),
ussd-Busy (72),
pw-RegistrationFailur (37),
negativePW-Check (38),
numberOfPW-AttemptsViolation (43),
shortTermDenial (29),
longTermDenial (30),
subscriberBusyForMT-SMS (31),
sm-DeliveryFailure (32),
messageWaitingListFull (33),
absentSubscriberSM (6),
noGroupCallNumberAvailable (50),
unauthorizedRequestingNetwork (52),
unauthorizedLCSClient (53),
positionMethodFailure (54),
unknownOrUnreachableLCSClient (58),
mm-EventNotSupported (59),
secureTransportError (4)
}
LocalErrorcode ::= GSMMAPLocalErrorcode
-- 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
Bss-APDU ::= SEQUENCE {
protocolId ProtocolId,
signalInfo SignalInfo,
extensionContainer ExtensionContainer OPTIONAL,
... }
--provideSIWFSNumber OPERATION
-- ARGUMENT
ProvideSIWFSNumberArg ::= SEQUENCE {
gsm-BearerCapability [0] ExternalSignalInfo,
isdn-BearerCapability [1] ExternalSignalInfo,
call-Direction [2] CallDirection,
b-Subscriber-Address [3] ISDN-AddressString,
chosenChannel [4] ExternalSignalInfo,
lowerLayerCompatibility [5] ExternalSignalInfo OPTIONAL,
highLayerCompatibility [6] ExternalSignalInfo OPTIONAL,
extensionContainer [7] ExtensionContainer OPTIONAL,
...}
-- RESULT
ProvideSIWFSNumberRes ::= SEQUENCE {
sIWFSNumber [0] ISDN-AddressString,
extensionContainer [1] ExtensionContainer OPTIONAL,
...}
-- ERRORS {
-- resourceLimitation localValue : 51,
-- dataMissing localValue : 35,
-- unexpectedDataValue localValue : 36,
-- systemFailure localValue : 34}
-- ::= localValue : 31
CallDirection ::= OCTET STRING (SIZE (1))
-- OCTET 1
-- bit 1 (direction of call)
-- 0 Mobile Originated Call (MOC)
-- 1 Mobile Terminated Call (MTC)
PurgeMSArgV2 ::= SEQUENCE {
imsi IMSI,
vlr-Number ISDN-AddressString OPTIONAL,
... }
PrepareHO-ArgOld ::= SEQUENCE {
targetCellId GlobalCellId OPTIONAL,
ho-NumberNotRequired NULL OPTIONAL,
bss-APDU Bss-APDU OPTIONAL,
... }
PrepareHO-ResOld ::= SEQUENCE {
handoverNumber ISDN-AddressString OPTIONAL,
bss-APDU Bss-APDU OPTIONAL,
... }
SendAuthenticationInfoResOld ::= SEQUENCE ( SIZE( 1 .. 5 ) ) OF
SEQUENCE {
rand MapRAND,
sres MapSRES,
kc MapKc,
... }
MapRAND ::= OCTET STRING (SIZE (16))
MapSRES ::= OCTET STRING (SIZE (4))
MapKc ::= OCTET STRING (SIZE (8))
SendIdentificationResV2 ::= SEQUENCE {
imsi IMSI OPTIONAL,
tripletList TripletListold OPTIONAL,
...}
TripletListold ::= SEQUENCE SIZE (1..5) OF
AuthenticationTriplet-v2
AuthenticationTriplet-v2 ::= SEQUENCE {
rand MapRAND,
sres MapSRES,
kc MapKc,
...}
--sIWFSSignallingModify OPERATION
-- ARGUMENT
SIWFSSignallingModifyArg ::= SEQUENCE {
channelType [0] ExternalSignalInfo OPTIONAL,
chosenChannel [1] ExternalSignalInfo OPTIONAL,
extensionContainer [2] ExtensionContainer OPTIONAL,
...}
-- RESULT
SIWFSSignallingModifyRes ::= SEQUENCE {
channelType [0] ExternalSignalInfo OPTIONAL,
extensionContainer [1] ExtensionContainer OPTIONAL,
... }
-- ERRORS {
-- resourceLimitation localValue : 51,
-- dataMissing localValue : 35,
-- unexpectedDataValue localValue : 36,
-- systemFailure localValue : 34}
-- ::= localValue : 32
-- not used
-- Ccbs-Monitoring ::= ENUMERATED {
-- stopMonitoring ( 0 ),
-- startMonitoring ( 1 ),
-- ... }
--setReportingState OPERATION
-- ARGUMENT
NewPassword ::= NumericString (SIZE( 4 ) )
-- ERRORS {
-- systemFailure localValue : 34,
-- dataMissing localValue : 35,
-- unexpectedDataValue localValue : 36,
-- callBarred localValue : 13,
-- ss-SubscriptionViolation localValue : 19,
-- pw-RegistrationFailure localValue : 37,
-- negativePW-Check localValue : 38,
-- numberOfPW-AttemptsViolation localValue : 43}
--LINKED {
-- getPassword localValue : 18}
-- ::= localValue : 17
--getPassword OPERATION
-- ARGUMENT
-- GetPasswordArg is GuidanceInfo
GetPasswordArg ::= ENUMERATED {
enterPW ( 0 ),
enterNewPW ( 1 ),
enterNewPW-Again ( 2 ) }
-- RESULT
CurrentPassword ::= NumericString (SIZE( 4 ) )
-- ::= localValue : 18
--registerCC-Entry OPERATION
-- ARGUMENT
SecureTransportArg ::= SEQUENCE {
securityHeader SecurityHeader,
protectedPayload ProtectedPayload OPTIONAL
}
SecureTransportErrorParam ::= SEQUENCE {
securityHeader SecurityHeader,
protectedPayload ProtectedPayload OPTIONAL
}
-- The protectedPayload carries the result of applying the security function
-- defined in 3GPP TS 33.200 to the encoding of the argument of the securely
-- transported operation
SecureTransportRes ::= SEQUENCE {
securityHeader SecurityHeader,
protectedPayload ProtectedPayload OPTIONAL
}
-- The protectedPayload carries the result of applying the security function
-- defined in 3GPP TS 33.200 to the encoding of the result of the securely
-- transported operation
SecurityHeader ::= SEQUENCE {
securityParametersIndex SecurityParametersIndex,
originalComponentIdentifier OriginalComponentIdentifier,
initialisationVector InitialisationVector OPTIONAL,
...}
ProtectedPayload ::= OCTET STRING(SIZE(1.. 3438))
-- In protection mode 0 (noProtection) the ProtectedPayload carries the transfer
-- syntax value of the component parameter identified by the
-- originalComponentIdentifier.
-- In protection mode 1 (integrityAuthenticity) the protectedPayload carries
-- the transfer syntax value of the component
-- parameter identified by the originalComponentIdentifier, followed by
-- the 32 bit integrity check value.
-- The integrity check value is the result of applying the hash algorithm
-- to the concatenation of the transfer syntax value of the SecurityHeader,
-- and the transfer syntax value of the component parameter.
-- In protection mode 2 (confidentialityIntegrityAuthenticity) the protected
-- payload carries the encrypted transfer syntax
-- value of the component parameter identified by the
-- originalComponentIdentifier, followed by the 32 bit integrity check value.
-- The integrity check value is the result of applying the hash algorithm
-- to the concatenation of the transfer syntax value of the SecurityHeader,
-- and the encrypted transfer syntax value of the component parameter.
-- See 33.200.
-- The length of the protectedPayload is adjusted according to the capabilities of
-- the lower protocol layers
SecurityParametersIndex ::= OCTET STRING (SIZE(4))
InitialisationVector ::= OCTET STRING (SIZE(14))
-- the internal structure is defined as follows:
-- Octets 1 to 4 : TVP. The TVP is a 32 bit time stamp. Its value is binary coded
-- and indicates the number of intervals of 100 milliseconds
-- elapsed since 1st January 2002, 0:00:00 UTC
-- Octets 5 to 10: NE-Id. The NE-Id uniquely identifies the sending network entity
-- within the PLMN. It is the entity's E.164 number without CC and
-- NDC. It is TBCD-coded, padded with zeros.
-- Octets 11 to 14: PROP. This 32 bit value is used to make the
-- InitialisationVector unique within the same TVP period.
-- The content is not standardized.
OriginalComponentIdentifier ::= CHOICE {
operationCode [0] OperationCode,
errorCode [1] ErrorCode,
userInfo [2] NULL}
OperationCode ::= CHOICE {
localValue INTEGER,
globalValue OBJECT IDENTIFIER}
ErrorCode ::= CHOICE {
localValue INTEGER,
globalValue OBJECT IDENTIFIER}
--PLMN_Data
-- Alcatel Specific extension container
PlmnContainer ::= [PRIVATE 2] SEQUENCE {
msisdn [0] ISDN-AddressString OPTIONAL,
category [1] Category OPTIONAL,
basicService BasicServiceCode OPTIONAL,
operatorSS-Code [4] SEQUENCE ( SIZE( 1 .. 16 ) ) OF
OCTET STRING ( SIZE ( 1 ) ) OPTIONAL,
...
}
Category ::= OCTET STRING (SIZE (1))
-- The internal structure is defined in ITU-T Rec Q.763.
-- Special stuff from older spec's
--ForwardSM OPERATION
-- ARGUMENT
ForwardSM-Arg ::= SEQUENCE {
sm-RP-DA SM-RP-DAold,
sm-RP-OA SM-RP-OAold,
sm-RP-UI SignalInfo,
moreMessagesToSend NULL OPTIONAL,
... }
-- In fact, the 3GPP uses SignalInfo instead, but it is used for SMS content decoding
--Sm-RP-UI ::= OCTET STRING ( SIZE( 1 .. 200 ) )
-- Must be locally defined as they are not exported from SM-datatypes
SM-RP-DAold ::= CHOICE {
imsi [0] IMSI,
lmsi [1] LMSI,
serviceCentreAddressDA [4] AddressString,
noSM-RP-DA [5] NULL}
SM-RP-OAold ::= CHOICE {
msisdn [2] ISDN-AddressString,
serviceCentreAddressOA [4] AddressString,
noSM-RP-OA [5] NULL}
-- Private extensions
accessType-id OBJECT IDENTIFIER ::=
{1 3 12 2 1107 3 66 1 1}
--iso (1)
--identified-organization (3)
--ecma (12)
--member-company (2)
--siemens-units (1107)
--oen (3)
--mn (66)
--proprietary-extensions (1)
--accessType (1)
accessTypeNotAllowed-id OBJECT IDENTIFIER ::=
{1 3 12 2 1107 3 66 1 2}
--iso (1)
--identified-organization (3)
--ecma (12)
--member-company (2)
--siemens-units (1107)
--oen (3)
--mn (66)
--proprietary-extensions (1)
--accessTypeNotAllowed (2)
SendRoutingInfoArgV2 ::= SEQUENCE {
msisdn [0] ISDN-AddressString,
cug-CheckInfo [1] CUG-CheckInfo OPTIONAL,
-- cug-CheckInfo must be absent in version 1
numberOfForwarding [2] NumberOfForwarding OPTIONAL,
networkSignalInfo [10] ExternalSignalInfo OPTIONAL,
...
}
SendRoutingInfoResV2 ::= SEQUENCE {
imsi IMSI,
routingInfo RoutingInfo,
cug-CheckInfo CUG-CheckInfo OPTIONAL,
-- cug-CheckInfo must be absent in version 1
...
}
-- Removed from SS-DataTypes.asn in Rel 9.0.0
BeginSubscriberActivityArg ::= SEQUENCE {
imsi IMSI,
originatingEntityNumber ISDN-AddressString,
msisdn [PRIVATE 28] AddressString OPTIONAL,
... }
END

View File

@ -0,0 +1,196 @@
-- $Id: MAP-ApplicationContexts.asn 32509 2010-04-19 05:58:01Z etxrab $
--17.3.3 ASN.1 Module for application-context-names
--The following ASN.1 module summarises the application-context-name assigned to MAP application-contexts.
-- 3GPP TS 29.002 V9.1.0 (2010-03)
MAP-ApplicationContexts {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-ApplicationContexts (2) version11 (11)}
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

130
asn/MAP-BS-Code.asn Normal file
View File

@ -0,0 +1,130 @@
-- $Id: MAP-BS-Code.asn 32509 2010-04-19 05:58:01Z etxrab $
-- 3GPP TS 29.002 V9.1.0 (2010-03)
-- 17.7.10 Bearer Service Codes
MAP-BS-Code {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-BS-Code (20) version11 (11)}
DEFINITIONS
::=
BEGIN
BearerServiceCode ::= OCTET STRING (SIZE (1))
-- This type is used to represent the code identifying a single
-- bearer service, a group of bearer services, or all bearer
-- services. The services are defined in TS 3GPP TS 22.002 [3].
-- The internal structure is defined as follows:
--
-- plmn-specific bearer services:
-- bits 87654321: defined by the HPLMN operator
-- rest of bearer services:
-- bit 8: 0 (unused)
-- bits 7654321: group (bits 7654), and rate, if applicable
-- (bits 321)
Ext-BearerServiceCode ::= OCTET STRING (SIZE (1..5))
-- This type is used to represent the code identifying a single
-- bearer service, a group of bearer services, or all bearer
-- services. The services are defined in TS 3GPP TS 22.002 [3].
-- The internal structure is defined as follows:
--
-- OCTET 1:
-- plmn-specific bearer services:
-- bits 87654321: defined by the HPLMN operator
--
-- rest of bearer services:
-- bit 8: 0 (unused)
-- bits 7654321: group (bits 7654), and rate, if applicable
-- (bits 321)
-- OCTETS 2-5: reserved for future use. If received the
-- Ext-TeleserviceCode shall be
-- treated according to the exception handling defined for the
-- operation that uses this type.
-- Ext-BearerServiceCode includes all values defined for BearerServiceCode.
allBearerServices BearerServiceCode ::= '00000000'B
allDataCDA-Services BearerServiceCode ::= '00010000'B
dataCDA-300bps BearerServiceCode ::= '00010001'B
dataCDA-1200bps BearerServiceCode ::= '00010010'B
dataCDA-1200-75bps BearerServiceCode ::= '00010011'B
dataCDA-2400bps BearerServiceCode ::= '00010100'B
dataCDA-4800bps BearerServiceCode ::= '00010101'B
dataCDA-9600bps BearerServiceCode ::= '00010110'B
general-dataCDA BearerServiceCode ::= '00010111'B
allDataCDS-Services BearerServiceCode ::= '00011000'B
dataCDS-1200bps BearerServiceCode ::= '00011010'B
dataCDS-2400bps BearerServiceCode ::= '00011100'B
dataCDS-4800bps BearerServiceCode ::= '00011101'B
dataCDS-9600bps BearerServiceCode ::= '00011110'B
general-dataCDS BearerServiceCode ::= '00011111'B
allPadAccessCA-Services BearerServiceCode ::= '00100000'B
padAccessCA-300bps BearerServiceCode ::= '00100001'B
padAccessCA-1200bps BearerServiceCode ::= '00100010'B
padAccessCA-1200-75bps BearerServiceCode ::= '00100011'B
padAccessCA-2400bps BearerServiceCode ::= '00100100'B
padAccessCA-4800bps BearerServiceCode ::= '00100101'B
padAccessCA-9600bps BearerServiceCode ::= '00100110'B
general-padAccessCA BearerServiceCode ::= '00100111'B
allDataPDS-Services BearerServiceCode ::= '00101000'B
dataPDS-2400bps BearerServiceCode ::= '00101100'B
dataPDS-4800bps BearerServiceCode ::= '00101101'B
dataPDS-9600bps BearerServiceCode ::= '00101110'B
general-dataPDS BearerServiceCode ::= '00101111'B
allAlternateSpeech-DataCDA BearerServiceCode ::= '00110000'B
allAlternateSpeech-DataCDS BearerServiceCode ::= '00111000'B
allSpeechFollowedByDataCDA BearerServiceCode ::= '01000000'B
allSpeechFollowedByDataCDS BearerServiceCode ::= '01001000'B
-- The following non-hierarchical Compound Bearer Service
-- Groups are defined in TS 3GPP TS 22.030:
allDataCircuitAsynchronous BearerServiceCode ::= '01010000'B
-- covers "allDataCDA-Services", "allAlternateSpeech-DataCDA" and
-- "allSpeechFollowedByDataCDA"
allAsynchronousServices BearerServiceCode ::= '01100000'B
-- covers "allDataCDA-Services", "allAlternateSpeech-DataCDA",
-- "allSpeechFollowedByDataCDA" and "allPadAccessCDA-Services"
allDataCircuitSynchronous BearerServiceCode ::= '01011000'B
-- covers "allDataCDS-Services", "allAlternateSpeech-DataCDS" and
-- "allSpeechFollowedByDataCDS"
allSynchronousServices BearerServiceCode ::= '01101000'B
-- covers "allDataCDS-Services", "allAlternateSpeech-DataCDS",
-- "allSpeechFollowedByDataCDS" and "allDataPDS-Services"
--
-- Compound Bearer Service Group Codes are only used in call
-- independent supplementary service operations, i.e. they
-- are not used in InsertSubscriberData or in
-- DeleteSubscriberData messages.
allPLMN-specificBS BearerServiceCode ::= '11010000'B
plmn-specificBS-1 BearerServiceCode ::= '11010001'B
plmn-specificBS-2 BearerServiceCode ::= '11010010'B
plmn-specificBS-3 BearerServiceCode ::= '11010011'B
plmn-specificBS-4 BearerServiceCode ::= '11010100'B
plmn-specificBS-5 BearerServiceCode ::= '11010101'B
plmn-specificBS-6 BearerServiceCode ::= '11010110'B
plmn-specificBS-7 BearerServiceCode ::= '11010111'B
plmn-specificBS-8 BearerServiceCode ::= '11011000'B
plmn-specificBS-9 BearerServiceCode ::= '11011001'B
plmn-specificBS-A BearerServiceCode ::= '11011010'B
plmn-specificBS-B BearerServiceCode ::= '11011011'B
plmn-specificBS-C BearerServiceCode ::= '11011100'B
plmn-specificBS-D BearerServiceCode ::= '11011101'B
plmn-specificBS-E BearerServiceCode ::= '11011110'B
plmn-specificBS-F BearerServiceCode ::= '11011111'B
END

476
asn/MAP-CH-DataTypes.asn Normal file
View File

@ -0,0 +1,476 @@
-- $Id: MAP-CH-DataTypes.asn 32509 2010-04-19 05:58:01Z etxrab $
-- 3GPP TS 29.002 V9.1.0 (2010-03)
-- 17.7.3 Call handling data types
MAP-CH-DataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CH-DataTypes (13) version11 (11)}
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,
-- WS added exports needed by gsm_map.asn (extra asn1 file to handle older proto. ver.)
RoutingInfo,
CUG-CheckInfo
;
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) version11 (11)}
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) version11 (11)}
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) version11 (11)}
ExtensionContainer
FROM MAP-ExtensionDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version11 (11)}
;
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,
mtRoamingRetryIndicator [24] NULL 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
}
ProvideRoamingNumberRes ::= SEQUENCE {
roamingNumber ISDN-AddressString,
extensionContainer ExtensionContainer OPTIONAL,
...,
releaseResourcesSupported NULL 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,215 @@
-- $Id: MAP-CallHandlingOperations.asn 32509 2010-04-19 05:58:01Z etxrab $
-- 3GPP TS 29.002 V9.1.0 (2010-03)
--17.6.3 Call Handling Operations
MAP-CallHandlingOperations {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CallHandlingOperations (7)
version11 (11)}
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) version11 (11)}
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) version11 (11)}
;
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

637
asn/MAP-CommonDataTypes.asn Normal file
View File

@ -0,0 +1,637 @@
-- $Id: MAP-CommonDataTypes.asn 32509 2010-04-19 05:58:01Z etxrab $
-- 3GPP TS 29.002 V9.1.0 (2010-03)
-- 17.7.8 Common data types
MAP-CommonDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-CommonDataTypes (18) version11 (11)}
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,
-- data types for numbering and identification
IMSI,
TMSI,
Identity,
SubscriberId,
IMEI,
HLR-List,
LMSI,
GlobalCellId,
NetworkResource,
AdditionalNetworkResource,
NAEA-PreferredCI,
NAEA-CIC,
ASCI-CallReference,
SubscriberIdentity,
PLMN-Id,
-- 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,
-- WS added exports needed by gsm_map.asn (extra asn1 file to handle older prot. ver.)
ProtocolId,
-- 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) version11 (11)}
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) version11 (11)}
SS-Code
FROM MAP-SS-Code {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-SS-Code (15) version11 (11)}
ExtensionContainer
FROM MAP-ExtensionDataTypes {
itu-t identified-organization (4) etsi (0) mobileDomain (0)
gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version11 (11)}
;
-- 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
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,
signa