VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

IAX2 -> T2 echo

Проблемы Asterisk без вэб-оболочек и их решения

Модераторы: april22, Zavr2008

awsswa
Сообщения: 2390
Зарегистрирован: 09 июн 2012, 10:52
Откуда: Россия, Пермь skype: yarick_perm

Re: IAX2 -> T2 echo

Сообщение awsswa »

на французский язык :)
платный суппорт по мере возможностей
ded
Сообщения: 15628
Зарегистрирован: 26 авг 2010, 19:00

Re: IAX2 -> T2 echo

Сообщение ded »

# dahdi_cfg -vv ??
Смотреть включили Вы oslec или нет.

awsswa, чел реально из Франции.
sv06000
Сообщения: 44
Зарегистрирован: 15 ноя 2013, 17:10

Re: IAX2 -> T2 echo

Сообщение sv06000 »

Факт дед прав реално ... ну это дрогое дело
Дед oslec вклучен
Я проверял lsmod | grep dahdi он там и есть
Вопрос echocancelwhenbriged и echotraining для oslec должны быть включены ? :?:
Почитаю на ночь chan_dahdi.conf.sample
ded
Сообщения: 15628
Зарегистрирован: 26 авг 2010, 19:00

Re: IAX2 -> T2 echo

Сообщение ded »

Я проверял lsmod | grep dahdi он там и есть
Не показатель. Как модуль ядра может присутствовать, но не инициализирован в dahdi
Повторю вопрос: выведите команду
# dahdi_cfg -vv ??
sv06000
Сообщения: 44
Зарегистрирован: 15 ноя 2013, 17:10

Re: IAX2 -> T2 echo

Сообщение sv06000 »

Вот результат команды

Код: Выделить всё


DAHDI Version: 2.6.2
Echo Canceller(s): HWEC, OSLEC
Configuration
======================

SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 05)
Channel 06: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 08)
Channel 09: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 11)
Channel 12: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 12)
Channel 13: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 13)
Channel 14: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 14)
Channel 15: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 15)
Channel 16: D-channel (Default) (Echo Canceler: none) (Slaves: 16)
Channel 17: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 17)
Channel 18: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 18)
Channel 19: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 19)
Channel 20: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 20)
Channel 21: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 21)
Channel 22: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 22)
Channel 23: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 23)
Channel 24: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 24)
Channel 25: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 25)
Channel 26: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 26)
Channel 27: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 27)
Channel 28: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 28)
Channel 29: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 29)
Channel 30: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 30)
Channel 31: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 31)
Channel 32: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 32)
Channel 33: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 33)
Channel 34: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 34)
Channel 35: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 35)
Channel 36: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 36)
Channel 37: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 37)
Channel 38: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 38)
Channel 39: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 39)
Channel 40: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 40)
Channel 41: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 41)
Channel 42: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 42)
Channel 43: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 43)
Channel 44: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 44)
Channel 45: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 45)
Channel 46: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 46)
Channel 47: D-channel (Default) (Echo Canceler: none) (Slaves: 47)
Channel 48: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 48)
Channel 49: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 49)
Channel 50: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 50)
Channel 51: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 51)
Channel 52: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 52)
Channel 53: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 53)
Channel 54: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 54)
Channel 55: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 55)
Channel 56: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 56)
Channel 57: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 57)
Channel 58: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 58)
Channel 59: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 59)
Channel 60: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 60)
Channel 61: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 61)
Channel 62: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 62)

62 channels to configure.

Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
Setting echocan for channel 4 to oslec
Setting echocan for channel 5 to oslec
Setting echocan for channel 6 to oslec
Setting echocan for channel 7 to oslec
Setting echocan for channel 8 to oslec
Setting echocan for channel 9 to oslec
Setting echocan for channel 10 to oslec
Setting echocan for channel 11 to oslec
Setting echocan for channel 12 to oslec
Setting echocan for channel 13 to oslec
Setting echocan for channel 14 to oslec
Setting echocan for channel 15 to oslec
Setting echocan for channel 16 to none
Setting echocan for channel 17 to oslec
Setting echocan for channel 18 to oslec
Setting echocan for channel 19 to oslec
Setting echocan for channel 20 to oslec
Setting echocan for channel 21 to oslec
Setting echocan for channel 22 to oslec
Setting echocan for channel 23 to oslec
Setting echocan for channel 24 to oslec
Setting echocan for channel 25 to oslec
Setting echocan for channel 26 to oslec
Setting echocan for channel 27 to oslec
Setting echocan for channel 28 to oslec
Setting echocan for channel 29 to oslec
Setting echocan for channel 30 to oslec
Setting echocan for channel 31 to oslec
Setting echocan for channel 32 to oslec
Setting echocan for channel 33 to oslec
Setting echocan for channel 34 to oslec
Setting echocan for channel 35 to oslec
Setting echocan for channel 36 to oslec
Setting echocan for channel 37 to oslec
Setting echocan for channel 38 to oslec
Setting echocan for channel 39 to oslec
Setting echocan for channel 40 to oslec
Setting echocan for channel 41 to oslec
Setting echocan for channel 42 to oslec
Setting echocan for channel 43 to oslec
Setting echocan for channel 44 to oslec
Setting echocan for channel 45 to oslec
Setting echocan for channel 46 to oslec
Setting echocan for channel 47 to none
Setting echocan for channel 48 to oslec
Setting echocan for channel 49 to oslec
Setting echocan for channel 50 to oslec
Setting echocan for channel 51 to oslec
Setting echocan for channel 52 to oslec
Setting echocan for channel 53 to oslec
Setting echocan for channel 54 to oslec
Setting echocan for channel 55 to oslec
Setting echocan for channel 56 to oslec
Setting echocan for channel 57 to oslec
Setting echocan for channel 58 to oslec
Setting echocan for channel 59 to oslec
Setting echocan for channel 60 to oslec
Setting echocan for channel 61 to oslec
Setting echocan for channel 62 to oslec

ded
Сообщения: 15628
Зарегистрирован: 26 авг 2010, 19:00

Re: IAX2 -> T2 echo

Сообщение ded »

Всё ОК.
echocancelwhenbriged и echotraining для oslec должны быть включены (=yes).
sv06000
Сообщения: 44
Зарегистрирован: 15 ноя 2013, 17:10

Re: IAX2 -> T2 echo

Сообщение sv06000 »

echotraining дожен быть вклучен ?
dahdi show channel выдает 128 taps (unless TDM bridged ) currently ON
ded
Сообщения: 15628
Зарегистрирован: 26 авг 2010, 19:00

Re: IAX2 -> T2 echo

Сообщение ded »

echotraining регулирует определение эха только на для хардварных эхоканцеляторов.

Какой кодек используется на канале IAX2? Лучше поставить alaw, телефону SNOM - тоже предпочтительно
allow=alaw
allow=ulaw
а всякие модные 722 и 726 пониже.

У нас на клиентском Астериске
*CLI> dahdi show channel 1
Channel: 1
File Descriptor: 10
Span: 1
Extension:
Dialing: no
Context: from-trunk
Caller ID:
Calling TON: 0
Caller ID subaddress:
Caller ID name:
Mailbox: none
Destroy: 0
InAlarm: 0
Signalling Type: ISDN PRI
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: alaw
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:
1 taps

currently OFF
Wait for dialtone: 0ms
PRI Flags:
PRI Logical Span: Implicit
sv06000
Сообщения: 44
Зарегистрирован: 15 ноя 2013, 17:10

Re: IAX2 -> T2 echo

Сообщение sv06000 »

Одно не ясно что эхо только на определенные номера
ded
Сообщения: 15628
Зарегистрирован: 26 авг 2010, 19:00

Re: IAX2 -> T2 echo

Сообщение ded »

Это было без звонка.
Во время звонка -
Owner: DAHDI/i1/84951234567-a5
Real: DAHDI/i1/84951234567-a5
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: yes
Busy Detection: no
TDD: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
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:
1 taps
currently ON

Wait for dialtone: 0ms
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH