danilo: Operating system name and version: Debian Lenny
Version of smsd: 3.1
Smsd installed from:package repository
Name and model of a modem / phone: Teltonika ModemUSB/G10
Interface: USB
Hi. I am trying to send sms messages from a Debian machine. Currently, receiving sms messages works without a problem, but when I try to send a message, I receive the following error:
Explanation: Network out of order
The modem said ERROR or did not answer.
This is the full log:
2010-07-19 10:26:55,2, smsd: Smsd v3.1 started.
2010-07-19 10:26:55,2, smsd: Running as smsd:dialout.
2010-07-19 10:26:55,6, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-07-19 10:26:55,6, GSM1: Modem handler 0 has started. PID: 31822.
2010-07-19 10:26:55,6, smsd: Outgoing file checker has started. PID: 31821.
2010-07-19 10:26:55,6, GSM1: Checking device for incoming SMS
2010-07-19 10:26:55,6, GSM1: Checking if modem is ready
2010-07-19 10:26:55,7, GSM1: -> AT
2010-07-19 10:26:55,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:26:56,7, GSM1: <- AT OK
2010-07-19 10:26:56,6, GSM1: Pre-initializing modem
2010-07-19 10:26:56,7, GSM1: -> ATE0+CMEE=1
2010-07-19 10:26:56,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:26:56,7, GSM1: <- ATE0+CMEE=1 OK
2010-07-19 10:26:56,6, GSM1: Checking if modem needs PIN
2010-07-19 10:26:56,7, GSM1: -> AT+CPIN?
2010-07-19 10:26:56,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:26:56,7, GSM1: <- +CPIN: SIM PIN OK
2010-07-19 10:26:56,5, GSM1: Modem needs PIN, entering PIN...
2010-07-19 10:26:56,7, GSM1: -> AT+CPIN="1234"
2010-07-19 10:26:56,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:26:57,7, GSM1: <- OK
2010-07-19 10:26:57,7, GSM1: -> AT+CPIN?
2010-07-19 10:26:57,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:26:57,7, GSM1: <- +CPIN: READY OK
2010-07-19 10:26:57,6, GSM1: PIN Ready
2010-07-19 10:26:57,6, GSM1: Checking if Modem is registered to the network
2010-07-19 10:26:57,7, GSM1: -> AT+CREG?
2010-07-19 10:26:57,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:26:57,7, GSM1: <- +CREG: 0,0 OK
2010-07-19 10:26:57,5, GSM1: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE TRYING 1. TIME
2010-07-19 10:26:58,7, GSM1: -> AT+CSQ
2010-07-19 10:26:58,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:26:59,7, GSM1: <- +CSQ: 99,99 OK
2010-07-19 10:26:59,7, GSM1: -> AT+CREG?
2010-07-19 10:26:59,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:26:59,7, GSM1: <- +CREG: 0,0 OK
2010-07-19 10:26:59,5, GSM1: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE TRYING 2. TIME
2010-07-19 10:27:00,7, GSM1: -> AT+CSQ
2010-07-19 10:27:00,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:00,7, GSM1: <- +CSQ: 99,99 OK
2010-07-19 10:27:00,7, GSM1: -> AT+CREG?
2010-07-19 10:27:00,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:01,7, GSM1: <- +CREG: 0,0 OK
2010-07-19 10:27:01,5, GSM1: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE TRYING 3. TIME
2010-07-19 10:27:02,7, GSM1: -> AT+CSQ
2010-07-19 10:27:02,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:02,7, GSM1: <- +CSQ: 99,99 OK
2010-07-19 10:27:02,7, GSM1: -> AT+CREG?
2010-07-19 10:27:02,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:02,7, GSM1: <- +CREG: 0,0 OK
2010-07-19 10:27:02,5, GSM1: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE TRYING 4. TIME
2010-07-19 10:27:03,7, GSM1: -> AT+CSQ
2010-07-19 10:27:03,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:03,7, GSM1: <- +CSQ: 21,99 OK
2010-07-19 10:27:03,7, GSM1: -> AT+CREG?
2010-07-19 10:27:03,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:04,7, GSM1: <- +CREG: 0,1 OK
2010-07-19 10:27:04,6, GSM1: Modem is registered to the network
2010-07-19 10:27:04,6, GSM1: Selecting PDU mode
2010-07-19 10:27:04,7, GSM1: -> AT+CMGF=0
2010-07-19 10:27:04,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:04,7, GSM1: <- OK
2010-07-19 10:27:04,6, GSM1: Changing SMSC
2010-07-19 10:27:04,7, GSM1: -> AT+CSCA="+41774750680"
2010-07-19 10:27:04,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:05,7, GSM1: <- OK
2010-07-19 10:27:05,7, GSM1: -> AT+CIMI
2010-07-19 10:27:05,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:05,7, GSM1: <- 228014700441923 OK
2010-07-19 10:27:05,6, GSM1: IMSI: 228014700441923
2010-07-19 10:27:05,6, GSM1: Checking memory size
2010-07-19 10:27:05,7, GSM1: -> AT+CPMS?
2010-07-19 10:27:05,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:05,7, GSM1: <- +CPMS: "MT",0,350,"MT",0,350,"MT",0,350 OK
2010-07-19 10:27:05,6, GSM1: Used memory is 0 of 350
2010-07-19 10:27:05,6, GSM1: No SMS received
2010-07-19 10:27:15,6, GSM1: Checking device for incoming SMS
2010-07-19 10:27:15,6, GSM1: Checking if modem is ready
2010-07-19 10:27:15,7, GSM1: -> AT
2010-07-19 10:27:15,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:15,7, GSM1: <- OK
2010-07-19 10:27:15,6, GSM1: Pre-initializing modem
2010-07-19 10:27:15,7, GSM1: -> ATE0+CMEE=1
2010-07-19 10:27:15,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:16,7, GSM1: <- OK
2010-07-19 10:27:16,6, GSM1: Checking if modem needs PIN
2010-07-19 10:27:16,7, GSM1: -> AT+CPIN?
2010-07-19 10:27:16,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:16,7, GSM1: <- +CPIN: READY OK
2010-07-19 10:27:16,6, GSM1: Checking if Modem is registered to the network
2010-07-19 10:27:16,7, GSM1: -> AT+CREG?
2010-07-19 10:27:16,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:16,7, GSM1: <- +CREG: 0,1 OK
2010-07-19 10:27:16,6, GSM1: Modem is registered to the network
2010-07-19 10:27:16,6, GSM1: Selecting PDU mode
2010-07-19 10:27:16,7, GSM1: -> AT+CMGF=0
2010-07-19 10:27:16,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:17,7, GSM1: <- OK
2010-07-19 10:27:17,6, GSM1: Changing SMSC
2010-07-19 10:27:17,7, GSM1: -> AT+CSCA="+41774750680"
2010-07-19 10:27:17,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:17,7, GSM1: <- OK
2010-07-19 10:27:17,6, GSM1: Checking memory size
2010-07-19 10:27:17,7, GSM1: -> AT+CPMS?
2010-07-19 10:27:17,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:17,7, GSM1: <- +CPMS: "MT",0,350,"MT",0,350,"MT",0,350 OK
2010-07-19 10:27:17,6, GSM1: Used memory is 0 of 350
2010-07-19 10:27:17,6, GSM1: No SMS received
2010-07-19 10:27:26,6, smsd: Moved file /var/spool/sms/outgoing/send_7 to /var/spool/sms/checked
2010-07-19 10:27:27,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_7
2010-07-19 10:27:27,6, GSM1: Sending SMS from to 41797289396
2010-07-19 10:27:27,6, GSM1: Checking if modem is ready
2010-07-19 10:27:27,7, GSM1: -> AT
2010-07-19 10:27:27,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:28,7, GSM1: <- OK
2010-07-19 10:27:28,6, GSM1: Pre-initializing modem
2010-07-19 10:27:28,7, GSM1: -> ATE0+CMEE=1
2010-07-19 10:27:28,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:28,7, GSM1: <- OK
2010-07-19 10:27:28,6, GSM1: Checking if modem needs PIN
2010-07-19 10:27:28,7, GSM1: -> AT+CPIN?
2010-07-19 10:27:28,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:28,7, GSM1: <- +CPIN: READY OK
2010-07-19 10:27:28,6, GSM1: Checking if Modem is registered to the network
2010-07-19 10:27:28,7, GSM1: -> AT+CREG?
2010-07-19 10:27:28,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:29,7, GSM1: <- +CREG: 0,1 OK
2010-07-19 10:27:29,6, GSM1: Modem is registered to the network
2010-07-19 10:27:29,6, GSM1: Selecting PDU mode
2010-07-19 10:27:29,7, GSM1: -> AT+CMGF=0
2010-07-19 10:27:29,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:29,7, GSM1: <- OK
2010-07-19 10:27:29,6, GSM1: Changing SMSC
2010-07-19 10:27:29,7, GSM1: -> AT+CSCA="+41774750680"
2010-07-19 10:27:29,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:29,7, GSM1: <- OK
2010-07-19 10:27:29,7, GSM1: -> AT+CMGS=21
2010-07-19 10:27:29,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:30,7, GSM1: <- >
2010-07-19 10:27:30,7, GSM1: -> 0011000B911497279893F60000FF08EDF27C1E3E9715
2010-07-19 10:27:30,7, GSM1: Command is sent, waiting for the answer
2010-07-19 10:27:33,7, GSM1: <- +CMS ERROR: 38
2010-07-19 10:27:33,7, GSM1: Explanation: Network out of order
2010-07-19 10:27:33,3, GSM1: The modem said ERROR or did not answer.
2010-07-19 10:27:33,5, GSM1: Waiting 10 sec. before retrying
2010-07-19 10:27:38,2, smsd: Smsd main program is awaiting the termination of all modem handlers.
2010-07-19 10:27:38,4, GSM1: Sending SMS to 41797289396 failed
2010-07-19 10:27:38,6, GSM1: Moved file /var/spool/sms/checked/send_7 to /var/spool/sms/failed
2010-07-19 10:27:38,2, GSM1: Modem handler 0 terminated.
2010-07-19 10:27:38,2, smsd: Smsd main program terminated.
As I can receive messages, I don't think the network should make any problems. I would appreciate any help.
|