No LOG, SMS are outgoing but not incoming and "backup" folder keeps all messages

Hello
Using CENTOS 7 - PlaySMS & SMSTools
All folders on playsms are with www-data owner
all folders with SMStools are with smstools owner

Playsms Check
PLAYSMSD_CONF = /etc/playsmsd.conf
PLAYSMS_PATH = /var/www/html/playsms
PLAYSMS_LIB = /usr/lib
PLAYSMS_BIN = /usr/bin
PLAYSMS_LOG = /var/log/playsms
DAEMON_SLEEP = 1
ERROR_REPORTING = 3
IS_RUNNING = 1
PIDS schedule = 24369
PIDS ratesmsd = 24371
PIDS dlrssmsd = 24373
PIDS recvsmsd = 24375
PIDS sendsmsd = 24386

I have NO LOG on playsms folder. Is allways empty.

When a message arrive at smstools, suddenly, a backup folder, “swipe” all incoming messages to that folder!

When I send an SMS message, everything goes well, and SMS is on the correct folder.

But, receiving is doing nothing on PlaySms!

Thanks for your help.

When reading fn.php (SmsTools plugin), i’ve found that “default queue” Backup is in the first rows instead of the last.

So, my understanding is that, shouldn’t backup folders should be created after checking all folders?

My problem is that, all messages are beeing forwarded to backup folder without staying in incoming messages!

It seems that PlaySMS is not reading those messages and “flush” all to backup!

Or, am I Wrong?

Best Regards to all.

PLAYSMS_PATH=“/var/www/html/playsms”
PLAYSMS_LIB=“/usr/lib”
PLAYSMS_BIN=“/usr/bin”
PLAYSMS_LOG=“/var/log/playsms”
DAEMON_SLEEP=“1”
ERROR_REPORTING=“E_ALL ^ (E_NOTICE | E_WARNING)”

After changing Error_Reporting from “0” to “E_ALL ^ (E_NOTICE | E_WARNING)”, i’ve been able to get logs on Playsms.

When sending, log register the SMS

  • 2024-03-30 12:47:15 PID660809d37b253 - L2 smstools_hook_sendsms # saved outfile:/var/spool/sms/outgoing/out.20240330124715.0.1.2 smsc:[smstools]
    • 2024-03-30 12:47:15 PID660809d37b253 - L2 simplebilling_hook_billing_deduct # enter smslog_id:2
    • 2024-03-30 12:47:15 PID660809d37b253 - L2 sendsms_process # end

But when receiving, nothing appears/show on the log.

I’ve made a new install through the scritp and all went well!
When doing playsmsd check, i get this status:
playsmsd check
PLAYSMSD_CONF = /etc/playsmsd.conf
PLAYSMS_PATH = /var/www/html/playsms
PLAYSMS_LIB = /usr/lib
PLAYSMS_BIN = /usr/bin
PLAYSMS_LOG = /var/log/playsms
DAEMON_SLEEP = 1
ERROR_REPORTING = 0
IS_RUNNING = 1
PIDS schedule = 25569
PIDS ratesmsd = 25571
PIDS dlrssmsd = 25573
PIDS recvsmsd = 25577
PIDS sendsmsd = 25597
Playsms Log is working

But still no messages on inbox.
Checking playsms log, incoming messages are beeing processed.

    • 2024-04-03 10:32:43 PID660d3049e903b - L3 recvsms # isrecvsmsd:1 dt:2024-04-02 16:32:53 sender:+3519xxxxxxxx m:Boa tarde teste de SMS receiver: smsc:GSM91
    • 2024-04-03 10:32:43 PID660d3049e903b - L3 smstools_hook_getsmsinbox # sender:+3519xxxxxxxx receiver: dt:2024-04-02 16:35:28 msg:[Hello] smsc:[GSM91]
    • 2024-04-03 10:32:43 PID660d3049e903b - L3 recvsms # isrecvsmsd:1 dt:2024-04-02 16:35:28 sender:+3519xxxxxxxx m:Hello receiver: smsc:GSM91
    • 2024-04-03 10:32:43 PID660d3049e903b - L3 smstools_hook_getsmsinbox # sender:+3519xxxxxxxx receiver: dt:2024-04-02 16:42:43 msg:[Boa tarde mensagem teste] smsc:[GSM91]
    • 2024-04-03 10:32:43 PID660d3049e903b - L3 recvsms # isrecvsmsd:1 dt:2024-04-02 16:42:43 sender:+3519xxxxxxxx m:Boa tarde mensagem teste receiver: smsc:GSM91

But all inbox messages are empty on Playsms
Sandbox is empty too

What am I doing wrong?

Regards to all