Book Image

Building Telephony Systems With Asterisk

By : Barrie Dempster, David Gomillion
Book Image

Building Telephony Systems With Asterisk

By: Barrie Dempster, David Gomillion

Overview of this book

<p>Asterisk is a powerful and flexible open source framework for building feature-rich telephony systems. As a Private Branch Exchange (PBX) which connects one or more telephones, and usually connects to one or more telephone lines, Asterisk offers very advanced features, including station-to-station calls, line trunking, call distribution, call detail rerecords, and call recording.<br /> <br /> Asterisk can be used to provide Interactive Voice Response (IVR). The power and flexibility of a programmable phone system gives us the ability to respond to our customers in meaningful ways. <br /> <br /> Asterisk has also a fully-functional voicemail system included. It supports voicemail contexts so that multiple organizations can be hosted from the same server.&nbsp; It supports different time zones so that users can track when their phone calls come in.&nbsp; It even provides the option to notify the recipient of new messages via email.&nbsp; In fact, we can even attach the message in audio!<br /> <br /> Finally, Asterisk is a Voice Over IP (VoIP) system. The benefits of VoIP are numerous. For instance, we can have multiple users using the same Asterisk service from a variety of locations; we can have users in the local office using PSTN phones or IP phones; we can have remote VoIP users; we can even have entire Asterisk systems operated and run completely separately but with integrated routing; We can have an extension anywhere we have a reasonably fast Internet connection, which means employees can have an extension on the phone system at home if they have a broadband connection. The benefits are too many to list.<br /> <br /> Flexibility often means complexity, and this is true in the case of Asterisk. This book is all you need to understand and use Asterisk to build the telephony system that meets your need. You will learn how to use the many features that Asterisk provides you with.</p>
Table of Contents (14 chapters)
Copyright
Credits
About the Reviewers
About the Authors
Introduction

Zaptel Interfaces


For this section, you need the details of the analog lines and terminals that you set out in Chapter 2. For our Zaptel interfaces, we will be modifying two configuration files, /etc/zaptel.conf and /etc/asterisk/zapata.conf.

zaptel.conf

As we know, the zaptel.conf file is in /etc. We can modify it in the text editor of our choosing.

As we make changes to this file, we will have to force the Zaptel drivers to reread the configuration files to detect the changes. If our system is configured to start the Zaptel hardware at boot time, we can accomplish this by running:

$ /etc/init.d/zaptel stop$ /etc/init.d/zaptel start

If, however, we elected not to start Zaptel interfaces at boot time, we can implement our changes as we go by running:

$ ztcfg

To get more information, it is often helpful for us to use verbose flags. The more 'v's we use, the more verbose the output will be. So, we may wish to use:

$ ztcfg –vvv