tahnan: Hello, I have configured smsd and my server is sending sms. But I am getting every sms 3 times. Below is the log file. IT is appear that service trying to send sms and it is trying three times, I am getting the sms but service thinking sms sending is failed. can any one help?
2014-07-19 10:52:35,6, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2014-07-19 10:52:35,6, GSM1: Modem handler 0 has started. Will only send messages.
2014-07-19 10:52:35,6, smsd: outgoing file checker has started.
2014-07-19 10:52:46,6, smsd: Moved file /var/spool/sms/outgoing/send_S27623 to /var/spool/sms/checked
2014-07-19 10:52:56,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_S27623
2014-07-19 10:52:56,6, GSM1: Sending SMS from to 8801678004595
2014-07-19 10:52:56,6, GSM1: Checking if modem is ready
2014-07-19 10:52:56,7, GSM1: -> AT
2014-07-19 10:52:56,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:52:57,7, GSM1: <- OK
2014-07-19 10:52:57,6, GSM1: Pre-initializing modem
2014-07-19 10:52:57,7, GSM1: -> ATE0+CMEE=1
2014-07-19 10:52:57,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:52:57,7, GSM1: <- OK
2014-07-19 10:52:57,6, GSM1: Initializing modem
2014-07-19 10:52:57,7, GSM1: -> AT+CSQ
2014-07-19 10:52:57,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:52:57,7, GSM1: <- +CSQ: 16,99
OK
2014-07-19 10:52:57,6, GSM1: Checking if Modem is registered to the network
2014-07-19 10:52:57,7, GSM1: -> AT+CREG?
2014-07-19 10:52:57,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:52:57,7, GSM1: <- +CREG: 0,1
OK
2014-07-19 10:52:57,6, GSM1: Modem is registered to the network
2014-07-19 10:52:57,6, GSM1: Selecting PDU mode
2014-07-19 10:52:57,7, GSM1: -> AT+CMGF=0
2014-07-19 10:52:57,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:52:57,7, GSM1: <- OK
2014-07-19 10:52:57,6, GSM1: Querying IMSI
2014-07-19 10:52:57,7, GSM1: -> AT+CIMI
2014-07-19 10:52:57,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:52:58,7, GSM1: <- 470072650088914
OK
2014-07-19 10:52:58,6, GSM1: IMSI: 470072650088914
2014-07-19 10:52:58,7, GSM1: -> AT+CMGS=18
2014-07-19 10:52:58,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:52:58,7, GSM1: <- >
2014-07-19 10:52:58,7, GSM1: -> 0011000D91881076084095F50000FF03363A1A
2014-07-19 10:52:58,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:53:28,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred.
2014-07-19 10:53:28,7, GSM1: <-
2014-07-19 10:53:28,3, GSM1: The modem said ERROR or did not answer.
2014-07-19 10:53:28,5, GSM1: Waiting 10 sec. before retrying
2014-07-19 10:53:38,6, GSM1: Checking if modem is ready
2014-07-19 10:53:38,7, GSM1: -> AT
2014-07-19 10:53:38,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:53:39,7, GSM1: <- OK
2014-07-19 10:53:39,6, GSM1: Pre-initializing modem
2014-07-19 10:53:39,7, GSM1: -> ATE0+CMEE=1
2014-07-19 10:53:39,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:53:39,7, GSM1: <- OK
2014-07-19 10:53:39,6, GSM1: Initializing modem
2014-07-19 10:53:39,7, GSM1: -> AT+CSQ
2014-07-19 10:53:39,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:53:39,7, GSM1: <- +CSQ: 16,99
OK
2014-07-19 10:53:39,6, GSM1: Checking if Modem is registered to the network
2014-07-19 10:53:39,7, GSM1: -> AT+CREG?
2014-07-19 10:53:39,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:53:39,7, GSM1: <- +CREG: 0,1
OK
2014-07-19 10:53:39,6, GSM1: Modem is registered to the network
2014-07-19 10:53:39,6, GSM1: Selecting PDU mode
2014-07-19 10:53:39,7, GSM1: -> AT+CMGF=0
2014-07-19 10:53:39,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:53:39,7, GSM1: <- OK
2014-07-19 10:53:39,7, GSM1: -> AT+CMGS=18
2014-07-19 10:53:39,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:53:40,7, GSM1: <- >
2014-07-19 10:53:40,7, GSM1: -> 0011000D91881076084095F50000FF03363A1A
2014-07-19 10:53:40,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:54:10,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred.
2014-07-19 10:54:10,7, GSM1: <-
2014-07-19 10:54:10,3, GSM1: The modem said ERROR or did not answer.
2014-07-19 10:54:10,5, GSM1: Waiting 10 sec. before retrying
2014-07-19 10:54:20,6, GSM1: Checking if modem is ready
2014-07-19 10:54:20,7, GSM1: -> AT
2014-07-19 10:54:20,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:54:20,7, GSM1: <- OK
2014-07-19 10:54:20,6, GSM1: Pre-initializing modem
2014-07-19 10:54:20,7, GSM1: -> ATE0+CMEE=1
2014-07-19 10:54:20,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:54:21,7, GSM1: <- OK
2014-07-19 10:54:21,6, GSM1: Initializing modem
2014-07-19 10:54:21,7, GSM1: -> AT+CSQ
2014-07-19 10:54:21,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:54:21,7, GSM1: <- +CSQ: 16,99
OK
2014-07-19 10:54:21,6, GSM1: Checking if Modem is registered to the network
2014-07-19 10:54:21,7, GSM1: -> AT+CREG?
2014-07-19 10:54:21,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:54:21,7, GSM1: <- +CREG: 0,1
OK
2014-07-19 10:54:21,6, GSM1: Modem is registered to the network
2014-07-19 10:54:21,6, GSM1: Selecting PDU mode
2014-07-19 10:54:21,7, GSM1: -> AT+CMGF=0
2014-07-19 10:54:21,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:54:21,7, GSM1: <- OK
2014-07-19 10:54:21,7, GSM1: -> AT+CMGS=18
2014-07-19 10:54:21,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:54:22,7, GSM1: <- >
2014-07-19 10:54:22,7, GSM1: -> 0011000D91881076084095F50000FF03363A1A
2014-07-19 10:54:22,7, GSM1: Command is sent, waiting for the answer
2014-07-19 10:54:52,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred.
2014-07-19 10:54:52,7, GSM1: <-
2014-07-19 10:54:52,3, GSM1: The modem said ERROR or did not answer.
2014-07-19 10:54:52,4, GSM1: Sending SMS to 8801678004595 failed
2014-07-19 10:54:52,6, GSM1: Deleted file /var/spool/sms/checked/send_S27623
|