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.
pak itu bisa ga di kasi tau cara patchnya
makasih ya
Tinggal cd ke source kannel, trus wget https://layangan.com/asfik/blog/wp-content/uploads/2007/11/wavecom-kannel-141-at.patch, lalu patch -p0 < wavecom-kannel-141-at.patch
kalo aku pake kannel dari sourcenya debian tetep sama ya soalnya pas di patch gitu mesti error “can’t find file to patch at input line 3” apa karena aku ambilnya dari sourcenya debian yah ?
Coba donwload sourcenya langsung dari http://www.kannel.org