[Asterisk-Users] Detecting gateways which time out

Woodoo People .pGa!
Sat, 10 Jun 2006 11:18:08 -0000

set qualify=yes
and do chanisavail

> I would like to know if there is a way to detect gateways which time out
> (because of network problems or hardware failure for instance) when you
> send traffic to them.
>
> So when you do:
>
>     Dial(SIP/number@gateway)
>
> If a call couldn't get through because the gateway has timed out, i
want
> to do something about it.
>
> The idea would be to suspend gateway which time out for 60 minutes, and
> then if calls still don't go through, suspend them permanently and send
> an email alert.

you don't need to do that, just make chanisavail with option j
to jump to next gateway if the primary is unavail
--
WoodOO-[P]an[G]alaktikan[A]gent-People <][> http://shadow.pganet.com
wpeople@shadow.pganet.com]iCQ#33118021[wpeople.on.iRCNet]wpeople@RedHat.users