Tech

Hosting Vodia PBX in Google Cloud

Published on:

October 3, 2019

In this blog, we will cover the basic steps in setting up the Vodia PBX with Google Cloud. If you don’t have a google account, you can sign up at https://cloud.google.com/ and get $300 to spend on Google Cloud Platform over the next 12 months!

Hosting Vodia PBX in Google Cloud

October 2, 2019 Press Releases, Vodia Blog

In this blog, we will cover the basic steps in setting up the Vodia PBX with Google Cloud. If you don’t have a google account, you can sign up at https://cloud.google.com/ and get $300 to spend on Google Cloud Platform over the next 12 months!

If you don’t have a Vodia account, signup for free and receive a free license. https://portal.vodia.com/en/register

Getting Started

Once you have access to your Google Cloud Navigate to (Compute Engine) to create a VM.

Vm_instance

Click on create

Create_VM

Setting up your VM

  • Name Your instance (Lower case) no spaces
  • Choose your region and zone
  • Machine configuration (Choose General-Purpose)
google_region

Building your instance

  • Choose your operating system.  (For this tutorial I am using Debian) You can use Windows or any other Linux flavor.
  • Service Account (Choose Compute Engine default service account)
  • Access Scope (Choose Allow default access)
  • Firewall Setting (Choose Allow HTTP traffic and Allow HTTPS Traffic)

When done, click create.

Vm_google

Running instance

Now that the VM is running, Google has provided us with an internal IP and external IP addresses. These IP addresses will be assigned to the Vodia PBX to determining the audio packets.

running_instance

Edit the firewall

Next, we are going to set up the firewall on Google Cloud.

Click on your instance as shown below.

instclick

Next, scroll down to (Network details) and click on (View details)

firewall_2

In the right-hand panel choose (Firewall rule).

gollgefirewall

Create Firewall Rules

  • Click on (default-allow-internal)
  • Change the IP source address from to 10.128.0.0/9 to 0.0.0.0/0 and save.
  • This will take care of the following ports
  • 80     (TCP)
  • 443   (TCP
  • 5060 (UDP)
  • 5061 (TCP)
  • RTP Ports 49152- 64512
  • LDAP Ports 2345-2346
default_route

Installing the VodiaPBX Phone System

To install the VodiaPBX, we need to log in with SSH, to do this, click on the SSH drop down and choose (Open in the browser window).

ssh

This will open an SSH session on your browser.

ssh123

Since I am using Debian, I am going to navigate to https://doc.vodia.com/install_linux for the executable script.

In the command line, copy-paste the following in order.

In Debian:

  • wget http://portal.vodia.com/downloads/pbx/install-debian.sh after the script has been downloaded copy-paste the following cmd.
  • chmod a+rx install-debian.sh
ista12

  • To execute the script you will have to use sudo ./install-debian.sh then sit back and relax!
Installing_Debian

When the script is done installing, the VodiaPBX will automatically startup.

Logging into the VodiaPBX

To log into the Vodia PBX, you will need to check your external IP address, this can be found in the main page of your VM.

Copy-paste the IP or click on the open browser link.

vodia_login

You will be presented with the Vodia login page, The user login is admin, there’s no password configured yet, so we will have to create one.

google!

You will be presented with the license terms, click Agree to continue.

license_terms

VodiaPBX license

Setting up the login password

Navigate to settings –> Security –>General

  • Enter a username
  • Enter a password /repeat
  • Allow login only from listed address ( is optional)
  • Save the password in a safe place
password

Behind NAT

Since Google Cloud is behind NAT, we need to program the Vodia PBX to use the external IP address of the VM. The ( IP Routing list ) in the Vodia PBX is used to override the operating system IP routing table. (This setting will be consulted by the system before consulting/using the operating system)

To check your internal/external IP address, click on the three-line icon and scroll down to (Compute Engine)

nat

In this example, my internal IP is 10.150.0.2 and my external IP is 35.236.234.40

IP Routing list value is as follow.

Example: :10.150.0.0/255.255.255.0/10.150.0.2 0.0.0.0/0.0.0.0/35.236.234.40

To add your IP routing list on the Vodia PBX navigate to Settings –>SIP –>Setting as shown below, and add your value and save.

IP_routing list

Well, that was fun! To learn more about the VodiaPBX phone system visits us at https://vodia.com/getting-started-with-vodia

Latest Articles

View All

Vodia: Optimizing Enterprise VoIP

At Vodia, we recognize the inherent challenges facing enterprise VoIP, particularly in maintaining high-quality audio connections amidst factors like jitter, network latency, and packet loss. These issues disrupt the seamless communication experience essential for business operations. To address these challenges, we've developed innovative solutions within our PBX, such as recording decrypted RTP packets and offering flexible options for data privacy. Our commitment lies in resolving these obstacles efficiently, ensuring businesses can rely on uninterrupted communication without compromising on security or performance.

May 15, 2024

Transcribe Recorded Calls and Voicemails in Multiple Languages with the Vodia Cloud Phone System

Unlock the power of multilingual communication with Vodia's Cloud Phone System, supporting up to 18 languages for transcription and translation. Our global commitment to innovation ensures accessibility to our feature-rich PBX worldwide. Using AI language models, Vodia enables speech-to-text and text-to-speech conversion in 18 languages. Seamlessly integrate languages like Arabic, Spanish, and Japanese into your Vodia PBX. Enhance customer service, streamline call handling and expand your global reach with our multi-language capabilities.

May 7, 2024

Version 69.2.4 of The Vodia Phone System Now Available​

Vodia recently released version 69.2.4, the latest update to their industry-leading cloud phone system. This update boasts a completely rebuilt frontend, providing a modern user experience, and integrates seamlessly with nearly any browser-based platform. A key feature is integration with Grafana, a powerful tool that enables comprehensive monitoring of Vodia instances across various platforms. Version 69.2.4 also brings several other improvements, including the ability to add custom notes to accounts, sending CDR emails for regular extensions, and enhanced support for Mitel 68xx and 69xx series phones.

April 30, 2024