Fast VoIP Build your own Asterisk server in less than an
The Problem Current phone system was difficult to manage and expensive to maintain
A Solution Migrate to Asterisk
What is Asterisk? ● Open Source Communications Server – Private Branch Exchange (PBX)PBX – PSTN Gateway – Voic – Conferencing – Automated Attendants ● GPL v2 license
Why Asterisk? ● Active International community of developers ● Supported the existing infrastructure ● Built-in media handling ● Very flexible / easy to customize ● Commercial support available
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...
Requirements ● Integrate with an existing environment ● Central management of multiple locations ● Quickly adapt to environment changes ● Minimal impact to end-users
Hardware ● Server hardware requirements vary ● Handsets vs. Soft phones ● Network equipment (VLANs, PoE, QoS) ● You still need PSTN access
An OS is Chosen ● CentOS 5.6 ● Minimalist approach ● Installation scripted with Kickstart
Provisioning Services ● Initial boot ● Configuration ● Firmware updates
Compiling ● Download ● Extract ● Compile #./configure # make menuconfig # make
Installing # make install # make samples
Configuration Files ● Core – asterisk.conf ● Modules – modules.conf ● SIP Accounts – sip.conf ● Dialplan – extensions.conf ● Voic – voic .conf
Contexts ● Scope of an item ● Nested Contexts ● Basic context usage – Dialplan – Voic
sip.conf [phone1] secret=password callerid=”Beth ” context=internal type=friend host=dynamic [phone2] secret=password callerid=”Nolan ” context=internal type=friend host=dynamic
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,Voic Main()
voic .conf [default] 1234 => 4242,Example 2000 => 2000,Beth 2001 =>
End-point Configuration ● SIP Server ● Username & Password per registration ● Dialplan ● Backgrounds and Ringtones!
Console ● Start in console mode # asterisk -c
Demo ● Two phones configured – Extension 2000 & 2001 ● Asterisk Demo (ext. 1000) ● Echo Test (ext. 6000) ● Voic (ext. 9500) – Mailbox 2000 password 2000
Resources ● Starting point: ● ● Mailing lists for users and devs ● IRC freenode
Thank You! Any Questions?