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/
I was thinking along the lines of using the textops.so search() function.
Will that let me see what "Contact" headers have already been appended as branches?
Best regards, Mike Przybylski
On Wed, 14 Jul 2004, Jiri Kuthan wrote:
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/
Jiri Kuthan wrote:
A possibility to keep status would be to use flags -- a poor variable substitute till support for variables appears.
Any guesses on when that will happen? Thats the feature i am missing the most with ser.
:: arnd ::
On Jul 14, 2004 at 08:58, Arnd Vehling av@nethead.de wrote:
Jiri Kuthan wrote:
A possibility to keep status would be to use flags -- a poor variable substitute till support for variables appears.
Any guesses on when that will happen? Thats the feature i am missing the most with ser.
I'm the one responsible for this (or for not having this yet :-)). We should have had it one year ago, but unfortunately more urgent stuff keeps turning up and variables get delayed. I really don't know when I will have time for it (currently new release +timers+malloc improvements have a bigger priority).
Andrei