This script is for Slackware 12.1 only and may be outdated.

SlackBuilds Repository

12.1 > Misc > zaptel (1.4.11)

The zaptel drivers and binaries are needed to use popular digital and
analogue telephony equipment and are typically installed alongside the
asterisk PBX (although these are not required for asterisk if you are
not using any hardware to interface with the POTS/PSTN system). Note
that if you change your kernel after installing zaptel, you'll have to
re-compile zaptel (a simple re-install will not suffice).

The rc script included will handle loading and unloading kernel modules
for you. By default, it will attempt to load the wctdm module for the
common Digium cards, and if this fails, will load ztdummy to give you
a timing device. Simply edit the MODULES variable at the top of the
rc script to load other modules if your hardware requires it. These
modules should *not* be loaded in rc.local or rc.modules, but rather
here, as starting and stopping rc.zaptel will cause these modules to
re-read their config file if you make any changes.

Users outside of North America may find that they need to edit the
zconfig.h file to specify their region's tones. This script does not
handle that at present. The statement you'll wish to change is:
#define DEFAULT_TONE_ZONE=0

The Asterisk Handbook First Edition lists the following zones:
0 - North America
1 - Australia
2 - France
7 - Japan
14 - Taiwan
There are many others. Consult your documentation, or google.

To start zaptel at system boot, do the following:
# chmod +x /etc/rc.d/rc.zaptel

Also, you'll need to add a statement such as the following to rc.local:
if [ -x /etc/rc.d/rc.zaptel ]; then
/etc/rc.d/rc.zaptel start
fi

rc.zaptel will create a lockfile that is removed when the service is
stopped using this script. Thus, you should probably put this in
rc.local_shutdown:
if [ -x /etc/rc.d/rc.zaptel ]; then
/etc/rc.d/rc.zaptel stop
fi

Maintained by: Alan Hicks
Keywords: asterisk,phone,voip,pstn,pots
ChangeLog: zaptel

Homepage:
http://www.digium.com

Source Downloads:
zaptel-1.4.11.tar.gz (894d548d180fddf360de1c0426a68bac)

Download SlackBuild:
zaptel.tar.gz
zaptel.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
README
doinst.sh
rc.zaptel
slack-desc
zaptel.SlackBuild
zaptel.info

Validated for Slackware 12.1

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds