; ; Zapata telephony interface ; ; Configuration file [trunkgroups] ; ; Trunk groups are used for NFAS or GR-303 connections. ; ; Group: Defines a trunk group. ; group => ,[,...] ; ; trunkgroup is the numerical trunk group to create ; dchannel is the zap channel which will have the ; d-channel for the trunk. ; backup1 is an optional list of backup d-channels. ; ;trunkgroup => 1,24,48 ; ; Spanmap: Associates a span with a trunk group ; spanmap => ,[,] ; ; zapspan is the zap span number to associate ; trunkgroup is the trunkgroup (specified above) for the mapping ; logicalspan is the logical span number within the trunk group to use. ; if unspecified, no logical span number is used. ; ;spanmap => 1,1,1 ;spanmap => 2,1,2 ;spanmap => 3,1,3 ;spanmap => 4,1,4 [channels] busydetect=1 busycount=7 relaxdtmf=yes callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes usecallerid=yes echocancel=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 ; ; TDM200B Port #1 plugged into analog Phone ; context=outgoingcall signalling=fxo_ks callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes echocancel=yes echocancelwhenbridged=yes relaxdtmf=yes rxgain=1.5 txgain=1.5 immediate=no musiconhold=default usecallerid=yes callerid="Sample Zap Phone 1" <2003> mailbox=9999 channel => 1 ; ; PSTN ; context=outgoingcall signalling=fxs_ks echocancel=yes echocancelwhenbridged=yes relaxdtmf=yes rxgain=1.5 txgain=1.5 immediate=no busydetect=yes callprogress=yes musiconhold=default usecallerid=yes callerid=asreceived channel => 4