[Asterisk-Dev] AGI and priority
Eric Wieling aka ManxPower
eric at fnords.org
Wed Apr 6 08:26:42 MST 2005
JunK-Y wrote:
> i was talking with a guy on IRC. We discussed about a feature with
> FastAGI. When a FastAGI server isn't responding, there's no way to
> deal when it failed.
>
> What do you think about FastAGI goes at priority N+101 ?
>
> I was thinking about the same thing with all AGIs. If an AGI failed
> (script not found, no executable permission, etc) it will go at
> priority N+101. Otherwise, all AGIs would go at priority N+1 (like
> usual).
>
> Do you see any troubles with this?
Have your AGI set a variable (SetVar) then check for that variable in
the dialplan after the AGI is run. If the variable isn't set, the AGI
didn't work.
More information about the asterisk-dev
mailing list