atefsaeed2010 / asterisk-chan-dongle-01

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 1 forks source link

Can't read/delete messages from storage other than ME #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

Sometimes modem receive SMS and store in SIM storage.
So '+CMTI: "SM",1'  reported by modem to chan_dongle.

But chan_dongle can use only "ME" storage for read and delete messages, and 
do commands:
AT+CMGR=1
AT+CMGD=1

for "ME" (because issue AT+CPMS="ME","ME","ME" at initialize time)

Both command shortly report OK, but (second bug) OK in responce of AT+CMGR
handled wrong and does't trigger incoming_sms state back.

Original issue reported on code.google.com by bg_...@mail.ru on 14 Aug 2011 at 7:23

GoogleCodeExporter commented 9 years ago
causes two troubles
1) persistent "SMS"  state
2) SM storage report ^SMMEMFULL when full.

Original comment by bg_...@mail.ru on 14 Aug 2011 at 7:26

GoogleCodeExporter commented 9 years ago
Try this perl script !!!

Original comment by lwk...@gmail.com on 18 Dec 2012 at 4:43

Attachments:

GoogleCodeExporter commented 9 years ago
hope someone can implement the AT command in the chan_dongle module so that i 
do not need the cronjob this script every 20 minutes.

because once full, the SMS could send via DongleSendSMS() in asterisk

Original comment by lwk...@gmail.com on 18 Dec 2012 at 4:44