TrixBox Made Easy
By Barrie Dempster and Kerry Garrison
()
About this ebook
TrixBox is a telephone system based on the popular open source Asterisk PBX (Private Branch eXchange) Software. TrixBox allows an individual or organization to setup a telephone system with traditional telephone networks as well as Internet based telephony or VoIP (Voice over Internet Protocol). SugarCRM can be integrated with Asterisk, and is bundled with Trixbox offering real power and flexibility.
The book begins by introducing telephony concepts before detailing how to plan a telephone system and moving on to the installation, configuration, and management of a feature packed PBX.
This book is rich with practical examples and tools. It provides examples of well laid out telephone systems with accompanying spreadsheets to aid the reader in building stable telephony infrastructure.
Learn how to set up and use TrixBox (formally known as Asterisk@Home) as a traditional and Internet telephone system. The book is written in an easy to follow walk-through style, building up concepts step by step, before guiding you carefully through the planning, deployment, and management of your telephone system.
ApproachThe book is incremental and structured in its approach. It starts by clearly describing the basics of PBX systems and of Asterisk itself, on which Trixbox is based. Then the book explains how TrixBox links to, and controls Asterisk. Once the core concepts are understood, the book carefully takes you through each stage of setting up and managing your VoIP system with an abundance of screenshots for easy implementation.
Who this book is forBecause the book covers the concepts and practices of both telephony and Asterisk, it is suitable for both professional and home users with no prior telecom experience. It's ideal for any user wishing to set up a telephony system for individual or small business usage. No previous knowledge of Trixbox or networking is required, although some basic knowledge of PBX and Linux would be an advantage.
Barrie Dempster
Barrie Dempster is currently employed as a Senior Security Consultant for NGS Software Ltd a world-renowned security consultancy well known for their focus in enterprise-level application vulnerability research and database security. He has a background in Infrastructure and Information Security in a number of specialised environments such as financial services institutions, telecommunications companies, call centres, and other organisations across multiple continents. Barrie has experience in the integration of network infrastructure and telecommunications systems requiring high calibre secure design, testing and management. He has been involved in a variety of projects from the design and implementation of Internet banking systems to large-scale conferencing and telephony infrastructure, as well as penetration testing and other security assessments of business critical infrastructure.
Read more from Barrie Dempster
Asterisk 1.6 Rating: 0 out of 5 stars0 ratingsConfiguring IPCop Firewalls: Closing Borders with Open Source Rating: 0 out of 5 stars0 ratings
Related to TrixBox Made Easy
Related ebooks
Asterisk 1.4 : The Professional’s Guide Rating: 0 out of 5 stars0 ratingsMolecular Graphics on The IBM ® PC Microcomputer Rating: 0 out of 5 stars0 ratingsMastering Autodesk Maya 2016: Autodesk Official Press Rating: 0 out of 5 stars0 ratingsVirtual File System A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsphpBB: A User Guide Rating: 0 out of 5 stars0 ratingsBeginning Programming Using Retro Computing: Learn BASIC with a Commodore Emulator Rating: 0 out of 5 stars0 ratingsUpgrade Your Computer In Easy Steps Rating: 3 out of 5 stars3/5Wow! What a Ride!: A Quick Trip Through Early Semiconductor and Personal Computer Development Rating: 0 out of 5 stars0 ratingsIBM BigFix A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsQuery Optimization A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsElastix Unified Communications Server Cookbook Rating: 0 out of 5 stars0 ratingsMobile Messaging Technologies and Services: SMS, EMS and MMS Rating: 5 out of 5 stars5/5How to Cheat at VoIP Security Rating: 0 out of 5 stars0 ratingsBuilding Enterprise Ready Telephony Systems with sipXecs 4.0 Rating: 0 out of 5 stars0 ratingsThe 3CX IP PBX Tutorial Rating: 5 out of 5 stars5/5Securing VoIP: Keeping Your VoIP Network Safe Rating: 5 out of 5 stars5/5Security+ Study Guide Rating: 0 out of 5 stars0 ratingsThe Real MCTS/MCITP Exam 70-648 Prep Kit: Independent and Complete Self-Paced Solutions Rating: 2 out of 5 stars2/5Introduction to Python Network Automation: The First Journey Rating: 0 out of 5 stars0 ratingsNetworking Fundamentals: Develop the networking skills required to pass the Microsoft MTA Networking Fundamentals Exam 98-366 Rating: 0 out of 5 stars0 ratingsBuilding Networks and Servers Using BeagleBone Rating: 0 out of 5 stars0 ratingsFreePBX 2.5 Powerful Telephony Solutions Rating: 0 out of 5 stars0 ratingsInstant Citrix XenApp Rating: 5 out of 5 stars5/5Asterisk Hacking Rating: 0 out of 5 stars0 ratingsGetting Started with BizTalk Services Rating: 0 out of 5 stars0 ratingsEleventh Hour Linux+: Exam XK0-003 Study Guide Rating: 5 out of 5 stars5/5Applied Network Security Rating: 0 out of 5 stars0 ratingsEleventh Hour Network+: Exam N10-004 Study Guide Rating: 5 out of 5 stars5/5Mastering NetScaler VPX™ Rating: 0 out of 5 stars0 ratingsBuilding a Home Security System with BeagleBone Rating: 4 out of 5 stars4/5
Information Technology For You
Health Informatics: Practical Guide Rating: 0 out of 5 stars0 ratingsCreating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Computer Science: A Concise Introduction Rating: 4 out of 5 stars4/5How to Write Effective Emails at Work Rating: 4 out of 5 stars4/5Inkscape Beginner’s Guide Rating: 5 out of 5 stars5/5Data Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5How To Use Chatgpt: Using Chatgpt To Make Money Online Has Never Been This Simple Rating: 0 out of 5 stars0 ratingsUnity Game Development Essentials Rating: 5 out of 5 stars5/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5ChatGPT: The Future of Intelligent Conversation Rating: 4 out of 5 stars4/5Hacking Essentials - The Beginner's Guide To Ethical Hacking And Penetration Testing Rating: 3 out of 5 stars3/5Cybersecurity for Beginners : Learn the Fundamentals of Cybersecurity in an Easy, Step-by-Step Guide: 1 Rating: 0 out of 5 stars0 ratingsLinux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5Learning Website Development with Django Rating: 0 out of 5 stars0 ratingsCompTIA A+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Core 1 Exam 220-1101 Rating: 0 out of 5 stars0 ratingsPersonal Knowledge Graphs: Connected thinking to boost productivity, creativity and discovery Rating: 0 out of 5 stars0 ratingsData Governance For Dummies Rating: 0 out of 5 stars0 ratingsWindows Registry Forensics: Advanced Digital Forensic Analysis of the Windows Registry Rating: 4 out of 5 stars4/5Investigating Child Exploitation and Pornography: The Internet, Law and Forensic Science Rating: 5 out of 5 stars5/5The Basics of Hacking and Penetration Testing: Ethical Hacking and Penetration Testing Made Easy Rating: 4 out of 5 stars4/5Supercommunicator: Explaining the Complicated So Anyone Can Understand Rating: 3 out of 5 stars3/5CompTIA Network+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam N10-008 Rating: 0 out of 5 stars0 ratingsPractical Ethical Hacking from Scratch Rating: 5 out of 5 stars5/5An Executive Guide to Identity Access Management - 2nd Edition Rating: 4 out of 5 stars4/5The iPadOS 17: The Complete User Manual to Quick Set Up and Mastering the iPadOS 17 with New Features, Pictures, Tips, and Tricks Rating: 0 out of 5 stars0 ratingsComputer Organization and Design: The Hardware / Software Interface Rating: 4 out of 5 stars4/5Panda3d 1.7 Game Developer's Cookbook Rating: 0 out of 5 stars0 ratings
Reviews for TrixBox Made Easy
0 ratings0 reviews
Book preview
TrixBox Made Easy - Barrie Dempster
Table of Contents
TrixBox Made Easy
Credits
About the Authors
About the Reviewers
Preface
What This Book Covers
What You Need for This Book
Conventions
Reader Feedback
Customer Support
Downloading the Example Code for the Book
Errata
Questions
1. Introduction to VoIP
The PSTN
What is a PBX?
The Traditional PBX System
Hybrid PBX System
VoIP
Why Choose VoIP?
Summary
2. Introducing Asterisk
Open-Source Software
Facets of Open-Source Software
Asterisk: The Core of TrixBox
What Asterisk Isn't
History of Asterisk
Asterisk Features
Related Websites
Summary
3. Introducing TrixBox
Asterisk@Home to TrixBox: The Name Change
TrixBox Components
Difference Between Asterisk and TrixBox
Prerequisite Skills
The Limitations of TrixBox
The Advantages of TrixBox
TrixBox is Simple to Install
TrixBox is Easy to Use
Hardware We will Need to Have
Add-In Cards
The Future of TrixBox
Summary
4. Planning TrixBox Deployment
The Plan
Extensions
Number of Employees
Departmental Considerations
Ring Groups
Call Queues
Agents
Connectivity
PSTN
VoIP
ITSPs
DID Lines (Direct Inward Dial)
Telephones
Hard Phones
Soft Phones
IVR (Interactive Voice Response)
Fax Requirements
Case Studies
American Widgets Consulting Services
International Widgets Call Centers Ltd
Summary
5. Installing TrixBox
Obtain the Software
Installation
Media Check
Automated Installation
Basic System Configuration
Updating TrixBox
SMTP Server Setup
The Web Interface
Voicemail and Recordings (ARI)
SugarCRM
Flash Operator Panel
Web MeetMe Control
System Administration
FreePBX
Config Edit
Asterisk Info
Endpoint Manager
HUD Manager
System Tools
phpMyAdmin
System Info
System Maint
SSH Terminal
Munin
Summary
6. TrixBox Configuration
FreePBX
Extensions
Configuring our First Device
Basic Troubleshooting
Editing Extensions
Trunks
Setting Up a VoIP Trunk
Trunk Setup
Setting Up a PSTN Trunk
Inbound Routing
Outbound Routing
Dialplan Patterns
Trunk Sequence
Digital Receptionist
Ring Groups
Queues
Music On-Hold
General Settings
Dialing Options
Voicemail
Company Directory
Fax Settings
International Settings
Security Settings
Summary
7. Standard PBX Features
Standard Features
Call Forwarding
Call Waiting
Core
Do-Not-Disturb
Info Services
Recordings
Device Control
Active-Call Codes
System-Wide Speed Dialling
Voicemail
Asterisk Recording Interface (ARI)
Flash Operator Panel
Using the Flash Operator Panel
Wakeup Calls
Weather Report
Summary
8. Advanced TrixBox Settings
Firewall Settings
NAT Considerations
Configuring Zaptel Cards
Configuring T1/E1 Cards
Overhead Paging
Caller-ID Blocking
Making Free Directory-Assistance Calls
Predictive Diallers
Advanced Reporting Tools
Outlook Integration
DISA
Feature Codes
Follow-Me
Misc Destinations
Paging and Intercom
Time Conditions
Installing WebMin
The Sky is the Limit
Summary
9. SugarCRM
Initial Login
Administration
User Management
Summary
10. Securing our TrixBox Server
Changing Default Passwords
Flash Operator Panel
Changing the MySQL Password
Connecting on a Public IP Address
Updating the Operating System and Asterisk
Backups
Additional Security
Summary
A. Commonly Used VoIP Terms
Index
TrixBox Made Easy
Barrie Dempster
Kerry Garrison
TrixBox Made Easy
Copyright © 2006 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, Packt Publishing, nor its dealers or distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: September 2006
Production Reference: 2220906
Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK.
ISBN 10: 1-904811-93-0
ISBN-13: 978-1-904811-93-0
www.packtpub.com
Cover Image by www.visionwt.com
Credits
Authors
Barrie Dempster
Kerry Garrison
Reviewers
Johan Wijngaard
Levon Bragg
Development Editor
Louay Fatoohi
Technical Editor
Priyanka Baruah
Editorial Manager
Dipali Chittar
Indexer
Mithil Kulkarni
Proofreader
Chris Smith
Layouts and Illustrations
Shantanu Zagade
Cover Designer
Shantanu Zagade
About the Authors
Barrie Dempster is currently employed as a Senior Security Consultant for NGS Software Ltd., a world-renowned security consultancy well known for its focus on enterprise‑level application vulnerability research and database security.
He has a background in Infrastructure and Information Security in a number of specialized environments such as financial services institutions, telecommunication companies, call centers, and other organizations across multiple continents.
Barrie has experience in the integration of network infrastructure and telecommunications systems requiring high caliber secure design, testing, and management. He has been involved in a variety of projects from the design and implementation of internet banking systems to large-scale conferencing and telephony infrastructure, as well as penetration testing and other security assessments of business-critical infrastructure.
Kerry Garrison has been in the IT industry for over 20 years with positions ranging from IT Director of a large multi-site distribution company to developing a large hosted web server platform for a major ISP, to finally running his own IT consulting business in Southern California.
Kerry was introduced to the world of Asterisk by a friend and began running his own business on it. After about a year of working with it and writing some articles that became extremely popular on the net, he felt it was time to start putting clients onto Asterisk-based systems. Today, Asterisk PBX systems represent a significant portion of his business revenue.
Kerry has spoken at Astricon and does a regular seminar series in California. He is also the publisher of both http://voipspeak.net and http://asterisktutorials.com. He is very active with the Asterisk and FreePBX community and has even contributed modules to the FreePBX project.
About the Reviewers
Johan Wijngaard has about 25 years of experience in the world of computers. He has worked with several large companies for managing middle and large networks. For the last six years, he has been active in the comunications world of Internet, PBX and Satellite, where the use of open-source has taken a big role along with Asterisk and its quick-installing brother TrixBox.
Levon Bragg is a local computer guru and co-founder of Shift Computer Services, a turn-key IT solution and service provider in Southern California. Born in 1976 in Akron, OH, Levon wrote his first computer program at the age of 9 and has been continuously expanding his knowledge and expertise across the entire landscape of Information Technology. He graduated with top honors and a degree in Computer Networking Systems Technology at ITT Technical Institute, and has several manufacturer-provided and industry certifications including 3Com's VoIP (NBX). His key field-experience highlights include implementing and supporting Microsoft's Small Business Server, Linux Servers, 3Com's NBX, and Trixbox/Asterisk.
Levon's hobbies and interests include working on and riding Harleys, photography/videography, sky-diving, video gaming, music, and working with the latest/coolest gadget/software.
Levon and his wife Jackie currently reside in Orange County, CA with Thomas their cat.
Preface
TrixBox is a telephone system based on the popular open-source Asterisk PBX (Private Branch eXchange) software. TrixBox allows an individual or organization to set up a telephone system with traditional telephone networks as well as Internet-based telephony or VoIP (Voice over Internet Protocol).
This book guides the reader in the setup of this system and how to manage the telephone system. The book begins by introducing telephony concepts before detailing how to plan a telephone system and moving on to the installation, configuration, and management of a feature-packed PBX.
This book provides examples of a well laid-out telephone system with accompanying spreadsheets to aid the reader in building stable telephony infrastructure.
What This Book Covers
Chapter 1 introduces the essential telephony and IP telephony concepts to give the reader the necessary background.
Chapter 2 gives an overview of Asterisk, the PBX software at the core of TrixBox, and gives the reader a feel of the features of a powerful VoIP telephone system.
Chapter 3 explains the relationship between Asterisk and TrixBox and introduces the enhancements and power the combination of these tools provides.
Chapter 4 walks the user through planning a telephone system with accompanying spreadsheets to fill in, in order to properly plan for the installation and configuration of the system.
Chapter 5 gives the reader details on how to install TrixBox and how the basic administration components are used.
Chapter 6 applies the previous planning to the configuration of TrixBox to provide the features the reader requires from their telephone system.
Chapter 7 covers the telephone system from the point of view of the telephone handset and how the user of the telephone system can interact with it.
Chapter 8 looks at more advanced configuration options and different types of telephone line that can be managed with TrixBox.
Chapter 9 briefly introduces the SugarCRM customer relationship management tool, integrated with TrixBox.
Chapter 10 shows the reader how to secure and backup TrixBox to ensure the reliability of their system.
Appendix A has some acronyms and terms used throughout this book, which are also common terms in Telephony. This can be used as a quick reference to the terms when reading the book or configuring the TrixBox system.
What You Need for This Book
In order to install TrixBox, you need a machine that has at least a PIII 500 MHz system with 384-MB RAM and a 10-GB hard drive. Higher specifications would be necessary for production use. The machine will need a keyboard and a monitor and the ability to boot from CD-ROM initially for setup, but these won't be necessary afterwards.
For network connectivity, you will require a network card compatible with your system such as a PCI or USB network interface card. If you want to connect phone lines to your TrixBox, you will need a PCI card compatible with your connection type. We cover various connection types and list some card vendors in the book.
In order to connect to the TrixBox machine with a software-based telephone, you will need a desktop or laptop machine running a general-purpose OS such as OSX/Linux/Windows/BSD/etc. You will also need headphones and a microphone.
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are