SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Sat Oct 12, 2024 09:41
SMSTools3 Community » Help and support Bottom

[answered] SMStools stops working after some time

  This topic is locked

Page:  1

Author Post
Member
Registered:
Jan 2011
Location: Germany
Operating system name and version: Debian 5.0.8
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Multitech Multimodem
Interface: LAN

I`m running a nagios-server with the setup described as above. Sending sms is working fine until somewhen it stops. I can see the sms hanging in /var/spool/sms/checked/. If i restart the smsd, all the sms will be relaesed.

My config:
devices = GSM1
logfile = /var/log/smsd.log
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
#stats = /var/log/smstools/smsd_stats
loglevel = 7
#blocktime = 60

[GSM1]
device = @xx.xx.xx.xx:5000
keep_open = no
incoming = no
hangup_incoming_call = yes
#baudrate = 2400
send_delay = 10
pin = ****
rtscts = no
cs_convert = yes
report = no
regular_run_interval = 60
regular_run_cmd = AT+CREG?;+CSQ;+COPS?
regular_run_statfile = /dev/shm/sms_stat
'smsdconf' Syntax Highlight powered by GeSHi


content of smsd.log:


Is there an error in my config or whats the problem?

thnx
GrafPorno

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Your config looks good. I do not know what causes the problem, but probably TCP/IP communication freezes. Previous command was sent successfully, but next command freezes in write() function. In theory you could use tcpdump or wireshark to detect what is happening in the network. But it's not very easy job to do...

You could try with a modem setting send_handshake_select = no which makes the communication little bit different. It may give detailed error message which tells what is really happening. If with this setting communication freezes too, without error messages, the problem is in the TCP/IP side.

Member
Registered:
Jan 2011
Location: Germany
Topic owner
Thnx for your reply.

I did some tests and changed the modem-setting: keep_open to yes.
right now it looks like it works. i will be watching this

_______________
GrafPorno

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.