storner: Hmm, well there is some sort of sharing going on. But it seems rather skewed:
$ grep "SMS sent" /var/log/smstools/smsd.log |awk '{print $3}'|sort|uniq -c
253 GSM1:
808 GSM2:
Henrik
|
storner: Debian Linux:
3.1.11:
Smsd installed from: package repository
Huawei USB modem, Siemens GSM modem:
Interface: One USB, one serial
I've setup a system with two GSM modems - one USB based, one via a serial cable. Both are listed in the "devices" section as "devices = GSM1, GSM2" and corresponding [GSM1] and [GSM2] sections further down in the config file.
Only difference in the configuration is the SIM-card pin-code and the serial port. Each modem works fine independently.
I was expecting smsd to distribute the load between the two modems, but that does not appear to happen. Looking at the logfile it seems that GSM2 (the serial port modem) is being used for all of the transmissions.
Did I misunderstand something ? Or is there an error in my setup ? My full smsd.conf (minus comments) is here:
devices = GSM1,GSM2
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
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
stats = /var/log/smstools/smsd_stats
loglevel = 6
delaytime = 900
delaytime_mainprocess = 10
receive_before_send = no
autosplit = 3
[GSM1]
device = /dev/ttyUSB0
baudrate = 115200
send_handshake_select = no
rtscts = yes
incoming = no
pin = 1234
[GSM2]
device = /dev/ttyS0
baudrate = 9600
send_handshake_select = no
rtscts = yes
incoming = no
pin = 1234
|