Asterisk Dahdi

از ویکی پارس پویش
پرش به: ناوبری, جستجو

Download and install the last version of these packages:

wget http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-x.x.x.x.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-x.x.x.x.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-x.x.x.x-x.x.x.x.tar.gz


/etc/dahdi/modules >

wcfxo

/etc/dahdi/init.conf >

MODULES="$MODULES wcfxo"

/etc/init.d/dahdi restart

dahdi_genconf

dahdi_cfg -vv

Edit file dahdi-channels.conf and change context to "incoming":

/etc/asterisk/dahdi-channels.conf >

context=incoming


And add below lines to file chan_dahdi.conf: /etc/asterisk/chan_dahdi.conf >

[channels]
context=incoming
signalling=fxs_ks
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
relaxdtmf=yes
usecallingpres=yes
callwaitingcallerid=yes
transfer=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
immediate=no

Reload dahdi madule:

asterisk> dahdi restart
asterisk> dahdi show status
Description                              Alarms  IRQ    bpviol CRC4   Fra Codi Options  LBO
Wildcard X100P Board 1 OK 0 0 0 CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1)
ابزارهای شخصی

گویش‌ها
فضاهای نام
عملکردها
گشتن
جعبه‌ابزار