Hi Andreas, I think you should read what Andrija Petrovic wrote as it seems there are problems with both AT+CNMI operation and AT+CMGR.
Both patches seem to have been submitted but never implemented. Rgds From: Andrija Petrovic [mailto:[EMAIL PROTECTED] Sent: 19 September 2007 10:09 AM To: [EMAIL PROTECTED] Subject: Re: Feature request/wish for Kannel Hi, I'd better not answer directly to your direct question. Direct answer is "this patch has nothing to do with SIM card being filled up, but applying this patch will stop the SIM card from being filled up" :). A complete answer should take into account the mode of operation of the AT modem. 1. If the mode of operation is AT+CNMI (waiting for new message notifications), there is no reason why the modem should fill up the SIM card. Of course - with the current (unstable) version of smsc_at the SIM card used to fill up. Therefore, when I started working with Kannel, SIM overfilling was my primary concern. It turned out that once the modem started working correctly, with no "freezing" due to SMS send misbehavior, the SIM card never received a single SMS. All SMSes were consumed by the AT+CNMI mechanism (through +CMT notifications). When I say "never", that means 15 months on 3-4 modems synchronously, receiving up to 940 SMSes/day, with peaks up to 30 SMSes/minute. (the figure of 30 SMSes/minute may be another topic for discussion, due to the hard limit of 10 SMSes/minute for sending...) 2. If the mode of operation is AT+CMGR (reading the SMSes that reached the SIM card), my actual patch did not address this problem. This part of smsc_at will be a matter of my next patch. Mr Andreas Fink did not take advantage of the AT+CMGL command (listing all the SMSes in the SIM card). That command speeds up the process of reading the SMSes from the SIM card by at least an order of magnitude. In May of 2006 I submitted a rather large patch that solved this problem, but the patch never made it to submission. So, if you ask me, do not use the sim-buffering option for now. Best regards, Andrija Petrovic P.S. Just as a curiosity - what do you use Kannel for? What is the exploitation scenario? Please, do not answer if it is a business secret or any type of confidential information. Hillel wrote: Hi, Will your patch fix the problem with the SIM card filling up and not being cleared out and so new SMSs not being able to come in? Thanks
