SEKCobra: Operating system name and version: Fedora 17 for Raspberry PI
Version of smsd: 3.1.15
Smsd installed from:package repository
Name and model of a modem / phone: k550i
Interface: USB
So a bash script used sendsms to put two messages into the spooler, and the log shows them being checked, but then only one is ever sent. What can I do to prevent this in the future?
2014-11-02 20:26:13,5, smsd: Moved file /var/spool/sms/outgoing/send_4gtyqE to /var/spool/sms/checked
2014-11-02 20:26:14,5, smsd: Moved file /var/spool/sms/outgoing/send_Ga3TyD to /var/spool/sms/checked
2014-11-02 20:26:15,3, k550i2: Modem is not ready to answer commands (Timeouts: 0)
2014-11-02 20:26:20,5, k550i1: SMS sent, Message_id: 102, To: ***, sending time 7 sec.
|
SEKCobra: So I had my k550i + Raspberry Pi set up as an alert gateway for a long time, but incoming never worked. Today I decided to look into it, and with some help from this thread:
http://smstools3.kekekasvi.com/topic.php?id=184
I was able to get it working. So here's my config!
devices = k550i1,k550i2
logfile = /var/log/smsd.log
loglevel = 5 #7 for debug
admin_to = 436xxx
[k550i1]
device = /dev/ttyACM0
incoming = yes
init = AT+CPMS="ME","ME","ME"
#pin = 1111
[k550i2]
device = /dev/ttyACM1
incoming = yes
init = AT+CPMS="ME","ME","ME"
#pin = 1111
|