[Asterisk-Users] can't create Zap channel
Matthew Boehm
mboehm at cytelcom.com
Fri May 6 07:06:56 MST 2005
> - /etc/zaptel.conf
span=1,1,0,esf,b8zs
span=2,1,0,esf,b8zs
span=3,1,0,esf,b8zs
span=4,1,0,esf,b8zs
bchan=1-23,25-47,49-71,73-95
dchan=24,48,72,96
loadzone = us
defaultzone=us
> - /etc/asterisk/zapata.conf
[trunkgroups]
[channels]
language=en
context=all-incomming
switchtype=national
pridialplan=national
signalling=pri_cpe
rxwink=300
usecallerid=yes
cidsignalling=bell
cidstart=ring
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=0.0
txgain=0.0
immediate=no
group = 1
channel => 1-23
group = 2
channel => 25-47
group = 3
channel => 49-71
group = 4
channel => 73-95
group = 5
channel => 1-23,25-47
group = 6
channel => 1-23,25-47,49-71
group = 7
channel => 1-23,25-47,49-71,73-95
> - the construction of the extension you are using
[all-incomming]
exten => _18XXXXXXXXX,1,Dial(Zap/R1d/${EXTEN},60) ;
Toll Free - Terminate PRI Span 1
exten => _[287]XXXXXXXXX,1,Dial(Zap/R4d/${EXTEN},30) ;
Local - Terminate PRI Span 4
exten => _XXXXXXXXXX,1,AGI(lcr.php) ;
Long Distance - Run lcr.php for LCR
exten => _011.,1,AGI(lcr.php) ;
International - Run lcr.php for LCR
exten => _700999XXXX,1,SetCallerID(Matthew <2814494000>|a) ;
Special Cases - Do whatever
exten => _700999XXXX,2,Dial(Zap/R2d/15124512424,30)
exten => t,1,Congestion()
exten => i,1,Congestion()
-Matthew
More information about the asterisk-users
mailing list