Incoming calls are not working in chan_dongle

Hi,

im not geting incoming calls using chan_dongle.
What am I missing in this config ?
this is my dongle.conf
[defaults]
context=from-sip
group=0
rxgain=0
txgain=0
autodeletesms=yes
u2diag=-1

extension.conf
[from-sip]
exten => s,1,Noop()
exten => s,1,Dial(SIP/6000,60,)
exten => s,n,Hangup()

sip.conf
[6000]

context=from-sip

asterisk version:1.8.8.0

Well…

Looks like your dongle.conf is not complete.

You are missing the config of the dongle itself.

Besides the default settings you have to configure the dongle.

; dongle required settings
[dongle0]
audio=/dev/ttyUSB0 ; tty port for audio connection; no default value
data=/dev/ttyUSB1 ; 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
;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

I have done it with the configuring the audio and data channel, but you can also opt for the imei/imsi route…

Just like in the example config.