im not geting incoming calls using chan_dongle.
What am I missing in this config ?
this is my dongle.conf
exten => s,1,Noop()
exten => s,1,Dial(SIP/6000,60,)
exten => s,n,Hangup()
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
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
; 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.