Keywords: Mode: All keywords (AND) |
Fri Oct 26, 2018 15:09
|
marquicus: Just for finishing the thread, is there a way of sorting the messages when processed by smsd?, I'm having events where the first send message is not the first processed message
|
Fri Oct 26, 2018 14:56
|
marquicus: Hello Keke, that makes sense, and I see that actually smsd does this when handling files, I'll use the normal way of sending to outgoing diretory with the Queue: header.
Thank you so much for your support and maintenance of this awesome project
|
Wed Oct 24, 2018 12:41
|
marquicus: Operating system name and version: Centos 7
Version of smsd: v3.1.21
Smsd installed from: sources
Name and model of a modem / phone:ZTE MF180, MF190
Interface: USB
Hello,
TL;DR What happens internally when I put directly a text message in the queue? How can I control sorting of sending messages?
In my tests I figured out that messages coming from "sendsms" script to "outgoing" directory were passed as they are through final queue directories. So I started to put messages directly on the queue directories. It then started to have unexpected behaviors, the log file reported "SMS sent" but no messages where sending, but when I rolled back to the original way everything works OK again.
Then I used the correct way of setting the "Queue: " header and this works OK as well and I see the messages going through outgoing and then to the correctly queue. So this is the origin of my question about why it doesn't work when I place the messages directly on queue directories.
Originally I tried to place text messages to queue directory in order to control the sorting of the messages, how can I achieve this with the correct way? I have an unexpected behavior of unsorted processed messages, this is my smsd.conf:
devices = GSM* 1-4
logfile = /var/log/smsd/smsd.log
loglevel = 7
user = smstools
smart_logging = yes
infofile = /run/smsd/smsd.working
pidfile = /run/smsd/smsd.pid
report = /var/spool/sms/report
stats = /var/spool/sms/stats
failed = /var/spool/sms/failed
phonecalls = /var/spool/sms/calls
delaytime_mainprocess = 2
eventhandler = /soft/ZENTEK/app/smsbackend/eventhandler.sh
trust_outgoing = yes
spool_directory_order = yes # I suggested this parameter could help
[GSM1]
init=AT+CPMS="ME";+CNMI=1,2,0,1,0
baudrate = 115200
report = yes
primary_memory = SM
secondary_memory = SR
device = /dev/ttyUSB12
incoming = yes
report_device_details = yes
signal_quality_ber_ignore = yes
hangup_incoming_call = yes
...
I used this guides:
http://smstools3.kekekasvi.com/index.php?p=configure2
http://smstools3.kekekasvi.com/index.php?p=fileformat
|
Wed Oct 24, 2018 12:10
|
marquicus: HUAWEI E173
ZTE MF180/MF190
I use latest smsd source version
|
Tue Oct 23, 2018 18:43
|
marquicus: Usage: Enterprise Logistic solution
Number of users: many
Deployment: enterprise standalone
Volume of 160-character SMs per day: 150K month
Hardware: 1 HP DL120 with 4 ZTE GSM modem running on CenOS
8)
|