zhhh: Operating system name and version: fedora 22 server
Version of smsd: 3.1.15
Smsd installed from: package repository
Name and model of a modem / phone: huawei e173
Interface: USB
smsd.log
2015-09-01 14:38:03,2, smsd: Smsd v3.1.15 started.
2015-09-01 14:38:03,2, smsd: Running as smstools:smstools.
2015-09-01 14:38:03,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.V46PbE /tmp/smsd_data.WwZehR
2015-09-01 14:38:03,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2015-09-01 14:38:03,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2015-09-01 14:38:03,5, smsd: Outgoing file checker has started. PID: 1827.
2015-09-01 14:38:03,7, smsd: All PID's: 1827,1828
2015-09-01 14:38:03,5, GSM1: Modem handler 0 has started. PID: 1828. Will only send messages.
2015-09-01 14:38:03,6, GSM1: Checking if modem is ready
2015-09-01 14:38:03,7, GSM1: -> AT
2015-09-01 14:38:03,7, GSM1: Command is sent, waiting for the answer
2015-09-01 14:38:04,7, GSM1: <- OK
2015-09-01 14:38:04,6, GSM1: Pre-initializing modem
2015-09-01 14:38:04,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2015-09-01 14:38:04,7, GSM1: Command is sent, waiting for the answer
2015-09-01 14:38:04,7, GSM1: <- OK
2015-09-01 14:38:04,7, GSM1: -> AT+CSQ
2015-09-01 14:38:04,7, GSM1: Command is sent, waiting for the answer
2015-09-01 14:38:05,7, GSM1: <- +CSQ: 21,99 OK
2015-09-01 14:38:05,6, GSM1: Signal Strength Indicator: (21,99) -71 dBm (Excellent), Bit Error Rate: not known or not detectable
2015-09-01 14:38:05,6, GSM1: Checking if Modem is registered to the network
2015-09-01 14:38:05,7, GSM1: -> AT+CREG?
2015-09-01 14:38:05,7, GSM1: Command is sent, waiting for the answer
2015-09-01 14:38:05,7, GSM1: <- +CREG: 2,1, 2543, 35EB OK
2015-09-01 14:38:05,6, GSM1: Modem is registered to the network
2015-09-01 14:38:05,6, GSM1: Location area code: 2543, Cell ID: 35EB
2015-09-01 14:38:05,7, GSM1: -> AT+CSQ
2015-09-01 14:38:05,7, GSM1: Command is sent, waiting for the answer
2015-09-01 14:38:05,7, GSM1: <- +CSQ: 21,99 OK
2015-09-01 14:38:05,6, GSM1: Signal Strength Indicator: (21,99) -71 dBm (Excellent), Bit Error Rate: not known or not detectable
2015-09-01 14:38:05,6, GSM1: Selecting PDU mode
2015-09-01 14:38:06,7, GSM1: -> AT+CMGF=0
2015-09-01 14:38:06,7, GSM1: Command is sent, waiting for the answer
2015-09-01 14:38:06,7, GSM1: <- OK
2015-09-01 14:38:06,7, GSM1: -> AT+CIMI
2015-09-01 14:38:06,7, GSM1: Command is sent, waiting for the answer
2015-09-01 14:38:06,7, GSM1: <- 2509ЧЧЧЧЧ8510ЧЧ OK
2015-09-01 14:38:06,7, GSM1: -> AT+CGSN
2015-09-01 14:38:06,7, GSM1: Command is sent, waiting for the answer
2015-09-01 14:38:07,7, GSM1: <- 861ЧЧЧЧЧЧ2333ЧЧ OK
2015-09-01 14:38:07,5, GSM1: CGSN: 861ЧЧЧЧЧЧ2333ЧЧ
2015-09-01 14:38:07,5, GSM1: IMSI: 2509ЧЧЧЧЧ8510ЧЧ
2015-09-01 14:38:07,5, GSM1: Waiting for messages to send...
2015-09-01 14:39:23,3, smsd: Cannot handle /var/spool/sms/outgoing/send_Z2uDA3: Dont know why. Check the file and directory permissions.
2015-09-01 14:39:33,3, smsd: Cannot handle /var/spool/sms/outgoing/send_Z2uDA3: Dont know why. Check the file and directory permissions.
2015-09-01 14:39:43,3, smsd: Cannot handle /var/spool/sms/outgoing/send_Z2uDA3: Dont know why. Check the file and directory permissions.
[root@localhost ~]# ls -l /var/spool/sms
итого 0
drwxrwxrwx. 2 smstools smstools 6 сен 1 14:38 checked
drwxrwxrwx. 2 smstools smstools 6 июл 14 15:07 failed
drwxrwxrwx. 2 smstools smstools 6 сен 1 14:38 incoming
drwxrwxrwx. 2 smstools smstools 6 сен 1 14:43 outgoing
drwxrwxrwx. 2 smstools smstools 6 сен 1 14:26 sent
smsd.conf
devices = GSM1
user = smstools
logfile = /var/log/smsd/smsd.log
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
loglevel = 7
PIDFILE= /var/run/smsd/smsd.pid
INFOFILE= /var/run/smsd/smsd.working
[GSM1]
device = /dev/ttyUSB0
pin = ignore
run cmd:
[root@localhost ~]# su smstools -c "smssend 7904XXXXXXX 'test message!'"
:'( hlp plz!
|