Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / Unable to find a codec translation path from ulaw to slin

Unable to find a codec translation path from ulaw to slin

<1 2 3>
Сообщений: 6521

Re: Unable to find a codec translation path from ulaw to slin

Defining SIP channels in sip.conf
Each SIP client and server is identified by a block of text that looks like:

[xxx]
type=yyy
parameter1=value
parameter2=value

Where xxx is the name associated with the SIP client, or is an arbitrary name used by other configuration files to refer to this SIP device. Typically if a SIP phone has an extension number of 123, then its corresponding entry in this file will begin with [123].

[2299]
type=friend
username=2299
secret=lordwhorfin
canreinvite=no
host=dynamic
dtmfmode=rfc2833
mailbox=2299
nat=1

"[2299]" is the name of this extension, and should be the same as the username "type=friend" means that this device can both make and receive calls
2006-05-10 02:47

Сообщений: 13

Re: Unable to find a codec translation path from ulaw to slin

поправил в ссответ

*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
101/101_uisp 192.168.1.11 D 5060 Unmonitored
1 sip peers [1 online , 0 offline]

эффекта нет.

May 10 18:13:05 WARNING[9638] channel.c: Unable to find a codec translation path from alaw to slin
May 10 18:13:05 WARNING[9638] indications.c: Unable to set 'SIP/101-f48c' to signed linear format (write)
May 10 18:13:05 WARNING[9638] channel.c: Unable to find a codec translation path from gsm to alaw
May 10 18:13:05 WARNING[9638] channel.c: Unable to find a codec translation path from gsm to alaw
May 10 18:13:05 WARNING[9638] chan_sip.c: Asked to transmit frame type gsm, while native formats is alaw (read/write = alaw/alaw)

еще чего-то можно покрутить?
2006-05-10 13:17

Сообщений: 6521

Re: Unable to find a codec translation path from ulaw to slin

Если у тебя 1 sip peers [1 online , 0 offline] - только один пир в онлайне, то кому ты пытаешься звонить?
2006-05-10 13:49

Сообщений: 13

Re: Unable to find a codec translation path from ulaw to slin

конечно же себе. :) звонок проходит по второй линии. эт я просто вернул первоначальные конфиги, да бы не было шансов грешить на кривые руки. ради интереса завел тока что второй пир - эффект тот же.
2006-05-10 17:09

Сообщений: 6521

Re: Unable to find a codec translation path from ulaw to slin

Хоть какие-нибудь звонки ходили? На тестовые демо можешь позвонить? Эхотест? unixtime? Saydigits?
Если нет, то сильно криво собрано. Или не те permissions. Или не в том месте модули (see asterisk.conf). Или не хватает каких-то libs.
2006-05-10 21:36

Сообщений: 13

Re: Unable to find a codec translation path from ulaw to slin

демо, Эхотест, unixtime, Saydigits - все говорят без проблем и ругани. если кодек преобразовывать не надо. т.е. в софтфоне выставляешь "gsm" - ок, alaw/ulaw - то же самое. сборка ALTLinux asterisk-1.3.0-alt4.10
2006-05-11 04:03

Сообщений: 6521

Re: Unable to find a codec translation path from ulaw to slin

Я в ступоре!

на CLI> show modules like codec вижу -

Module Description Use Count
codec_alaw.so A-law Coder/Decoder
codec_g729-gcc-pentium3.so G729/PCM16 (signed linear) Codec Transla
codec_a_mu.so A-law and Mulaw direct Coder/Decoder
codec_g723-gcc-pentium3.so G723.1/PCM16 (signed linear) Codec Trans
codec_adpcm.so Adaptive Differential PCM Coder/Decoder
codec_ilbc.so iLBC/PCM16 (signed linear) Codec Transla
codec_ulaw.so Mu-law Coder/Decoder
codec_lpc10.so LPC10 2.4kbps (signed linear) Voice Code
codec_gsm.so GSM/PCM16 (signed linear) Codec Translat
codec_g726.so ITU G.726-32kbps G726 Transcoder
10 modules loaded

2006-05-11 10:45

Сообщений: 13

Re: Unable to find a codec translation path from ulaw to slin

ну примерно тож самое:

*CLI> show modules like codec
Module Description Use Count
codec_adpcm.so Adaptive Differential PCM Coder/Decoder 0
codec_a_mu.so A-law and Mulaw direct Coder/Decoder 0
codec_alaw.so A-law Coder/Decoder 0
codec_g723-gcc-pentium3.so G723.1/PCM16 (signed linear) Codec Trans 0
codec_g726.so ITU G.726-32kbps G726 Transcoder 0
codec_g729-gcc-pentium3.so G729/PCM16 (signed linear) Codec Transla 0
codec_lpc10.so LPC10 2.4kbps (signed linear) Voice Code 0
codec_ulaw.so Mu-law Coder/Decoder 0
codec_gsm.so GSM/PCM16 (signed linear) Codec Translat 0
codec_ilbc.so iLBC/PCM16 (signed linear) Codec Transla 0
codec_speex.so Speex/PCM16 (signed linear) Codec Transl 0
11 modules loaded
2006-05-11 10:49

Сообщений: 6521

Re: Unable to find a codec translation path from ulaw to slin

Загадочный одинадцатый модуль - codec_adpcm.so...
Хоть какие-то звонки ходили?
Permissions? Были ли трудности при установке *? Содержимое asterisk.conf?

[directories]
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk

2006-05-11 11:03

Сообщений: 6521

Re: Unable to find a codec translation path from ulaw to slin

Pardon me, одинадцатый у тебя Speex
2006-05-11 11:05

<1 2 3>
Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru