Example zapata.conf for UK BT service

Hello,
I’m trying to learn how the zapata.conf file works, but I am only confusing myself. I have managed to get the Zaptel drivers to compile, and I have my module in memory, and the card is being found. I also got Asterisk compiled, and runnable. Hoepfully i’m not that much of a noob, but any help would be appreciated.

I have one of those x100p card off Ebay, but will get a proper Digium card when I get this working.

I have a file of of the nicked off the net, but zttool cannot see my card.

zapata.conf is re-produced below.

; Zapata telephony interface
;
; Configuration file
;
; You need to restart Asterisk to re-configure the Zap channel
; CLI> reload chan_zap.so
; will reload the configuration file,
; but not all configuration options are
; re-configured during a reload.

[channels]
context=telewest_pstn
switchtype=national
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
channel => 1
adsi=yes
usecallerid=yes
cidsignalling=bell
callerid=asreceived
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=00.0
txgain=00.0
group=1
callgroup=1
pickupgroup=1
echotraining=yes
immediate=yes
musiconhold=default

Thanks everyone,

Robert Wilson.

Hi

Have a look at cyber-cottage.co.uk/wiki/ind … apata.conf

You also need to be sure the zaptel.conf is correct as well

Hello Ian,
I checked out my zaptel.conf. To be honest I had not realised there was this file. Anyway, it’s now got something sensible in it, but it appears it cannot see my card. I shall have to do some more digging.

Running ztcfg brings up:

LNGBKER0001:/etc# ztcfg -vvvvvvvvvvvvvvvvvvvvvvvv

Zaptel Configuration

Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)

1 channels configured.

ZT_CHANCONFIG failed on channel 1: No such device or address (6)
LNGBKER0001:/etc#

I’ll keep digging. I really want to get this working.

Rob.