Skip to main content

Technical Reference (Appendix)

← Back to Main Documentation

Technical reference for SS7 protocols and OmniSS7 implementation.

SS7 Protocol Stack


MAP Operation Codes

Opcodes below are the MAP local operation codes per 3GPP TS 29.002. This table covers the operations OmniSS7 generates and/or handles; for the full set of client-triggerable operations and their request parameters, see the MAP Client Guide.

OperationOpcodePurpose
updateLocation2Register subscriber location (CS)
cancelLocation3Deregister subscriber from VLR/SGSN
provideRoamingNumber4Request MSRN
noteSubscriberDataModified5Notify gsmSCF of subscriber data change
insertSubscriberData7Push subscriber profile to VLR/SGSN
deleteSubscriberData8Withdraw subscriber data from VLR/SGSN
registerSS10Register a supplementary service (e.g. CFU)
eraseSS11Erase a supplementary service
activateSS12Activate a supplementary service
deactivateSS13Deactivate a supplementary service
interrogateSS14Interrogate supplementary service status
registerPassword17Register an SS password
getPassword18Request an SS password from the subscriber
sendRoutingInfo22Query call routing (SRI)
updateGprsLocation23Register packet-switched (SGSN) location
sendRoutingInfoForGprs24Query GPRS routing toward the GGSN
reset37HLR reset toward VLR/SGSN
forwardCheckSS-Indication38Indicate SS data should be re-checked
checkIMEI43Query EIR for equipment status
mt-forwardSM44Deliver SMS to subscriber (MT)
sendRoutingInfoForSM45Query SMS routing (SRI-for-SM)
mo-forwardSM46Forward SMS from subscriber (MO)
reportSM-DeliveryStatus47Report SMS delivery outcome to HLR
sendIdentification55Retrieve IMSI/auth from previous VLR
sendAuthenticationInfo56Request authentication vectors
restoreData57Restore subscriber data after VLR failure
sendIMSI58Resolve MSISDN to IMSI at the HLR
processUnstructuredSS-Request59Mobile-originated USSD request (inbound)
unstructuredSS-Request60Network-originated USSD request (outbound)
unstructuredSS-Notify61Network-originated USSD notification
anyTimeSubscriptionInterrogation62gsmSCF query of subscription data
alertServiceCentre64Alert SMSc that a subscriber is reachable
anyTimeModification65gsmSCF modification of subscriber data
readyForSM66Notify HLR subscriber is ready for SMS
purgeMS67Purge subscriber record from VLR/SGSN
provideSubscriberInfo70Request subscriber state/location
anyTimeInterrogation71gsmSCF query of subscriber state/location
provideSubscriberLocation83Request location estimate from serving node (LCS)
sendRoutingInfoForLCS85GMLC query for the subscriber's serving node (LCS)
subscriberLocationReport86Serving node reports a location to the GMLC (LCS)
noteMM-Event89Report a mobility-management event to gsmSCF

TCAP Message Types

  • BEGIN - Start transaction
  • CONTINUE - Mid-transaction
  • END - Final response
  • ABORT - Cancel transaction

SCCP Addressing

Global Title Formats

  • E.164 - International phone number (e.g., 447712345678)
  • E.212 - IMSI format (e.g., 234509876543210)
  • E.214 - Point code format

Subsystem Numbers (SSN)

  • SSN 6: HLR
  • SSN 7: VLR
  • SSN 8: MSC/SMSC
  • SSN 9: GMLC
  • SSN 10: SGSN

SMS TPDU

Message Types

  • SMS-DELIVER (MT) - Network to mobile
  • SMS-SUBMIT (MO) - Mobile to network
  • SMS-STATUS-REPORT - Delivery status
  • SMS-COMMAND - Remote command

Character Encodings

  • GSM7 - 7-bit GSM alphabet (160 chars per SMS)
  • UCS2 - 16-bit Unicode (70 chars per SMS)
  • 8-bit - Binary data (140 bytes per SMS)

M3UA States

  • DOWN - No SCTP connection
  • CONNECTING - SCTP connecting
  • ASPUP_SENT - Waiting for ASPUP ACK
  • INACTIVE - ASP up but not active
  • ASPAC_SENT - Waiting for ASPAC ACK
  • ACTIVE - Ready for traffic

Common SS7 Point Codes

Point codes are typically 14-bit (ITU) or 24-bit (ANSI) values.

Example Format (ITU):

  • Network: 3 bits
  • Cluster: 8 bits
  • Member: 3 bits

SCCP Error Codes

  • 0 - No translation for address
  • 1 - No translation for specific address
  • 2 - Subsystem congestion
  • 3 - Subsystem failure
  • 4 - Unequipped user
  • 5 - MTP failure
  • 6 - Network congestion
  • 7 - Unqualified
  • 8 - Error in message transport

MAP Error Codes

CodeErrorDescription
1unknownSubscriberSubscriber not in HLR
27absentSubscriberSubscriber not reachable
34systemFailureNetwork failure
35dataMissingRequired data not available
36unexpectedDataValueInvalid parameter value


OmniSS7 by Omnitouch Network Services