[Asterisk-Users] Detecting gateways which time out

Woodoo People .pGa! wpeople at Shadow.microsystem.hu
Sat Jun 10 11:18:08 MST 2006


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 at 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 at shadow.pganet.com]iCQ#33118021[wpeople.on.iRCNet]wpeople at RedHat.users



More information about the asterisk-users mailing list