Elastix Without Tears the ICT Serial Following ® the Elastix IPBX Distribution Development
Total Page:16
File Type:pdf, Size:1020Kb
Elastix without Tears The ICT serial following ® The Elastix IPBX Distribution Development If you find this book helpful, a PayPal donation of $10 or more (US equiv) made to [email protected] would be very highly appreciated. If you are in Australia and don’t have Paypal, you may forward a cheque made to: Ben Sharif, PO Box 70 Kingswood NSW 2747, Australia. Elastix Without Tears Page 1 of 257 Intentionally left blank. Elastix Without Tears Page 2 of 257 Without Tears http://www.elastixconnection.com/downloads/elastix_without_tears.pdf For Elastix® v1.x-x with unembedded freePBX® 2.x (Document Revision 1.6) ALWAYS A DRAFT (This is a live document and constantly under construction) by Ben Sharif ® (The same author who brought you Asterisk@Home without tears and Trixbox without tears) About the Author Photography is my passion http://www.flickr.com/photos/bensharif/ Last updated on Jan 15, 2009 Please send comment or suggestions to me at the address below mailto:[email protected] First Published on 11th November 2007 This document is released under the Creative Commons By-Attrib Non-Commercial Share-Alike 2.1 licence. This work is dedicated to my wife, who has been very patient with me, The Elastix Development Team and Rob Thomas (you can find him on facebook) and his freePBX Team whose devotions to freePBX made it all possible. My gratitude also goes to Bob Fryer of VOICEINTEGRITY who provided me with many valuable materials for this document and hardware to play with. * Stay tuned for our next episode – Elastix version X Elastix Without Tears Page 3 of 257 My heartful thanks to the following sites, without which I would have not been able to distribute this document. If integrity is what you want, you need VOICEINTEGRITY If you are stuck and chomping at the bits, MBIT Has the answer Elastix Without Tears Page 4 of 257 TABLE OF CONTENT Going Forward ............................................................................................................................. 11 I Introduction............................................................................................................................... 12 I.I Is VoIP for you?.............................................................................................................. 12 I.I.I What is it going to cost?........................................................................................... 12 I.I.II What will the quality of the phone calls be?............................................................ 12 I.II What is Elastix?............................................................................................................. 13 I.III The IP PBX Components ............................................................................................. 13 I.III.I The IP PBX ............................................................................................................ 14 I.III.II Phones.................................................................................................................. 14 I.III.III SIP Gateway ........................................................................................................ 14 I.III.IV Home Network..................................................................................................... 14 I.III.V VOIP Service Providers........................................................................................ 15 1 Initial Preparation and Planning............................................................................................. 16 1.1 Familiarisation .............................................................................................................. 16 1.1.1 Default passwords ................................................................................................ 16 1.2 Map your requirements ................................................................................................ 16 2 A Brief Course in Network Design......................................................................................... 17 2.1 IP Address.................................................................................................................... 18 2.2 Subnet Mask ................................................................................................................ 19 2.4 DNS Servers ................................................................................................................ 19 2.5 Primary DNS Suffix ...................................................................................................... 20 3 Installation................................................................................................................................ 21 3.1 Initial Installation........................................................................................................... 21 4 Set-up ELASTIX ....................................................................................................................... 25 4.1 Change IP address to Static instead of DHCP ............................................................ 26 4.2 Change default Admin Password................................................................................. 27 4.3 Hardware Detection...................................................................................................... 28 5 Configure Elastix PBX............................................................................................................. 30 5.1 General Settings........................................................................................................... 30 5.1.1 Dial Command Options......................................................................................... 32 5.2 Extensions.................................................................................................................... 34 5.2.1 Create Extensions................................................................................................. 34 5.2.2 ZAP Extension ...................................................................................................... 36 5.2.3 Extensions Batch .................................................................................................. 37 5.2.4 Enable Voicemail ................................................................................................... 38 5.3 Follow Me ..................................................................................................................... 40 5.4 Ring Groups ................................................................................................................. 42 6 Set up softphones. .................................................................................................................. 43 6.1 CounterPath X-Lite Softphone ..................................................................................... 43 6.2 BOL SIPPhone............................................................................................................. 44 Profile Tab....................................................................................................................... 44 Audio & Video Tab .......................................................................................................... 45 Network Tab.................................................................................................................... 45 STUN Tab ....................................................................................................................... 45 Call Forward.................................................................................................................... 46 7 Elastix Endpoint Manager....................................................................................................... 47 8 Trunks to the outside world ................................................................................................... 49 8.1 What is a Dial Pattern? ................................................................................................ 49 8.2 What is a Trunk? .......................................................................................................... 49 8.3 Trunks and Outbound Routes – a circus of confusion................................................. 50 8.3.1 Outgoing Route Dial Pattern................................................................................. 50 8.3.2 Trunk Outgoing Dial Rules.................................................................................... 50 8.4 Let’s Create The VoIP Trunks...................................................................................... 51 8.4.1 Pennytel (SIP)....................................................................................................... 51 8.4.2 Oztell (SIP)............................................................................................................ 53 8.4.3 Oztell (IAX)............................................................................................................ 54 8.5 Create a ZAP Trunk ..................................................................................................... 56 9 Calls Handling.......................................................................................................................... 57 Elastix Without Tears Page 5 of 257 9.1 Inbound Routes (Incoming Calls)................................................................................. 57 9.1.1 Inbound Route from ZAP Trunk...........................................................................