[Asterisk-Users] Dial and Congestion
Massimiliano Stucchi
stucchi at willystudios.com
Wed Feb 22 05:16:04 MST 2006
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
stucchi at willystudios.com
Http://www.willystudios.com/max/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060222/5666d7b7/attachment.pgp
More information about the asterisk-users
mailing list