login | register
26 Jul 2008 [18:23 UTC]

AussieVoIP

FreePBX, Trixbox and Australian Voice over IP Information

Similar PagesHistoryPrint

freePBX-Zaptel

Created by: ibsjdcoy,Last modification on 26 Apr 2006 [15:53 UTC]

Zaptel Configuration


Zaptel configuration is a bit difficult, and really needs to be documented. At the moment, it isn't.

(Make a donation with 'Do Zaptel Documentation' if you really want it done 8)

This following information was originally in the CentOS setup. It might help out a bit:

15.Configure zaptel module

a. Edit /etc/zaptel.conf to reflect installed Digium telephony card(s).

Only the parameters/values relevant to a TDM400P with 4 FXO modules are included below:

fxsks=1-4
loadzone=us
defaultzone=us

Only the parameters/values relevant to a TE110P (T1 configuration) are included below:

span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
loadzone=us
defaultzone=us

b. Run ztcfg -v

TDM400P configuration:

$ ztcfg -v

Zaptel Configuration
===================


4 channels configured.

Notice: Configuration file is /etc/zaptel.conf
line 133: Unable to open master device '/dev/zap/ctl'

The .line 133:. warning above is the result of not loading the zaptel module yet. The module gets loaded at boot time (dealt with below) so don't worry about its presence here.

TE110P (T1 configuration):

$ ztcfg -v

Zaptel Configuration
===================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

24 channels configured.

Detailed information with regard to Asterisk's configuration files can be found on the voip-info.org wiki.

16.Configure zapata

Create /etc/asterisk/zapata.conf to reflect installed Digium telephony card(s).

Only the parameters/values relevant to a TDM400P with 4 FXO modules are included below:

channels
language=en
context=from-pstn
signalling=fxs_ks
faxdetect=incoming
usecallerid=yes
callerid=asreceived
echocancel=yes
callprogress=no
busydetect=no
echocancelwhenbridged=no
echotraining=800
group=0
channel=1-4

Only the parameters/values relevant to a TE110P (T1 configuration) are included below:

channels
language=en
context=from-pstn
switchtype=national
pridialplan=national
signalling=pri_cpe
faxdetect=incoming
usecallerid=yes
echocancel=yes
callerid=asreceived
echocancelwhenbridged=no
echotraining=800
group=0
channel=1-23

Note: if your configuration is using zap channels as FXS endpoints, zapata.conf must contain the following line in order to provision
these endpoints in freePBX's Extensions admin:

1. include zapata_additional.conf


Detailed information with regard to Asterisk's configuration files can be found on the voip-info.org wiki.

Automatic start-up


This is incorrect — you should be using /etc/sysconfig/zaptel (or the equivalent) which is generated by a 'make config' in the zaptel source directory

The module/driver that you load at boot time depends upon whether you are using a TDM400P or TE110P. The wctdm module should be loaded
for the former and the wcte11xp module should be loaded for the latter.

Edit /etc/rc.d/rc.local to include the following for the TDM400P:

[#!/bin/sh
[#
[# This script will be executed *after* all the other init scripts.
[# You can put your own initialization stuff in here if you don't
[# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
/sbin/modprobe zaptel
sleep 5
/sbin/modprobe wctdm
sleep 5
/usr/sbin/amportal start

Edit /etc/rc.d/rc.local to include the following for the TE110P:

  1. !/bin/sh
  2. This script will be executed *after* all the other init scripts.
  3. You can put your own initialization stuff in here if you don't
  4. want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
/sbin/modprobe zaptel
sleep 5
/sbin/modprobe wcte11xp
sleep 5
/usr/sbin/amportal start
back to content

bitweaver

Powered by

  • Powered by bitweaver
  • Powered by Smarty
  • Powered by Adodb
  • Powered by MySQL
back to content

Site Navigation

back to content
Powered by bitweaver