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. Sat Oct 12, 2024 10:22
SMSTools3 Community » Help and support Bottom

Can't send sms

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Apr 2019
Location: Colombo, Sri Lanka
Operating system name and version: Ubuntu 18.04.2 LTS
Version of smsd: Version 3.1.21
Smsd installed from: package repository
Name and model of a modem / phone: Huawei e3372
Interface: USB

Log file,

SMS To: 077xxxxxxx. Moved file /var/spool/sms/outgoing/send_5K4vMb to /var/spool/sms/Dialog
2019-08-09 10:28:48,7, GSM2: No answer, put_command expected (OK)|(ERROR), timeout occurred. 10.
2019-08-09 10:28:48,7, GSM2: <-
2019-08-09 10:28:48,3, GSM2: The modem did not answer (expected OK).
2019-08-09 10:28:48,5, GSM2: Waiting 10 sec. before retrying
2019-08-09 10:28:58,6, GSM2: Checking if modem is ready
2019-08-09 10:28:58,7, GSM2: -> AT
2019-08-09 10:28:58,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:29:03,7, GSM2: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 11.
2019-08-09 10:29:03,7, GSM2: <-
2019-08-09 10:29:03,7, GSM2: -> 
2019-08-09 10:29:03,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:29:08,7, GSM2: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 12.
2019-08-09 10:29:08,7, GSM2: <-
2019-08-09 10:29:08,7, GSM2: -> AT
2019-08-09 10:29:08,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:29:08,7, GSM2: <- OK
2019-08-09 10:29:08,6, GSM2: Pre-initializing modem
2019-08-09 10:29:08,7, GSM2: -> ATE0
2019-08-09 10:29:08,7, GSM2: Command is sent, waiting for the answer. (10)
2019-08-09 10:29:18,7, GSM2: No answer, put_command expected (OK)|(ERROR), timeout occurred. 1.
2019-08-09 10:29:18,7, GSM2: <-
2019-08-09 10:29:18,7, GSM2: -> AT+CMEE=1;+CREG=2
2019-08-09 10:29:18,7, GSM2: Command is sent, waiting for the answer. (10)
2019-08-09 10:29:28,7, GSM2: No answer, put_command expected (OK)|(ERROR), timeout occurred. 2.
2019-08-09 10:29:28,7, GSM2: <-
2019-08-09 10:29:28,3, GSM2: Modem did not accept the pre-init string
2019-08-09 10:29:28,7, GSM2: -> AT+CSQ
2019-08-09 10:29:28,7, GSM2: Command is sent, waiting for the answer. (10)
2019-08-09 10:29:38,7, GSM2: No answer, put_command expected (OK)|(ERROR), timeout occurred. 3.
2019-08-09 10:29:38,7, GSM2: <-
2019-08-09 10:29:48,7, GSM2: -> AT+CSQ
2019-08-09 10:29:48,7, GSM2: Command is sent, waiting for the answer. (10)
2019-08-09 10:29:58,7, GSM2: No answer, put_command expected (OK)|(ERROR), timeout occurred. 4.
2019-08-09 10:29:58,7, GSM2: <-
2019-08-09 10:29:58,6, GSM2: Selecting PDU mode
2019-08-09 10:29:58,7, GSM2: -> AT+CMGF=0
2019-08-09 10:29:58,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:30:03,7, GSM2: No answer, put_command expected (OK)|(ERROR), timeout occurred. 5.
2019-08-09 10:30:03,7, GSM2: <-
2019-08-09 10:30:13,7, GSM2: -> AT+CMGF=0
2019-08-09 10:30:13,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:30:18,7, GSM2: No answer, put_command expected (OK)|(ERROR), timeout occurred. 6.
2019-08-09 10:30:18,7, GSM2: <-
2019-08-09 10:30:18,7, GSM2: -> AT+CGSN
2019-08-09 10:30:18,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:30:23,7, GSM2: No answer, put_command expected (OK)|(ERROR), timeout occurred. 7.
2019-08-09 10:30:23,7, GSM2: <-
2019-08-09 10:30:23,5, GSM2: IMEI:
2019-08-09 10:30:23,7, GSM2: -> AT+CIMI
2019-08-09 10:30:23,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:30:28,7, GSM2: No answer, put_command expected (OK)|(ERROR), timeout occurred. 8.
2019-08-09 10:30:28,7, GSM2: <-
2019-08-09 10:30:28,5, GSM2: IMSI:
2019-08-09 10:30:28,7, GSM2: -> AT+CMGS=17
2019-08-09 10:30:28,7, GSM2: Command is sent, waiting for the answer. (10)
2019-08-09 10:30:38,7, GSM2: No answer, put_command expected (>)|(ERROR), timeout occurred. 9.
2019-08-09 10:30:38,7, GSM2: <-
2019-08-09 10:30:38,7, GSM2: -> 0011000A9170201059310000FF0461799D0D
2019-08-09 10:30:38,7, GSM2: Command is sent, waiting for the answer. (60)
2019-08-09 10:31:48,7, GSM2: Incorrect answer, put_command expected (OK)|(ERROR), timeout occurred. 10.
2019-08-09 10:31:48,7, GSM2: <- ^RSSI:27 ^HCSQ:"LTE",62,55,86,24
2019-08-09 10:31:48,3, GSM2: The modem answer was not OK: ^RSSI:27^HCSQ:"LTE",62,55,86,24
2019-08-09 10:31:48,4, GSM2: Sending SMS to 0702019513 failed, trying time 520 sec. Retries: 2.
2019-08-09 10:31:48,6, GSM2: SMS To: 0702019513. Moved file /var/spool/sms/Mobitel/send_7Gqubg to /var/spool/sms/failed/send_7Gqubg
2019-08-09 10:31:48,6, GSM2: I have to send 1 short message for /var/spool/sms/Mobitel/send_SiqaXc
2019-08-09 10:31:48,6, GSM2: Sending SMS from to 070xxxxxxx
2019-08-09 10:31:48,6, GSM2: Checking if modem is ready
2019-08-09 10:31:48,7, GSM2: -> AT
2019-08-09 10:31:48,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:31:53,7, GSM2: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 11.
2019-08-09 10:31:53,7, GSM2: <-
2019-08-09 10:31:53,7, GSM2: -> 
2019-08-09 10:31:53,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:31:58,7, GSM2: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 12.
2019-08-09 10:31:58,7, GSM2: <-
2019-08-09 10:31:58,7, GSM2: -> AT
2019-08-09 10:31:58,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:32:03,7, GSM2: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 13.
2019-08-09 10:32:03,7, GSM2: <-
2019-08-09 10:32:03,7, GSM2: -> 
2019-08-09 10:32:03,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:32:08,7, GSM2: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 14.
2019-08-09 10:32:08,7, GSM2: <-
2019-08-09 10:32:08,7, GSM2: -> AT
2019-08-09 10:32:08,7, GSM2: Command is sent, waiting for the answer. (5)
2019-08-09 10:32:08,7, GSM2: <- OK
2019-08-09 10:32:08,6, GSM2: Pre-initializing modem
2019-08-09 10:32:08,7, GSM2: -> ATE0
2019-08-09 10:32:08,7, GSM2: Command is sent, waiting for the answer. (10)
2019-08-09 10:32:18,7, GSM2: No answer, put_command expected (OK)|(ERROR), timeout occurred. 1.
2019-08-09 10:32:18,7, GSM2: <-
2019-08-09 10:32:18,7, GSM2: -> AT+CMEE=1;+CREG=2
2019-08-09 10:32:18,7, GSM2: Command is sent, waiting for the answer. (10)

Member
Registered:
Aug 2019
Location: Russian Federation
Operating system name and version: Ubuntu 19.04
Version of smsd: Version 3.1.21
Smsd installed from: zip from site
Name and model of a modem / phone: ZTE MF180
Interface: USB

I have this a problem too!

"No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred."
again and again



but other sms tools (gnokii and Modem Manager GUI) send sms successfully.

please help.

Member
Registered:
Aug 2019
Location: Russian Federation
my config is very simple:



Member
Registered:
Apr 2019
Location: Colombo, Sri Lanka
Topic owner
My config file.

devices = GSM1,GSM2,GSM3
#devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
#stats = /var/log/smstools/smsd_stats
loglevel = 7
#delaytime = 10
#errorsleeptime = 10
#blocktime = 3600
stats = /var/log/smsd_stats
#stats_interval = 3600
#stats_no_zeroes = no
#checkhandler = /usr/local/bin/smscheck
receive_before_send = no
autosplit = 3
# store_received_pdu 0=no, 1=unsupported, 2=unsupported and 8bit, 3=all
#store_received_pdu = 1
#validity = 255
#decode_unicode_text = no
#internal_combine = no
# You can specify here an external program that is started whenever an alarm occurs.
# alarmhandler = /path/to/an/alarmhandler/script
# Specifies what levels start an alarmhandler. You can use value between 2 and 5.
# alarmlevel = 4
# eventhandler = @EVENTHANDLER@
#blacklist = /etc/smstools/blacklist
#whitelist = /etc/smstools/whitelist

[queues]

Dialog = /var/spool/sms/Dialog
Mobitel = /var/spool/sms/Mobitel
All = /var/spool/sms/All


[provider]
Dialog = 076,9476,+9476,077,9477,+9477
Mobitel = 071,070,9471,9470,+9471,+9470
All = 072,+9472,9472,078,+9478,9478,075,+9475,9475,s,0,1,2,3,4,5,6,7,8,9

[GSM1]
report_device_details = yes
smsc =94777678678
incoming = no
#baudrate = 115200
rtscts = no
device = /dev/ttyUSB0
report = no
queues = Dialog
loglevel_lac_ci = 8
pre_init = no
init = ATE0
pin = ignore
smsc = 9477000003
baudrate = 19200
init2 = AT+CSQ
init = AT+CPMS="SM"

[GSM2]
report_device_details = yes
incoming = no
#baudrate = 115200
rtscts = no
device = /dev/ttyUSB5
queues = Mobitel
report = no
loglevel_lac_ci = 8
pre_init = no
init = ATE0
pin = ignore
baudrate = 19200
smsc = 94712755777
init2 = AT+CSQ
init = AT+CPMS="SM"

[GSM3]
report_device_details = yes
device = /dev/ttyUSB2
incoming = no
#baudrate = 115200
rtscts = no
report = no
queues = All
loglevel_lac_ci = 8
pre_init = no
init = ATE0
pin = ignore
baudrate = 19200
smsc = 9477000003
init2 = AT+CSQ
init = AT+CPMS="SM" 58,1 83%

Member
Registered:
Aug 2019
Location: Russian Federation
The problem is solved!

The solution was found in FAQ on your website :)
I am very sorry that I did not read it before.

process "modemanager" used a serial port. smstools cold not connect modem because the port was busy.
I found this process and killed him.



after that it worked!

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.