in k or openser there used to be a local_route block that was executed for locally generated requests, such as those triggered by t_uac_dlg mi command.
the question is, what is the equivalent in sr? when issuing, for example, invite using tm.t_uac_wait, i need to be able to set invite timeout using t_set_fr() call.
there exists onsend_route, but according to wiki, it does not apply:
This route is executed only when forwarding requests - it is not executed for replies, retransmissions, or locally generated messages (e.g. via fifo uac).
-- juha