|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Wed Aug 27, 2025 19:14 |
Page: 1
Keywords: Mode: All keywords (AND) |
Tue May 15, 2012 15:50
|
Fuzzdriver: I´ve some addtional information. When I create a new send file with sendsms a .LOCK is generated in the /checked folder. But still no sending or error information in the logfile.
Thanks
Alex
|
Tue May 15, 2012 08:49
|
Fuzzdriver: Operating system name and version: Ubuntu Server 11.10 64 Bit
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem: Falcom Samba 55
Interface: USB
Hi,
after installing SMSTools 3.1.14 first time on ubuntu server 11.10. I´m only able to receive SMS notifications. I´ve tried different SIM cards which worked before.
At moment I can´t identify the problem. I tried to send messages by creating the files manually or with sendsms. The sendfiles are stored in the outgoing folder but
the file were not processed from the smsd. In the logfile of the smsd I only can find information about the received sms notications. There are no errors of about the send files. The singal quality is good.
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 10
[GSM1]
device = /dev/ttyUSB0
incoming = yes
pin = XXXX
Thanks
Alex
|
Wed Mar 09, 2011 16:20
|
Fuzzdriver: Ok I see. After a short time the file with the .LOCK suffix disappear again out of the checked directory. But the send_* File still exisist. The SMS messages are received three time. After I change the baudrate to 19200 I get the message that the device was not found or not able to initialze. After changing back the baudrate it connects again. The Modem is installed on a differnt location. So for today I´m no able to change it. But tomorrow morning I´ll try.
Here the log with baudrate = 19200 setting:
2011-03-09 17:07:17,2, smsd: Smsd v3.1.14 started.
2011-03-09 17:07:17,2, smsd: Running as root:root.
2011-03-09 17:07:17,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.ISaf8k /tmp/smsd_data.pwiXlH
2011-03-09 17:07:17,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2011-03-09 17:07:17,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-03-09 17:07:17,5, GSM1: Modem handler 0 has started. PID: 24977. Will only send messages.
2011-03-09 17:07:17,5, smsd: Outgoing file checker has started. PID: 24976.
2011-03-09 17:07:17,7, smsd: All PID's: 24976,24977
2011-03-09 17:07:17,6, GSM1: Checking if modem is ready
2011-03-09 17:07:18,7, GSM1: -> AT
2011-03-09 17:07:18,7, GSM1: Command is sent, waiting for the answer
2011-03-09 17:07:23,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-03-09 17:07:23,7, GSM1: <-
2011-03-09 17:07:23,7, GSM1: ->
.....
011-03-09 17:09:04,7, GSM1: Command is sent, waiting for the answer
2011-03-09 17:09:09,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-03-09 17:09:09,7, GSM1: <-
2011-03-09 17:09:10,7, GSM1: -> AT
2011-03-09 17:09:10,7, GSM1: Command is sent, waiting for the answer
2011-03-09 17:09:15,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-03-09 17:09:15,7, GSM1: <-
2011-03-09 17:09:15,7, GSM1: ->
2011-03-09 17:09:15,7, GSM1: Command is sent, waiting for the answer
2011-03-09 17:09:20,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-03-09 17:09:20,7, GSM1: <-
2011-03-09 17:09:21,3, GSM1: Modem is not ready to answer commands (Timeouts: 0)
2011-03-09 17:09:21,2, GSM1: Failed to initialize modem GSM1. Stopping.
2011-03-09 17:09:21,2, GSM1: Modem handler 0 terminated. PID: 24977, was started 11-03-09 17:07:17.
|
Wed Mar 09, 2011 14:01
|
Fuzzdriver: Operating system name and version: SLES 10 SP2
Version of smsd: 3.1.14
Smsd installed from:
Name and model of a modem / phone: Teltonika G10
Interface: USB
Hi,
after update to smstools 3.1.14 I serveral problems with sending sms. Before I´m using v 2.x and everthings is working fine.
If I create a new message manually with help of the sendsms commad the message is generated and stored in outgoing folder.
After a couple of seconds the message moved to directory checked and a second file with the same name and the suffix .LOCK
is generated. As long as both Files a stored in the check folde the message is send at least three times. After send the third messages
both files are deleted automically. In the log I can´t find any references why the .LOCK is generated. After restart the smsd everything looks normal in the logfile, but if a new message is generated after one minute some error messages appear that indicate a timeout...
Here´s my configuration and Logfile:
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
[GSM1]
baudrate = 115200
device = /dev/ttyUSB0
incoming = no
cs_convert = yes
pin = 0000
2011-03-09 14:56:09,2, smsd: Smsd v3.1.14 started.
2011-03-09 14:56:09,2, smsd: Running as root:root.
2011-03-09 14:56:09,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.7dSSSt /tmp/smsd_data.IDIVht
2011-03-09 14:56:09,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2011-03-09 14:56:09,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-03-09 14:56:09,5, GSM1: Modem handler 0 has started. PID: 21480. Will only send messages.
2011-03-09 14:56:09,5, smsd: Outgoing file checker has started. PID: 21479.
2011-03-09 14:56:09,7, smsd: All PID's: 21479,21480
2011-03-09 14:56:09,6, GSM1: Checking if modem is ready
2011-03-09 14:56:09,7, GSM1: -> AT
2011-03-09 14:56:09,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:09,7, GSM1: <- OK
2011-03-09 14:56:09,6, GSM1: Pre-initializing modem
2011-03-09 14:56:09,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-03-09 14:56:09,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:10,7, GSM1: <- OK
2011-03-09 14:56:10,6, GSM1: Checking if modem needs PIN
2011-03-09 14:56:10,7, GSM1: -> AT+CPIN?
2011-03-09 14:56:10,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:10,7, GSM1: <- +CPIN: READY OK
2011-03-09 14:56:11,7, GSM1: -> AT+CSQ
2011-03-09 14:56:11,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:11,7, GSM1: <- +CSQ: 22,99 OK
2011-03-09 14:56:11,6, GSM1: Signal Strength Indicator: (22,99) -69 dBm (Excellent), Bit Error Rate: not known or not detectable
2011-03-09 14:56:11,6, GSM1: Checking if Modem is registered to the network
2011-03-09 14:56:11,7, GSM1: -> AT+CREG?
2011-03-09 14:56:11,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:11,7, GSM1: <- +CREG: 2,1,"00BF","9A87" OK
2011-03-09 14:56:11,6, GSM1: Modem is registered to the network
2011-03-09 14:56:11,6, GSM1: Location area code: 00BF, Cell ID: 9A87
2011-03-09 14:56:12,7, GSM1: -> AT+CSQ
2011-03-09 14:56:12,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:12,7, GSM1: <- +CSQ: 22,99 OK
2011-03-09 14:56:12,6, GSM1: Signal Strength Indicator: (22,99) -69 dBm (Excellent), Bit Error Rate: not known or not detectable
2011-03-09 14:56:12,6, GSM1: Selecting PDU mode
2011-03-09 14:56:12,7, GSM1: -> AT+CMGF=0
2011-03-09 14:56:12,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:12,7, GSM1: <- OK
2011-03-09 14:56:13,7, GSM1: -> AT+CIMI
2011-03-09 14:56:13,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:13,7, GSM1: <- 2320502005XXXXX OK
2011-03-09 14:56:13,7, GSM1: -> AT+CGSN
2011-03-09 14:56:13,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:13,7, GSM1: <- 3539760146XXXXX OK
2011-03-09 14:56:13,5, GSM1: CGSN: 3539760146XXXXX
2011-03-09 14:56:13,5, GSM1: IMSI: 2320502005XXXXX
2011-03-09 14:56:13,5, GSM1: Waiting for messages to send...
2011-03-09 14:56:20,5, smsd: Moved file /var/spool/sms/outgoing/send_x21899 to /var/spool/sms/checked
2011-03-09 14:56:20,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_x21899
2011-03-09 14:56:20,6, GSM1: Sending SMS from to 43699187XXXXX
2011-03-09 14:56:20,6, GSM1: Checking if modem is ready
2011-03-09 14:56:20,7, GSM1: -> AT
2011-03-09 14:56:20,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:21,7, GSM1: <- OK
2011-03-09 14:56:21,6, GSM1: Pre-initializing modem
2011-03-09 14:56:21,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-03-09 14:56:21,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:21,7, GSM1: <- OK
2011-03-09 14:56:21,6, GSM1: Checking if modem needs PIN
2011-03-09 14:56:21,7, GSM1: -> AT+CPIN?
2011-03-09 14:56:21,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:22,7, GSM1: <- +CPIN: READY OK
2011-03-09 14:56:22,7, GSM1: -> AT+CSQ
2011-03-09 14:56:22,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:22,7, GSM1: <- +CSQ: 21,99 OK
2011-03-09 14:56:22,6, GSM1: Signal Strength Indicator: (21,99) -71 dBm (Excellent), Bit Error Rate: not known or not detectable
2011-03-09 14:56:22,6, GSM1: Checking if Modem is registered to the network
2011-03-09 14:56:22,7, GSM1: -> AT+CREG?
2011-03-09 14:56:22,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:23,7, GSM1: <- +CREG: 2,1,"00BF","9A87" OK
2011-03-09 14:56:23,6, GSM1: Modem is registered to the network
2011-03-09 14:56:23,6, GSM1: Selecting PDU mode
2011-03-09 14:56:23,7, GSM1: -> AT+CMGF=0
2011-03-09 14:56:23,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:23,7, GSM1: <- OK
2011-03-09 14:56:23,7, GSM1: -> AT+CMGS=27
2011-03-09 14:56:23,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:56:24,7, GSM1: <- >
2011-03-09 14:56:24,7, GSM1: -> 0011000D913496197XXXXXXX0000FF0DCDB0BB1E6683A8E5391D5403
2011-03-09 14:56:24,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:57:25,7, GSM1: <-
2011-03-09 14:57:25,3, GSM1: The modem did not answer (expected OK).
2011-03-09 14:57:25,5, GSM1: Waiting 10 sec. before retrying
2011-03-09 14:57:35,6, GSM1: Checking if modem is ready
2011-03-09 14:57:36,7, GSM1: -> AT
2011-03-09 14:57:36,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:57:41,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-03-09 14:57:41,7, GSM1: <-
2011-03-09 14:57:41,7, GSM1: ->
2011-03-09 14:57:41,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:57:46,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2011-03-09 14:57:46,7, GSM1: <-
2011-03-09 14:57:46,7, GSM1: -> AT
2011-03-09 14:57:46,7, GSM1: Command is sent, waiting for the answer
2011-03-09 14:57:51,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 4.
2011-03-09 14:57:51,7, GSM1: <-
2011-03-09 14:57:51,7, GSM1: ->
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|