I added init-string "AT+CMEE=1" and the modem quit responding altogether. I tried it with a 2 in there as well and got no responses from it. I removed the init-string for now. Am I inputting it wrong or something? I put it in the config file under modem.
________________________________ From: Alvaro Cornejo [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2008 11:30 AM To: users@kannel.org Subject: Re: FW: Kannel error try to enable verbose login in your modem. add at+cmee=1 or 2 to the init string. This might give you more information On Thu, Mar 27, 2008 at 2:58 PM, Nathan Ferris <[EMAIL PROTECTED]> wrote: Strictly anecdotally, I've seen that happen a lot when the modem gets interrupted by an incoming message when it is trying to send out a message. Nathan Brandon Blackwell wrote: Yeah that is usually what I end up doing, resetting the modem. But is there any explanation as to why this is occurring or settings I can change that might keep this from happening so often? Having duplicate messages sent out is not good. Does anyone know anything about that send command status -1? It happens every time it sends out a duplicate message. ________________________________ From: Nathan Ferris [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2008 3:14 PM To: users@kannel.org Subject: Re: FW: Kannel error Hi Brandon, I've seen stuff like this before; you may just need to reset your modem. Try this: http://www.mail-archive.com/users@kannel.org/msg11538.html Nathan Brandon Blackwell wrote: I am using a wavecom multimodem gprs with kannel. The problem I am having is that every so often I get a weird error in the logs and kannel seems to send out duplicate and sometimes triplicate messages back to the phones. The message I get in the logs is below: <-- ERROR 2008-03-26 18:28:29 [3067] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR 2008-03-26 18:28:29 [3067] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1 2008-03-26 18:28:29 [3067] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=45^M 2008-03-26 18:28:29 [3067] [6] DEBUG: AT2[/dev/ttyS0]: <-- 2008-03-26 18:28:29 [3067] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR 2008-03-26 18:28:29 [3067] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR 2008-03-26 18:28:29 [3067] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1 2008-03-26 18:28:34 [3067] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR 2008-03-26 18:28:34 [3067] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR My kannel.conf setup is as follows: group = core admin-port = 13000 smsbox-port=13001 admin-password = XXXXXXXXX log-file = "/var/log/kannel/bearerbox.log" log-level = 1 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1 <http://127.0.0.1/> " group = smsc smsc = at modemtype = wavecom device = /dev/ttyS0 speed = 9600 keepalive = 5 max-error-count = 5 my-number = XXXXXXXXXXX connect-allow-ip = 127.0.0.1 <http://127.0.0.1/> log-file = "/var/log/kannel/bearerbox.log" log-level = 0 group = smsc smsc = fake smsc-id = FAKE port = 10000 connect-allow-ip = 127.0.0.1 <http://127.0.0.1/> group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = XXXXXXXX log-file = "/var/log/kannel/smsboxaccess.log" log-level = 0 group = sendsms-user username = XXXXXX password = XXXXXX concatenation = true max-messages = 1 group = sms-service keyword = keyword-regex = .* catch-all = yes max-messages = 1 post-url = XXXXXXXXXXXXXXXXXXXXXXXX group = mysql-connection host = XXXXXX username = XXXXX password = XXXXX database = XXXXXX group = modems id = wavecom name = Wavecom detect-string = "WAVECOM" reset-string = "AT+CFUN=1" no-pin = true Any help you can provide would be great. If you need any further information please just let me know. Thanks. *******CONFIDENTIALITY NOTICE and DISCLAIMER******* This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and solely for the use of the person(s) or entity to which it is intended. If you have received this message in error and are not the intended recipient, please notify the sender immediately and delete this message and any attachment from your system. If you are not the intended recipient, be advised that any use of this message is prohibited and may be unlawful, and you must not copy this message or attachment or disclose the contents to any other person. Internet correspondence is not secure and neither Virtual Money Inc. nor the sender accepts responsibility for viruses or other forms of data corruption caused by such. It is your responsibility to scan this e-mail and any attachments for viruses. Neither Virtual Money Inc. nor the sender does accept liability for any errors or omissions in the contents of this message or attachments that arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Besides this "Disclaimer", there may be additional or alternative terms in this message or in attachments. For further information please see our website at http://www.virtualmoneyinc.com <http://www.virtualmoneyinc.com/> or call 800-261-4578 *******CONFIDENTIALITY NOTICE and DISCLAIMER******* -- |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx y www.pravcom.com