atefsaeed2010 / datacard

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

Cards stuck. #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. just wait .. 

What is the expected output? What do you see instead?
State SMS instead of State Free

What version of the product are you using? On what operating system?
Linux x86_64 gentoo, chan_datacard r193

Please provide any additional information below.

datacard0    0     SMS        25   3    3       orange         K3520      
11.315.05.00.00   35343xxxxxx5368  yyyyyyyyyy63385  zzzzzzzzz

It's been like this for a couple of minutes now .. :/

another issue would be that as BG recommended .. I made a script to restart all 
the cards at night .. the problem is that every day I find some of them 
disconnected !

Original issue reported on code.google.com by dex...@d3xt3r01.tk on 4 Mar 2011 at 7:21

GoogleCodeExporter commented 9 years ago
still in SMS state problem exists.
When modem plugged and registered can receive lot of pending SMS
And at this moment may be not fully initialized.

Original comment by bg_...@mail.ru on 4 Mar 2011 at 10:02

GoogleCodeExporter commented 9 years ago
Here is my patch for this in case card is not initiated due to sms store been 
full ;)
(it deletes all the sms while doing init).
Use this in case u don't care about lost sms's ;)

Original comment by florin.m...@gmail.com on 7 Mar 2011 at 10:03

Attachments:

GoogleCodeExporter commented 9 years ago
Hmm .. ok .. so I should make my incomming-datatacard context delete the 
message from the datacard after storing them in mysql .. :) nice idea...

Original comment by dex...@d3xt3r01.tk on 7 Mar 2011 at 10:09

GoogleCodeExporter commented 9 years ago
bad way.
unconditionally drop SMS.

right way is implement config option with one line initialize commands

Original comment by bg_...@mail.ru on 7 Mar 2011 at 5:49

GoogleCodeExporter commented 9 years ago
yes bad idea, but problem is if the card is with too many sms's stored on, the 
chan-datacard is not initiating it anymore. This was my 2 min fast hack since i 
don't care about the sms's ;)

Original comment by florin.m...@gmail.com on 7 Mar 2011 at 6:24