Version of smsd: 3.1.15
Smsd installed from: sources
Name and model of a modem / phone: Huawei E220
Interface: USB
I'm preparing everything to put 3 Huawei E220 working at same time with SMSTools & Playsms!
But for now, i'm would like some help to see, if i followed the instuctions correctly!
Clearing doubts, tha main idea is send SMS, thru each modem corresponding the prefix number to the right modem.
Example: Sms To +35196 = TMN | +35191 = Vodafone | +35193 = Optimus
When I send an SMS thru one of this numbers, the queues will choose the right modem!
Here is my smsd.conf. I'll apreciate some help to see if i did the right configuration.
Thanks for all the help!
____________________________________________________________________________
# Global configuration
devices = E220tmn, E220optimus, E220vodafone
loglevel = 7
stats = /var/log/sms/stats
logfile = /var/log/sms/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
[queues]
optimus = /var/spool/sms/optimus
tmn = /var/spool/sms/tmn
vodafone = /var/spool/sms/vodafone
[providers]
optimus = 93
tmn = 96
Vodafone = 91
delaytime = 10
errorsleeptime = 4
blocktime = 180
autosplit = 3
receive_before_send = yes
national_prefixes = +351
# Modem configuration
[E220tmn]
device = /dev/ttyUSB0
init = AT^CURC=0
memory_start=0
queues = tmn
incoming = yes
report = yes
smsc = +351962100000
baudrate = 19200
[E220optimus]
device = /dev/ttyUSB0
init = AT^CURC=0
memory_start=0
queues = optimus
incoming = yes
report = yes
smsc = +35193121314
baudrate = 19200
[E220vodafone]
device = /dev/ttyUSB0
init = AT^CURC=0
memory_start=0
queues = vodafone
incoming = yes
report = yes
smsc = +351911616161
baudrate = 19200
devices = E220tmn, E220optimus, E220vodafone
loglevel = 7
stats = /var/log/sms/stats
logfile = /var/log/sms/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
[queues]
optimus = /var/spool/sms/optimus
tmn = /var/spool/sms/tmn
vodafone = /var/spool/sms/vodafone
[providers]
optimus = 93
tmn = 96
Vodafone = 91
delaytime = 10
errorsleeptime = 4
blocktime = 180
autosplit = 3
receive_before_send = yes
national_prefixes = +351
# Modem configuration
[E220tmn]
device = /dev/ttyUSB0
init = AT^CURC=0
memory_start=0
queues = tmn
incoming = yes
report = yes
smsc = +351962100000
baudrate = 19200
[E220optimus]
device = /dev/ttyUSB0
init = AT^CURC=0
memory_start=0
queues = optimus
incoming = yes
report = yes
smsc = +35193121314
baudrate = 19200
[E220vodafone]
device = /dev/ttyUSB0
init = AT^CURC=0
memory_start=0
queues = vodafone
incoming = yes
report = yes
smsc = +351911616161
baudrate = 19200
« Last edit by MareAlta on Mon Sep 30, 2013 00:32, 135 months ago. »