Upgrading playSMS

As of today the latest stable release is playSMS 1.4.3. This version is very important, it contains fixes to critical security vulnerability. If you have installed and currently running previous version such as playSMS 1.4.2 then you must upgrade it immediately.

Upgrading playSMS is about replacing all files and folders, and run an SQL DB upgrade. Upgrades in playSMS rarely deleting old files, more like modifying them so that you can just replace them with the new one, unless ofcourse specifically said otherwise.

This article is a guide for howto upgrade previous version of playSMS. You already have a working playSMS and its one-version behind the latest stable release, for example you have 1.4.2 installed and now released 1.4.3.

Continue reading “Upgrading playSMS”

plugin-easysms for playSMS

Alexandros Mavromichalis of Tern.gr wrote me that they have created a gateway plugin for EasySMS SMS Gateway.

The gateway plugin is here:

They said that they will do their best to keep it up to date, thank you for that.

Gateway Plugin Twilio

playSMS is a web application for managing users, credits, features, routes and gateways, for sending and receiving SMS. playSMS is not an actual SMS gateway, it cannot send or receive SMS by itself. It needs another application or service, SMS gateway or gateway for short, to actually send and receive SMS. Twilio is one of those SMS gateway.

playSMS uses plugins for various functions and one of them is for handling those SMS gateways. Gateway Plugin in playSMS is referred to plugin that handles actions such as sending and receiving SMS for playSMS from/to actual SMS gateway.

In this article I will explain how to configure a Gateway Plugin Twilio to connect playSMS with SMS service in Twilio.

Continue reading “Gateway Plugin Twilio”

Install playSMS 1.4.3 on VirtualBox

This article is about playSMS 1.4.3 installation on VirtualBox. What you need is a computer that is connected to the internet and capable of running VirtualBox properly.

To actually send and/or receive SMS you will need another piece that is not part of this article. You can discuss that in playSMS Forum.

I will be using Ubuntu 18.04 on my VirtualBox. That means you can compare this article with previous article playSMS 1.4.3 on Ubuntu 18.04. There should be similarities, but of course the previous article focus on cloud installation and this one is more like local installation.

Since the installation is local you will need to download Ubuntu Server 18.04 ISO file from Ubuntu websites, save it somewhere in your computer.

This article is first published in: https://antonraharja.com/2020/04/24/playsms-1-4-3-on-virtualbox/

Continue reading “Install playSMS 1.4.3 on VirtualBox”

Install playSMS 1.4.3 on Ubuntu 18.04

playSMS version 1.4.3 has been released, and it is the recommended version as it contains fixes to several bugs and critical security vulnerability. This article is howto install playSMS 1.4.3 on Ubuntu 18.04.

I’m using DigitalOcean (DO) service to test the configuration and commands. Create new Droplet in DO account. Click here to register on DO if you don’t have an account.

Choose Ubuntu 18.0.4 (currently 18.04.3 LTS) and select at least the cheapest service (USD 5). Create and wait for a minute or two for the SSH to be ready. You can then login via SSH and start playSMS installation.

Login to your CentOS droplet (later we will call droplet as server) using SSH and follow instructions below step by step. Read carefully why you need to do each step correctly. Please pay attention to details.

This article first published in: https://antonraharja.com/2020/03/20/playsms-1-4-3-on-ubuntu-18-04/

Continue reading “Install playSMS 1.4.3 on Ubuntu 18.04”

Install playSMS 1.4.3 on CentOS 7

playSMS version 1.4.3 was released recently and currently it is the recommended playSMS version available. The release fixed critical security vulnerability and contains other bugfixes and improvements. This article shows you step by step howto install playSMS version 1.4.3 on CentOS 7.

I’m using DigitalOcean (DO) service to test the configuration and commands. Create new Droplet in DO account. Click here to register on DO if you don’t have an account.

Choose CentOS 7 (currently 7.6) and select at least the cheapest service (USD 5). Create and wait for a minute or two for the SSH to be ready. You can then login via SSH and start playSMS installation.

Login to your CentOS droplet (later we will call droplet as server) using SSH and follow instructions below step by step. Read carefully why you need to do each step correctly. Please pay attention to details.

This article first published in: https://antonraharja.com/2020/03/10/playsms-1-4-3-on-centos-7/

Continue reading “Install playSMS 1.4.3 on CentOS 7”

playSMS 1.4.3 has been released

playSMS version 1.4.3 is available for download. This version contains bugfixes and security fixes. Vulnerability found on previous playSMS considered severe and it is recommended to upgrade previous playSMS installation with version 1.4.3 as soon as possible.

Please visit this playSMS Forum post for more information.

UPDATE

Technical advisory about certain security vulnerability of playSMS related to this release has been published by Lucas Rosevear of NCC Group:

Again, timezone setup

This is the article of an example of how to fix timezone issue with playSMS.

This is my server’s time, its in UTC:

$ date
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
; http://php.net/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
; http://php.net/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):

Restart playsmsd and do some test, for example send an SMS with a schedule.

As a reference please read this:
https://playsms.org/2013/12/07/fix-timezone-problem/

plugin-telnyx for playSMS by PowerPBX

A recent pull-request has been made to the project, it was from PowerPBX for a gateway plugin telnyx. But since I’m having a hard time maintaining gateway plugins due to the need to keep following SMS service provider’s API, I prefer to reject it and ask them to setup their own project just for the plugin.

They did, and thanks for that.

So here you are, the plugin’s project website:

For those using the telnyx’s SMS service or would like to try it, please install the plugin by following installation manual on the plugin’s project website.

Enjoy.