All pastes #384541 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-07 04:04 UTC
rendered paste body
;
; 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.



[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=incoming
usecallerid=yes
hidecallerid=no
usecallingpres=yes
callwaitingcallerid=yes
callwaiting=no
callreturn=yes
threewaycalling=yes
transfer=yes
echocancel=yes
echotraining=800
immediate=no
busydetect=yes
busycount=3
rxgain=9.0
txgain=4.0
group=1
hanguponpolarityswitch=yes

; define channels
context=incoming
signalling=fxs_ks

callerid=asreceived
channel => 1

callerid=asreceived
channel => 2

callerid=asreceived
channel => 3

callerid=asreceived
channel => 4

callerid=asreceived
channel => 5

callerid=asreceived
channel => 6