Total Pageviews

Sunday 30 July 2017

在Flash (PIAF)中安装PBX

In this tutorial I will walk you through the steps to set up and secure PBX in a Flash on a DigitalOcean droplet. These instructions have been tested. However, use at your own risk. They can also be used on dedicated servers and any KVM- or Xen-based VPS with freshly installed CentOS 6。
DEPRECATION NOTICE: PBX in a Flash 3 is DEPRECATED as of 2017. Instructions in this article may no longer work. For the latest developments in PBX in a Flash, see the official websitePIAF@SourceForge and Nerd Vittles.

Introduction

"PBX in a Flash™ is the Lean, Mean Asterisk Machine designed to meet the needs of hobbyists as well as business users and VARs. You'll have a high-performance turnkey Asterisk PBX that's easy to upgrade with dozens of add on scripts to provide virtually any feature you can imagine. With PIAF you can choose from tons of Nerd Vittles and FreePBX® applications that install in under 15 seconds: AsteriDex, Weather Reports, News Feeds, Email by Phone, Telephone Reminders, and many more."
  - From pbxinaflash.comWard Mundy & Associates LLC (Google+).
PBX in a Flash (PIAF) is a free full-featured IP PBX server that bundles AsteriskFreePBX and other apps. You can make cheap phone calls by integrating the PBX with a low-cost VoIP provider (such as Localphone). For example, integrating with an existing Google Voice account will enable free calling (via Wi-Fi/3G) to anywhere within the U.S. and Canada.
What's even better is that in IP PBX, calls between extensions are FREE! No matter where in the world you are, as long as you have Internet access. And generally you get good sound quality, too. With a suitable codec, you can even place and receive calls on 3G or make video calls.
If you haven't heard DigitalOcean before, they are a cloud computing provider where customers can deploy virtual private servers (VPS) for purposes such as web hosting and VoIP. They call their KVM VPS "droplets", with a choice of eight locations in the U.S., Canada, Germany, Netherlands, India, U.K. and Singapore. Sign up using this link to get $10 credit for free! That's enough to run a 512MB RAM / 20GB SSD droplet for two months!
RamNode is another established provider of SSD and SSD-cached VPS. They have consistently ranked #1 in the LEB "Top Provider" polls, and feature five locations within the U.S. & Europe.

Dacentec offers quality dedicated servers at very affordable prices, with fast and friendly support. Their data center is based in North Carolina, USA.
Note: If you like this article and want to support my site, please consider signing up using my referral links above.

The Challenge

The biggest challenge for installing PIAF on DigitalOcean is that there is NO easy way to mount the official ISO, and there are also NO pre-built templates like the official AMIs on Amazon EC2. However, despite the challenge, the installation could be done. Basically, the steps involve mounting the ISO via the "loop" device, adding the PIAF repo from ISO, use yum to install packages, and run post-install tasks.
I was inspired by the article How to install PBX in a Flash on your virtual server and this forum post by Joe, which I shall give credit. Those instructions were for an older version of PBX in a Flash, so I updated them here for the latest PIAF ISO version 2.0.6.5
from https://blog.ls20.com/install-pbx-in-a-flash-piaf-on-digitalocean/

related post: http://briteming.blogspot.com/2017/07/asterisk-voip.html

No comments:

Post a Comment