On 220206, 12:54, FaberK wrote:
> Hi folks,
> very stupid question, how do I setup a Dial with multiple Zap choises?
> I've setup this, but maybe is wrong:
> ------------------------------------------------
> exten => _7653.,1,SetCallerID(${CALLERID(number)})
> exten => _7653.,2,Dial(Zap/g2/${EXTEN})
> exten => _7653.,3,Dial(Zap/g4/${EXTEN})
> exten => _7653.,101,Congestion
> ------------------------------------------------
> what I want to do is that as soon as lines are not available on g2, all
> others outgoing calls must go to g4.
> Should be very easy, but it do not work.
> If the configuration is correct, then I must check the PRI.
> 

It should be like this:

exten => _7653.,1,SetCallerID(${CALLERID(number)})
exten => _7653.,2,ChanIsAvail(Zap/g2)
exten => _7653.,3,Dial(Zap/g2/${EXTEN})
exten => _7653.,103,Dial(Zap/g4/${EXTEN})
exten => _7653.,204,playtones(congestion)

Cheers
-- 

Massimiliano Stucchi
WillyStudios.com
[EMAIL PROTECTED]
Http://www.willystudios.com/max/

Attachment: pgpMbxvQojcBV.pgp
Description: PGP signature

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to