1. Elaborated By : Marwen Atallah
Supervised by:
Mr. Mohamed Kharrat
Mr. Sofiene Khlif
Deployment Of VoIP Services with
Asterisk and FreePBX
Tunisian Republic
Ministry of Higher Education, Scientific
Research and Technology
IT department
Master Degree in Networks
and Distributed Applications
3. Web programming
Mobile application and software design over several platforms
(Android , IOS, Windows Mobile etc…)
Embedded system Development
Challenges:
Mobile and Web Applications may require communication
services
Customers demand deployment of Telephony solutions: call
centers, agencies, companies etc…
4. Goals :
Deployment of an efficient Telephony solution that provides:
Audio-conferencing
call distribution
Voice-mailing
Instant messaging (IM)
Queues holding
…
simple way to manage, control and secure all the conmmunication
traffics happening between users.
5. VOIP PSTN
+ Better voice quality
+ Save a lot of money
+ Large bandwidth (more features )
+ Cheap user hardware and software
- High cost
- Low voice quality
- Sensitivity to external disturbances
VoIP Solution ( Voice Over Internet Proctocol)
VoIP / PSTN
7. PBX ?
A PBX (Private Branch Exchange) is a system that
connects telephone extensions to the Public
Switched Telephone Network (PSTN) and provides
internal communication for a business.
An IP PBX is a PBX with Internet
Protocol connectivity and may provide additional
audio, video, or instant messaging communication
utilizing the TCP/IP protocol stack.
8. Client/Server Architecture
PBX [SERVER]
End points (extensions) [Clients]
- Mobilephones
- IP Phones
- SIP Phones
- Any device that supports
VoIP application
10. License
&
COST
Open Source
Freely available (except for some
commercial modules)
Freely upgradable
Pay a license for every extension on the system
Phones are more expensive
20% - 30% of the system total cost are yearly paid
for Annual support from a Cisco partner
Upgrades requires purchasing a new software version
Voice Mails
Free and improved voicemail system
Included with asterisk installation
Voicemail to Email ?
Uses « Unity voicemail » system that relies on a
Microsoft Exchange mail system
Buy Microsoft exchange licenses for each voicemail
box
Voicemail administration is seperate from the
System
Accessibility
Highly customizable Solution and open
architecture
Accessibility over different operating
systems
Adjustable to almost all type of phones
Limited accessibility
Works with specific type of phones
maintenance Debugging and Fixing are accessible and
doesn’t require high expertise
Contact CISCO agents or technical support
11. Asterisk is an open source private automatic
branch exchange (PABX) for UNIX systems.
Among other uses, it provides for voice
messaging,, hold music, enquiry calls, call
distribution and conference calls, etc…
12. Asterisk PBX distibutes
incoming calls to teams of
agents assigned to various
call queues.
Holding Queues
Calls Distribution
Asterisk Applications: Call Center
13. Asterisk Applications: VoIP Gateways
Asterisk builds a bridge between
external telephony lines (PSTN) and
the VoIP
14. Asterisk Applications: Conference
Bridge
A conference bridge allows a group of people to
participate in phone call
Meeting rooms can hold dozens or even hundreds
of participants
15. Server Deployement
Commands have to be typed precisely. If there’s a spelling error, command will fail
For someone who has never used CLI, it can be very confusing
Learn a Large amount of commands (hundreds) by heart
Asterisk (CLI)
16. Server Deployement
PBX ( Telephony Engine)
Web-based Graphical User
Interfaces For Asterisk
(dashboard) :
17. • Web-Based Administration: manage and control Asterisk system, using web browsers
from any device
• Built-in Call Reporting: real time basic call reporting included with FreePBX
Web-based configuration GUI for asterisk.Core telephony engine
21. Clients: SIP extentions
SIP Client: A SIP client (Soft Phone) plays the
role of an IP telephone but as a software Zoiper
Softphone: Software that allows SIP
based phone calls from a computer,
smartphones
22. Conclusion / Perspectives
The goal of this work was to deploy a Voice over IP solution
for Karwisoft Company, by installing an advanced and inexpensive
telephony system using one of the leading open-source PABXs in
the world, Asterisk.
The execution of this project required the contribution of
many components since it’s a client-server based architecture that
offers many telephony features that can be deployed in many
fields…
Asterisk Over Cloud
23. Why would we want to run the server in the cloud?
In-house Solution
In-house solutions requires specialized server
knowledge
Expensive ( thousands of dollars )
Space, cables and wires
Cloud Solution
Lower upfront capital costs
Pay for the server as you use it ( scalability)
Run it in under an hour.
auto-maintaned and 24/24 available
What is an Amazon EC2 ?
virtual machine web service that provides dynamic
resizable compute capacity in the cloud.
24. SIP (Session Initiation Protocol)
Asterisk is using a set of VoIP Protocols Such as SIP
SIP is responsible for connecting, monitoring and disconnecting VoIP sessions.
SIP can establish real-time sessions such as online gaming, teleconferencing and
video conferencing.