Код: Выделить всё
# cat /var/log/smsd/smsd.log
1
2010-02-17 15:12:20,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 2429.
2010-02-17 15:12:20,2, GSM1: Modem handler 0 terminated. PID: 2430, was started 10-02-17 15:11:14.
2010-02-17 15:12:20,2, smsd: Smsd mainprocess terminated. PID 2429, was started 10-02-17 15:11:14.
2010-02-17 15:12:20,2, smsd: Smsd v3.1.5 started.
2010-02-17 15:12:20,2, smsd: Running as root:wheel.
2010-02-17 15:12:20,7, smsd: Running startup_check (shell): /tmp/smsd_script.eKkUjS /tmp/smsd_data.ZAXbHt
2010-02-17 15:12:20,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0
2010-02-17 15:12:20,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-02-17 15:12:20,5, smsd: Outgoing file checker has started. PID: 2496.
2010-02-17 15:12:20,5, GSM1: Modem handler 0 has started. PID: 2497. Will only send messages.
2010-02-17 15:12:20,5, GSM1: Using check_memory_method 1: CPMS is used.
2010-02-17 15:12:20,6, GSM1: Checking if modem is ready
2010-02-17 15:12:20,7, GSM1: -> AT
2010-02-17 15:12:20,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:20,7, GSM1: <- AT OK
2010-02-17 15:12:20,6, GSM1: Pre-initializing modem
2010-02-17 15:12:20,7, GSM1: -> ATE0+CMEE=1
2010-02-17 15:12:20,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:21,7, GSM1: <- ATE0+CMEE=1 OK
2010-02-17 15:12:21,6, GSM1: Checking if modem needs PIN
2010-02-17 15:12:21,7, GSM1: -> AT+CPIN?
2010-02-17 15:12:21,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:21,7, GSM1: <- +CPIN: READY OK
2010-02-17 15:12:21,6, GSM1: Initializing modem
2010-02-17 15:12:21,7, GSM1: -> AT+CPMS="MT"
2010-02-17 15:12:21,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:22,7, GSM1: <- +CPMS: 1,255,1,255,1,255 OK
2010-02-17 15:12:22,7, GSM1: -> AT+CSQ
2010-02-17 15:12:22,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:22,7, GSM1: <- +CSQ: 14,99 OK
2010-02-17 15:12:22,6, GSM1: Checking if Modem is registered to the network
2010-02-17 15:12:22,7, GSM1: -> AT+CREG?
2010-02-17 15:12:22,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:23,7, GSM1: <- +CREG: 0,1 OK
2010-02-17 15:12:23,6, GSM1: Modem is registered to the network
2010-02-17 15:12:23,6, GSM1: Selecting PDU mode
2010-02-17 15:12:23,7, GSM1: -> AT+CMGF=0
2010-02-17 15:12:23,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:23,7, GSM1: <- OK
2010-02-17 15:12:23,7, GSM1: -> AT+CIMI
2010-02-17 15:12:23,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:24,7, GSM1: <- 250992106299372 OK
2010-02-17 15:12:24,7, GSM1: -> AT+CGSN
2010-02-17 15:12:24,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:24,7, GSM1: <- 359297010263308 OK
2010-02-17 15:12:24,5, GSM1: CGSN: 359297010263308
2010-02-17 15:12:24,5, GSM1: IMSI: 250992106299372
2010-02-17 15:12:24,6, GSM1: Checking if reading of messages is supported
2010-02-17 15:12:24,7, GSM1: -> AT+CPMS?
2010-02-17 15:12:24,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:25,7, GSM1: <- +CPMS: "MT",1,255,"ME",1,255,"ME",1,255 OK
2010-02-17 15:12:25,5, GSM1: Waiting for messages to send...
2010-02-17 15:12:31,5, smsd: Moved file /var/spool/sms/outgoing/send_1bvxaW to /var/spool/sms/checked
2010-02-17 15:12:32,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_1bvxaW
2010-02-17 15:12:32,6, GSM1: Sending SMS from to 79111661242
2010-02-17 15:12:32,6, GSM1: Checking if modem is ready
2010-02-17 15:12:32,7, GSM1: -> AT
2010-02-17 15:12:32,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:32,7, GSM1: <- OK
2010-02-17 15:12:32,6, GSM1: Pre-initializing modem
2010-02-17 15:12:33,7, GSM1: -> ATE0+CMEE=1
2010-02-17 15:12:33,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:33,7, GSM1: <- OK
2010-02-17 15:12:33,6, GSM1: Initializing modem
2010-02-17 15:12:33,7, GSM1: -> AT+CPMS="MT"
2010-02-17 15:12:33,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:33,7, GSM1: <- +CPMS: 1,255,1,255,1,255 OK
2010-02-17 15:12:34,7, GSM1: -> AT+CSQ
2010-02-17 15:12:34,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:34,7, GSM1: <- +CSQ: 14,99 OK
2010-02-17 15:12:34,6, GSM1: Checking if Modem is registered to the network
2010-02-17 15:12:34,7, GSM1: -> AT+CREG?
2010-02-17 15:12:34,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:34,7, GSM1: <- +CREG: 0,1 OK
2010-02-17 15:12:34,6, GSM1: Modem is registered to the network
2010-02-17 15:12:34,6, GSM1: Selecting PDU mode
2010-02-17 15:12:35,7, GSM1: -> AT+CMGF=0
2010-02-17 15:12:35,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:35,7, GSM1: <- OK
2010-02-17 15:12:35,7, GSM1: -> AT+CMGS=18
2010-02-17 15:12:35,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:35,7, GSM1: <- >
2010-02-17 15:12:35,7, GSM1: -> 0011000B919711611642F20000FF04F4F29C0E
2010-02-17 15:12:36,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:37,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2010-02-17 15:12:37,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2010-02-17 15:12:37,5, GSM1: Waiting 10 sec. before retrying
2010-02-17 15:12:47,6, GSM1: Checking if modem is ready
2010-02-17 15:12:48,3, GSM1: Unexpected input: ^BOOT:10263308,0,0,0,65
2010-02-17 15:12:48,7, GSM1: -> AT
2010-02-17 15:12:48,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:48,7, GSM1: <- OK
2010-02-17 15:12:48,6, GSM1: Pre-initializing modem
2010-02-17 15:12:48,7, GSM1: -> ATE0+CMEE=1
2010-02-17 15:12:48,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:48,7, GSM1: <- OK
2010-02-17 15:12:48,6, GSM1: Initializing modem
2010-02-17 15:12:48,7, GSM1: -> AT+CPMS="MT"
2010-02-17 15:12:49,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:49,7, GSM1: <- +CPMS: 1,255,1,255,1,255 OK
2010-02-17 15:12:49,7, GSM1: -> AT+CSQ
2010-02-17 15:12:49,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:49,7, GSM1: <- +CSQ: 14,99 OK
2010-02-17 15:12:49,6, GSM1: Checking if Modem is registered to the network
2010-02-17 15:12:49,7, GSM1: -> AT+CREG?
2010-02-17 15:12:50,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:50,7, GSM1: <- +CREG: 0,1 OK
2010-02-17 15:12:50,6, GSM1: Modem is registered to the network
2010-02-17 15:12:50,6, GSM1: Selecting PDU mode
2010-02-17 15:12:50,7, GSM1: -> AT+CMGF=0
2010-02-17 15:12:50,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:50,7, GSM1: <- OK
2010-02-17 15:12:50,7, GSM1: -> AT+CMGS=18
2010-02-17 15:12:50,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:51,7, GSM1: <- >
2010-02-17 15:12:51,7, GSM1: -> 0011000B919711611642F20000FF04F4F29C0E
2010-02-17 15:12:51,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:12:53,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2010-02-17 15:12:53,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2010-02-17 15:12:53,5, GSM1: Waiting 10 sec. before retrying
2010-02-17 15:13:03,6, GSM1: Checking if modem is ready
2010-02-17 15:13:03,7, GSM1: -> AT
2010-02-17 15:13:03,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:13:03,7, GSM1: <- OK
2010-02-17 15:13:03,6, GSM1: Pre-initializing modem
2010-02-17 15:13:04,7, GSM1: -> ATE0+CMEE=1
2010-02-17 15:13:04,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:13:04,7, GSM1: <- OK
2010-02-17 15:13:04,6, GSM1: Initializing modem
2010-02-17 15:13:04,7, GSM1: -> AT+CPMS="MT"
2010-02-17 15:13:04,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:13:04,7, GSM1: <- +CPMS: 1,255,1,255,1,255 OK
2010-02-17 15:13:05,7, GSM1: -> AT+CSQ
2010-02-17 15:13:05,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:13:05,7, GSM1: <- +CSQ: 14,99 OK
2010-02-17 15:13:05,6, GSM1: Checking if Modem is registered to the network
2010-02-17 15:13:05,7, GSM1: -> AT+CREG?
2010-02-17 15:13:05,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:13:05,7, GSM1: <- +CREG: 0,1 OK
2010-02-17 15:13:05,6, GSM1: Modem is registered to the network
2010-02-17 15:13:05,6, GSM1: Selecting PDU mode
2010-02-17 15:13:05,7, GSM1: -> AT+CMGF=0
2010-02-17 15:13:06,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:13:06,7, GSM1: <- OK
2010-02-17 15:13:06,7, GSM1: -> AT+CMGS=18
2010-02-17 15:13:06,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:13:06,7, GSM1: <- >
2010-02-17 15:13:06,7, GSM1: -> 0011000B919711611642F20000FF04F4F29C0E
2010-02-17 15:13:06,7, GSM1: Command is sent, waiting for the answer
2010-02-17 15:13:08,7, GSM1: <- +CMS ERROR: 500 (Unknown error)
2010-02-17 15:13:08,3, GSM1: The modem answer was not OK: +CMS ERROR: 500 (Unknown error)
2010-02-17 15:13:08,4, GSM1: Sending SMS to 79111661242 failed
2010-02-17 15:13:08,6, GSM1: Deleted file /var/spool/sms/checked/send_1bvxaW