Message sending stopped working

Hello, I have been using playSMS 1.3.1 with Nexmo with absolutely no issues.
However from yesterday i have not been able to send any messages. Api requests do not go out to Nexmo while I am able to send via nexmo if I use the url from a browser or wget from commandline.

Below is from the bottom of /var/log/playsms/playsms.log

2015-11-20 16:16:06 PID564f4746821d5 aizukanne L2 sendsms_queue_push # saving queue_code:7f8dafe04e7c2ad92baa25585b152d93 dst:+2348066118808
2015-11-20 16:16:06 PID564f4746821d5 aizukanne L2 sendsms_queue_push # saved queue_code:7f8dafe04e7c2ad92baa25585b152d93 smslog_id:648
2015-11-20 16:16:06 PID564f4746821d5 aizukanne L2 sendsms # end queue_code:7f8dafe04e7c2ad92baa25585b152d93 queue_count:1 sms_count:1 failed_ queue:0 failed_sms:0
2015-11-20 16:21:32 PID564f488cc1d5d aizukanne L2 sendsms # start uid:2 sender_id:[PHML] smsc:[]
2015-11-20 16:21:32 PID564f488cc1d5d aizukanne L2 sendsms_queue_create # saving queue_code:555ee45f4877d2c5ace636e8df338a48 src:PHML schedule d:2015-11-20 16:21:32
2015-11-20 16:21:32 PID564f488cc1d5d aizukanne L2 sendsms_queue_create # saved queue_code:555ee45f4877d2c5ace636e8df338a48 id:1742
2015-11-20 16:21:32 PID564f488cc1d5d aizukanne L2 sendsms # dst:1 sms_count:1 total_charges:1
2015-11-20 16:21:32 PID564f488cc1d5d aizukanne L2 sendsms_queue_push # saving queue_code:555ee45f4877d2c5ace636e8df338a48 dst:+2348077641151
2015-11-20 16:21:32 PID564f488cc1d5d aizukanne L2 sendsms_queue_push # saved queue_code:555ee45f4877d2c5ace636e8df338a48 smslog_id:649
2015-11-20 16:21:32 PID564f488cc1d5d aizukanne L2 sendsms # end queue_code:555ee45f4877d2c5ace636e8df338a48 queue_count:1 sms_count:1 failed_ queue:0 failed_sms:0

Please assist.

can you login as admin and see Reports -> View SMS queue, let me know if there r queues in there

also please paste result of Linux console command: playsmsd check

anton

Hello,

There are no messages in the SMS queue/

Here is the result from playsmsd check
ubuntu@ip-172-31-54-50:~$ playsmsd check
PLAYSMSD_CONF = /etc/playsmsd.conf
PLAYSMS_PATH = /var/www/html/playsms
PLAYSMS_LIB = /var/lib/playsms
PLAYSMS_BIN = /usr/local/bin
PLAYSMS_LOG = /var/log/playsms
DAEMON_SLEEP = 1
ERROR_REPORTING = E_ALL ^ (E_NOTICE | E_WARNING)
IS_RUNNING = 1
PIDS schedule = 2455
PIDS dlrssmsd = 2457
PIDS recvsmsd = 2459
PIDS sendsmsd = 2461

Best regards

Arinze Izukanne

can you try to implement this fix ?

anton

Hello,

Thanks very much. With the fix applied, messages now show up in the queue. Once the queue was cleared, messages started sending.

Thank you very much, Problem solved.

Best regards

I’m curious to know why it stopped in the first place.

anton

Someone tried to send bulk SMS that wasn’t properly formatted. This clogged the queue. I saw over 1000 messages with 0 as destination number and the intended recipient’s phone number as the message.

Once i purged the queue, message delivery resumed as normal. The fix made it possible to see the queue.