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"

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

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

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 or call 800-261-4578
*******CONFIDENTIALITY NOTICE and DISCLAIMER*******

Reply via email to