A possibility to keep status would be to use flags -- a poor variable substitute till support for variables appears.
-jiri
At 10:14 PM 7/13/2004, Michael Przybylski wrote:
Hello everyone,
I've got a recursing failure_route block that I'm trying to use
for voice over IP gateway failover. The recursion bit works without any problem, but I could really use some hints on examining the branches appended by previous calls to the failure route so that it can know when to stop.
Here's the pseudo-code version of what I'm trying to do.
if(examing previously appended branches shows IP of last-chance gateway already there){ give up; }
Any suggestions would be greatly appreciated.
Best regards, Mike Przybylski
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/