Please read other topics, for example set to logstate 3 (its been like every post I answer with this ) and then, make sure playsmsd and webserver have write access to playsms.log so that both can write whats going on.
playSMS web is the UI for sending SMS, the UI will save data in database, and then playsmsd will read the database, and then actually send it to designated smsc.
your pasted log above showing the web side of playSMS, after that it should be followed by log entries from playsmsd, so make sure playsmsd is running and has write access to playsms.log too
httpd-error.log is empty and httpd-access.log is working properly. and BTW logstate is already set to Debug mode ‘3’ and Playsmsd is running and has write access to playsms.log , Still the playsmsd.log hangs on queuing the Message:
I was confused between using Jasmin HTTP-API or Restful-API in the playsms configuration. But I found that in the plugin files there’s a line of code where it says the default is {jasmin-host:1401/send} then i understood that it uses the HTTP-API of Jasmin.
So could it be something with the Jasmin-playsms configuration?
Anyways, mine are in the attachement kindly check it.
Try to remove jasmin and use dev the default smsc, set default smsc in Settings->Main configuration, and send test SMS, logs should show sendsmsd parts, not just sendsms (like your log)
removed Jasmin SMSC, and changed to my working Kannel Gateway using your Documentation Here.
I removed both Kannel and Jasmin SMSCs and changed the default to Dev in the main settings
In both cases the log shows exactly the log I posted originally in the topic Hangs on sms_count: 1 and the UI shows message in the Queue only while sent messages are empty
What matters in the log is there was no sendsmsd running after sendsms, the actual function that is sending SMS is sendsmsd, part of playSMS daemon, make sure its running, run playsmsd check and pas ax to see its running
Inside Kannel gateway I’m using a real SMSC as SMSC not GSM or anything else, it’s configured and working in the Kannel side, I have doubts in these Playsms configurations,Is my configurations for it here in the Playsms right? All configs aren’t public but can access each other networkingley
I have no idea why your playsmsd/sendsmsd not picking up queus submitted from web, but it does happen on my test too on Ubuntu 20.04 using PHP 7.4, on Ubuntu or CentOS using PHP 7.2 or 7.3 no issue
I use Ubuntu server 18.04, but works have been started and some changes have been pushed to playSMS repository to make it work better in PHP 7.4 (Ubuntu 20.04)
After installing PlaySMS service as root both Kannel and Jasmin Gateways worked properly. I think there may be problem with user komodo in some permissions in someplace maybe.
hello sir, please how can i get real SMSC for setting things up in kannel and connect it to playsms. i have kannel and playsms setup and running already