SS7 Sample Configuration Files
This section shows the sample configuration files for creating the basic SS7 connection to an HLR. These sample files show how to set up one board with two SS7 links.
Basic Provisioning MML File with One Point Code/ Two SS7 Links
CRTE-OSPC:PC=9619,NI=NAT0;
CRTE-LSET:LSET=LSET1,PC=6400;
CRTE-SLK:SLK=LNK1,LSET=LSET1,SLC=0,SPEED=64K,PORT=0,CHANNEL=2;CRTE-SLK:SLK=LNK2,LSET=LSET1,SLC=1,SPEED=64K,PORT=1,CHANNEL=3;
CRTE-RSET:RSET=RSET1,PC=6400,RTES=LSET1,LOADSHR=YES;
ALW-RSET:RSET=RSET1;ACTV-SLK:SLK=LNK1;
ACTV-SLK:SLK=LNK2;CREATE-GT:TT=0,NP=ISDN-TEL,NA=INT,DIG="35840211430",PC=9619,SSN=0,RI=GT;CREATE-GT:TT=0,NP=ISDN-TEL,NA=INT,DIG="358",PC=6400,SSN=0,RI=DEF;CREATE-GT:TT=0,NP=ISDN-MOB,NA=INT,DIG="358",PC=6400,SSN=0,RI=DEF;
NP — 1=E.164=ISDN-TEL; 7=E.214=ISDN-MOB
NA — INT
DIG — Enter the first digits of MSISDN/IMSI. The routing decision is made with "best match" method. The PC message is sent towards this Point Code if "digit" matches the item specified as NP (ISDN-Tel).
Point codes — in decimal format.Routing Based on PC/SSN
CRTE-OSPC:PC=9619,NI=NAT1;CRTE-LSET:LSET=LSET1,PC=11;CRTE-SLK:SLK=LNK1,LSET=LSET1,SLC=0,SPEED=64K,PORT=0,CHANNEL=2;CRTE-SLK:SLK=LNK2,LSET=LSET1,SLC=1,SPEED=64K,PORT=1,CHANNEL=3;CRTE-RSET:RSET=RSET1,PC=11,RTES=LSET1,LOADSHR=YES;CRTE-RSET:RSET=RSET2,PC=17,RTES=LSET1,LOADSHR=YES;
CRTE-RSET:RSET=RSET3,PC=18,RTES=LSET1,LOADSHR=YES;CRTE-REMSSN:PC=17,SSN=6;![]()
CRTE-REMSSN:PC=18,SSN=6;ALW-RSET:RSET=RSET1;ALW-RSET:RSET=RSET2;ALW-RSET:RSET=RSET3;ACTV-SLK:SLK=LNK1;ACTV-SLK:SLK=LNK2;
CREATE-GT:TT=0,NP=ISDN-TEL,NA=INT,DIG="35840299",PC=961,SSN=7,RI=PCSSN; CREATE-GT:TT=0,NP=ISDN-TEL,NA=INT,DIG="358402111",PC=17,SSN=6,RI=PCSSN;CREATE-GT:TT=0,NP=ISDN-TEL,NA=INT,DIG="358402112",PC=18,SSN=6,RI=PCSSN;
CREATE-GT:TT=0,NP=ISDN-TEL,NA=INT,DIG="244911",PC=17,SSN=6,RI=PCSSN;CREATE-GT:TT=0,NP=ISDN-TEL,NA=INT,DIG="244912",PC=18,SSN=6,RI=PCSSN;CREATE-GT:TT=0,NP=ISDN-TEL,NA=INT,DIG="244913",PC=18,SSN=6,RI=PCSSN;CREATE-GT:TT=0,NP=ISDN-TEL,NA=INT,DIG="244914",PC=17,SSN=6,RI=PCSSN;Redundant SS7 Links Backing Up Each Other (Two Point Codes)
CRTE-OSPC:PC=9619,NI=NAT0;CRTE-LSET:LSET=LSET1,PC=6400;![]()
CRTE-LSET:LSET=LSET2,PC=6401;CRTE-SLK:SLK=LNK1,LSET=LSET1,SLC=0,SPEED=64K,PORT=0,CHANNEL=2;CRTE-SLK:SLK=LNK2,LSET=LSET2,SLC=1,SPEED=64K,PORT=1,CHANNEL=3;CRTE-SLK:SLK=LNK3,LSET=LSET1,SLC=2,SPEED=64K,PORT=16,CHANNEL=2;CRTE-SLK:SLK=LNK4,LSET=LSET2,SLC=3,SPEED=64K,PORT=17,CHANNEL=3;CRTE-RSET:RSET=RSET1,PC=6400,RTES=LSET1&LSET2;![]()
CRTE-RSET:RSET=RSET2,PC=6401,RTES=LSET2&LSET1;ALW-RSET:RSET=RSET1;ALW-RSET:RSET=RSET2;ACTV-SLK:SLK=LNK1;ACTV-SLK:SLK=LNK2;ACTV-SLK:SLK=LNK3;ACTV-SLK:SLK=LNK4;CRTE-GT:TT=0,NP=ISDN-TEL,NA=INT,DIG="358402114300",PC=9619,SSN=0,RI=GT;CRTE-GT:TT=0,NP=ISDN-TEL,NA=INT,DIG="358",PC=6400,SSN=0,RI=GT,BKUPPC=6401,BKUPSSN=0,BKUPRI=GT;![]()
Sample authGateway Commands and Files
AS4StartMapGw.mml — One Point Code/ Two SS7 Links
CRTE-PROCESS:NAME="GMT",CE="as1",EXEC="authGateway -name GMT -port 2001 -host as1 -node MGW -prot C7 -conf conf/authGateway.conf.100 -lri 0 -lgti 4 -lssn 7 -ltt 0 -lnp 1 -lnai 4 -appctx 2 -ldigits 358402114300";START-PROCESS:NAME="GMT", CE="as1";AS4StartMapGw.mml — Routing Based on PC/SSN
CRTE-PROCESS:NAME="GMT",CE="as1",EXEC="authGateway -name GMT -port 2001 -host as1 -node MGW -prot C7 -conf conf/authGateway.conf.100 -lri 1 -lssn 7 -appctx 2 -ldigits 358402114300"; START-PROCESS:NAME="GMT", CE="as1";
authGateway.conf (Gateway routing configuration file)
Each line of this configuration file describes:
- The parameters used to form the destination SCCP address.
- The decimal value of the bearer service (bs) and/or teleservices (ts) indicating an authorization.
- A string associated with each bs or ts value. If no bs and no ts are specified, no authorization is performed by the authGateway.
For each request, the first digits of the IMSI are compared with
odigits. The first line of the configuration file that matches is selected for the current request. If the routing indicator (rri) specifies that the routing is done on GT, the leading digits are replaced with the new digits (ndigits) to perform the numbering plan translation. If a parameter is not present on the line, it is not present in the SCCP destination address. If this is incompatible with the routing indicator, an error message is issued when the MAP authentication Gateway is started.After modifying this configuration file, the authGateway has to be restarted. Modification of the
ndigitsvalue may require the creation of a new GT rule (CREATE-GT command).
odigits 24491 ndigits 35840 rri 0 rgti 4 rssn 6 rtt 0 rnp 7 rnai 4 bs 17:B11 bs26:B1A ts 33:T21 odb 128:NotAuthorized ss 146:NotAuthorizedodigits 244911 ndigits 244911 rri 1 rpc 17 rssn 6 bs 17:B11 bs 26:B1A ts 33:T21 odb 128:NotAuthorized ss 146:NotAuthorizedodigits 244912 ndigits 244912 rri 1 rpc 18 rssn 6 bs 17:B11 bs 26:B1A ts 33:T21 odb 128:NotAuthorized ss 146:NotAuthorizedulcmmg.conf
LOCAL_HOST as1:2000REMOTE_HOST as1:2001 [192.89.210.12]![]()