GrafPorno: 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: 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
content of smsd.log:
2010-12-13 10:11:07,7, GSM1: Command is sent, waiting for the answer
2010-12-13 10:11:08,7, GSM1: <- +CREG: 2,1,"011E","0566" +CSQ: 27,0 +COPS: 0,2,26202 OK
2010-12-13 10:11:08,5, GSM1: CMD: AT+CREG?;+CSQ;+COPS?: +CREG: 2,1,"011E","0566" +CSQ: 27,0 +COPS: 0,2,26202 OK
2010-12-13 10:12:06,7, GSM1: -> AT+CREG?;+CSQ;+COPS?
2010-12-17 15:49:13,5, smsd: Moved file /var/spool/sms/outgoing/send_aEovJA to /var/spool/sms/checked
2010-12-17 15:59:03,5, smsd: Moved file /var/spool/sms/outgoing/send_VOuTiG to /var/spool/sms/checked
2010-12-17 17:41:33,5, smsd: Moved file /var/spool/sms/outgoing/send_QbRwtY to /var/spool/sms/checked
2010-12-17 17:50:44,5, smsd: Moved file /var/spool/sms/outgoing/send_gtGeRk to /var/spool/sms/checked
2010-12-18 02:32:35,5, smsd: Moved file /var/spool/sms/outgoing/send_lRRhQj to /var/spool/sms/checked
2010-12-18 02:33:55,5, smsd: Moved file /var/spool/sms/outgoing/send_hbwavh to /var/spool/sms/checked
Is there an error in my config or whats the problem?
thnx
GrafPorno
|