Yate Community Forum

General Category => Yate users hangout place => Topic started by: babak on November 09, 2012, 08:26:46 AM

Title: SS7 LAB
Post by: babak on November 09, 2012, 08:26:46 AM
Hi
Here I will Add my working Lab configuration for different topologies and scenarios.
-Basic Isup Call:
http://forum.yate.ro/index.php?topic=11.msg48#msg48 (http://forum.yate.ro/index.php?topic=11.msg48#msg48)

-SS7 STP
http://forum.yate.ro/index.php?topic=11.msg49#msg49 (http://forum.yate.ro/index.php?topic=11.msg49#msg49)

Title: Re: SS7 Lab
Post by: habibie on November 09, 2012, 09:57:43 AM
Thank you for sharing with us your working configuration.
Title: SS7 LAB: Basic Isup Call
Post by: babak on November 15, 2012, 05:00:40 AM
Hi
This is working configuration of SS7 between 2 Yate server equipped with Digium E1 cards and connected with crossover cables and time slot one used for signaling link

1)DAHDI system.conf

one of E1 cards should generate clock for other.

Yate1:
Code: [Select]
span=1,0,0,ccs,hdb3,
# Master Clock generator
bchan=2-31
dchan=1
#for signaling channel dchan=1 or hardhdlc=1 also ok but don't use mtp2=1
# Global data
loadzone = de
defaultzone = de

Yate 2:
Code: [Select]
span=1,1,0,ccs,hdb3
# termtype: te
bchan=2-31
dchan=1
#for signaling channel dchan=1 or hardhdlc=1 also ok but don't use mtp2=1
# Global data
loadzone        = us
defaultzone     = us


2) zapcard.conf

Yate1=Yate2
Code: [Select]
[general]
format=alaw

[span1]
type=E1
offset=1
voicechans=1-30
dtmfdetect=disable
readonly=no

[span_sig]
type=E1
offset=0
dtmfdetect=disable
sigchan=1
readonly=no

3)ysigchan.conf

 Yate1:
Code: [Select]
[general]
debuglevel=9,9,9,9,9
debuglevel_engine=9,9,9,9,9
enable=yes
dtmfinband=true
 
[isup_Trunk]
enable=yes
type=ss7-isup
pointcodetype=ITU
service=5
pointcode=299
defaultpointcode=299
remotepointcode=27

network=linkset3

priority=regular
lockgroup=no
earlyacm=no
;sig=span_sig
offset=1
voice=span1
sls=cic
strategy=random
channelsync=1000
ringback=yes
presentation=allowed
screening=user-provided
format=alaw
print-messages=yes
checklinks=false
checkfails=false
 
[linkset3]
type=ss7-mtp3
netindicator=national
netind2pctype=ITU
local=ITU,299
route=ITU,27,0
autostart=yes
link=link1
link1.sig=span_sig
 
[link1]
type=ss7-mtp2
autostart=yes
emergency=no
filllink=no
rxunderrun=0

Yate2:
Code: [Select]

[isup_Trunk]
enable=yes
type=ss7-isup
pointcodetype=ITU
service=5
pointcode=27
defaultpointcode=27
remotepointcode=299

network=linkset3

priority=regular
lockgroup=no
earlyacm=no
sig=span_sig
offset=1
voice=span1
sls=cic
strategy=random
channelsync=1000
ringback=yes
presentation=allowed
screening=user-provided
format=alaw
print-messages=yes
checklinks=false
checkfails=false

[linkset3]
type=ss7-mtp3
netindicator=national
netind2pctype=ITU
local=ITU,27
route=ITU,299,0
autostart=yes
link=link1
link1.sig=span_sig

[link1]
type=ss7-mtp2
autostart=yes
emergency=no
filllink=no
rxunderrun=0
link1.sig=span_sig
sig=span_sig

SS7 Troubleshooting
in ysigchan.conf in the section with type=ss7-isup print-messages=yes
extended-debug=yes
in yate.conf section [debug]   sig=level 10
or temporarily from rmanager: debug sig level 10

 Although this configuration is working I am not sure exactly where should I refer span_sig  to link1.sig(mtp2) in ysigchan.conf
Title: SS7 LAB: STP
Post by: babak on November 15, 2012, 05:22:20 AM
Hi
This is second working configuration:

Yate1(Isup_trunk)<->Yate1(STP)<->Yate1(MTP3,2)
<-E1->
Yate2(Isup_trunk)<->Yate2(STP)<->Yate2(MTP3,2)

There is two servers connected with crossover E1 cables to each other(SEP & STP in same machine but different point codes)

Yate1(Isup_trunk)=1-1-1
Yate2(Isup_trunk)=2-1-1
Yate1(MTP3)=1-2-1
Yate2(MTP3)=2-2-1
Yate1(STP)=1-2-1
Yate2(STP)=2-2-1

system.conf and zapcard.conf is like previous configuration.

here is Yate1 ysigchan.conf

Quote
[general]
debuglevel=9,9,9,9,9
debuglevel_engine=9,9,9,9,9
enable=yes
dtmfinband=true

[isup_Trunk]
enable=yes
type=ss7-isup
pointcodetype=ITU
service=5
pointcode=1-1-1
defaultpointcode=1-1-1
remotepointcode=2-1-1
priority=regular

network=linkset3

lockgroup=no
earlyacm=no
;sig=span_sig
sls=cic
offset=1
voice=span1
strategy=random
channelsync=1000
ringback=yes
presentation=allowed
screening=user-provided
format=alaw
print-messages=yes
checklinks=false
checkfails=false

[linkset3]
type=ss7-mtp3
netindicator=national
netind2pctype=ITU
local=ITU,1-2-1
route=ITU,2-2-1,0
route=ITU,2-1-1
autostart=yes
link=link1
link1.sig=span_sig

[link1]
type=ss7-mtp2
autostart=yes
emergency=no
filllink=no
rxunderrun=0
link1.sig=span_sig
sig=span_sig

[ss7router]
type=ss7-router
transfer=yes
local=ITU,1-2-1


Title: Re: SS7 LAB
Post by: dj_ndc on May 08, 2015, 06:46:42 AM
Hello

What CPU specification have You tested, what was system load during 30 simultaneous CALLs. Have You tested it with full 4xE1 load ?

Greetings