Receive SMS using chan_dongle with E173 modem

Hi. I have E173 Huawei modem. Dongle seems to communicate with it correctly. I could send SMS from Asterisk CLI. Unfortunately, receiving SMS works only during the initialization of dongle (either on Asterisk restart or after dongle restart now dongle0: I can’t see any reaction from the software when I send SMS from my phone to modem’s simcard number, if asterisk is already running.

I’m new to Asterisk so I probably made an error in configs. Could anybody please review them?

Configuration (please ignore unusual format, they are built-in into NixOS expression):

Also I could see this:

*CLI> dongle show devices
ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware          IMEI             IMSI             Number        
dongle0      0     Free       16   0    0       Beeline        E173       11.126.85.00.209  3556150xxxxxxx  250997216xxxxx  Unknown       
*CLI> 
*CLI> dialplan show dongle-incoming
[ Context 'dongle-incoming' created by 'pbx_config' ]
  'sms' =>          1. Verbose(Incoming SMS)                      [extensions.conf:4]
                    2. Hangup()                                   [extensions.conf:5]

-= 1 extension (2 priorities) in 1 context. =-
*CLI> 

Show your dialplan…

My extensions.conf contains only a single 2-line dialplan shown above:

          [dongle-incoming]
          exten => sms,1,Verbose(Incoming SMS)
          exten => sms,n,Hangup()

I think that you need to read here a bit better, how to use chan-dongle.
https://github.com/wdoekes/asterisk-chan-dongle

Do you think that I miss something important?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.