tomle: Operating system name and version: CentOS release 5.4 (Final) - 2.6.18-128
Version of smsd: 3.1.6
Smsd installed from: sources
Name and model of a modem / phone: Nokia N81
Interface: USB
Greetings,
I'm having problems with my Nokia N81 not responding Ok back to smstools when successfully sending a message. Smstools retries 3 times spamming recipients 3 times with the same message. Log attached:
2010-04-06 09:54:19,5, smsd: Moved file /var/spool/sms/outgoing/send_w27754 to /var/spool/sms/checked
2010-04-06 09:54:20,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_w27754
2010-04-06 09:54:20,6, GSM1: Sending SMS from to ********
2010-04-06 09:54:20,6, GSM1: Checking if modem is ready
2010-04-06 09:54:20,7, GSM1: -> AT
2010-04-06 09:54:20,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:54:21,7, GSM1: <- OK
2010-04-06 09:54:21,6, GSM1: Pre-initializing modem
2010-04-06 09:54:21,7, GSM1: -> ATE0+CMEE=1
2010-04-06 09:54:21,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:54:21,7, GSM1: <- OK
2010-04-06 09:54:21,7, GSM1: -> AT+CSQ
2010-04-06 09:54:21,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:54:21,7, GSM1: <- +CSQ: 16,99 OK
2010-04-06 09:54:21,6, GSM1: Checking if Modem is registered to the network
2010-04-06 09:54:22,7, GSM1: -> AT+CREG?
2010-04-06 09:54:22,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:54:22,7, GSM1: <- +CREG: 0,1 OK
2010-04-06 09:54:22,6, GSM1: Modem is registered to the network
2010-04-06 09:54:22,6, GSM1: Selecting PDU mode
2010-04-06 09:54:22,7, GSM1: -> AT+CMGF=0
2010-04-06 09:54:22,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:54:22,7, GSM1: <- OK
2010-04-06 09:54:22,7, GSM1: -> AT+CMGS=22
2010-04-06 09:54:23,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:54:23,7, GSM1: <- >
2010-04-06 09:54:23,7, GSM1: -> 0011000A9174894643430000FF0AD4F29C0E4A83C8E133
2010-04-06 09:54:23,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:55:24,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-04-06 09:55:24,7, GSM1: <-
2010-04-06 09:55:24,3, GSM1: The modem did not answer (expected OK).
2010-04-06 09:55:24,5, GSM1: Waiting 10 sec. before retrying
2010-04-06 09:55:34,6, GSM1: Checking if modem is ready
2010-04-06 09:55:34,7, GSM1: -> AT
2010-04-06 09:55:34,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:55:34,7, GSM1: <- OK
2010-04-06 09:55:34,6, GSM1: Pre-initializing modem
2010-04-06 09:55:35,7, GSM1: -> ATE0+CMEE=1
2010-04-06 09:55:35,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:55:35,7, GSM1: <- OK
2010-04-06 09:55:35,7, GSM1: -> AT+CSQ
2010-04-06 09:55:35,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:55:35,7, GSM1: <- +CSQ: 16,99 OK
2010-04-06 09:55:35,6, GSM1: Checking if Modem is registered to the network
2010-04-06 09:55:36,7, GSM1: -> AT+CREG?
2010-04-06 09:55:36,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:55:36,7, GSM1: <- +CREG: 0,1 OK
2010-04-06 09:55:36,6, GSM1: Modem is registered to the network
2010-04-06 09:55:36,6, GSM1: Selecting PDU mode
2010-04-06 09:55:36,7, GSM1: -> AT+CMGF=0
2010-04-06 09:55:36,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:55:36,7, GSM1: <- OK
2010-04-06 09:55:36,7, GSM1: -> AT+CMGS=22
2010-04-06 09:55:36,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:55:37,7, GSM1: <- >
2010-04-06 09:55:37,7, GSM1: -> 0011000A9174894643430000FF0AD4F29C0E4A83C8E133
2010-04-06 09:55:37,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:56:38,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-04-06 09:56:38,7, GSM1: <-
2010-04-06 09:56:38,3, GSM1: The modem did not answer (expected OK).
2010-04-06 09:56:38,5, GSM1: Waiting 10 sec. before retrying
2010-04-06 09:56:48,6, GSM1: Checking if modem is ready
2010-04-06 09:56:48,7, GSM1: -> AT
2010-04-06 09:56:48,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:56:48,7, GSM1: <- OK
2010-04-06 09:56:48,6, GSM1: Pre-initializing modem
2010-04-06 09:56:49,7, GSM1: -> ATE0+CMEE=1
2010-04-06 09:56:49,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:56:49,7, GSM1: <- OK
2010-04-06 09:56:49,7, GSM1: -> AT+CSQ
2010-04-06 09:56:49,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:56:49,7, GSM1: <- +CSQ: 16,99 OK
2010-04-06 09:56:49,6, GSM1: Checking if Modem is registered to the network
2010-04-06 09:56:49,7, GSM1: -> AT+CREG?
2010-04-06 09:56:49,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:56:50,7, GSM1: <- +CREG: 0,1 OK
2010-04-06 09:56:50,6, GSM1: Modem is registered to the network
2010-04-06 09:56:50,6, GSM1: Selecting PDU mode
2010-04-06 09:56:50,7, GSM1: -> AT+CMGF=0
2010-04-06 09:56:50,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:56:50,7, GSM1: <- OK
2010-04-06 09:56:50,7, GSM1: -> AT+CMGS=22
2010-04-06 09:56:50,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:56:51,7, GSM1: <- >
2010-04-06 09:56:51,7, GSM1: -> 0011000A9174894643430000FF0AD4F29C0E4A83C8E133
2010-04-06 09:56:51,7, GSM1: Command is sent, waiting for the answer
2010-04-06 09:57:52,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-04-06 09:57:52,7, GSM1: <-
2010-04-06 09:57:52,3, GSM1: The modem did not answer (expected OK).
2010-04-06 09:57:52,4, GSM1: Sending SMS to 4798****** failed
2010-04-06 09:57:52,6, GSM1: Deleted file /var/spool/sms/checked/send_w27754
smsd.conf:
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
#errorsleeptime = 0
#blocktime = 1
[GSM1]
device = /dev/ttyACM0
incoming = no
report = no
I've been playing around with additional config settings without success so I thought I'd give this forum a try.
Could anyone give me a hint on config changes or other ways to solve this. I'm gonna use this solution sending Nagios alerts so its not preferred to set smstools retrying to 0 (if possible?) and assume that everything is fine.
Thanks,
Thomas
|