Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

Настройка Wildcard TDM410P. Channel InAlarm

0

Добрый день!

Помогите, пожалуйста, решить проблему настройки указанной платы с 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

спросил Sep 18 '12

mulai Gravatar mulai
1 1 1 3

обновил Sep 18 '12

Comments

1

Какая версия Asterisk? Вы показали весь chan_dahdi.conf? Покажите /etc/dahdi/system.conf (на всякий)

asteriskguru (Sep 18 '12)edit

chan_dahdi.conf не корректный. что у Вас там намешано?

zzuz (Sep 18 '12)edit

Добавил требуемую информацию в описание.

mulai (Sep 18 '12)edit

1 Ответ

1

В конфигурации, похоже, все ОК. "InAlarm: 1" означает, что в линии нет напряжения (или не подключена) . Можете воткнуть линию в обычный телефон для проверки.

ссылка удалить спам редактировать

ответил Sep 18 '12

asteriskguru Gravatar asteriskguru
1160 4 5 21
http://www.asteriskguru.r...

Comments

Да, проблема все таки с линией была. Решено, всем спасибо.

mulai (Sep 18 '12)edit

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: Sep 18 '12

Просмотрен: 2,519 раз

Обновлен: Sep 18 '12

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.