SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Thu Nov 21, 2024 23:12
SMSTools3 Community » Help and support Bottom

Put_command expected (OK)|(ERROR), timeout occurred

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Mar 2012
Location: Johannesburg, South Africa
### OS ###

Operating system name and version: windows Vista Home Basic / cygwin
Version of smsd: v3.1.12
Smsd installed from: sources
Name and model of a modem / phone: Dell wireless 5520
Interface: usb

### .CONF ###

devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7

os_cygwin = yes
delaytime = 10
incoming_utf8 = yes
receive_before_send = yes
trust_outgoing = yes

checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
outgoing = /var/spool/sms/outgoing
report = /var/spool/sms/report
saved = /var/spool/sms/saved
sent = /var/spool/sms/sent

#eventhandler = filename

[GSM1]
init = AT+CMEE=1
# pin = none
baudrate = 115200
rtscts = yes
memory_start = 1

device = /dev/com4
incoming = yes
outgoing = yes
smsc = 0027720299294

### SMSD.LOG ###

2012-03-16 20:33:35,2, smsd: Smsd v3.1.12 started.
2012-03-16 20:33:35,2, smsd: Running as user:None.
2012-03-16 20:33:35,7, smsd: Running startup_check (shell): /tmp/smsd_script.80noMD /tmp/smsd_data.SDlhi2
2012-03-16 20:33:36,7, smsd: Done: startup_check (shell), execution time 1 sec., status: 0 (0)
2012-03-16 20:33:36,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2012-03-16 20:33:36,5, smsd: Outgoing file checker has started. PID: 5160.
2012-03-16 20:33:36,7, smsd: All PID's: 5160,5172
2012-03-16 20:33:36,5, GSM1: Modem handler 0 has started. PID: 5172.
2012-03-16 20:33:36,5, GSM1: Using check_memory_method 1: CPMS is used.
2012-03-16 20:33:36,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/test2.txt
2012-03-16 20:33:36,6, GSM1: Checking device for incoming SMS
2012-03-16 20:33:36,6, GSM1: Checking if modem is ready
2012-03-16 20:33:37,7, GSM1: -> AT
2012-03-16 20:33:37,7, GSM1: Command is sent, waiting for the answer
2012-03-16 20:33:42,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2012-03-16 20:33:42,7, GSM1: <-
2012-03-16 20:33:42,7, GSM1: -> .
2012-03-16 20:33:42,7, GSM1: Command is sent, waiting for the answer
2012-03-16 20:33:48,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2012-03-16 20:33:48,7, GSM1: <-
2012-03-16 20:33:48,7, GSM1: -> AT
2012-03-16 20:33:48,7, GSM1: Command is sent, waiting for the answer
2012-03-16 20:33:53,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2012-03-16 20:33:53,7, GSM1: <-
2012-03-16 20:33:54,7, GSM1: -> .

### ASSISTANCE NEEDED ###

As you may note from the log file above smsd is failing to send sms - from what I can see the modem is not responding.
What do I need to do to be able to send and receive sms with my sms server tool?

Member
Registered:
Mar 2012
Location: Johannesburg, South Africa
Topic owner
As suspected the problem was the modem which was taking long to initialise as per failed report error below:
To: 0027720299294
Flash: yes
Adjustment: +++++++++++++++++++++
Modem: GSM1
IMSI:
Fail_reason: Modem initialization failed
Failed: 12-03-17 23:00:50
This is a test message number two
---------------------------------------------------------
However the modem ended up initialising and I managed to send and receive SMS - glad the smstool is now working on my machine. Thank you.

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.