card NEXTSAY X-800P (TDM800P) ติดตั้งบน asterisk ครับ
/etc/dahdi/system.conf
- โค้ด: เลือกทั้งหมด
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4
fxsks=5
echocanceller=mg2,5
fxsks=6
echocanceller=mg2,6
fxsks=7
echocanceller=mg2,7
fxsks=8
echocanceller=mg2,8
# Global data
loadzone = us
defaultzone = us
/etc/asterisk/chan_dahdi.conf
- โค้ด: เลือกทั้งหมด
[trunkgroups]
[channels]
context = from-pstn
language = en
callerid = asreceived
usecallerid = yes
threewaycalling = yes
transfer = yes
callwaiting = no
echocancel = yes
rxgain = 0.0
txgain = 0.0
transfer = yes
canpark = yes
cancallforward = yes
callreturn = yes
immediate = no
progzone = us
tonezone = 0
faxdetect = yes
callprogress = yes
ringtimeout=8000
jbenable = yes
busydetect = yes
busycount = 5
pattern=500,500
echotraining = yes
#include dahdi-channels.conf
/etc/asterisk/dahdi-channels.conf
- โค้ด: เลือกทั้งหมด
; Span 1: WCTDM/0 "Wildcard TDM800P Board 1" (MASTER)
;;; line="1 WCTDM/0/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default
;;; line="2 WCTDM/0/1 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
callerid=
group=
context=default
;;; line="3 WCTDM/0/2 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default
;;; line="4 WCTDM/0/3 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
callerid=
group=
context=default
;;; line="5 WCTDM/0/4 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 5
callerid=
group=
context=default
;;; line="6 WCTDM/0/5 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 6
callerid=
group=
context=default
;;; line="7 WCTDM/0/6 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 7
callerid=
group=
context=default
;;; line="8 WCTDM/0/7 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 8
callerid=
group=
context=default
ขอบคุณมากครับ