Asterisk zaptel.conf configuration with X100P FXO and TDM04B Cards


Installing the TDM04B
Plug it into a spare PCI slot on your Asterisk server, just like any other expansion card. If you installed the Zaptel drivers when you installed Asterisk, you’re almost there. (If you didn’t, you need to re-install Asterisk and compile in Zaptel support.) The next step is to configure /etc/zaptel.conf. First make a backup copy of the original /etc/zaptel.conf:

# zaptel.conf zaptel.conf-old

Delete everything in zaptel.conf. If you’re using the Nano editor, just hold down Ctrl+k until everything is gone. Then copy these lines into it:

;zaptel.conf
loadzone = us
defaultzone=us
fxsks=1,2,3,4

Notice how lines are commented with semi-colons, and not hash marks. Now you can manually load the module if you like, to make sure it loads:

# modprobe wctdm
# lsmod
Module Size Used by
wctdm 34880 0
...

Asterisk X100P FXO card installation
Here is opensource Asterisk zaptel.conf example for FXO card #2

# This is the zaptel.conf file for opensource Asterisk telephony server. Asterisk # can be found on http://www.asterisk.org/
#
# This file is found in /etc/zaptel.conf and is NOT in /etc/asterisk
#
# More recent versions of this file can be found on:
# http://www.networks.pk

# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
#
# This is a very simple file used only with a single X100P
# card in my Linux box.

fxsks=1
loadzone=us
defaultzone=us

Like this post? Share it:
  • Facebook
  • Digg
  • Twitter
  • del.icio.us
  • StumbleUpon
  • PDF
  • Mixx
  • RSS
Tags: , , , , ,

Related posts