[Asterisk-Users] Zap - What is going on?
Etienne Pretorius
etiennep at kingsley.co.za
Mon Apr 4 04:27:14 MST 2005
Ok - I was told that you set a group for Zap channels.
So I tried to make use of my Zap channels.... so the 2 I am interisted
in is channel 3 and channel 4.
I make Channel 3 in use bu calling a line... then I try to call another
line so expecting to have Zap channel 4
open and allowing me to make a call, but it just keeps on ringing... and
then times out. Can anyone please
shed some light on this for me?
extensions.conf
[outgoing] ;Dial
"0" on the phone for external line
;SIP
Phones need another way... they act like a cell phone
exten => _0,1,Dial(Zap/g2/$EXTEN,20,tr) ;Try
finding a line...
exten => _0,2,Goto(_0-${DIALSTATUS},1) ;Jump
based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten => _0-ANSWER,1,Goto(_0,102)
exten => _0-.,1,Goto(_0,1) ;Try
another line
exten => _0,102,Congestion
exten => _0,103,Hangup
Asterisk Console:
-- Starting simple switch on 'Zap/1-1'
-- Executing Dial("Zap/1-1", "Zap/g2/$EXTEN|20|tr") in new stack
-- Called g2/$EXTEN
-- Nobody picked up in 20000 ms
-- Hungup 'Zap/4-1'
<===========That channel is free and
has a seperate phone line connected to it.
-- Executing Goto("Zap/1-1", "_0-NOANSWER|1") in new stack
--
Kind Regards
Etienne
More information about the asterisk-users
mailing list