[Asterisk-Users] ZAP divert problem

Leon Botes leon at trusc.net
Sat Aug 20 10:08:43 MST 2005


I have a TDM400 running telco lines on ZAP2-4

My after hours config is supposed to receive the incoming call then 
divert it to my home phone by calling out one of the other zap channels 
available.

console output as such...
  Starting simple switch on 'Zap/3-1'
     -- Executing Dial("Zap/3-1", "ZAP/G1/0823274210") in new stack
Aug 20 19:06:44 NOTICE[646]: app_dial.c:777 dial_exec: Unable to create 
channel of type 'ZAP'
   == Everyone is busy/congested at this time
Aug 20 19:06:55 WARNING[646]: pbx.c:1952 ast_pbx_run: Timeout, but no 
rule 't' in context 'incoming-pstn'
     -- Hungup 'Zap/3-1'

extensions.conf.....
[incoming-pstn]
include => outgoing-cell
include => open|08:00-16:59|mon-fri|*|*
include => open|08:00-12:29|sat|*|*
include => closed|17:00-7:59|mon-fri|*|*
include => closed|12:30-7:59|sat|*|*
include => closed|*|sun|*|*
[open]
works fine...
[closed]
exten => s,1,Dial(ZAP/G1/0823274000)

zapata.conf.......
[channels]
signalling=fxs_ks
context=incoming-pstn
group=1
callgroup=1
pickupgroup=1
usecallerid=no
faxdetect=incoming
callerid="Incoming call on" <2133878>
rxgain=6.0
txgain=6.0
channel => 2

signalling=fxs_ks
context=incoming-pstn
group=1
callgroup=1
pickupgroup=1
usecallerid=no
faxdetect=incoming
callerid="Incoming call on" <2133478>
rxgain=6.0
txgain=6.0
channel => 3

signalling=fxs_ks
context=incoming-pstn
group=1
callgroup=1
pickupgroup=1
usecallerid=no
faxdetect=incoming
callerid="Incoming call on" <2133479>
rxgain=6.0
txgain=6.0
channel => 4

Anyone know what i am doing wrong?
Leon



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date: 15/08/2005




More information about the asterisk-users mailing list