Author |
Post |
|
#1 Mon Sep 20, 2010 18:31, 175 months ago.
|
Member
Registered: Sep 2010
Location: Buenos Aires, Argentina
|
Operating system name and version: Debian Lenny Version of smsd: 3.1-2 Smsd installed from: Debian package repository Name and model of a modem / phone: Portech MV-372 GSM Gateway Interface: LAN
Dear, I have a monitoring server (Nagios) who need to send SMS's through my Portech GSM Gateway. Both monitoring server and GSM Gateway are connected through LAN.
I think if my GSM device is a serial modem, it's easy to send SMS's.
But, is it possible for smstools to send SMS's messages through a GSM device (gateway in this case) connected via a LAN interface (Ethernet) ??? Or how can I do that ???
Special thanks.
Alexander
|
|
#2 Mon Sep 20, 2010 20:23, 175 months ago.
|
Member
Registered: Jun 2009
Location: Germany
|
Yes, using network GSM devices is working well. I do it with a Multitech MTCBA-G-EN-F4-ED-EU for example. cu, Axel
|
|
#3 Mon Sep 20, 2010 20:33, 175 months ago.
|
Member
Registered: Sep 2010
Location: Buenos Aires, Argentina
Topic owner
|
Thanks, but how can I define the GSM Gateway device en the smstools config file ???
Because the file defines:
[GSM1] device = /dev/ttyUSB0
and if my GSM device is not local, can I do this definition:
[GSM1] device = IP_GSM_Gateway
Please tell me the way.
Thanks a lot.
|
|
#4 Mon Sep 20, 2010 20:41, 175 months ago.
|
Member
Registered: Jun 2009
Location: Germany
|
I've got it from the docu :-) Here is an example file:
devices = GSMLAN1 logfile = /var/log/smsd.log loglevel = 7 failed = /var/spool/sms/failed report = /var/spool/sms/report sent = /var/spool/sms/sent stats = /var/spool/sms/stats #errorsleeptime = 20 #store_received_pdu = 3 date_filename = 1
[GSMLAN1] device = @192.168.15.2:5000 incoming = yes device_open_alarm_after = 5 socket_connection_alarm_after = 5
|
|
#5 Mon Sep 20, 2010 20:46, 175 months ago.
|
Member
Registered: Sep 2010
Location: Buenos Aires, Argentina
Topic owner
|
OK thank you, but if you have more configuration parametersfrom smstools used with our gsm gateway I ask for them please because I don't know if it's necessary user and pass of the gsm gateway, why is port 5000, and any more.....
Regards
Alexander
|
|
#6 Mon Sep 20, 2010 20:59, 175 months ago.
|
Member
Registered: Jun 2009
Location: Germany
|
Hi Alexander, sorry I dont know your Gateway. I was only writing about using GSM Network devices in general and the one I'm using. Port 5000 is the Port I configured (in this case it's also the default) for my device in it's web interface configuration. If possible I would help, but I dont know this Gateway. My understanding is that sms server tools needs exclusive access to the network device using a socks connection.
|