Asterisk + libss7

Hi all

Last month i got a project in Asterisk where I have to work with ss7 signal . As I never work on SS7 signalling I tried google and found quit a lot information. but non of them [I found] gave me total step by step solution.

I like to share my experience and solution with everyone.

Target

Signalling : ss7
Number of E1 : 32 [ 4 E1 per server X 8]
Type of Setup : Termination


Software and Hardware I used

OS : CentOS 5.3 [64bit] .
Server : Hp Proliant .
Card Model : Digium TE420 with Echo chan
E1 Mux : Ad-net
Asterisk version : 1.6.0.13
libss7 verssion :1.0.0
dahdi-linux-complete-2.2.0.2+2.2.0
dahdi-tools-2.2.0


Setup :

E1 Mux : Zero configuration required . All you need to connect E1 [cat 5] cables from Digium card to your mux.

Digium Card: TE420 has four E1/T1 ports. Change the jumper as you need to make that E1 or T1. All you need to put that card into your server's PCIe slot. Connect four E1 to your MUX using standard drop cables.

OS: Install the OS

Libss7:
download from : http://downloads.asterisk.org/pub/telephony/libss7/releases/libss7-1.0.0.tar.gz

make
make install

Dahdi:

dahdi-linux-complete-2.2.0.2+2.2.0
dahdi-tools-2.2.0



Asterisk :
download from : http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.0.13.tar.gz

./configure
make
make install
make samples


Information you need to collect from your Teleco :

OPC
DPC
Signalling channels:

Note: Asterisk libss7 read those setting from /etc/asterisk/chan_dahdi.conf and it reads that as decimal value. But some telco gives that in hex value. so you need to change that from hex to decimal . I used http://www.statman.info/conversions/hexadecimal.html for that.


Configuration:
1. /etc/dahdi/system.conf
span=1,1,0,ccs,hdb3
bchan=1-15,17-31
mtp2=
span=2,1,0,ccs,hdb3
bchan=32-62
span=3,1,0,ccs,hdb3
bchan=63-93
span=4,1,0,ccs,hdb3
bchan=94-124
loadzone = us
defaultzone=us


2. /etc/asterisk/chan_dahdi.conf
[trunkgroups]
[channels]
echocancel=yes
echocancelwhenbridged=yes
group=1
signalling=ss7
ss7type=itu
ss7_called_nai=national
ss7_calling_nai=national
linkset=1
pointcode= < OPC you get from your telco in decimal formate >
adjpointcode= < DPC you get from your telco in decimal formate >
defaultdpc= < DPC you get from your telco in decimal formate >

networkindicator=national

sigchan= < what you get from telco >
cicbeginswith=1
channel=1-15
cicbeginswith=17
channel=17-31
cicbeginswith=32
channel=32-62
cicbeginswith=63
channel=63-93
cicbeginswith=94
channel=94-124

ss7_internationalprefix = 00
ss7_nationalprefix = 0

Comments

  1. Hi Salaq

    Thanks for yoru information.Do you have any documents which elaborates this?May be the same document which was sent to Mr.Shuvro in this email thread http://www.mail-archive.com/asterisk-ss7@lists.digium.com/msg03046.html

    Appreciate if you can send the same to my id venuiyer@motorola.com or venuiyer@yahoo.com

    Regards
    Venugopal

    ReplyDelete
  2. Vaiya,
    What about incoming calls from ICX! need the dialplan for IPTEL.

    ReplyDelete

Post a Comment

Popular posts from this blog

PureStorage //m20 Administration IP configuration.

ClearPass TACACS+ Cisco switch AAA Active directory

Cisco Prime upgrade from 1.2.1.12 to 3.0 Step by Step.