Yulka: Operating system name and version: FreeBSD 10.2
Version of smsd: smstools3-3.1.15
Smsd installed from: package repository
Name and model of a modem / phone: gps modem wavecom fastrack m1306b
Interface: serial
Hi! (sorry for my bad english)
It is impossible to send SMS. In a manual mode, without use of smstools SMS send successfully (but in the at+cmgf=1 mode) with this modem.
Smstools give the following error message and remove sms-file from checked to failed folder.
smsd.conf:
devices = GSM1
logfile = /var/log/smsd/smsd.log
loglevel = 7
user = uucp
group = dialer
PIDFILE= /var/run/smsd/smsd.pid
INFOFILE= /var/run/smsd/smsd.working
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
autosplit=3
[GSM1]
device = /dev/cuau0
baudrate = 115200
rtscts = no
#init = at+cpms="sm","sm",""
init = at
incoming = no
outgoing = yes
pin = 0000
memory_start=0
smsc = +79508090000
smsd.log:
2016-11-08 15:08:59,6, GSM1: Checking if modem is ready
2016-11-08 15:08:59,7, GSM1: -> AT
2016-11-08 15:08:59,7, GSM1: Command is sent, waiting for the answer
2016-11-08 15:09:00,7, GSM1: <- AT OK
2016-11-08 15:09:00,6, GSM1: Pre-initializing modem
2016-11-08 15:09:00,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2016-11-08 15:09:00,7, GSM1: Command is sent, waiting for the answer
2016-11-08 15:09:00,7, GSM1: <- ATE0+CMEE=1;+CREG=2 OK +CREG: 1,"6F54","099D"
2016-11-08 15:09:00,6, GSM1: Initializing modem
2016-11-08 15:09:00,7, GSM1: -> at
2016-11-08 15:09:00,7, GSM1: Command is sent, waiting for the answer
2016-11-08 15:09:01,7, GSM1: <- OK
2016-11-08 15:09:01,7, GSM1: -> AT+CSQ
2016-11-08 15:09:01,7, GSM1: Command is sent, waiting for the answer
2016-11-08 15:09:01,7, GSM1: <- +CSQ: 17,0 OK
2016-11-08 15:09:01,6, GSM1: Signal Strength Indicator: (17,0) -79 dBm (Good), Bit Error Rate: less than 0.2 %
2016-11-08 15:09:01,6, GSM1: Checking if Modem is registered to the network
2016-11-08 15:09:01,7, GSM1: -> AT+CREG?
2016-11-08 15:09:01,7, GSM1: Command is sent, waiting for the answer
2016-11-08 15:09:02,7, GSM1: <- +CREG: 2,1,"6F54","099D" OK
2016-11-08 15:09:02,6, GSM1: Modem is registered to the network
2016-11-08 15:09:02,6, GSM1: Selecting PDU mode
2016-11-08 15:09:02,7, GSM1: -> AT+CMGF=0
2016-11-08 15:09:02,7, GSM1: Command is sent, waiting for the answer
2016-11-08 15:09:02,7, GSM1: <- OK
2016-11-08 15:09:02,6, GSM1: Changing SMSC
2016-11-08 15:09:02,7, GSM1: -> AT+CSCA="+79508090000"
2016-11-08 15:09:02,7, GSM1: Command is sent, waiting for the answer
2016-11-08 15:09:03,7, GSM1: <- OK
2016-11-08 15:09:03,7, GSM1: -> AT+CMGS=18
2016-11-08 15:09:03,7, GSM1: Command is sent, waiting for the answer
2016-11-08 15:09:03,7, GSM1: <- >
2016-11-08 15:09:03,7, GSM1: -> 0011000B919702051800F00000FF04F4F29C0E
2016-11-08 15:09:03,7, GSM1: Command is sent, waiting for the answer
2016-11-08 15:12:02,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2016-11-08 15:12:02,7, GSM1: <- +WIND: 3 +WIND: 1 +WIND: 7 +WIND: 3 +WIND: 1 +WIND: 3 +WIND: 1 +WIND: 3 +WIND: 1 +WIND: 3 +WIND: 1 +WIND: 3 +WIND: 1 +WIND: 3 +WIND: 1 +WIND: 3 +WIND: 1 +WIND: 7 +WIND: 4
2016-11-08 15:12:02,3, GSM1: The modem answer was not OK: +WIND: 3+WIND: 1+WIND: 7+WIND: 3+WIND: 1+WIND: 3+WIND: 1+WIND: 3+WIND: 1+WIND: 3+WIND: 1+WIND: 3+WIND: 1+WIND: 3+WIND: 1+WIND: 3+WIND: 1+WIND: 7+WIND: 4
2016-11-08 15:12:02,4, GSM1: Sending SMS to 79205081000 failed, trying time 818 sec. Retries: 2.
2016-11-08 15:12:03,6, GSM1: Moved file /var/spool/sms/checked/send_FKG9ks to /var/spool/sms/failed/send_FKG9ks
what can it be? where error?
I will be grateful for any help
|