Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E173 modem receives SMS only during initialization #121

Open
grwlf opened this issue Oct 16, 2020 · 3 comments
Open

E173 modem receives SMS only during initialization #121

grwlf opened this issue Oct 16, 2020 · 3 comments

Comments

@grwlf
Copy link

grwlf commented Oct 16, 2020

Related to 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 if asterisk is already running.

Are there any 'monitoring' modes in gsm modems, that I should enter into to receive SMSs?

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

Some status commands:

*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  35561504xxxxxx  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> 
@grwlf
Copy link
Author

grwlf commented Oct 20, 2020

Talking to myself: A workaround for this issue is

dongle cmd dongle0 AT^PORTSEL=1

One probably need to add it to the chan-driver somewhere.

Thanks, antirek/asterisk-chan-dongle#147

grwlf added a commit to grwlf/asterisk-chan-dongle that referenced this issue Oct 25, 2020
rusxakep added a commit to rusxakep/asterisk-chan-dongle that referenced this issue Nov 8, 2020
@miopa
Copy link

miopa commented Nov 11, 2020

I have some E173 with the same firmware as you, they receive SMS without any issue on asterisk 1.8, 13 and 15 (at least with my fork https://github.com/miopa/asterisk-chan-dongle)

Talking to myself: A workaround for this issue is

dongle cmd dongle0 AT^PORTSEL=1

I tried this on two E173 (ast 1.8), both modems got stuck on 'dialing' soon

@rusxakep
Copy link

rusxakep commented Nov 13, 2020

Same problem with SMS (only at initialization stage):

E171 21.156.00.00.143
E171 21.157.00.01.143
Asterisk 17.8.1 / FreePBX 15.x

rusxakep added a commit to rusxakep/asterisk-chan-dongle that referenced this issue Nov 13, 2020
rusxakep added a commit to rusxakep/asterisk-chan-dongle that referenced this issue Nov 13, 2020
rusxakep added a commit to rusxakep/asterisk-chan-dongle that referenced this issue Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants