Hello, I will paypal $50 USD to whoever can help me solve this error. If multiple people offer a partial solution that works I will split the reward up equally. I'm in a hurry to solve this and greatly appreciate any help.
Kannel Version: 1.4.3 OS: Ubuntu Karmic Koala (9.10) , Linux 2.6.31-20 Processor: Intel Pent. 4, hyperthreading Libxml version: unsure how to find this I got libxml2, version: 2.7.5.dfsg-1ubuntu1.1 Modem: Multi-Tech MultiModem MTCBA-G-F2 (Serial Connection) manual: http://www.multitech.com/en_US/DOCUMENTS/Collateral/manuals/S000304M.pdf AT commands: http://www.multitech.com/en_US/DOCUMENTS/Collateral/manuals/S000293J.pdf Carrier: AT&T pay as you go SIM, in the U.S.A. My config files: kannel.conf: http://dl.dropbox.com/u/426534/kannel.conf.txt modems.conf: http://dl.dropbox.com/u/426534/modems.conf.txt Text from smsc.log that contains the error: http://dl.dropbox.com/u/426534/kannel_error.txt My problem: sometimes my modem fails to send an outgoing message with the following error. :--> AT+CMGS=52^M : <-- : <-- +CME ERROR: 515 : Generic error: +CME ERROR: 515 : send command status: -1 my modem's manual says CME ERROR: 515 means: Please wait, init or command processing in progress. The first half of the log linked above is the sequence of things when a message gets received by the modem and the reply doesn't get sent properly. The second half is the sequence when the reply goes out properly. This problem happens randomly. Sometimes I can cause it happen by sending a lot of texts to the modem in a short burst. I am not sending the reply sms by returning it in the response when sms-service calls my server's url. I just have the server return an empty page. Instead I have the server calling kannel's sendsms url to send the reply sms. I'm doing it this way because it was the only way I could put newlines in the sms response. I'm not sure if this makes a difference here. I thought the error was being caused because the AT+CMGS=52^M command was sent too soon which is what was causing the error. So I set "need-sleep = true" and "sendline-sleep = 200" but it didn't help. Not sure what direction to go from here. Any help is really appreciated. Harish Tella
