; ; Zapata telephony interface ; ; Configuration file [trunkgroups] ;trunkgroup=>2,16 ;spanmap=1,2,1 ;trunkgroup=>3,47 ;spanmap=2,3,1 [channels] ;==========Suntel E1 PRI configuration ============ signalling=pri_cpe ; pri_cpe = PRI slave ; pri_net = PRI master switchtype=euroisdn echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds resetinterval=never callerid=asreceived usecallerid=yes overlapdial=no pridialplan=unknown pritimer => t203,30000 immediate=no busycount=5 rxgain=0.0 txgain=0.0 endcalleridafter=5 rxwink=300 callprogress=yes busydetect=no useincomingcalleridonzaptransfer=yes loadzone=us context=from-pstn ; Points to the default context of your extensions.conf group=2 pickupgroup=0,1,2,3 channel=>1-15 channel=>17-31 ;channel=>17-19 ;=========================================== ;PRI/E1 link ;=========== Connection to Legacy PBX ============= signalling=pri_net;pri_cpe = PRI slave ; pri_net = PRI master switchtype=euroisdn echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds rxgain=2.0 txgain=1.0 endcalleridafter=5 rxwink=300 resetinterval=never callerid=asreceived ;amaflags=default usecallerid=yes ; newly added callwaiting=no callprogress=yes transfer=yes canpark=yes cancallforward=yes busydetect=no busycount=5 pridialplan=unknown pritimer => t203,30000 overlapdial=yes threewaycalling=yes immediate=no usecallinpres=yes callgroup=3 pickupgroup=0,1,2,3 loadzone=us context=from-internal group=3 channel=>32-46,48-62 ;========================== language=en context=from-pstn 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 busydetect=yes usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes callprogress=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=no echotraining=800 rxgain=0.9 txgain=0.9 group=0 group=1 callgroup=1 pickupgroup=0,1,2,3 immediate=no ;Include genzaptelconf configs #include zapata-auto.conf ;Include AMP configs #include zapata_additional.conf