Page 519 - Asterisk™: The Future of Telephony
P. 519

vpb.conf

               This file is used to configure Voicetronix cards with Asterisk. See the sample vpb.conf
               for more information.

               zapata.conf

               The zapata.conf file is used to define the relationship between Asterisk and the Zaptel
               driver. Because zapata.conf is specific to Asterisk, it is located with the other Asterisk
               configuration files in /etc/asterisk/. As with zaptel.conf, the zapata.conf file contains a
               multitude of choices reflecting the multitude of hardware it supports, and we won’t try
               to list all of the options here. In this book we’ve covered only the analog interfaces to
               the Zaptel driver, as described in Chapter 3.

               zaptel.conf

               The zaptel.conf file is not located with the other Asterisk .conf files; the Zaptel driver is
               available to any application that can make use of it, so it makes more sense to store it
               in a non-Asterisk-specific directory (/etc/). zaptel.conf is parsed by the ztcfg program to
               configure the TDM hardware elements in your system. You configure three main ele-
               ments in the zaptel.conf file:

                 • A way of identifying the interfaces on the card within the dialplan
                 • The type of signaling the interface requires
                 • The tone language associated with a particular interface, as found in zonedata.c

                           Be very careful not to plug your FXS module into a telephone line. The
                           voltage associated with the phone line, especially during an incoming
                           call, will be much too high for the module to handle and may perma-
                           nently damage it, rendering it useless!

               Within the zaptel.conf file, we define the type of signaling that the channel is going to
               use. We also define which channels to load. The options in the configuration file are
               the information that will be used to configure the channels with the ztcfg command.
               The actual parameters available in the zaptel.conf file are quite extensive, as a wide
               variety of PSTN interfaces make use of the Zaptel telephony engine. Also, as this tech-
               nology is rapidly evolving, anything we write now may not be accurate by the time you
               read it. Consequently, we won’t try to list all of the options here.
               In this book, we have focused on the Zaptel analog interfaces as provided by the Digium
               TDM400P card (see Chapter 3).






                                                                             vpb.conf | 491
   514   515   516   517   518   519   520   521   522   523   524