Install asterisk card TDM400P

02/02/2009 - 00:53
Etc/GMT-5

Install asterisk card TDM400P
------------------------
cd /usr/src
tar –zxvf zaptel-1.4.1.tar.gz
cd zaptel-1.4.1
make clean;make install ; finish the install of zaptel
cd ..
tar –zxvf libpri-1.4.0.tar.gz ; unpack the libpri source file
cd libpri-1.4.0
make clean;make install ; finish the install of libpri
cd ..
tar –zxvf asterisk-1.4.2.tar.gz ;unpack the asterisk source file
cd asterisk-1.4.2
make clean;make install ;finish the install of asterisk
Configure asterisk:
After success install zaptel , libpri and asterisk. You also need to run
make samples ;to generate the default configure file for asterisk.
To configure TDM-400P , you need to configure the following files:
/etc/zaptel.conf ; configure file for zaptel driver. Set the hardware description of TDM-400P in this file
/etc/asterisk/zapata.conf ;configure file for asterisk. Interface the TDM-400P to asterisk.
/etc/asterisk/extensions.conf: ;dial plan of asterisk.
/etc/asterisk/sip.conf ;sip account description.
The most important part of zaptel.conf is:
fxsks=1,2 ;FXO using FXS signaling
fxoks=3,4 ;FXS using FXO signaling
In the /etc/asterisk/zapata.conf file:
signalling = fxs_ks
context = pstn_incoming ; incoming call from port1,2 will route to this extensions.
channel => 1,2
signalling = fxo_ks
context => edwintest
channel => 3,4 ; when port3,port4 make calls, it will go to context edwintest in extensions.conf file
in the sip.conf file:
[8806] ; sip account 8806
type=friend
username=8806
host=dynamic
secret=8806
context=edwintest ; when 8806 make calls, it will go to context edwintest in extensions.conf file
callerid="edwin"
mailbox=8806
in the extensions.conf file:
[pstn-incoming]
exten => _x.,1,Answer()
exten => _x.,2,Dial(zip/3,20,tr)

wildcard TDM400P with 4 FXO/FXS modules,

See also http://www.chinaroby.com

Mr. Gery

Email: info@chinaroby.com
Web : www.chinaroby.com
MSN : gery668@hotmail.com
Skype ID: gery668