SMS Server Tools 3
This site is hosted by Kekekasvi.com
 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. Please login or register. Mon Oct 19, 2020 23:34
SMSTools3 Community » Help and support Bottom

The file has no text or data

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Jan 2016
Location: France
Operating system name and version: Debian Jesse
Version of smsd: v3.1.15
Smsd installed from: package repository
Name and model of a modem: Sierra Wireless, Inc. MC8700 Modem
Interface: USB

Hi,

When I try to fill in a sms and send it by moving it in /var/spool/sms/outgoing/, logs tell me that The file has no text or data

Here is my file :
Quote
To: 3367449****
test

Hexdump :
Quote
00000000 54 6f 3a 20 33 33 36 37 34 34 39 33 39 33 38 0a |To: 3367449****.|
00000010 74 65 73 74 0a |test.|
00000015

Failed file :
Quote
To: 3367449****
test
Fail_reason: No text or data
Failed: 16-01-05 11:55:48

Hexdump failed file :
Quote
00000000 54 6f 3a 20 33 33 36 37 34 34 39 33 39 33 38 0a |To: 3367449****.|
00000010 74 65 73 74 0a 46 61 69 6c 5f 72 65 61 73 6f 6e |test.Fail_reason|
00000020 3a 20 4e 6f 20 74 65 78 74 20 6f 72 20 64 61 74 |: No text or dat|
00000030 61 0a 46 61 69 6c 65 64 3a 20 31 36 2d 30 31 2d |a.Failed: 16-01-|
00000040 30 35 20 31 31 3a 35 35 3a 34 38 0a |05 11:55:48.|
0000004c

Thanks for your help

Member
Registered:
Jan 2016
Location: France
Topic owner
I also have this error in logs :

Quote
2016-01-05 14:13:23,7, GSM1: -> AT+CPMS?
2016-01-05 14:13:23,7, GSM1: Command is sent, waiting for the answer
2016-01-05 14:13:29,7, GSM1: put_command expected (\+CPMS:.*OK)|(ERROR), timeout occurred. 1.


Member
Registered:
Jan 2016
Location: France
Topic owner
Ok here is some progress, I now have these errors :

Quote
2016-01-08 12:32:42,5, smsd: Moved file /var/spool/sms/outgoing/message to /var/spool/sms/checked
2016-01-08 12:32:43,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/message
2016-01-08 12:32:43,6, GSM1: Sending SMS from to 33675152427
2016-01-08 12:32:43,6, GSM1: Checking if modem is ready
2016-01-08 12:32:44,7, GSM1: -> AT
2016-01-08 12:32:44,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:32:44,7, GSM1: <- OK
2016-01-08 12:32:44,6, GSM1: Pre-initializing modem
2016-01-08 12:32:44,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2016-01-08 12:32:44,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:32:44,7, GSM1: <- OK
2016-01-08 12:32:44,6, GSM1: Initializing modem
2016-01-08 12:32:45,7, GSM1: -> AT^CURC=0
2016-01-08 12:32:45,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:32:45,7, GSM1: <- OK
2016-01-08 12:32:45,7, GSM1: -> AT+CSQ
2016-01-08 12:32:45,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:32:45,7, GSM1: <- +CSQ: 7,99 OK
2016-01-08 12:32:45,6, GSM1: Signal Strength Indicator: (7,99) -99 dBm (Marginal), Bit Error Rate: not known or not detectable
2016-01-08 12:32:46,7, GSM1: -> AT+CSQ
2016-01-08 12:32:46,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:32:46,7, GSM1: <- +CSQ: 7,99 OK
2016-01-08 12:32:46,6, GSM1: Signal Strength Indicator: (7,99) -99 dBm (Marginal), Bit Error Rate: not known or not detectable
2016-01-08 12:32:46,6, GSM1: Checking if Modem is registered to the network
2016-01-08 12:32:46,7, GSM1: -> AT+CREG?
2016-01-08 12:32:46,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:32:46,7, GSM1: <- +CREG: 0,1,0708,318BD4 OK
2016-01-08 12:32:46,6, GSM1: Modem is registered to the network
2016-01-08 12:32:46,6, GSM1: Selecting PDU mode
2016-01-08 12:32:47,7, GSM1: -> AT+CMGF=0
2016-01-08 12:32:47,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:32:47,7, GSM1: <- OK
2016-01-08 12:32:47,7, GSM1: -> AT+CIMI
2016-01-08 12:32:47,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:32:47,7, GSM1: <- OK
2016-01-08 12:32:48,7, GSM1: -> AT+CGSN
2016-01-08 12:32:48,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:32:48,7, GSM1: <- OK
2016-01-08 12:32:48,5, GSM1: CGSN:
2016-01-08 12:32:48,5, GSM1: IMSI:
2016-01-08 12:32:48,7, GSM1: -> AT+CMGS=25
2016-01-08 12:32:48,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:32:58,7, GSM1: put_command expected (>)|(ERROR), timeout occurred. 1.
2016-01-08 12:32:58,7, GSM1: <- OK
2016-01-08 12:32:59,7, GSM1: -> 0011000B913376152524F70000FF0CF4F29C0E6A97E7F3F0B90C
2016-01-08 12:32:59,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:32:59,7, GSM1: Command is sent, waiting for the answer
2016-01-08 12:33:59,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2016-01-08 12:33:59,7, GSM1: <-
2016-01-08 12:33:59,3, GSM1: The modem did not answer (expected OK).

Here is my smsd.conf :
Quote
[GSM1]
init = AT^CURC=0
init2 = AT+CSQ
device = /dev/ttyUSB4
incoming = yes
#pin =
baudrate = 115200


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.