1 | изначальная версия редактировать | |
Добрый день!
Помогите, пожалуйста, решить проблему настройки указанной платы с FXO-портами.
В плату воткнуты и настроены 2 линии. Как видно из логов сама плата везде пишет ОК, но в статусе канала в Астериске "InAlarm: 1".
При исходящем звонке, естественно, Busy. Подскажите, в чем может быть причина алармов. С линией все в порядке, если подключить обычный телефон звонки ходят.
dahdi_cfg -vvvv
DAHDI Tools Version - 2.6.1
DAHDI Version: 2.6.1
Echo Canceller(s): HWEC, MG2
Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
4 channels to configure.
Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
chan_dahdi.conf
;;;;;;[2000]
signalling=fxs_ks
pickupgroup=1
mailbox=2000@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-pstn
callprogress=no
callgroup=1
callerid=2000 <2000>
busydetect=no
busycount=7
accountcode=
channel=>1
;;;;;;[2001]
signalling=fxs_ks
pickupgroup=1
mailbox=2001@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-pstn
callprogress=no
callgroup=1
callerid=2001 <2001>
busydetect=no
busycount=7
accountcode=
channel=>2
dahdi show status
Description Alarms IRQ bpviol CRC Fra Codi Options LBO
Wildcard TDM410P OK 0 0 0 CAS Unk 0 db (CSU)/0-133 feet (DSX-1)
dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 from-pstn default In Service
2 from-pstn default In Service
dahdi show channel 1
Channel: 1
File Descriptor: 14
Span: 1
Extension:
Dialing: no
Context: from-pstn
Caller ID: 2000
Calling TON: 0
Caller ID subaddress:
Caller ID name: 2000
Mailbox: 2000@device
Destroy: 0
InAlarm: 1
Signalling Type: FXS Kewlstart
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Busy Detection: no
TDD: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Gains (RX/TX): 0.00/0.00
Dynamic Range Compression (RX/TX): 0.00/0.00
DND: no
Echo Cancellation:
128 taps
(unless TDM bridged) currently OFF
Wait for dialtone: 0ms
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Onhook
dahdi restart
Destroying channels and reloading DAHDI configuration.
> Initial softhangup of all DAHDI channels complete.
> Final softhangup of all DAHDI channels complete.
-- Unregistered channel -2
-- Unregistered channel 1
-- Unregistered channel 2
== Parsing '/etc/asterisk/chan_dahdi.conf': == Found
== Parsing '/etc/asterisk/chan_dahdi_additional.conf': == Found
== Parsing '/etc/asterisk/users.conf': == Found
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:7847 handle_alarms: Detected alarm on channel 1: Red Alarm
-- Reconfigured channel 1, FXS Kewlstart signalling
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:7847 handle_alarms: Detected alarm on channel 2: Red Alarm
-- Reconfigured channel 2, FXS Kewlstart signalling
-- Automatically generated pseudo channel
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:17957 process_dahdi: Ignoring any changes to 'userbase' (on reload) at line 23.
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:17957 process_dahdi: Ignoring any changes to 'vmsecret' (on reload) at line 31.
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:17957 process_dahdi: Ignoring any changes to 'hassip' (on reload) at line 35.
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:17957 process_dahdi: Ignoring any changes to 'hasiax' (on reload) at line 39.
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:17957 process_dahdi: Ignoring any changes to 'hasmanager' (on reload) at line 47.
2 | No.2 Revision редактировать |
Добрый день!
Помогите, пожалуйста, решить проблему настройки указанной платы с FXO-портами.
Asterisk 1.8.15.1 + FreePBX 2.10 В плату воткнуты и настроены 2 линии. Как видно из логов сама плата везде пишет ОК, но в статусе канала в Астериске "InAlarm: 1".
При исходящем звонке, естественно, Busy. Подскажите, в чем может быть причина алармов. С линией все в порядке, если подключить обычный телефон звонки ходят.
dahdi_cfg -vvvv
DAHDI Tools Version - 2.6.1
DAHDI Version: 2.6.1
Echo Canceller(s): HWEC, MG2
Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
4 channels to configure.
Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
chan_dahdi.conf
[trunkgroups]
[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1
#include /etc/asterisk/chandahdiadditional.conf
chandahdiadditional.conf
;;;;;;[2000]
signalling=fxs_ks
pickupgroup=1
mailbox=2000@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-pstn
callprogress=no
callgroup=1
callerid=2000 <2000>
busydetect=no
busycount=7
accountcode=
channel=>1
;;;;;;[2001]
signalling=fxs_ks
pickupgroup=1
mailbox=2001@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-pstn
callprogress=no
callgroup=1
callerid=2001 <2001>
busydetect=no
busycount=7
accountcode=
channel=>2
dahdi show status
Description Alarms IRQ bpviol CRC Fra Codi Options LBO
Wildcard TDM410P OK 0 0 0 CAS Unk 0 db (CSU)/0-133 feet (DSX-1)
dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 from-pstn default In Service
2 from-pstn default In Service
dahdi show channel 1
Channel: 1
File Descriptor: 14
Span: 1
Extension:
Dialing: no
Context: from-pstn
Caller ID: 2000
Calling TON: 0
Caller ID subaddress:
Caller ID name: 2000
Mailbox: 2000@device
Destroy: 0
InAlarm: 1
Signalling Type: FXS Kewlstart
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Busy Detection: no
TDD: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Gains (RX/TX): 0.00/0.00
Dynamic Range Compression (RX/TX): 0.00/0.00
DND: no
Echo Cancellation:
128 taps
(unless TDM bridged) currently OFF
Wait for dialtone: 0ms
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Onhook
dahdi restart
Destroying channels and reloading DAHDI configuration.
> Initial softhangup of all DAHDI channels complete.
> Final softhangup of all DAHDI channels complete.
-- Unregistered channel -2
-- Unregistered channel 1
-- Unregistered channel 2
== Parsing '/etc/asterisk/chan_dahdi.conf': == Found
== Parsing '/etc/asterisk/chan_dahdi_additional.conf': == Found
== Parsing '/etc/asterisk/users.conf': == Found
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:7847 handle_alarms: Detected alarm on channel 1: Red Alarm
-- Reconfigured channel 1, FXS Kewlstart signalling
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:7847 handle_alarms: Detected alarm on channel 2: Red Alarm
-- Reconfigured channel 2, FXS Kewlstart signalling
-- Automatically generated pseudo channel
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:17957 process_dahdi: Ignoring any changes to 'userbase' (on reload) at line 23.
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:17957 process_dahdi: Ignoring any changes to 'vmsecret' (on reload) at line 31.
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:17957 process_dahdi: Ignoring any changes to 'hassip' (on reload) at line 35.
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:17957 process_dahdi: Ignoring any changes to 'hasiax' (on reload) at line 39.
[2012-09-18 16:42:33] WARNING[23059]: chan_dahdi.c:17957 process_dahdi: Ignoring any changes to 'hasmanager' (on reload) at line 47.
/etc/dahdi/system.conf
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4
loadzone = us
defaultzone = us
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.