bineshan: Hi,
if your GSM router IP supports AT commands and TCP realport and simulate RS232 serial port on it, that is OK!
in smsd.conf:
devices = GSM1,GSM2
..
..
..
[GSM1]
init = AT+CNMI=1,0,0,2,1
device = @192.168.1.2:961 ====> example your GSM router IP=192.168.1.2 TCP PORT:961
incoming = yes
queues = PORT1
#You don't need a PIN for mobile phones
#pin = 1111
mode = new
#smsc = 491722270000
baudrate = 19200
rtscts = yes
cs_convert = yes
report = yes
memory_start = 1
eventhandler = /usr/local/bin/mysmsd
primary_memory = SM
secondary_memory = SR ===> this is needed for delivery report on WAVECOM compatible GSM modems
[GSM1]
init = AT+CNMI=1,0,0,2,1
device = @192.168.1.2:962 ====> example your GSM router IP=192.168.1.2 TCP PORT:962
incoming = yes
queues = PORT1
#You don't need a PIN for mobile phones
#pin = 1111
mode = new
#smsc = 491722270000
baudrate = 19200
rtscts = yes
cs_convert = yes
report = yes
memory_start = 1
eventhandler = /usr/local/bin/mysmsd
primary_memory = SM
secondary_memory = SR ===> this is needed for delivery report on WAVECOM compatible GSM modems
|