[Serusers] serial forking with a recursive failure_route block

Michael Przybylski mikep at host.gimmethebrain.net
Wed Jul 14 03:21:51 CEST 2004


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 at lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
>
> --
> Jiri Kuthan            http://iptel.org/~jiri/
>




More information about the sr-users mailing list