Mike's PBX Cookbook

2N BlueStar/Stargate GSM Gateway
Installation Notes


2N BlueStar

2N StarGate

The following has been compiled from the 2N Docs, and experience from other Techs in the field.
Use your own experience to fill in the blanks and adapt the settings to your own unique installation.

Further information: BlueStar manual | StarGate manual | AT Commands | PRI config program | 2N Telecoms Wiki link.png

Key Notes:

PRI board:

The PRI RJ45 uses standard pairs 1 (pins 1&2) and 3 (pins 4&5). Transmit and receive pairs can be swapped by moving the TE/NT jumpers at JP2 & JP3. Note, these jumpers change only the pairs, the USR/SLAVE setting is done on the ISDN parameters screen.

Terminal (TE) mode: Pair 1 - RX Pair 3 - TXThe gateway is set to USR/SLAVE,
the PBX is set to NET/MASTER.
Network (NT) mode:  Pair 1 - TX Pair 3 - RX
gsmpri1.png

Jumper JP4 activates/deactivates a back-up connection between PRI1 and PRI2 when the system is switched off, or the PRI board is faulty. By default, jumper JP1 is disconnected, jumper JP2 is connected as TE, jumper JP3 is connected as NT and JP4 is connected.

The front panel Layer 1-3 LED's indicate the following status:

Layer 3: Active call No active calls
Layer 2: Established Not established Establishing
Layer 1: Synchronized Disconnected Synchronizing

GSM board:

Each GSM board contains two GSM modules, each supporting up to 8 SIMs, though only one SIM card is connected to each GSM module at a time. Populate positions 1-1 (top left) and 2-1 (bottom right) to use both GSM modules with one SIM each. gsmsim1.png

GSM board with 8 SIM cards per GSM module

The front panel GSM LED's 1 & 2 indicate the following status:

GSM module idle SIM card initialization
GSM module in use GSM module blocked or initializing

CS1000 Programming Notes:

1CLOCK REFERENCE

LD 73
(Normally already defined by the time the GSM is ready to be installed)

If there is NO clock reference set:

REQ PRT
TYPE DDB

CC DATA NOT 1.5MB

TRSH 00
RALM 3 
BIPC 2 
LFAC 3 
BIPV 3 2 
SRTK 5 30 
SRNT 15 3 
LFAL 17 511 
SRIM 1 
SRMM 2

2ADD PRI2 LOOP

LD 17
(Define LOOP number, and PRI CARD location)

PRI2 MG_CARD
041  000 0 01

3BUILD D-CHANNEL

LD 17
(GSM E-1 is in a cabinet with a PTT E-1 clocking from the Central Office)

TYPE ADAN DCH 12 
ADAN DCH 12
CTYP MSDL 
MG_CARD 000 0 01 
PORT 1
DES GSM
USR PRI2
DCHL 41
IFC EURO 
CNTY NET
PINX_CUST 0 
CLID OPT1
CO_TYPE STD
SIDE NET

4Build Network

LD 15
(More than likely already programmed)

TYPE: NET
TYPE NET_DATA 
CUST 0

TYPE NET_DATA 
CUST 00
ISDN YES

5Build Trunk Route

LD 16
Build multiple routes for each SIM carrier

TYPE: RDB 
CUST 0 
ROUT 41

TYPE RDB 
CUST 0 
ROUT 41 
DES GSM 
TKTP TIE
DTRK YES 
DGTP PRI2 
ISDN YES
 MODE PRA 
 IFC EURO 
 CNTY NET
PNI 00000 
ICOG IAO
ACOD 84
CDR YES (Respond to all CDR related prompts)

6Build Route Trunks

LD 14
Build as many trunks as you have SIM cards

TYPE: TIE 
TN 41 1 
DES GSM 
TN 41 1 
TYPE TIE
CUST 0 
TRK PRI2 
PDCA 1 
PCML A
NCOS 0 
RTMB 41 1
TGAR 0
CLS UNR DTN

7 Route calls to the Gateway

LD 90
Build or modify SPN for Mobile Phones

FEAT NET 
TRAN AC1 
TYPE SPN 
SPN 032 
FLEN 0 
RLI 3

LD 86
Modify Route List Block

FEAT RLB
RLI 3
ENTR 0
ROUT 41 
FRL 3


GSM Gateway settings:

Connect a 9-pin serial cable (crossed) between the CPU board and a PC running the Stargate PRI config program.
Goto Settings ➤ Communications settings and set the Communications type to Serial.

1Licence information
  • Shown with a valid licence key
gsmstar0.jpg
2Active PRI state gsmstar1.jpg
3Diagnostic
  • Top row equates to the 16 cards slots (two modules per card)
  • Module Number equates to the 31 channels listed for the GSM group
gsmstar2.jpg
4Diagnostic
  • Group 3 listed here is programmed as being OFF
gsmstar3.jpg
5Test calls
  • Select one of the active GSM modules, or a PRI B channel
  • Enter digits in 'called number', and click 'Dial' to place a test call on the selected interface
  • A standard handset must be plugged into the RJ9 port on the Aux card for this to function
gsmstar4.jpg
6System Parameters
  • Default setting for system with Admin/2n
  • IP settings are the for CPU board RJ45 interface
gsmstar5.jpg
7ISDN Parameters
  • This configuration is used if the GSM E1 is located in the same MG cabinet as a working PTT E1 that is set to clock from the central office. The GSM E1 D-channel Country-type and Side is set to NET.
gsmstar6.jpg
8GSM Group Assignment
  • Group 1 is a group of SIM Cards from one Carrier without incoming calls. Represent unit GSM Cards 0 thru 4
  • Group 2 is a group of SIM Cards from another Carrier without incoming calls. Represent unit GSM Cards 5 thru 9
  • Group 3 is set OFF in programming
gsmstar7.jpg
9Active PRI state gsmstar8.jpg
10Prefixes
  • Prefix 1 will be referenced to LCR table 1
  • Remove ALL digits from the Table of Prefixes and ADD Carrier 2 Significant Leading Digits (034)
gsmstar9.jpg
11LCR Table
  • Reference to Prefix Table 1 for Group 2 Carrier Leading Significant Digits (034)
  • Set to GSM Group 2 Assignment
gsmstar10.jpg
12Prefixes
  • Prefix 2 will be referenced to LCR table 2
  • Remove ALL digits from the Table of Prefixes and ADD Carrier 2 Significant Leading Digits (032)
gsmstar11.jpg
13LCR Table
  • Reference to Prefix Table 2 for Group 1 Carrier Leading Significant Digits (032)
  • Set to GSM Group 1 Assignment
gsmstar12.jpg