Hello,
i am thinking of updating the prototype from: int run_top_route(struct action* a, sip_msg_t* msg) to: int run_top_route(struct action* a, sip_msg_t* msg, struct run_act_ctx *h)
to be able to access to action context from calling function (useful to check run_flags for example when calling event_route). If h is null, then local declared context is to used, like now.
I will update all invocations, if there is nothing against.
Cheers, Daniel