Download presentation
Presentation is loading. Please wait.
Published byElfreda Skinner Modified over 8 years ago
1
Fast VoIP Build your own Asterisk server in less than an hour jonathan@thurmantech.com @jthurman42
2
The Problem Current phone system was difficult to manage and expensive to maintain
3
A Solution Migrate to Asterisk
4
What is Asterisk? ● Open Source Communications Server – Private Branch Exchange (PBX)PBX – PSTN Gateway – Voicemail – Conferencing – Automated Attendants ● GPL v2 license
5
Why Asterisk? ● Active International community of developers ● Supported the existing infrastructure ● Built-in media handling ● Very flexible / easy to customize ● Commercial support available
6
Awesome! I... ● have the same issues, but don't know where to start. ● looked at VoIP once but haven't done anything. ● think that project sounds nifty, and want to play! ● have no idea what you are talking about, but wanted a good seat for the next talk in this room...
7
Requirements ● Integrate with an existing environment ● Central management of multiple locations ● Quickly adapt to environment changes ● Minimal impact to end-users
8
Hardware ● Server hardware requirements vary ● Handsets vs. Soft phones ● Network equipment (VLANs, PoE, QoS) ● You still need PSTN access
9
An OS is Chosen ● CentOS 5.6 ● Minimalist approach ● Installation scripted with Kickstart
10
Provisioning Services ● Initial boot ● Configuration ● Firmware updates
11
Compiling ● Download ● Extract ● Compile #./configure # make menuconfig # make
13
Installing # make install # make samples
14
Configuration Files ● Core – asterisk.conf ● Modules – modules.conf ● SIP Accounts – sip.conf ● Dialplan – extensions.conf ● Voicemail – voicemail.conf
15
Contexts ● Scope of an item ● Nested Contexts ● Basic context usage – Dialplan – Voicemail
16
sip.conf [phone1] secret=password callerid=”Beth ” context=internal type=friend host=dynamic [phone2] secret=password callerid=”Nolan ” context=internal type=friend host=dynamic
17
extensions.conf [demo] #... Lots of stuff... [internal] include => demo exten => 1000,1,Goto(demo,s,1) exten => 2000,1,Dial(SIP/phone1) exten => 2001,1,Dial(SIP/phone2) exten => 9500,1,Ringing(1) exten => 9500,n,VoicemailMain()
18
voicemail.conf [default] 1234 => 4242,Example Mailbox,root@localhost 2000 => 2000,Beth 2001 => 2001,Nolanroot@localhost
19
End-point Configuration ● SIP Server ● Username & Password per registration ● Dialplan ● Backgrounds and Ringtones!
20
Console ● Start in console mode # asterisk -c
21
Demo ● Two phones configured – Extension 2000 & 2001 ● Asterisk Demo (ext. 1000) ● Echo Test (ext. 6000) ● Voicemail (ext. 9500) – Mailbox 2000 password 2000
22
Resources ● Starting point: http://www.asterisk.orghttp://www.asterisk.org ● http://voip-info.orghttp://voip-info.org ● Mailing lists for users and devs ● IRC #asterisk @ freenode
23
Thank You! Any Questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.