On 08/27/2013 10:22 AM, Olle E. Johansson wrote:
Let's work on a description on the logic needed and see if Vitally's code is close:

1. Connection dies (tcp, tls, sctp)
2. Event-route activates
3. Check if there's a outbound flow with reg-id associated with the flow
4. If not, is there a registration associated with the flow
5. If 3 or 4 is true, do something

Do we have functions for 3 and 4? Can this be done in scripting?
Haven't seen functions which can do 3 and 4 at the last stable usrloc module.