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.
anton
November 20, 2015, 4:48pm
2
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
anton
November 22, 2015, 10:52am
4
can you try to implement this fix ?
opened 12:57AM - 03 Nov 15 UTC
closed 01:05AM - 03 Nov 15 UTC
ref:
https://forum.playsms.org/t/playsms-1-3-1-dosnt-show-up-sms-in-sms-queue/42… 7/7
op said:
I have fresh installation of playsms 1.3.1.When I send from a file(1000 recepients), log says it was added to the queue,but I can't see anything in under "View SMS queue".The sms scheduled (from sms compose screen) also not added to the queue,but It executes on sceduled time without any delay.
can anyone figure out my problem?
Eventhough it didnt display in "View SMS queue"
Regards
Orchid
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
anton
November 25, 2015, 3:50am
6
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.