This is the article of an example of how to fix timezone issue with playSMS.
This is my server’s time, its in UTC:
Wed Aug 1 03:22:21 UTC 2018
And then I check where is my
php.ini, both for php-cli and php-fpm (I’m using Nginx with php-fpm):
$ php -i | grep php.ini
Configuration File (php.ini) Path => /etc/php/7.0/cli
Loaded Configuration File => /etc/php/7.0/cli/php.ini
I looked for
date.timezone option on
php.ini, edit it and set the option to my timezone
Asia/Jakarta, its UTC+7. When done it will be like this:
$ cat /etc/php/7.0/cli/php.ini | grep date.timezone
date.timezone = Asia/Jakarta
I also set it in php-fpm php.ini, not just php-cli php.ini:
$ cat /etc/php/7.0/fpm/php.ini | grep date.timezone
date.timezone = Asia/Jakarta
Please note you need to restart php-fpm when you changed php-fpm php.ini.
In playSMS I set my default timezone to +0700 (its UTC+7):
playsmsd and do some test, for example send an SMS with a schedule.
As a reference please read this:
This howto will show you how to install playSMS 1.4.2 on Ubuntu 18.04, the latest version as of today. By using Ubuntu 18.04 as base distribution you can test whether or not playSMS 1.4.2 work properly with PHP 7.2 and MySQL 5.7.
Login to your DigitalOcean web panel. If you haven’t got one then register for free here: https://m.do.co/c/aeec1cef58b6
Shameless plug: Notice the referral link there ? Yes, please click it so that you can earn USD 10 credit on DigitalOcean (for testing this howto maybe?) and when you actually use and spent money on DigitalOcean then I’ll also get something from them too :)
Q: Can I install on different server other than DigitalOcean ?
A: Yes of course, you need Internet and preferably CLI root access
Continue reading “playSMS 1.4.2 on Ubuntu 18.04”
Are you still interested in using playSMS in Windows ?
Well, someone has wrote the manual for you in playSMS Forum. The manual is about installing playSMS in Microsoft Windows with Gammu for Windows as the gateway.
Check it out: https://forum.playsms.org/t/installing-playsms-on-windows/66
Please note that the playSMS in used was pretty old, version 0.9.9.2 or 0.9.8, and unfortunately the manual won’t work for playSMS 1.0.
When you have working playSMS with Kannel, and Mikrotik configured to do something (not related to SMS), you can integrate them to serve something to your users. In the article below the author mentioned that the goals are:
- To renew expired users via sending Username and SCRATCH CODE to playSMS (Ubuntu Server)
- To renew expired users via sending SCRATCH CODE & verify the code with the user profile [later]
Users will be asked to send SMS to playSMS, and playSMS will handle it on its SMS Command to run a script that verify the SMS and commands Mikrotik to do something.
Visit complete article here:
Device file names aren’t persistent, this problem add complexity when managing GSM modems for Kannel, smstools or Gammu.
Here is what you can do to solve problem with non-persistent device file names.
Browse around for latest entries on Google for keyword playsms and found this:
The article is explaining playSMS 1.0-rc9 installation and its basic usage in a simple way but in my opinion the right way to do it, it has screenshots with markers and it is also targeting beginners. The article could also be used as playSMS 1.0 references as both playSMS 1.0-rc9 and playSMS 1.0 are only slightly different.
Example of how to use SMS custom, a feature of playSMS provided by plugin SMS custom for accessing external script on remote URL to get proper SMS response.
Visit here to view example and discuss it: Auto collect sender mobile number
Another post worth to read: Manage custom keyword help – first time.
Try it on your own playSMS server, or use playSMS demo and menu Settings -> Simulate incoming SMS to simulate incoming SMS and the result.