Hi I’m using Trixbox 2.6.1 and I’ve got a question about config files.
My zapata.conf is copied from other people’s T1/E1 configs and it looks like the following and it works too:
#################################
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
language=en
;context=from-zaptel
context=from-pri
;signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
switchtype=euroisdn
pridialplan=uknown
signalling=pri_cpe ; pri_cpe = PRI slave ; pri_net = PRI master
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
channel=>1-10
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include genzaptelconf configs
#include zapata-auto.conf
group=1
;Include AMP configs
#include zapata_additional.conf
#######################################
Now I was wondering how this even works as there isn’t a “from-pri” context in my extensions.conf file. But this config works. I noticed that when ever I add an analogue extension to trixbox it adds it to zapata_additional.conf however, the above config shows that calling this config is commented out.
So I’m wondering if my settings above are even used as I noticed that zapata-auto.conf has my E1 card configured in it.
########################
; Span 1: WCT1/0 “Wildcard TE122 Card 0” (MASTER)
group=0,11
context=from-zaptel
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
group=
context=default
########################
I don’t want to play with our live system by trial and error so I was just keen to know if zapata-auto.conf and zapata_additional.conf are actually used as they are commented out in zapata.conf, and if my “from-pri” context in zapata.conf is correct?
I’ve yet to find any proper documentation on how to set things up correctly and I’d rather know what I’m doing is right, rather than just being lucky that it works.
Thanks,