Operating system name and version: Ubuntu 10.04.3 LTS
Version of smsd: Version 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem and Huawei Technologies Co., Ltd. E620 USB Modem
Interface: USB

Hi all,
I tried to configure smstools do a multiple gateway in one machine, but won't work.
what do we want is, if somebody send to this gateway or no. (GSM1)12345XXXXXX then (GSM1)12345XXXXXX it should be reply and if somebody sent to my second gateway or no. (GSM2)67890XXXXXX then (GSM2)67890XXXXXX it should be reply also. Is there any solution ?

 For my testing: 
If we send message to (GSM1)12345XXXXXX no. and gateway from PLAYSMS >Administration > Main Configuration> Gateway Number is set to (GSM1)12345XXXXXX then we can SEND and RECEIVE messages OK, but if sending message to (GSM2)67890XXXXXX and gateway from PLAYSMS >Administration > Main Configuration> Gateway Number is set to (GSM1)12345XXXXXX then we have trouble and below are the logs:



Here is my configurations:
smsd.conf
devices = GSM1, GSM2
logfile = /var/log/sms/smstools.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
loglevel = 6
alarmlevel = 4
delaytime = 10
errorsleeptime = 10
blocktime = 3600
receive_before_send = no
autosplit = 3

[queues]
OTHER = /var/spool/sms/OTHER

#[provider]
#OTHER = 0,1,2,3,4,5,6,7,8,9

[GSM1]
#init = ATE0+CPMS="SM"+CNMI=2,0,0,2,1
device = /dev/ttyUSB0
incoming = yes
queues = OTHER
mode = new
baudrate = 19200
rtscts = yes
cs_convert = yes
report = no
memory_start = 1

[GSM2]
#init = ATE0
device = /dev/ttyUSB3
incoming = yes
queues = OTHER
mode = new
baudrate = 19200
rtscts = yes
cs_convert = yes
report = no
memory_start = 1
 
'smsdconf' Syntax Highlight powered by GeSHi



« Last edit by johnpaul on Tue Jan 17, 2012 08:47, 108 months ago. »