Skip to main content

SS7 MAP / Gateway-MSC Configuration

📖 Back to Main Documentation

Configuration for HLR queries to retrieve MSRN (roaming numbers) and call forwarding information via SS7 MAP.

Core Documentation

Call Processing Integration

Testing & Monitoring


Gateway-MSC Configuration

The TAS can query an HLR to retrieve the roaming number (MSRN) or MSC when a subscriber is roaming on 2G/3G networks, and can also retrieve call forwarding information.

This will set the msrn or forwarded_to_number dialplan variables which can then be used to route the call appropriately.

Configuration Parameters:

  • enabled - Enable/disable SS7 MAP functionality
  • http_map_server_url_base - Base URL of the MAP gateway HTTP API
  • gmsc - Gateway MSC address used for SRI/PRN queries
  • timeout_ms - HTTP timeout for MAP operations in milliseconds (default: 5000)
config :tas,
...
ss7_map: %{
enabled: true,
http_map_server_url_base: "http://10.5.1.216:8080",
gmsc: "55512411506",
timeout_ms: 5000 # Optional, defaults to 5000ms
},

Functionality: The TAS performs SRI (Send Routing Information) and handles routing based on the following priority:

  1. Call Forwarding Active - If the SRI response contains a forwarded number, it is treated as an MSRN (no PRN is performed). The forwarded number is set in the msrn variable and used for routing.
  2. Roaming (2G/3G) - If the subscriber is roaming (VLR present) and no call forwarding is active, performs PRN (Provide Roaming Number) to get the MSRN for routing to the V-MSC
  3. Normal - If neither forwarding nor roaming applies, the call proceeds with standard routing

The msrn and tas_destination_number dialplan variables are set appropriately for routing (either from PRN or from the forwarded number)