[Asterisk-Users] Answering on an zap device
Cristi
cvasiliu at accessnet.ro
Tue Jul 8 06:20:44 MST 2003
How can I accept calls on a Wildcard E400P . Please include the
zaptel.conf , zapata.conf and extension.conf to fully understand
everything.
Take a look firts to my configuration file. Where I did wrong?
zaptel.conf:
span=1,1,0,ccs,hdb3,crc4
span=2,0,0,ccs,hdb3
span=3,0,0,ccs,hdb3
span=4,0,0,ccs,hdb3
# Span 1
bchan=1-15,17-31
dchan=16
# Span 2
bchan=32-46,48-62
dchan=47
# Span 3
bchan=63-77,79-93
dchan=78
# Span 4
bchan=94-108,110-124
dchan=109
alaw=1-124
loadzone = nl
defaultzone=nl
zapata.conf:
[channels]
context=inbound
switchtype=euroisdn
signalling=pri_cpe
;rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
echocancel=no
rxgain=0.0
txgain=0.0
immediate=yes
; Span 1
group=1
context=inbound
signalling=pri_cpe
channel => 1-15
channel => 17-31
; Span 2
group=2
context=inbound
signalling=pri_cpe
channel => 32-46
channel => 48-62
; Span 3
group=3
context=outbound
signalling=pri_cpe
channel => 63-77
channel => 79-93
; Span 4
group=4
context=outbound
signalling=pri_cpe
channel => 94-108
channel => 110-124
and
extensions.conf:
[general]
static=yes
writeprotect=yes
...
[inbound]
exten => 1,1,Ringing
exten => 1,2,Wait,2
exten => 1,3,Playback(beep)
exten => 1,4,Playback(agent-alreadyon)
exten => _XXXXXXX,1,Ringing
exten => _XXXXXXX,2,Wait,2
exten => _XXXXXXX,3,Playback(beep)
exten => #,1,Hangup
...
More information about the asterisk-users
mailing list