voip phones ip
about us asterisk kits voip services support contact us
main 1

FAQ

ATCOM AX100p

How do I configure the AX-100P to work with Asterisk?
How do I configure the AX-100P to work with TrixBox?
I have noticed some echo on the line using Asterisk/Trixbox. What configuration changes do I need to make?

How do I configure the AX-100P to work with Asterisk

From the command prompt on your Linux system, change directories to /usr/src

cd /usr/src

Download the latest CVS release of the Zapata, asterisk package

export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot
cvs login (password is anoncvs)
cvs checkout zaptel asterisk

c) Compile all the packages in the following order: zaptel first, then asterisk

cd /usr/src/zaptel; make install
cd ../asterisk; make install
make samples

d) Edit the configuration files detailed below and make sure that they include the following:

/etc/zaptel.conf
fxsks=1 ;AX-100P
defaultzone=uk
loadzone=uk

/etc/asterisk/zapata.conf
[channels]
signalling=fxs_ks
context=incoming
channel=1 ; AX-100P

/etc/asterisk/extensions.conf
[incoming]
exten =s,1,Echo ;for testing the connection
;exten =s,1,Playback,demo-thanks ;for playing a file

Load the appropriate modules

modprobe zaptel
modprobe wcfxo
ztcfg -vv

Note: You may run make configs in /usr/src/zaptel to install boot-up scripts so that you don't have to modprobe the drivers manually. That works well for RedHat 9.0.

The installation is now complete and you can now run Asterisk

asterisk -vvvc

You can now test the analogue phone line connected to the AX-100P and you should be able to hear yourself (with the Echo application) or play a file (with Playback application).

Back to Top

How do I configure the AX-100P to work with Trixbox?

Please refer to the link below for Atcoms guide to installing their products in a Trixbox environment

ATCOM Trixbox installation guide

1: Install Trixbox. Please refer to www.trixbox.org for installation instructions.

2: Power off your computer and pull out the power cable. Insert the AX-100p card into a spare PCI slot and secure it with a screw.

3: Switch on your PC and type the following command in the Linux CLI

[root@asterisk1 ~]# genzaptelconf

Trixbox will now auto install the AX-100p driver and the following information will be displayed on screen

Loading wcfxo: wcfxo: DAA mode is “FCC”
Found a Wildcard FXO: Wildcard X100P.

This indicates that AX-100p has been found by Trixbox.

4:check the AX-100p status with the command line utility zttool.*

[root@asterisk1 ~]# zttool

Genzaptelconf will also update the zapata-auto.conf file located within the etc/asterisk directory. Another method of determining a successful install is to check if this file resembles the one below.

; Span 1: WCFXO/0 Wildcard X100P Board 1 RED
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 1
context=from-pstn
group=0
channel => 1

5: Amend the Zapata.conf to include any customisations that you require.

Possible additions include:

echocancel=yes
echocancelwhenbridged=yes
echotraining=yes

6: Configure an outbound call Trunk by modifying the default Trunk ZAP/g0.This can be found at Trixbox - FreePBX - Trunk
Input your PSTN number in the Outbound Caller ID
Set the Maximum Channels to 1.
Set the Outbound Dial Prefix to 9
Configure your Zap Identifier to 1 (this will change your AX-100p channels from g0 to channel 1)

* You may also wish to change the following in etc/zaptel.conf

loadzone = uk
defaultzone = uk

Further tests

dmesg - check if the card has been detected correctly by Linux
lspci - check if the card is listed

Tips

Where possible ensure that the card has a unique IRQ. Where it has been allocated a shared IRQ, enter your computer BIOS and change.

Back to Top

I have noticed some echo on the line when using Asterisk/Trixbox. What configuration changes do I need to make?

Although better quality than the X100P cards that can be purchased. The AX100P like all X100P does not have hardware echo cancellation.

Ensure that the Zapata.conf file has the following entry:

echocancel = true
echotraining = true

Also refer to the following article for further guidance

ATCOM Trixbox installation and configuration guide

Back to Top