YateSTP Configuration

From YateBTS
Jump to: navigation, search
THIS PAGE IS A DRAFT

YateSTP (Signal Transfer Point) is a SS7 router that relays messages between various SEPs (Signaling End-Points) and other STPs.

Two signaling points connected by one link are said to be adjacent.

A collection of links that connect together the same signaling points is called a link set and each link set can contain up to 16 separate links.

A group of link sets used to reach a particular destination is called a route and a combination of routes that can be used to reach the same destination is called a route set.


Interconnect

  • Layer3 -> PC routing
  • Layer4 -> GT (IMSI/MSISDN) routing [ E.164, E.212, E.214 ]
layers L1 L2 L3 L4 L5 L6
tdmcard M2PA MTP3 SCCP TCAP MAP/CAMEL
wanpipe M2UA M3UA ISUP
sctp CiscoSM/SLT
RUDP MTP2
file sigtransport.conf ysigchan.conf regexroute.conf


sigtran-custom.conf

This scenario assumes that there are two STPs at each end (MNO/MVNO)

M3UA
; SIGTRAN1: MNO1a - MVNO1a
[10.125.125.121:2920]
remote=10.30.132.132:2920
local=10.125.125.121:2920
type=sctp
stream=yes
endpoint=yes
rto_min=200
rto_max=400
rto_initial=400
enable=yes

; SIGTRAN2: MNO1a - to MVNO1b
[10.125.125.122:2920]
remote=10.30.16.132:2920
local=10.125.125.122:2920
type=sctp
stream=yes
endpoint=yes
rto_min=200
rto_max=400
rto_initial=400
enable=yes


; SIGTRAN3: MNO2a - to MVNO2a
[10.125.126.112:2920]
remote=10.30.132.160:2920
local=10.125.126.112:2920
type=sctp
stream=yes 
endpoint=yes
rto_min=200
rto_max=400
rto_initial=400
enable=yes


; SIGTRAN4: MNO2a - to MVNO2b
[10.125.126.111:2920]
remote=10.30.16.160:2920
local=10.125.126.111:2920
type=sctp 
stream=yes  
endpoint=yes
rto_min=200
rto_max=400
rto_initial=400
enable=yes


[general]
bind_strict=yes

ysig-custom.conf

M2PA -> MTP3

Configure link sets, links and link management:

; Connect to MNO STPs, file /etc/yate/stp/ysig-custom.conf
[ls_stp_stp1]
enable=yes
type=ss7-mtp3
netind2pctype=ITU
pointcodetype=ITU
netindicator=reservednational
adjacent=ITU,2001
local=ITU,2011
router=ss7router
link=stp_stp1

[ls_stp_stp2]
enable=yes
type=ss7-mtp3
netind2pctype=ITU
pointcodetype=ITU
netindicator=reservednational
adjacent=ITU,2002                                                                                                                                                                                                  
local=ITU,2011                                                                                                                                                                                                     
router=ss7router                                                                                                                                                                                                   
link=stp_stp2                                                                                                                                                                                                      
                                                                                                                                                                                                                   
[stp_stp1]                                                                                                                                                                                                         
type=ss7-m2pa                                                                                                                                                                                                      
sig=sctp-stp1                                                                                                                                                                                                      
                                                                                                                                                                                                                   
[stp_stp2]                                                                                                                                                                                                         
type=ss7-m2pa                                                                                                                                                                                                      
sig=sctp-stp2                                                                                                                                                                                                      
                                                                                                                                                                                                                   
[sccp-mgm]
remote=2001
remote=2002


M3UA

Configure link sets, links and link management in the scenarios with 2xSTPs at each end

; Connect to MNO STPs, file /etc/yate/stp/ysig-custom.conf
; Define MVNO router, PC: 2011
[to_mno1]
type=ss7-router
transfer=yes
local=ITU,2011
management=snm-mno1
pointcodetype=ITU
enable=yes

[snm-mno1]
type=ss7-snm
local=ITU,2011
router=to_mno1

[sccp2011]
type=ss7-sccp
pointcodetype=ITU
localpointcode=2011
router=to_mno1
management=mgm-mno1
extended-debug=yes
endpoint=true

[mgm-mno1]
type=ss7-sccp-itu-mgm
pointcodetype=ITU
sccp=sccp2011
remote=2001
remote=2002

[gtt2011]
;enable=no
type=ss7-gtt
sccp=sccp2011
debugname=GTT-2011


; Define MVNO router, PC: 2012
[to_mno2]
type=ss7-router
transfer=yes
local=ITU,2012
management=snm-mno2
pointcodetype=ITU

[snm-mno2]
type=ss7-snm
local=ITU,2012
router=to_mno2

[sccp2012]
type=ss7-sccp
pointcodetype=ITU
localpointcode=2012
router=to_mno2
management=mgm-mno2
endpoint=true

[mgm-mno2]
type=ss7-sccp-itu-mgm
pointcodetype=ITU
sccp=sccp2012
remote=2001
remote=2002

[gtt2012]
;enable=no
type=ss7-gtt
sccp=sccp2012
debugname=GTT-2012


; add here ASP settings for each client
[m3ua_2011_2001]
type=ss7-m3ua-client
traffic=unused
sig=10.125.125.121:2920

[m3ua_2011_2002]
type=ss7-m3ua-client
traffic=unused
sig=10.125.125.122:2920

[m3ua_2012_2001]
type=ss7-m3ua-client
traffic=unused
sig=10.125.126.111:2920

[m3ua_2012_2002]
type=ss7-m3ua-client
traffic=unused
sig=10.125.126.112:2920


; Link sets
[2011_2001_ls]
type=ss7-m3ua
routing-context=none
router=to_mno1
client=m3ua_2011_2001
netindicator=national
local=ITU,2011
adjacent=ITU,2001

[2011_2002_ls]
type=ss7-m3ua
routing-context=none
router=to_mno1
netindicator=national
client=m3ua_2011_2002
local=ITU,2011
adjacent=ITU,2002

[2012_2001_ls]
type=ss7-m3ua
routing-context=none
router=to_mno2
netindicator=national
client=m3ua_2012_2001
local=ITU,2012
adjacent=ITU,2001

[2012_2002_ls]
type=ss7-m3ua
routing-context=none
router=to_mno2
netindicator=national
client=m3ua_2012_2002
local=ITU,2012
adjacent=ITU,2002