quanglnd214: I cannot send SMS on device Huawei E303u-1
smsd.conf
devices = GSM1
logfile = /var/log/sms/smsd.log
loglevel = 7
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
delaytime = 1
errorsleeptime = 2
blocktime = 180
autosplit = 3
receive_before_send = no
[GSM1]
init = ATZ
init = AT+CNMI=0,0,0,1,0
device = /dev/ttyUSB1
incoming = yes
baudrate = 9600
smsc = 84900041202
smsd.log
014-03-07 16:17:47,5, smsd: Moved file /var/spool/sms/outgoing/send_UsnRum to /var/spool/sms/checked
2014-03-07 16:17:55,6, GSM1: Checking device for incoming SMS
2014-03-07 16:17:55,6, GSM1: Checking if modem is ready
2014-03-07 16:17:55,7, GSM1: -> AT
2014-03-07 16:17:55,7, GSM1: Command is sent, waiting for the answer
2014-03-07 16:18:00,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2014-03-07 16:18:00,7, GSM1: <-
2014-03-07 16:18:00,7, GSM1: -> .
2014-03-07 16:18:00,7, GSM1: Command is sent, waiting for the answer
2014-03-07 16:18:05,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2014-03-07 16:18:05,7, GSM1: <-
2014-03-07 16:18:05,7, GSM1: -> AT
/var/spool/failed
To: +84934169203
Modem: GSM1
IMSI:
Fail_reason: Modem initialization failed
Failed: 14-03-07 16:14:55
Test
How should i do ?
|
quanglnd214: Hi,
I try to start service sms but it's error :
" Starting SMS Daemon: Stats directory /var/log/sms/stats cannot be opened.
There was 1 major problem found.
Cannot start. See the log file for details.
smsd failed. "
How can i fix it ?
|