800-818-7199 diy@diypbx.com

Video 1: Introduction: How to Set-up a VoIP PBX Phone System

These instructional videos teach you how to use a FreePBX template to create and host your own VoIP phone system using DigitalOcean. As we go through this video series we’re going to show you how to first configure your template, and then show you how to configure a free SIP trunk to use with your newly created PBX. We are going to use SIP.us SIP trunks, because it has the FreePBX module inside of it, which makes it incredibly easy to spin up your SIP trunks with this template. We will also show you how to configure some IP Phones and ATAs, as well as the various settings to setup your phone system.

1. Click here to get started with DigitalOcean.

  • If you use this referral link you will get a $10.00 credit when you create your DigitalOcean account.
  • That $10.00 credit is going to be enough for 2 months of service at the $5.00 droplet level, which is the smallest instance they offer, and all that you’re going to need to set this up and have a fully functioning phone system.

2. After you have entered all your information in the referral link, Email support@diypbx.com your DigitalOcean email address and we will send you our FreePBX template (for free!).

3. Log into your newly created DigitalOcean account and do not create your first droplet.

  • Wait for us to send you the template.
  • Once we have sent the template you will need to be logged into your DigitalOcean account to accept it.
  • You can use this template to create your first droplet.

4. Click “Create Droplet”. Do not select any of the distributions, instead go over to the “Snap Shot” tab.

  • Once you’re in the Snap Shot tab you will notice that it might not let you pick the image we just shared.
  • We shared it with NY2 (New York 2), both have to choose the same data center region (both have to be NY2).
  • You can now select it, once it turns blue (it’s very important that it turns blue, or else it’s going to spin up a Ubuntu instance, and you don’t want that). You want the image that we’ve already shared with you.

5. Choose the $5.00 per month “blue” image, “blue” on NY2, and you can add an SSH key (highly recommended, but something we do not cover in this video). You can also add any other options that you want.

6. At this point you’re ready to start, and it’s time to create one droplet off that image (you could create more if you really want to).

  • You’ll need to rename it, and then click “create” to spin up the instance that you’re preparing here.
  • It normally takes anywhere from 30 seconds to 5 minutes, depending on what DigitalOcean has going on with its servers (busy time of day, etc).
  • Once complete it will send you an email with a temporary password.
  • The password cannot be a dictionary word and needs to follow best password security practices.
  • If you do not see the email appear within 2 minutes, check your spam folder, the email should have come quickly.

7. Once you have the email, you’ll notice you cannot copy the password into your browser, so you’ll need to manually type it right into the DigitalOcean console.

8. Hit enter and get to your login screen. The username is “ROOT”, now you can type in the password they just sent you in the email.

9. You will now be prompted to change the password, you’ll need to enter this, but first confirm the old password. Again, no dictionary words can be used for passwords (mix in numbers and symbols).

10. Once you’ve entered your new password, you will then be dropped off into the PBX in a Flash screen.

  • Here you can see what’s going on with your server, you can see that everything looks pretty much okay.
  • We don’t need SAMBA so don’t worry about that.
  • Ethernet 0 is the correct default option.
  • You won’t need to worry about any of the other options at this point.

11. Your next step will be to set the password up for the GUI, to allow your IP address access to the GUI.

  • You will see a little script in here called “passwd-master”, when you run that command it’s going to bring up a terms and condition screen, license disclaimer, protection, etc. Just hit enter to keep going.
  • This command will check to make sure everything is in order on the GUI side. The passwords will all be generated at the same time.
  • Type “A” and generate the random password. You will see your password on the screen, and you have a couple options: You can keep it or get a different one, you’ll want to type “A” to select another password.
  • Make sure you write the password down!
  • Next, hit enter.

12. A sync process for all the passwords that are kept in various places will begin that syncs them up with the one you’ve just selected as your random password.

  • We do not recommend changing any of your passwords manually if you are a new or novice user.
  • Using the “APSASWD-master” script is going to set everything for you, which will save a lot of time, and ensure that you can consistently log in.

13. Next you’ll need to allow your IP address access to the GUI. To do this you need to use IP tables. There are many good tutorials on IP tables, but we’re going to show you just the essential commands that you need to get started.

14. When you get to the point that it issues an “amportal restart command” it is almost done.

15. When it is completed and initialized you can take a look at what’s in the IP tables rule by typing in “iptables -L -n” and from there you will see all the different rules that are available, as well as the one’s we have put in there for you (“udp dpts : 10000 – 20000”, accepting everything from the local host, allowing certain ICMP types so you can ping the machine, allowing DNS queries to get through, and “fail to ban jails” as a security 3x fail login feature, etc.).

16. The command to add your IP address is “iptables -A INPUT -s [your ip address here]” You must list your WAN IP address. If you don’t know what your WAN IP address is just google “what is my ip”. Once you have your IP address add “-j ACCEPT”. For example if your ip address is 12345, it should look like this “iptables – A INPUT -s 123456 – j ACCEPT”. It then accepts your IP address once you’ve saved.

You should now have your FreePBX template set up on DigitalOcean.

What is Digital Ocean?

DigitalOcean is a cloud infrastructure provider focused on simplifying web infrastructure for software developers.

Why use Digital Ocean?

Cloud hosting allows you to configure an affordable, scalable and reliable PBX server in the cloud.  This is much less expensive and onerous than installing and maintaining your premise based PBX, and far less expensive than paying for hosted seats..

What size droplet should I select?

Assuming all employees are on the phone 8 hours per day (the full day), you could get an office of about 40 people at the $10.00 price:

  • 95 Kbps per call (allows for overhead, HD voice, regular traffic, and whatnot).
  • Would allow 22,605,091 seconds of talk time or 6,279 hours.
  • There are 730 hours in a 30 day month (160 hours on a 20 day working month).

For most businesses the $10.00 2TB transfer package absolutely ensures they would never run into any usage issues, however the $5.00 per month will likely be sufficient.

How do I get the DIY PBX FreePBX template?

Sign up for your DigitalOcean account.

Email support@diypbx.com your DigitalOcean email address.

What is the default user name for DigitalOcean?