Over the past few weeks, we’ve attempted to document some of the issues that have arisen as a result of what Red Hat claims it has been assigned from a few of the current CentOS developers. The CentOS trademark issues boil down to these: (1) ownership, (2) prior assignments and licenses, (3) dilution, and (4) GPL2. You can only sell that which you own. You can’t undo licenses that previously have been issued and relied upon. Generic use of a term over a lengthy period of years raises a strong presumption of genericide particularly when there has never been any attempt to protect the mark. And you can’t breathe a trademark exemption into GPL2 just because you’d like it to be a GPL3 license.
These issues obviously aren’t going to be settled overnight. Indeed, there are "the usual suspects" that put a not in front of virtually anything we suggest. That’s perfectly fine. We all have the right to our own opinions. But, absent some flexibility from Red Hat, these issues will work their way through a very cumbersome legal process over many years regardless of the views of the armchair quarterbacks. We’ll be watching and, if it becomes necessary, participating. There’s almost a decade of history on CentOS that some appear to have forgotten or perhaps never knew. Suffice it to say, CentOS has had a bit of a checkered past. We’ll cover some of it in coming months to give everyone a better appreciation of the issues that are at stake. In the meantime, PBX in a Flash has a loyal following, and we owe it to our users and supporters to remove the CentOS distraction and move on.
Today we are pleased to introduce PBX in a Flash 3 with an all-new GPL2 operating system, our own. It is compatible with the LAAMP stack that has been deployed by all of the Asterisk aggregations over the past decade including PBX in a Flash, Asterisk@Home, trixbox, Elastix, AsteriskNOW, and the FreePBX Distro. Simply stated, nothing has changed except the removal of the items to which Red Hat now asserts some ownership interest.
We’re rolling PIAF3 out in three stages, two of which we’re introducing today. There are new 32-bit and 64-bit virtual machine images. There are migration scripts to transform a PIAF2 server into PIAF3. And there will be new ISO images down the road a bit. The PIAF Dev Team is a group of individuals that do this for fun, not for profit. So eating comes first. Then we work on PBX in a Flash as time permits. No, we haven’t gotten filthy rich from donations and advertising. And, yes, we have sufficient resources to maintain the infrastructure necessary to continue to support the project indefinitely. If you’d like to volunteer to assist, by all means do so. The more, the merrier!
Movin’ On Up: Migrating Your PIAF2 Server to PIAF3
We’ve documented a simple procedure on the PIAF Forum to convert your PIAF2 server into a PIAF3 server. We fully appreciate that some may need a little hand-holding even though the scripts are provided and are in plain text. If you’d like to perform the procedure, set aside about an hour when your server is not in use AND only after you have made a full backup of your current system. For backup tips, go here and here and here. Then follow this link to begin. If you run into issues, just post your question on the forum. We have hundreds of gurus that stand ready to help you… cheerfully.
The Ultimate VoIP Appliance: PIAF3 Virtual Machine for VirtualBox
Today brings us to a new plateau in the virtual machine development era. We’re pleased to introduce a new product that can be installed in under 5 minutes and will run on any Windows PC, Mac, or Linux machine as well as Solaris. And, unlike the dedicated machine platforms and OpenVZ compromises of years past, today’s PIAF-Green Virtual Machine is state-of-the-art giving you everything a bare metal install from source code would have provided. Most importantly, the components are truly portable. They can be copied to a 4GB flash drive1 for the price of a good hamburger and installed from there onto any type of machine that happens to be in front of you. Five minutes later, you have a fully functional Asterisk server with FreePBX and exactly the same feature set and source code that you would have had doing a bare metal PIAF install to a dedicated server. And we’ve built 32-bit and 64-bit production-ready PIAF-Green Virtual Machines with Asterisk 11.7 and FreePBX 2.11. No Internet access required to perform the install. Sound too good to be true? Keep reading or, better yet, try the PIAF appliance for yourself. The install process is simple:
- Download and install VirtualBox onto a Desktop Machine of your choice
- Download and double-click on the PIAF-Green Virtual Machine to import it into VirtualBox
- Select the PIAF-Green Virtual Machine in VirtualBox Manager Window and click the Start button
Introducing Oracle VM VirtualBox
We’re late to the party, but Virtual Box®, Oracle’s virtual machine platform inherited from Sun, is really something. It’s not only free, but it’s pure GPL2 code. VirtualBox gives you a virtual machine platform that runs on top of any desktop operating system. In terms of limitations, we haven’t found any. We even tested this on an Atom-based Windows 7 machine with 2GB of RAM, and it worked without a hiccup. So step #1 is to download one or more of the VirtualBox installers from VirtualBox.org or Oracle.com. As mentioned, our recommendation is to put all of the 100MB installers on a 4GB thumb drive. Then you’ll have everything in one place whenever and wherever you happen to need it. Once you’ve downloaded the software, simply install it onto your favorite desktop machine. Accept all of the default settings, and you’ll be good to go. For more details, here’s a link to the Oracle VM VirtualBox User Manual.
Installing the PIAF3 Virtual Machine
Step #1 is to download the PIAF-Green Open Virtualization Appliance (.ova) of your choice from SourceForge. If you prefer torrents, they are there as well thanks to the work of Isaac McDonald.
Step #2: Verify the checksums for the .ova appliance to be sure everything got downloaded properly. To check the MD5/SHA1 checksums in Windows, download and run Microsoft’s File Checksum Integrity Verifier.
For Mac or Linux desktops, open a Terminal window, change to the directory in which you downloaded the .ova file and type the following commands:
md5 PIAF-Green-3.6.5.-32.ova (use md5sum for Linux) MD5: a0562d213a31ace848b8a00bfb3d9218
openssl sha1 PIAF-Green-3.6.5-32.ova SHA1: 7aa74ffdc6a0f2b5a2ec0557c7bb78f8fe9cfb23
md5 PIAF-Green-3.6.5.-64.ova (use md5sum for Linux) MD5: d146ce1381b58effcaaaf3ef095806ab
openssl sha1 PIAF-Green-3.6.5-64.ova SHA1: 19a9981094047eb25d585f9a2d0198a056d56a98
Step #3: Double-click on the downloaded .ova file which will begin the import process into VirtualBox. It only takes a couple minutes, and you only do it once. IMPORTANT: Be sure to check the Reinitialize the Mac address of all network cards box before clicking the Import button.
Once the import is finished, you’ll see the new PIAF-Green virtual machine in the VM List of your VirtualBox Manager Window. You’ll need to make a couple of one-time adjustments to the VM configuration to account for differences in sound and network cards on different host machines.
Click on the PIAF-Green Virtual Machine in the VM List. Then click Settings -> Audio and check the Enable Audio option and choose your sound card. Save your setup by clicking the OK button. Next click Settings -> Network. For Adapter 1, check the Enable Network Adapter option. From the Attached to pull-down menu, choose Bridged Adapter. Then select your network card from the Name list. Then click OK. On some VM platforms in order to successfully boot the VM, you may need to manually enable PAE/NX support under System -> Proccessor. On most platforms, it’s enabled by default. That’s all the configuration that is ever necessary for your PIAF-Green Virtual Machine. The rest is automagic.
Running the PIAF-Green Virtual Machine in VirtualBox
Once you’ve imported and configured the PIAF3 Virtual Machine, you’re ready to go. Highlight PIAF3 Virtual Machine in the VM List on the VirtualBox Manager Window and click the Start button. The PIAF3 boot procedure will begin just as if you had installed PBX in a Flash on a standalone machine. You’ll see a couple of dialogue boxes pop up that explain the keystrokes to move back and forth between your host operating system desktop and your PIAF VM.
Here’s what you need to know. To work in the PIAF3 Virtual Machine, just left-click your mouse while it is positioned inside the VM window. To return to your host operating system desktop, press the right Option key on Windows machines or the left Command key on any Mac. For other operating systems, read the dialogue boxes for instructions on moving around. Always shut down PIAF gracefully! Click in the VM window with your mouse, log in as root, and type: shutdown -h now.
Run the PIAF3 Virtual Machine behind a hardware-based firewall with no Internet port exposure!
To begin, position your mouse over the VM window and left-click. Once the PIAF VM has booted, log in as root with password as the password. Change your root password immediately by typing passwd at the command prompt. Now set up a secure maint password for FreePBX as well. Type passwd-master. If you’re not in the Eastern U.S. time zone, then you’ll want to adjust your timezone setting so that reminders and other time-sensitive events happen at the correct time. While logged into your server as root, issue this command:
Next, use a browser to log into your PIAF3 server by pointing to the IP address of the PIAF3 VM that’s displayed in the status window of the CLI. Click on the User button to display the Admin choices in the main PIAF3 Menu. Click on the FreePBX option to load the FreePBX GUI. You will be prompted for an Apache username and password. For the username, use maint. For the password, use whatever password you set up with passwd-master.
Now read the latest PIAF Quick Start Guide and begin your VoIP adventure. Then you’ll want to do some reading on VirtualBox. We’ve barely scratched the surface. Setting up Headless VMs that run in the background on any server is a breeze. From the command line, here’s an article to get you started. But you also can start Headless VMs from within the GUI by highlighting the VM and clicking Shift->Start. Always shut down VMs gracefully: Close->ACPI Shutdown. You’ll find more great tips at virtualbox.org and GitHub.
One of the real beauties of VirtualBox is you don’t have to use a GUI at all. The entire process can be driven from the command line. Other than on a Mac, here is the procedure to import, configure, and run the PIAF-Green Virtual Machine:
VBoxManage import PIAF-Green-3.6.5-32.ova
VBoxManage modifyvm "PIAF-Green-3.6.5-32" --nic1 nat
VBoxManage modifyvm "PIAF-Green-3.6.5-32" --acpi on --nic1 bridged
VBoxHeadless --startvm "PIAF-Green-3.6.5-32" &
# Wait 1 minute for PIAF-Green-3.6.5-32 to load. Then decipher IP address like this:
VBoxManage guestproperty get "PIAF-Green-3.6.5-32" /VirtualBox/GuestInfo/Net/0/V4/IP
# Now you can use SSH to login to PIAF-Green-3.6.5-32 at the displayed IP address
# Shutdown the PIAF-Green-3.6.5-32 Virtual Machine with the following command:
VBoxManage controlvm "PIAF-Green-3.6.5-32" acpipowerbutton
On a Mac, everything works the same way except for deciphering the IP address. Download our findip script for that.
Adding Incredible PBX 11 and Incredible Fax
You can read all about the Incredible PBX 11 and Incredible Fax feature set in our recent Nerd Vittles article. If you decide you’d like to add one or both to your PIAF-Green Virtual Machine, just log into your server as root and issue the following commands. NOTE: You must install Incredible Fax after installing Incredible PBX, or you will lose the ability to install Incredible PBX at a later time. With Incredible Fax, there are a number of prompts during the install. With the exception of the prompt asking for your local area code, just press Enter at every other prompt.
chmod +x incrediblepbx11
The Incredible PBX 11 Inventory. For those that have never heard of The Incredible PBX, here’s the current 11.0 feature set in addition to the base install of PBX in a Flash with PIAF 188.8.131.52, Asterisk 11, FreePBX 2.11, and Apache, SendMail, MySQL, PHP, phpMyAdmin, IPtables Linux firewall, Fail2Ban, and WebMin. Incredible Fax, NeoRouter and PPTP VPNs, and all sorts of backup solutions are still just one command away and may be installed using the scripts included with Incredible PBX 11 and PBX in a Flash 3. Type help-pbx and browse /root for dozens of one-click install scripts.
- CallerID Superfecta (FreePBX Module adds Names to CID Numbers)
- CallWho for Asterisk (Dial 411)
- Digium Phone Support (install-digiphones)
- Preconfigured Email That Works with SendMail and Incredible Fax
- OSS Endpoint Manager
- Extensions (1 preconfigured with random password)
- Festival Server and Festival TTS for Asterisk (festival –server &)
- Flite TTS for Asterisk
- FreePBX Backups
- Google Dictionary by Phone (Dial 333)
- Google News by Phone (Dial 951)
- Google Stocks by Phone (Dial 950)
- Google Voice (FreePBX GV/Motif Module)
- Hotel-Style Wakeup Calls (FreePBX Module)
- Incredible Backups… and Restores (install-incredbackup2)
- ISN: FreeNum SIP Calling from Any Phone
- MeetMe Conference Bridge (just dial C-O-N-F)
- Mondo Full System Backups (install-diskbackup)
- Incredible Fax 11 (/root/incrediblefax11.sh)
- Incremental Daily Backups (install-dailybackup)
- Munin Reports (install-munin)
- NeoRouter VPN Client (nrclientcmd)
- NewsClips from Yahoo
- ODBC Database Support (Dial 222, 223)
- OpenFire Instant Messaging & Chat Server (install-openfire)
- New PBX in a Flash Registry (show-registry)
- PPTP VPN for PIAF (/root/install-pptp)
- Reminders by Phone and Web
- SAMBA Windows Networking (configure-samba)
- SMS Dictator with Google Voice (Dial S-M-S)
- Speech-to-Text Directory Assistance (Dial 411)
- Stealth AutoAttendant
- TFTP Server (setup-tftp)
- Tide Reports with xTide (Dial T-I-D-E)
- Travelin’ Man 2 & 3 (Secure, remote access)
- Trunks (Vitelity, Gtalk, SIPgate, IPkall, VoIP.ms, and more)
- Weather by ZIP Code
- Worldwide Weather by Phone (Dial 949)
- Wolfram Alpha by Phone (/root/wolfram)
Originally published: Friday, February 21, 2014
Need help with Asterisk? Visit the PBX in a Flash Forum.
Special Thanks to Our Generous Sponsors
FULL DISCLOSURE: ClearlyIP, Skyetel, Vitelity, DigitalOcean, Vultr, VoIP.ms, 3CX, Sangoma, TelecomsXchange and VitalPBX have provided financial support to Nerd Vittles and our open source projects through advertising, referral revenue, and/or merchandise. As an Amazon Associate and Best Buy Affiliate, we also earn from qualifying purchases. We’ve chosen these providers not the other way around. Our decisions are based upon their corporate reputation and the quality of their offerings and pricing. Our recommendations regarding technology are reached without regard to financial compensation except in situations in which comparable products at comparable pricing are available from multiple sources. In this limited case, we support our sponsors because our sponsors support us.
BOGO Bonaza: Enjoy state-of-the-art VoIP service with a $10 credit and half-price SIP service on up to $500 of Skyetel trunking with free number porting when you fund your Skyetel account. No limits on number of simultaneous calls. Quadruple data center redundancy. $25 monthly minimum spend required. Tutorial and sign up details are here.
The lynchpin of Incredible PBX 2020 and beyond is ClearlyIP components which bring management of FreePBX modules and SIP phone integration to a level never before available with any other Asterisk distribution. And now you can configure and reconfigure your new Incredible PBX phones from the convenience of the Incredible PBX GUI.
VitalPBX is perhaps the fastest-growing PBX offering based upon Asterisk with an installed presence in more than 100 countries worldwide. VitalPBX has generously provided a customized White Label version of Incredible PBX tailored for use with all Incredible PBX and VitalPBX custom applications. Follow this link for a free test drive!
Special Thanks to Vitelity. Vitelity is now Voyant Communications and has halted new registrations for the time being. Our special thanks to Vitelity for their unwavering financial support over many years and to the many Nerd Vittles readers who continue to enjoy the benefits of their service offerings. We will keep everyone posted on further developments.
Some Recent Nerd Vittles Articles of Interest…
- Many of our purchase links refer users to Amazon when we find their prices are competitive for the recommended products. Nerd Vittles receives a small referral fee from Amazon to help cover the costs of our blog. We never recommend particular products solely to generate Amazon commissions. However, when pricing is comparable or availability is favorable, we support Amazon because Amazon supports us. [↩]