playSMS Forum

SMSTools & PlaySMS : SMS delivered but status is pending in GUI

Hello,

I just finished setting up PlaySMS with SMSTools on a server with the following specifics:
RHEL 8
PHP 7.3
SMSTools v3.1.21

Everything works fine except for the PlaySMS GUI which tells me that the status of the message is still “Pending”

SMSD Configuration :

devices = modem1

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

smart_logging = yes
infofile = /run/smsd/smsd.working
pidfile = /run/smsd/smsd.pid

# Default queue directory = /var/spool/sms
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent

# Queue configurations
[queues]
modem1 = /var/spool/sms/modem1

# Modem name: modem1
# Modem type: Huawei E372 USB
[modem1]
pin = 0000
init = AT
device = /dev/ttyUSB2
baudrate = 19200
incoming = no
report = yes
queues = modem1
check_network = yes

I can’t figure out where the problem lies.

Could you help me ?

Thank you

Hello,

We have a system running with a previous version of PlaySMS (CentOS 7 / PlaySMS 1.4.2)
Following files exist under /var/spool/sms:

- checked
- failed
- incoming
- modem1
- outgoing
- sent

I noticed the following differences :

On the system with PlaySMS v1.4.2, when an SMS has been sent, the out. * File is saved in /var/ spool/sms/modem1 then moved to /var/spool/sms/sent/ and moved once again to /var/spool/sms/backup/sent
On the system with PlaySMS v1.4.5, when an SMS has been sent, the out.* file is saved in /var/spool/sms/modem1 and then moved to /var/spool/sms/sent/

Do you have a lead to help me resolve this SMS status issue ?

Thank you
v1.4.5 log :

Hello Anton,

I have completely reinstalled the system (RHEL8) and the application (PlaySMS v1.4.5/SMSTools v3.1.21) but the problem remains.
Comparing the two PlaySMS installations I have, it looks like DLR is not applying correctly on v 1.4.5 but I can’t figure out why.

Help will be much appreciated.

Thank you