All pastes #549475 Raw Edit

covici1

public text v1 · immutable
·published 2007-06-08 04:07 UTC
rendered paste body
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-zaptel
signalling=fxs_ls
rxwink=300              ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=no
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
busydetect=no
;busycount=6
callprogress=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no


;; Span 1: R2T1 01:06.0 0b0b:0605
;group=0
;context=from-trunk
;signalling = pri_cpe
;channel => 1-23
; Example for a Rhino CB24-FXS. Comment the above lines and un-comment below to use.
group=1
context=from-pstn
signalling = fxs_ks
channel => 1-8
group=3
context=from-internal
signalling=fxo_ks
channel=>9-24
;; Span 2: R2T1 01:06.0 0b0b:0605
;group=0
;context=from-trunk
;signalling = pri_cpe
;channel => 25-47
; Example for a Rhino CB24-FXS. Comment the above lines and un-comment below to use.
group=2
context=from-pstn
switchtype=national
; CLI> reload chan_zap.so
;                will reload the configuration file,
;                but not all configuration options are
;                 re-configured during a reload.



[trunkgroups]
;
; Trunk groups are used for NFAS or GR-303 connections.
;
; Group: Defines a trunk group. 
;        trunkgroup => <trunkgroup>,<dchannel>[,<backup1>...]
;
;        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
;trunkgroup => 1,24
;
; Spanmap: Associates a span with a trunk group
;        spanmap => <zapspan>,<trunkgroup>[,<logicalspan>]
;
;        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]
;
; Default language
;
;language=en
;
; Default context
;
context=default
;
; Switchtype:  Only used for PRI.
;
; national:          National ISDN 2 (default)
; dms100:          Nortel DMS100
; 4ess:           AT&T 4ESS
; 5ess:                  Lucent 5ESS
; euroisdn:       EuroISDN
; ni1:            Old National ISDN 1
; qsig:           Q.SIG
;
Switchtype=national
context=from-pstn
signalling =pri_cpe
channel => 25-47


;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs