Mon Jan 24, 2011 10:37, 122 months ago.
|Operating system name and version
: Debian 5.0.8Version of smsd
: 3.1.14Smsd installed from
: sources Name and model of a modem / phone
: Multitech MultimodemInterface
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.
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
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?
Thu Jan 27, 2011 10:52, 122 months ago.
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.
Thu Jan 27, 2011 16:02, 122 months ago.
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