При выполнении команды setup-pstn:
[trixbox1.localdomain ~]# setup-pstn
--------------------------------------------------------------
Detecting PSTN cards and USB PSTN Devices
--------------------------------------------------------------
PCI Hardware found
Hardware present!
STOPPING ASTERISK
Asterisk ended with exit status 0
Asterisk shutdown normally.
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Asterisk Stopped
STOPPING FOP SERVER
FOP Server Stopped
Stopping Dahdi service...
Unloading DAHDI hardware modules: done
Starting Dahdi service...
Loading DAHDI hardware modules:
wct4xxp: [ OK ]
wcte12xp: [ OK ]
wct1xxp: [ OK ]
wcte11xp: [ OK ]
wctdm24xxp: [ OK ]
wcfxo: [ OK ]
wctdm: [ OK ]
wcb4xxp: [ OK ]
wctc4xxp: [ OK ]
xpp_usb: [ OK ]
Running dahdi_cfg: [ OK ]
Restarting Asterisk...
SETTING FILE PERMISSIONS
Permissions OK
STARTING ASTERISK
Asterisk Started
STARTING FOP SERVER
FOP Server Started
No such command 'dahdi show channels' (type 'help dahdi show' for other possible commands)
[trixbox1.localdomain ~]#
Что это может значить?
Запустите консоль астериска и дайте команду module load chan_dahdi Проанализируйте вывод. Скорее всего ошибка в конфиге и модуль не загружается
;
; DAHDI telephony
;
; Configuration file
[trunkgroups]
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include setup-pstn configs
#include dahdi-channels.conf
group=1
;Include PBXconfig configs
#include chan_dahdi_additional.conf
Получилось вот такое:
trixbox1*CLI> module load chan_dahdi
Unable to load module chan_dahdi
Command 'module load chan_dahdi' failed.
== Parsing '/etc/asterisk/chan_dahdi.conf': == Found
== Parsing '/etc/asterisk/dahdi-channels.conf': == Found
== Parsing '/etc/asterisk/chan_dahdi_additional.conf': == Found
== Parsing '/etc/asterisk/users.conf': == Found
-- Registered channel 1, FXS Kewlstart signalling
-- Registered channel 2, FXS Kewlstart signalling
-- Registered channel 3, FXS Kewlstart signalling
-- Registered channel 4, FXS Kewlstart signalling
trixbox1*CLI>
trixbox1*CLI> module load chan_dahdi.so
Unable to load module chan_dahdi.so
Command 'module load chan_dahdi.so' failed.
== Parsing '/etc/asterisk/chan_dahdi.conf': == Found
== Parsing '/etc/asterisk/dahdi-channels.conf': == Found
== Parsing '/etc/asterisk/chan_dahdi_additional.conf': == Found
== Parsing '/etc/asterisk/users.conf': == Found
-- Registered channel 1, FXS Kewlstart signalling
-- Registered channel 2, FXS Kewlstart signalling
-- Registered channel 3, FXS Kewlstart signalling
-- Registered channel 4, FXS Kewlstart signalling
trixbox1*CLI>
Проблема в файле конфигурации chan_dahdi.conf . Проверьте настройки.
Задан: Oct 29 '11
Просмотрен: 1,858 раз
Обновлен: Oct 29 '11
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.