playSMS 1.4.2 on Ubuntu 18.04


This article is old. Please use playSMS version 1.4.3 instead. Previous version of playSMS contains security vulnerabilities and have been fixed in 1.4.3.

Same method described in this article can still be used to install playSMS 1.4.3, you just need to change 1.4.2 to 1.4.3.

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.

Let’s Start

Login to your DigitalOcean web panel. If you haven’t got one then register for free here:¬†

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”

playSMS 1.4 on CentOS 7.2 with MariaDB 5.5.50

Yet another playSMS 1.4 installation article, this time its on CentOS 7.2 with MariaDB 5.5.50 instead of MySQL.

Prepare VPS

I’m using DigitalOcean VPS service and install CentOS 7.2 with enough RAM and disk, I choose 512MB RAM and 20GB SSD disk.

You can always use your own VPS or any other method to install CentOS.

Update CentOS

SSH to VPS and update CentOS:

yum update

Updating CentOS may take sometime to finish, and if you know what you’re doing than you can just skip this step.

Continue reading “playSMS 1.4 on CentOS 7.2 with MariaDB 5.5.50”

playSMS 1.4 on Ubuntu 16.04 with PHP 7.0

This is the tutorial of howto install playSMS 1.4 on Ubuntu 16.04 with PHP 7.0. I’m using DigitalOcean to write this tutorial. I choose Nginx as the web server and MySQL as the database server.

There are 9 steps that you need to do correctly and in order. It seems complicated and looks like a long tutorial, but its relatively easy to follow and straightforward. Post your question in playSMS user forum should you encountered any problem following this tutorial.

In this tutorial the password is not secure and I’m logged in as root. If you know what you’re doing then you should know that you can always use any Ubuntu 16.04 server, not just on DigitalOcean. And you can always use your own secure password and use non-root login.

Let’s start.

Step 1

Login to your DigitalOcean account, create a Ubuntu 16.04 x64 droplet. In about 2 minutes you’ll have a working Ubuntu 16.04 server. Use SSH to access your server.

If you haven’t got the account, register and I think you’ll get a chance to create a free droplet.

Continue reading “playSMS 1.4 on Ubuntu 16.04 with PHP 7.0”

OpenSIPS on Ubuntu Part 3

Let’s add authentication on this part. Yes, that is the main focus of this article, to add an authentication mechanism so that SIP User Agent (SIP UA) can be authenticated by OpenSIPS.

Upon giving the username and password, UA will send a SIP REGISTER request to OpenSIPS. On 2 previous articles (part 1 and part 2) those SIP REGISTERs were ignored, all UA were just saved on user location by OpenSIPS regardless of what username or password they sent.

Of course we don’t want that for a production server, we want UAs to be authenticated with correct username and password. The username and password that admin set on OpenSIPS for each UA.

Please note that this article is the 3rd part of OpenSIPS on Ubuntu howto series. In order to successfully understood the content of this part you must previously followed article part 1 and part 2:

  • Part 1 talks about OpenSIPS installation and basic configuration.
  • Part 2 talks about how MediaProxy can be used to help OpenSIPS overcome certain NAT issues.

Let’s start part 3: all about authentication.

Continue reading “OpenSIPS on Ubuntu Part 3”

OpenBTS UMTS Bagian 1

Pagi ini jadwal saya ke Universitas Gunadarma untuk melanjutkan riset ngoprek OpenBTS, kali ini kami berniat mencoba OpenBTS-UMTS.

Ya, 3G dengan OpenBTS. 3G dengan perangkat Ettus N210 yang sebelumnya telah dibuatkan artikelnya beberapa waktu lalu, OpenBTS 5.0.

Keseluruhan riset ngoprek dibagi dalam 2 artikel atau 2 bagian:

  • Bagian 1 mengenai instalasi aplikasi OpenBTS-UMTS dan inisiasi hardware
  • Bagian 2 nanti fokus pada konfigurasi lanjutan dan ujicoba di lapangan

Artikel bagian 1 ini terdiri dari 4 sub-judul:

  1. Persiapan Software
  2. Persiapan Hardware
  3. Instalasi OpenBTS-UMTS
  4. Konfigurasi Dasar

Harap dicatat bahwa ujicoba belum benar-benar dilakukan pada bagian 1 ini. Saya tidak tahu apakah nanti 3G benar-benar dapat digunakan atau tidak. Atau kesulitan-kesulitan apa yang mungkin akan ditemui saat ujicoba.

Bagian 2 direncanakan untuk di-publish minggu depan.

Mari kita mulai bagian 1.

Continue reading “OpenBTS UMTS Bagian 1”

OpenSIPS on Ubuntu Part 2

This article would be the second part of OpenSIPS 1.11.6 installation on Ubuntu Server 14.04.

The first part available here. It is recommended to read and follow the first part first.

There are 2 sections available in this part:

  1. MediaProxy
  2. OpenSIPS NAT Configuration

The focus on this part is to setup a way to help User Agents under NAT routers. No user authentication stuffs will be added, for that you will need to also follow the instruction on part 3, when its available (soon).

Let’s do the 2nd part.

Continue reading “OpenSIPS on Ubuntu Part 2”

OpenSIPS on Ubuntu Part 1

OpenSIPS 1.11.6 LTS installation on Ubuntu Server 14.04 LTS Part 1.

This article is divided into three sections:

  1. Preparation
  2. Installation
  3. Basic Configuration

The focus on this part is only the installation and a very basic configuration just to see if the OpenSIPS installed properly.

Warning, you have to also follow and do the next part to finalize setups and to secure the OpenSIPS installation on Ubuntu.

Let’s do the part 1.

Continue reading “OpenSIPS on Ubuntu Part 1”