Research: Great, thanks! This is right solution to me.
|
Research: Operating system name and version: Ubuntu Server 11.04
Version of smsd: 3.1.11-1
Smsd installed from: package repository
Name and model of a modem / phone: Sprut Universal
Interface: serial
Hello. I have some trouble and i cannot understand what's wrong in my settings. Below a log for a case where such a thing happened [last line in log]
2013-03-21 14:59:49,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 22710.
2013-03-21 14:59:49,2, smsd: Smsd mainprocess terminated. PID 22710, was started 13-03-21 14:54:44.
2013-03-21 14:59:50,2, smsd: Smsd v3.1.15 started.
2013-03-21 14:59:50,2, smsd: Running as root:root.
2013-03-21 14:59:50,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.UOHepI /tmp/smsd_data.aAWpie
2013-03-21 14:59:50,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2013-03-21 14:59:50,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2013-03-21 14:59:50,5, smsd: Outgoing file checker has started. PID: 23197.
2013-03-21 14:59:50,7, smsd: All PID's: 23197,23199
2013-03-21 14:59:50,5, GSM1: Modem handler 0 has started. PID: 23199.
2013-03-21 14:59:50,5, GSM1: Using check_memory_method 1: CPMS is used.
2013-03-21 14:59:50,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_gVFHxH
2013-03-21 14:59:50,6, GSM1: Sending SMS from to 380677892953
2013-03-21 14:59:50,6, GSM1: Checking if modem is ready
2013-03-21 14:59:50,7, GSM1: -> AT
2013-03-21 14:59:50,7, GSM1: Command is sent, waiting for the answer
2013-03-21 14:59:51,7, GSM1: <- AT OK
2013-03-21 14:59:51,6, GSM1: Pre-initializing modem
2013-03-21 14:59:51,7, GSM1: -> ATE0+CMEE=1;+CLIP=1;+CREG=2
2013-03-21 14:59:51,7, GSM1: Command is sent, waiting for the answer
2013-03-21 14:59:52,7, GSM1: <- 2 OK
2013-03-21 14:59:52,6, GSM1: Checking if modem needs PIN
2013-03-21 14:59:52,7, GSM1: -> AT+CPIN?
2013-03-21 14:59:52,7, GSM1: Command is sent, waiting for the answer
2013-03-21 15:00:02,7, GSM1: put_command expected (READY)|( PIN)|( PUK)|(ERROR), timeout occurred. 1.
2013-03-21 15:00:02,7, GSM1: <-
2013-03-21 15:00:02,2, GSM1: PIN handling: expected READY, modem answered
2013-03-21 15:00:02,2, GSM1: Modem handler 0 terminated abnormally. PID: 23199.
smsd.conf
devices = GSM1
logfile = /var/log/smsd.log
infofile = /var/run/smstools/smsd.running
pidfile = /var/run/smsd.pid
autosplit = 3
sent = /var/spool/sms/sent
failed = /var/spool/sms/failed
loglevel = 7
[GSM1]
device = /dev/ttyS1
baudrate = 115200
rtscts = no
incoming = yes
report = yes
send_delay = 20
hangup_incoming_call = no
phonecalls = clip
phonecalls_purge = yes
detect_unexpected_input = yes
pin = 1111
Please help.
|