atefsaeed2010 / datacard

Automatically exported from code.google.com/p/datacard
Other
0 stars 1 forks source link

status messages not showing up in at commands #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. send some messages via AMI that would request delivery reports
2. receive the delivery reports as messages ( weird is that asterisk doesn't 
say anything about receiving them 

What is the expected output? What do you see instead?

vaio-ubuntu-server*CLI> datacard cmd datacard0 at+cmgr=1
[datacard0] 'at+cmgr=1' Command queued for execute
 [datacard0] Got Response for user's command:'OK'
[Apr 30 19:38:17] NOTICE[11881]: at_response.c:1717 at_response: [datacard0] 
Got Response for user's command:'OK'
vaio-ubuntu-server*CLI> datacard cmd datacard0 at+cmgd=?
[datacard0] 'at+cmgd=?' Command queued for execute
 [datacard0] Got Response for user's command:'+CMGD: (),(0-4)'
[Apr 30 19:38:43] NOTICE[11881]: at_response.c:1717 at_response: [datacard0] 
Got Response for user's command:'+CMGD: (),(0-4)'
 [datacard0] Got Response for user's command:'OK'
[Apr 30 19:38:43] NOTICE[11881]: at_response.c:1717 at_response: [datacard0] 
Got Response for user's command:'OK'

Here's what I get using minicom
AT+CMGR=1
+CMGR: 0,,25
07910467060015F0066C0B910467905092F4113001216020801130012160608000

AT+CMGD=?
+CMGD: 
(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29
,30,31,32,33,34,35,36,37,38,39),(0-4)

What version of the product are you using? On what operating system?
Linux gentoo, r203.

Please provide any additional information below.

I'm trying to make my own script to get the status messages and parse them.

Original issue reported on code.google.com by dex...@d3xt3r01.tk on 30 Apr 2011 at 4:39

GoogleCodeExporter commented 9 years ago
chan_datacard cut everything except OK or ERROR :)) 

Original comment by bg_...@mail.ru on 4 Aug 2011 at 11:39