<div dir="ltr">Hi,<div><br></div><div>Is there any way to remove Via and Record-Route headers from requests sent to an endpoint and update the contact header, but have Kamailio statefully remember where the replies need to route? </div><div><br></div><div><div>I imagine this would involve mangling the packets slightly to behave similar to a B2BUA.</div></div><div><br></div><div>My motivations, in order of priority -<br></div><div><br></div><div>1) Reduce UDP packet size to avoid MTU limitations</div><div>2) Improve interoperability, don't expect end points to be able to properly parse / process many via / record-route headers</div><div>3) Hide topology.</div><div><br></div><div>If someone could point me in the right direction in terms of configuration or modules, that would be great.<br></div><div><br></div><div>Thanks</div></div>