No channel type registered for 'SIP'
Добавлено: 08 фев 2013, 18:21
Доброго всем дня. Появилась проблема.. и никак в ней не могу разобраться..
При звонке на GSM-Modem выдает вот это сообщение.
Модем и симка определяются правильно.
настраивал по этой статье
вот конфиги которые настраивал
Используемое ПО: Ubuntw server 12.04 +asterisk-1.8.20.1
При звонке на GSM-Modem выдает вот это сообщение.
Код: Выделить всё
-- Executing [s@datacard-incoming:1] Dial("Datacard/datacard0-397a", "SIP/100") in new stack
[Feb 8 15:24:47] WARNING[1704]: channel.c:5705 ast_request: No channel type registered for 'SIP'
[Feb 8 15:24:47] WARNING[1704]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 66 - Channel not implemented)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@datacard-incoming:2] Hangup("Datacard/datacard0-397a", "") in new stack
== Spawn extension (datacard-incoming, s, 2) exited non-zero on 'Datacard/datacard0-397a'
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
ubuntu*CLI> datacard show devices
ID Group State RSSI Mode Submode Provider Name Model Firmware IMEI IMSI Number
datacard0 1 Free 20 3 3 UMC E1550 11.608.12.00.143 ***965047****** ****1185060***** +3805016*****
ubuntu*CLI>
ID Group State RSSI Mode Submode Provider Name Model Firmware IMEI IMSI Number
datacard0 1 Free 20 3 3 UMC E1550 11.608.12.00.143 ***965047****** ****1185060***** +3805016*****
ubuntu*CLI>
вот конфиги которые настраивал
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: sip.conf
[general]
allowguest=no
udpbindaddr=0.0.0.0
call-limit=1
mohsuggest=default
allowtransfer= no
rtcachefriends=yes
t38pt_udptl=yes
[100]
type=friend
context=out
canreinvite=no
qualify=yes
disallow=all
allow=ulaw
nat=no
secret=100
allowguest=no
udpbindaddr=0.0.0.0
call-limit=1
mohsuggest=default
allowtransfer= no
rtcachefriends=yes
t38pt_udptl=yes
[100]
type=friend
context=out
canreinvite=no
qualify=yes
disallow=all
allow=ulaw
nat=no
secret=100
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: datacard.conf
[general]
interval=15 ; Number of seconds between trying to connect to devices
;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
;jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a
; Datacard channel. Defaults to "no". An enabled jitterbuffer will
; be used only if the sending side can create and the receiving
; side can not accept jitter. The Datacard channel can't accept jitter,
; thus an enabled jitterbuffer on the receive Datacard side will always
; be used if the sending side can create jitter.
;jbforce = no ; Forces the use of a jitterbuffer on the receive side of a Datacard
; channel. Defaults to "no".
;jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds.
;jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is
; resynchronized. Useful to improve the quality of the voice, with
; big jumps in/broken timestamps, usually sent from exotic devices
; and programs. Defaults to 1000.
;jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a Datacard
; channel. Two implementations are currently available - "fixed"
; (with size always equals to jbmaxsize) and "adaptive" (with
; variable size, actually the new jb of IAX2). Defaults to fixed.
;jbtargetextra = 40 ; This option only affects the jb when 'jbimpl = adaptive' is set.
; The option represents the number of milliseconds by which the new jitter buffer
; will pad its size. the default is 40, so without modification, the new
; jitter buffer will set its size to the jitter value plus 40 milliseconds.
; increasing this value may help if your network normally has low jitter,
; but occasionally has spikes.
;jblog = no ; Enables jitterbuffer frame logging. Defaults to "no".
;-----------------------------------------------------------------------------------
[datacard0]
audio=/dev/ttyUSB1 ; tty for audio connection
data=/dev/ttyUSB2 ; tty for AT commands
context=datacard-incoming ; context for incoming calls
group=1 ; calling group
rxgain=3 ; increase the incoming volume
txgain=-4 ; increase the outgoint volume
autodeletesms=yes ; auto delete incoming sms
resetdatacard=yes ; reset datacard during initialization
u2diag=0 ; set U2DIAG parameter (0 = disable everything except modem function)
usecallingpres=yes ; use the caller ID presentation or not
callingpres=allowed_passed_screen; set caller ID presentation
disablesms=yes ; chan_datacard has currently a bug with SMS reception. When a SMS gets in during a
; call chan_datacard might crash. Enable this option to disable sms reception.
; Default = no
interval=15 ; Number of seconds between trying to connect to devices
;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
;jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a
; Datacard channel. Defaults to "no". An enabled jitterbuffer will
; be used only if the sending side can create and the receiving
; side can not accept jitter. The Datacard channel can't accept jitter,
; thus an enabled jitterbuffer on the receive Datacard side will always
; be used if the sending side can create jitter.
;jbforce = no ; Forces the use of a jitterbuffer on the receive side of a Datacard
; channel. Defaults to "no".
;jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds.
;jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is
; resynchronized. Useful to improve the quality of the voice, with
; big jumps in/broken timestamps, usually sent from exotic devices
; and programs. Defaults to 1000.
;jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a Datacard
; channel. Two implementations are currently available - "fixed"
; (with size always equals to jbmaxsize) and "adaptive" (with
; variable size, actually the new jb of IAX2). Defaults to fixed.
;jbtargetextra = 40 ; This option only affects the jb when 'jbimpl = adaptive' is set.
; The option represents the number of milliseconds by which the new jitter buffer
; will pad its size. the default is 40, so without modification, the new
; jitter buffer will set its size to the jitter value plus 40 milliseconds.
; increasing this value may help if your network normally has low jitter,
; but occasionally has spikes.
;jblog = no ; Enables jitterbuffer frame logging. Defaults to "no".
;-----------------------------------------------------------------------------------
[datacard0]
audio=/dev/ttyUSB1 ; tty for audio connection
data=/dev/ttyUSB2 ; tty for AT commands
context=datacard-incoming ; context for incoming calls
group=1 ; calling group
rxgain=3 ; increase the incoming volume
txgain=-4 ; increase the outgoint volume
autodeletesms=yes ; auto delete incoming sms
resetdatacard=yes ; reset datacard during initialization
u2diag=0 ; set U2DIAG parameter (0 = disable everything except modem function)
usecallingpres=yes ; use the caller ID presentation or not
callingpres=allowed_passed_screen; set caller ID presentation
disablesms=yes ; chan_datacard has currently a bug with SMS reception. When a SMS gets in during a
; call chan_datacard might crash. Enable this option to disable sms reception.
; Default = no
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: extensions.conf
все оставил по умолчанию + добавил это:
[datacard-incoming]
exten => sms,1,Verbose(Incoming SMS from ${CALLERID(num)} ${SMS})
exten => sms,n,System(echo '${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${DATACARD} - ${CALLERID(num)}: ${SMS}' >> /var/log/asterisk/sms.txt)
exten => sms,n,Hangup()
exten => ussd,1,Verbose(Incoming USSD: ${USSD})
exten => ussd,n,System(echo '${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${DATACARD}: ${USSD}' >> /var/log/asterisk/ussd.txt)
exten => ussd,n,Hangup()
exten => s,1,Dial(SIP/100)
exten => s,n,Hangup()
;exten => _X.,1,Dial(Datacard/datacard0/${EXTEN})
[datacard-incoming]
exten => sms,1,Verbose(Incoming SMS from ${CALLERID(num)} ${SMS})
exten => sms,n,System(echo '${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${DATACARD} - ${CALLERID(num)}: ${SMS}' >> /var/log/asterisk/sms.txt)
exten => sms,n,Hangup()
exten => ussd,1,Verbose(Incoming USSD: ${USSD})
exten => ussd,n,System(echo '${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${DATACARD}: ${USSD}' >> /var/log/asterisk/ussd.txt)
exten => ussd,n,Hangup()
exten => s,1,Dial(SIP/100)
exten => s,n,Hangup()
;exten => _X.,1,Dial(Datacard/datacard0/${EXTEN})