[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


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;

Notes:

TT — usually 0.

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";



Table 14: Parameters Used in Create and Start Commands 
Parameter
Description

name

Process name

port

Remote port specified in ulcmmg.conf

host

Hostname

node

Node name (used in swmml command)

prot

Variant used (C7, A7 or CH7). C7 in Europe

conf

Location of authGateway.conf file

lri

Routing indicator. 0=GT, 1=PC/SSN

lgti

(GT only) Local GTI value, 4 for C7 network; 2 for A7

lssn

Local Subsystem Number (SSN)

lnp

1=ISDN/Telephony

lnai

Nature of Address Indicator. (4=INT)

appctx

MAP version (2 or 3) to be used

ldigits

GT number for SIM Authentication module itself

NAME

Process name

CE

Hostname (CE means computing element)

EXEC

Program to be executed


authGateway.conf (Gateway routing configuration file)

Each line of this configuration file describes:

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 ndigits value 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 bs
26:B1A ts 33:T21 odb 128:NotAuthorized ss 146:NotAuthorized


odigits 244911 ndigits 244911 rri 1 rpc 17 rssn 6 bs 17:B11 bs 26:B1A ts 33:T21 
odb 128:NotAuthorized ss 146:NotAuthorized
odigits 244912 ndigits 244912 rri 1 rpc 18 rssn 6 bs 17:B11 bs 26:B1A ts 33:T21 
odb 128:NotAuthorized ss 146:NotAuthorized




Table 15: Parameters Used in Create and Start Commands 
Parameter
Description

rri

Routing indicator - 0 for GT (Global Title), 1 for PC/SSN (Point Code/Subsystem Number).

rgti

Local Global Title Indicator value. 4 for C7; 2 for A7. (Usually 4.)

rssn

Subsystem Number of HLR.

rtt

(GT only) Translation Type (usually 0).

rnp

(GT only) Numbering Plan. 1=E.164=ISDN-TEL, 7=E.214=ISDN-MOB.

rnai

Nature of address indicator. (4=INT)

bs

bs dec:string

If the specified bearer service exists in HLR SIM-profile, then string is returned for further processing (see ProfileMap in simauth.aut).

ts

ts dec:string

If the specified teleservice exists in HLR SIM-profile, then string is returned for further processing (see ProfileMap in simauth.aut).

ulcmmg.conf

LOCAL_HOST as1:2000
REMOTE_HOST as1:2001 [192.89.210.12]


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]