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.

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

Update CentOS

SSH to VPS and update CentOS:

yum update

Notes:
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”

Setting Up STUN/TURN Server on meetme.id

This article is about how I setup a STUN/TURN service server on my domain meetme.id, so I do not forget how to do it again later :) You can then use the STUN and/or TURN server on meetme.id from anywhere, any application that requires one or both of them.

meetme.id is a service server that I setup to test and learn the current IP communication technologies such as WebRTC, SIP and XMPP/Jabber. I also try to seriously setup and maintain it so that it can actually be useful to anyone for actual usages on a long-term.

UPDATE:

Actual deployment of STUN/TURN server on meetme.id is different than this manual. Current implementation the STUN/TURN server on meetme.id are using different port than the default setup.

Public STUN server address : stun.meetme.id:443

Public TURN server address : turn.meetme.id:443 (UDP/TCP)
Public TURN credential     : public
Public TURN username       : public

This article is divided into three parts:

  • Part 1: Installation
  • Part 2: Basic Configuration
  • Part 3: The Test

The server is using Ubuntu Server 14.04 and the STUN/TURN server software is Coturn.

Just in case you’re wondering why you should need to even use a STUN and/or TURN service server, here are some pages to start with:

Ready ? Let’s begin.

Continue reading “Setting Up STUN/TURN Server on meetme.id”