Keywords: Mode: All keywords (AND) |
Sun Mar 20, 2016 13:54
|
pgsyogi: Operating system name and version: Ubuntu 12.04
Version of smsd: 3.1.15
Smsd installed from: sources
Name and model of a modem / phone: Huawei E303
Interface: USB
Atm we have a smstools set for sending messages for both nagios and clients... which is kinda bad. I would like to change it to use queues so for example queue1 would be for nagios and queue2 would be for everything else (including clients sms)
My config looks like this:
devices = GSM2, GSM1
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
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
receive_before_send = no
autosplit = 3
### new settings
delaytime = 5
delaytime_mainprocess = 3
errorsleeptime = 2
loglevel = 5
logfile = /var/log/smsd.log
incoming_utf8 = no
[queues]
cmk = /var/spool/sms/queue1/
rest = /var/spool/sms/queue2/
[GSM1]
#MODEM for everything else
device = /dev/ttyUSB0
incoming = yes
check_network = 2
queues = rest
[GSM2]
#MODEM for CMK
device = /dev/ttyUSB4
incoming = yes
check_network = 2
queues = cmk
What should i do so each queue would have a reparate incomming/outgoing/etc folders that would be accessable and used by smstools ?
If i move each folder and place it separatly under GSM1/2 setings smstools wont start. If i leave them where they are now it aint helping me one bit cuz i cant force for example 'sendsms xxxxxxxxxxx test' to use certain modem
|
Wed Nov 25, 2015 08:48
|
pgsyogi: Operating system name and version: Debian guest container @ Proxmox 3.4
Version of smsd: 3.X
Smsd installed from: sources
Name and model of a modem / phone: 12d1:1001
Interface: USB
I am lookig for a solution to force SMSTools to send SMS via certain GSM
For example:
I now have a VM with 4 sim cards in Huawei modems, lets call them GSM[1,2,3,4]
And i would want at least to know if its possible to send sms with 1 script via GSM[1,2,3] and with another via GSM4.
If it's not possible i can always clone the machine and use 1 gsm in 2nd guest system but I want to do that only if there is nothing else i can do.
|