Hi,
I have got a trixbox Pro system up and running (with two VOIP accounts) i am now trying to configure it to use a PTSN card - i have purchased a Digium TDM410P (with 2 x S11OM FXS modules & 2 x X100FM FXO modules) i have insert the two FXO modules into the back of the card (port 1&2) and have inserted the two FXS modules towards the front (ie near the four RJ11 ports). THis card has now been installed into my PC and i have installed libpri-1.4.5 & zaptel-1.4.11 as the instruction on the digium website indicated i have also setup appropriate modules in vi /etc/sysconfig/zaptel (see below)
TELEPHONY=yes
#DEBUG=yes
# Un-comment as per your requirements; modules to load/unload
#Module Name Hardware
#MODULES="$MODULES tor2" # T400P - Quad Span T1 Card
# E400P - Quad Span E1 Card
#MODULES="$MODULES wct4xxp" # TE405P - Quad Span T1/E1 Card (5v version)
# TE410P - Quad Span T1/E1 Card (3.3v version)
#MODULES="$MODULES wcte12xp" # TE120P - Single Span T1/E1 Card
#MODULES="$MODULES wct1xxp" # T100P - Single Span T1 Card
# E100P - Single Span E1 Card
#MODULES="$MODULES wcte11xp" # TE110P - Single Span T1/E1 Card
#MODULES="$MODULES wctdm24xxp" # TDM2400P - Modular FXS/FXO interface (1-24 ports)
MODULES="$MODULES wcfxo" # X100P - Single port FXO interface
# X101P - Single port FXO interface
MODULES="$MODULES wctdm" # TDM400P - Modular FXS/FXO interface (1-4 ports)
MODULES="$MODULES wcfxs" # either above or this
MODULES="$MODULES wcusb" # S100U - Single port FXS USB Interface
MODULES="$MODULES wcfxsusb" # either above or this
#MODULES="$MODULES torisa" # Old Tormenta1 ISA Card
MODULES="$MODULES ztdummy" # UHCI USB Zaptel Timing Only Interface
#MODULES="$MODULES xpp_usb" # Xorcom Astribank Device
# Disables Astribank hotplug firmware loading
#XPP_HOTPLUG_DISABLED=yes
#
# Disables Astribank udev hook called when an astribank is added and ready
# or removed.
#ASTRIBANK_HOOK_DISABLED=y
es
#
# Setup the configuration for the PRI module of the Astribank.
# Default: all E1,TE . See xpp/README.Astribank .
#XPP_PRI_SETUP='NUM/*/XPD-
01=NT,E1'
# Extensions genzaptelconf are (base + channel_number)
# base is by default 6000:
#base_exten=6000
#
# There are a host of other variables you can set to affect
# genzaptelconf. See the beginning of the script.
i have also setup the zaptel.conf file (see below)
[root@trixbox126637 ~]# vi /etc/asterisk/zaptel.conf
fxsks=1,2
fxoks=3,4
loadzone = au
defaultzone=us
Now when i run the command "ztcfg -vvd" i get the error
[root@trixbox126637 ~]# ztcfg -vvd
Line 1: fxsks=1,2
Line 2: fxoks=3,4
Line 3: loadzone = au
Line 4: defaultzone=us
<End of File>
Zaptel Version: 1.4.11
Echo Canceller: MG2
Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Slaves: 04)
4 channels to configure.
Changing signalling on channel 1 from Clear channel to FXS Kewlstart
ZT_CHANCONFIG failed on channel 1: Invalid argument (22)
Did you forget that FXS interfaces are configured with FXO signalling
and that FXO interfaces use FXS signalling?
I have had a look on the internet for the error ZT_CHANCONFIG failed on channel 1: Invalid argument (22) but can;t really find anything to help - any help would greatly appreciated.
Thanks
Start Free Trial