AsteriskThailand
May 22, 2012, 12:56:24 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Install asterisk card TDM400P  (Read 1179 times)
gery668
Newbie
*
Posts: 18


View Profile Email
« on: February 03, 2009, 07:49:10 PM »

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
Low Cost IP Phone
isdn pri card
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
SEM | Asterisk | สถานที่ท่องเที่ยว | สัมมนา SEM