Nuke: Hello,
problem solved.
I replaced the installation from sourcecode throught the installation from ubuntu package.
Now the Outgoing Checker keeps alive and everything works fine.
regards Nuke
|
Nuke: Hello,
i have a simular problem.
I'm using my old Samsung SGH D500 as modem. The phone is mounted at /dev/ttyACM0 in Ubuntu and/or Kubuntu 12.04.
SMSTools3 works fine, incoming messages are stored in incoming.
But I can not send messages. I tried sendsms +49NUMBER 'Hello Text' and I tried putting sms files into the outgoing dir.
Tried to run as service and in shell, both as root.
I thought, the connection to the phone is the problem, but incoming messages are handled right and I opend a serial console with GTKTerm @ /dev/ttyACM0 to test the GSM commands -> works.
Config:
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
sent = /var/spool/sms/sent
failed = /var/spool/sms/failed
[GSM1]
device = /dev/ttyACM0
incoming = yes
2012-06-22 19:17:23,2, smsd: Smsd v3.1.14 started.
2012-06-22 19:17:23,2, smsd: Running as root:root.
2012-06-22 19:17:23,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.lrLlfE /tmp/smsd_data.p11TnA
2012-06-22 19:17:23,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2012-06-22 19:17:23,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2012-06-22 19:17:23,2, smsd: Running in terminal mode.
2012-06-22 19:17:23,5, smsd: Outgoing file checker has started. PID: 3600.
2012-06-22 19:17:23,7, smsd: All PID's: 3600,3603
2012-06-22 19:17:23,5, GSM1: Modem handler 0 has started. PID: 3603.
2012-06-22 19:17:23,5, GSM1: Using check_memory_method 1: CPMS is used.
2012-06-22 19:17:23,6, GSM1: Checking device for incoming SMS
2012-06-22 19:17:23,6, GSM1: Checking if modem is ready
2012-06-22 19:17:23,7, GSM1: -> AT
2012-06-22 19:17:23,7, GSM1: Command is sent, waiting for the answer
2012-06-22 19:17:23,7, GSM1: <- AT OK
2012-06-22 19:17:23,6, GSM1: Pre-initializing modem
2012-06-22 19:17:23,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2012-06-22 19:17:23,7, GSM1: Command is sent, waiting for the answer
2012-06-22 19:17:24,7, GSM1: <- ATE0+CMEE=1;+CREG=2 OK
2012-06-22 19:17:24,6, GSM1: Checking if modem needs PIN
2012-06-22 19:17:24,7, GSM1: -> AT+CPIN?
2012-06-22 19:17:24,7, GSM1: Command is sent, waiting for the answer
2012-06-22 19:17:24,7, GSM1: <- +CPIN: READY OK
2012-06-22 19:17:24,7, GSM1: -> AT+CSQ
2012-06-22 19:17:24,7, GSM1: Command is sent, waiting for the answer
2012-06-22 19:17:25,7, GSM1: <- +CSQ: 22,99 OK
The line : 2012-06-22 19:17:23,5, smsd: Outgoing file checker has started. PID: 3600.
Sound nice, but the PID does not exist. Only the main process smsd with PID 3603 exists.
I think this is the problem: The Outgoing file checker terminates immediately so smsd has no chance to be noticed for sending the files in /outgoing.
Anyone same problem? :roll: Or solutions? :D
regards Nuke
|