При звонке с софтофона через модем я слышу отлично, а меня не слышат.
[Aug 2 10:08:24] WARNING[1118]: chan_sip.c:6316 sip_write: Asked to transmit frame type slin, while native formats is 0x4 (ulaw) read/write = 0x4 (ulaw)/0x4 (ulaw)
[Aug 2 10:08:24] WARNING[1118]: chan_sip.c:6316 sip_write: Asked to transmit frame type slin, while native formats is 0x4 (ulaw) read/write = 0x4 (ulaw)/0x4 (ulaw)
[Aug 2 10:08:24] WARNING[1118]: chan_sip.c:6316 sip_write: Asked to transmit frame type slin, while native formats is 0x4 (ulaw) read/write = 0x4 (ulaw)/0x4 (ulaw)
sip.conf
[1001]
type = friend
callerid = User One <1001>
secret = 1001
host = dynamic
canreinvite = no
dtmfmode = rfc2833
mailbox = 1001
disallow = all
allow = ulaw
transport = udp
dongle.conf
[general]
interval=15 ; Number of seconds between trying to connect to devices
[defaults]
; now you can set here any not required device settings as template
; sure you can overwrite in any [device] section this default values
context=default ; context for incoming calls
group=0 ; calling group
rxgain=0 ; increase the incoming volume; may be negative
txgain=0 ; increase the outgoint volume; may be negative
autodeletesms=yes ; auto delete incoming sms
resetdongle=yes ; reset dongle during initialization with ATZ command
u2diag=-1 ; set ^U2DIAG parameter on device (0 = disable everything except modem function) ; -1 not us$
usecallingpres=yes ; use the caller ID presentation or not
callingpres=allowed_passed_screen ; set caller ID presentation by default use default network settings
disablesms=no ; disable of SMS reading from device when received
; chan_dongle has currently a bug with SMS reception. When a SMS gets in during a
; call chan_dongle might crash. Enable this option to disable sms reception.
; default = no
language=en ; set channel default language
smsaspdu=yes ; if 'yes' send SMS in PDU mode, feature implementation incomplete and we strongly recommend$
mindtmfgap=45 ; minimal interval from end of previews DTMF from begining of next in ms
mindtmfduration=80 ; minimal DTMF tone duration in ms
mindtmfinterval=200 ; minimal interval between ends of DTMF of same digits in ms
callwaiting=auto ; if 'yes' allow incoming calls waiting; by default use network settings
; if 'no' waiting calls just ignored
disable=no ; OBSOLETED by initstate: if 'yes' no load this device and just ignore this section
initstate=start ; specified initial state of device, must be one of 'stop' 'start' 'remote'
; 'remove' same as 'disable=yes'
exten=+1234567890 ; exten for start incoming calls, only in case of Subscriber Number not available!, also set$
dtmf=relax ; control of incoming DTMF detection, possible values:
; off - off DTMF tones detection, voice data passed to asterisk unaltered
; use this value for gateways or if not use DTMF for AVR or inside dialplan
; inband - do DTMF tones detection
; relax - like inband but with relaxdtmf option
; dongle required settings
[dongle0]
audio=/dev/ttyUSB1 ; tty port for audio connection; no default value
data=/dev/ttyUSB2 ; tty port for AT commands; no default value
; or you can omit both audio and data together and use imei=123456789012345 and/or imsi=123456789012345
; imei and imsi must contain exactly 15 digits !
; imei/imsi discovery is available on Linux only
imei=123456789012345
imsi=123456789012345
; if audio and data set together with imei and/or imsi audio and data has precedence
; you can use both imei and imsi together in this case exact match by imei and imsi required
kmod-huawei-voice установил.
Что с конвертацией кодеков не так? Что исправить?
core show translation
g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 siren7 siren14 slin16 g719 speex16 testlaw
g723 - - - - - - - - - - - - - - - - - - -
gsm - - 2 2 8001 2 1 8002 - - - 8001 2 - - 8002 - - 2
ulaw - 8002 - 1 8001 2 1 8002 - - - 8001 2 - - 8002 - - 2
alaw - 8003 1 - 8002 3 2 8003 - - - 8002 3 - - 8003 - - 3
g726aal2 - 12002 4002 4002 - 4002 4001 12002 - - - 12001 4002 - - 12002 - - 4002
adpcm - 12001 4001 4001 12000 - 4000 12001 - - - 12000 4001 - - 12001 - - 4001
slin - 8001 1 1 8000 1 - 8001 - - - 8000 1 - - 8001 - - 1
lpc10 - 12001 4001 4001 12000 4001 4000 - - - - 12000 4001 - - 12001 - - 4001
g729 - - - - - - - - - - - - - - - - - - -
speex - - - - - - - - - - - - - - - - - - -
ilbc - - - - - - - - - - - - - - - - - - -
g726 - 12001 4001 4001 12000 4001 4000 12001 - - - - 4001 - - 12001 - - 4001
g722 - 12002 4002 4002 12001 4002 4001 12002 - - - 12001 - - - 8000 - - 4002
siren7 - - - - - - - - - - - - - - - - - - -
siren14 - - - - - - - - - - - - - - - - - - -
slin16 - 20003 12003 12003 20002 12003 12002 20003 - - - 20002 8001 - - - - - 12003
g719 - - - - - - - - - - - - - - - - - - -
speex16 - - - - - - - - - - - - - - - - - - -
testlaw - 8002 2 2 8001 2 1 8002 - - - 8001 2 - - 8002 - - -
Проблемы могут быть и в файрволе, и в сипе, и в модуле, и в USB, и в самом модеме.
Задан: 2011-08-02 08:38:31 +0400
Просмотрен: 6,515 раз
Обновлен: Sep 10 '11
отваливаются модемы в asterisk [закрыт]
chan_dongle, huawei e171 и входящий вызов
Huawei E1550 chan_dongle настройка CLIR (запрет определения номера)
chan_dongle и несколько модемов e173
Пропущенные звонки chan_donge E1550
Большая задержка сотовый-huawei-*-huawei-сотовый
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.