Professional Documents
Culture Documents
BUILD & DEPLOY YOUR OWN PRIVATE PIAF-GOLD WITH ASTERISK VOIP TELEPHONY SYSTEM 3
Introduction 3
1
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
Introduction
PBX in a Flash is an aggregation of open source tools used to build a flexible, extensible VoIP telephony
PBX. The open source tools include the CentOS 5.5 operating system, Apache web server, MySQL
database management system, PHP, and the Asterisk 1.4 PBX/FreePBX 2.6 telephony platform.
The latest PIAF is a really neat load of CentOS 5.5, FreePBX 2.6, Asterisk, and many other GPL or open
source software packages. The goal of PIAF is to have a simple turn-key solution to starting an Asterisk
server, and it works really well in from not so powerful machines. It has more options than some existing
PBX, and works in a number of types of deployments (including Amazon EC2), and a Linux firewall, and
Fail2Ban for enhanced security. Asterisk is an open source private branch exchange (PBX) sponsored by
Digium that facilitates voice over IP in many protocols and interoperates with almost all standards-based
telephony equipment using relatively inexpensive hardware. SIP (Session Initiation Protocol) is the most
developed protocol used by Asterisk.
A Private Branch Exchange (PBX) or a Private Automatic Branch Exchange (PABX - which is out of
fashion since all modern day PBXs are automatic), is a phone switch serving a business or organization
and is usually located on the organization’s premises. The PBX provides phone services including internal
calling, and access to the public switched telephone network. It allows a small number of outside lines to
be shared among all of the people of the organization. Advanced PBX phone switches sometimes provide
auto-attendant, voice-mail, and ACD (automatic call distribution) services for the organization.
3
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
Fig. 1
3. From Fig. 2, Loading SCSI driver screen, wait for the system to complete current task.
Fig. 2
4
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
4. From Fig. 3, Keyboard Type screen, accept the default selection, or change as desired, tab to OK,
and then hit on the Enter key to continue.
Fig. 3
5. From Fig. 4, Time Zone Selection screen, accept the default selection, or change as desired, tab to
OK, and then hit on the Enter key to continue.
5
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
Fig. 4
6. From Fig. 5, Root Password screen, enter appropriate root user password, tab to OK, and then hit on
the Enter key to continue. Warning! Do not loose this password as you’ll need it to login to PBX box.
Fig. 5
7. From Fig. 6, Installation Progress screen, wait for the system to complete current task, it will
continue when done.
6
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
Fig. 6
8. On the next screen Checking Dependency, wait for the system to complete current task, it will
continue when done.
9. From Fig. 7, Formatting screen, wait for the system to complete current task, it will continue when
done.
Fig. 7
10. From Fig. 8, Copying File screen, wait for the system to complete current task, it will continue when
done.
Fig. 8
11. From Fig. 9, Package Installation – Install staring screen, wait for the system to complete
current task, it will continue when done.
7
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
Fig. 9
12. From Fig. 10, Package Installation screen, wait for the system to complete current task, it will
continue when done. Time to take a break and grab a cup of coffee – it’ll take several minutes to
minutes to complete current task.
Fig. 10
13. From Fig. 11, Bootloader screen, wait for the system to complete current task, it will automatically
reboot the system when done.
8
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
Fig. 11
14. The system will reboot through CentOS-5 Screen, as show in Fig. 12
Fig. 12
15. When the system reboots back, you should end-up with the screen displayed on Fig. 13.
9
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
1. PIAF-GOLD Asterisk 1.4/Zaptel: - represents the last version of Asterisk that supports Zaptel
which now replaced with Dahdi. Choose this option if you’re looking for a stable rock solid PBX
that has been around a long time. However, be warned that it lucks the bells-and-whistles of the
up-to-the minute features.
2. PIAF-SILVER Asterisk 1.4/Dahdi: - installs the current version of both Asterisk 1.4 and Dahdi,
respectively. Use this if you want to take advantage of Dahdi, which supports almost all types if
add-in ports to digital card. Dahdi has come along way and is now quite stable and can be used
for production.
3. PIAF-BRONZE Asterisk 1.6/Dahdi: - installs the current version of Asterisk 1.6 and Dahdi,
respectively. Choose this option if you’re looking to implement current PBX-based “bleeding-edge”
features for those who want to stay at the technology cutting-edge. Although, most 1.6 based
systems are quite stable, it’s important to note that this product represent the newest and is under
constant development, which may lead to instability in the product.
4. PIAF-PURPLE Asterisk 1.8/Dahdi: - Not recommended for production – but great for deploying
under pilot testing to stay at the forefront of technology.
5. Exit the console to install drivers: - allows you to install any required drivers that may be
missing from the default CentOS 5.5 distro. Use this option only if you have advance Linux
knowledge.
10
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
16. From Fig. 13, select Q option to access Fig. 14. Login with the root user credentials. Here you have
the option to install additional drivers not install by default during initial installation.
17. From Fig 14, type "piafxtras-menu" and hit on the Enter key, to access “PiafPreInstallation –
menu”, as shown in Fig. 15.
Fig. 15
18. From Fig. 15, hit the Enter key to see a list of available programs, as shown in Fig. 16.
11
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
Fig. 16
19. You may hit Q key to exit when done, followed by typing "shutdown now -r" to reboot the system
and get you back to the PIAF install menu, shown earlier in Fig.13.
20. Let’s choose option B, to install "PIAF Gold Asterisk 1.4/Zaptel".This will allow us to test the
most stable and oldest of the PBX Asterisk system. To install it, hit A key to start installation. There
will be several progression screens; and I’ll only list some of the important ones. The first of the many
screens to install Gold version, is like shown in Fig. 17.
Note: read the disclaimer and know what you should if things fails during installation!
Fig. 17
21. The next screen of importance is the software download stage, as shown in Fig. 18.
12
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
Fig. 18
22. Finally, we have the welcome screen Gold version of PBX, as shown in Fig. 19.
Fig. 19
23. We’re now at binary validation stage, wait while system completes the current task, it will continue
when done, see Fig. 20.
Fig. 20
24. The software compiling stage is the most important phase Asterisk setup. Read info, which warns
about not touching the Enter key, as shown in Fig. 21. It will continue when done. Time to take
another coffee break, as it will take several minutes to complete current tasks.
13
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada
Fig. 21
25. For full access to the hands-on training manual follow the link below:
• Build and Deploy Your Own Private PIAF-GOLD with Asterisk VoIP Telephony System
OR
http://www.docstoc.com/docs/58259143/Build-_-Deploy-your-own-Private-PIAF-GOLD-with-Asterisk-
VoIP-Telephony-System
-----------------------------------------------
Kefa Rabah is the Founder of Global Technology Solutions Institute. Kefa is knowledgeable in several
fields of Science & Technology, Information Security Compliance and Project Management, and
Renewable Energy Systems. He is also the founder of Global Open Versity, a place to enhance your
educating and career goals using the latest innovations and technologies.
14
April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada