The onreply_route is designed for executing when a sip reply is received and should be kept like that otherwise many configs will get unexpected results. Even without dns failover, the onreply route is not executed on retransmission timeout, but the failure route block.

Branch failure event route was added later and I am not sure how coherent its behaviour is. If it is not executed on 503, the it should be. But also onreply_route should be executed on 503 when the response is received from the network.

From my perspective, if you want to change when the onreply route is executed, you have to make it configurable, via a modparam, with the default behaviour being the one so far.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3138/c1154816756@github.com>