Kannel +CME ERROR: 515 Issue

After playing around with kannel (version 1.4.0 ubuntu 6.06 package, 1.4.1 and CVS), I got the following error:

2007-11-12 07:17:27 [11630] [6] DEBUG: AT2[GW]: –> AT+CMGS=58^M
2007-11-12 07:17:27 [11630] [6] DEBUG: AT2[GW]: <–
2007-11-12 07:17:27 [11630] [6] DEBUG: AT2[GW]: <– +CME ERROR: 515
2007-11-12 07:17:27 [11630] [6] ERROR: AT2[GW]: Generic error: +CME ERROR: 515
2007-11-12 07:17:27 [11630] [6] DEBUG: AT2[GW]: send command status: -1

This is only occurs when I have submitted several (three or more) messages through playsms interface on Itegno 3000 GSM modem (this is Wavecom chipset modem actually). This problem doesn’t exist if I send one or two messages only. Or, if I send broadcast messages, the kannel only sent two first seen messages and forgot another :-). Maybe the modem is slow enough to receive several messages in a time.

After searching over Google, I found relevant post describing problem and solution here. Unfortunately the patch is obsolete for current kannel version. So I edited the source based on that patch manually. Here is the patch I’ve made against kannel 1.4.1 version: wavecom-kannel-1.4.1-at.patch. After applying the patch, hope your kannel will queueing messages properly.

4 Replies

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.