[Serusers] sequential forking support

Juha Heinanen jh at lohi.tutpro.com
Sun Feb 20 00:58:00 CET 2005


Java Rockx writes:

 > Can sequential forking (mutiple contacts) be used with multiple
 > gateways? In other words if next_gw() is used from a failure_route
 > block to try failover gateways, can I also use the next_contacts() for
 > serial forking?

as the name says, next_gw() gives you only one next gateway.  there is
thus no need for serial forking.

 > If so, can you tell me how I would structure my failure_route or other
 > necessary code blocks?

basically you call next_gw() and if that succeeds you set failure route
again and call t_relay.

-- juha




More information about the sr-users mailing list