<div dir="ltr"><div><div><div>Hi,<br></div><br></div>I am trying to configure a SIP proxy architecture that is stateful with regard to transaction but not the dialogues, i.e. If an INVITE takes a specific route, the corresponding 180 Ringing, 200 OK and ACK shall traverse the same set of proxies, but the corresponding BYE can take another route (and obv it's own 200 OK takes the same route again)<br>

<br><br></div><div>Which modules can help me with that? <br></div><div>In specific which functions / modules are recommended to handle requests and responses?<br><br></div><div>Currently, I use "t_relay()" from TM module to forward requests and "loose_route()" from RR module to handle replies, but it looks like that if a BYE ends in a proxy which its corresponding INVITE has not traversed, it is not forwarded by that proxy.<br>

<br></div><div>Am I making a mistake in my routing? Isn't there a simple way to do transaction stateful routing in Kamailio?<br><br><br>Thanks,<br>Alireza<br></div></div>