Asterisk SS7 Installation

9:46 pm in Asterisk by emran

1. install & download Dahdi Complete package:

wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz

make
make install

2. install & download libss7

wget http://downloads.asterisk.org/pub/telephony/libss7/libss7-1.0.2.tar.gz

make
make install
3. download & install asterisk-1.6.0.14

wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.0.14.tar.gz

./configure
make
make install

now edit /etc/dahdi/system.conf

span=1,1,0,ccs,hdb3

bchan=2-31

mtp2=1

echocanceller=mg2,2-31

span=2,2,0,ccs,hdb3

bchan=32-62

echocanceller=mg2,32-62

span=3,3,0,ccs,hdb3

bchan=63-93

echocanceller=mg2,63-93

span=4,4,0,ccs,hdb3

bchan=94-124

echocanceller=mg2,94-124

loadzone = us

defaultzone = us

 

finally edit chan_dahdi.conf from /etc/asterisk:

[channels]

language=en

context=ss7

switchtype=euroisdn

signalling=ss7

toneduration=100

usecallerid=yes

callwaiting=yes

usecallingpres=yes

callwaitingcallerid=yes

threewaycalling=yes

transfer=yes

canpark=yes

cancallforward=yes

callreturn=yes

echocancel=yes

echocancelwhenbridged=yes

group= 1

callgroup=1

pickupgroup=1

ss7type = itu

ss7_called_nai=dynamic

ss7_calling_nai=dynamic

linkset = 1

pointcode = 1024

adjpointcode = 1234

defaultdpc = 1234

networkindicator=national

cicbeginswith = 2

mtp2=1

sigchan = 1

channel = 2-31

cicbeginswith = 32

channel =33-62

cicbeginswith = 63

channel =63-93

cicbeginswith = 94

channel = 94-124