<div dir="ltr"><div>Hi,</div><div><br></div><div>we want to use kamailio as a IPv6 to IPv4 proxy.</div><div>IPv4 to IPv4 bridging with NAT works.</div><div><br></div><div>If we come from an IPv6 address, the registration packet is send via IPv4 to the provider.</div><div>He answers with 401 Unauthorized and one Via line in the header.</div><div>On the IPv6 side was no Via line in the packet.</div><div><br></div><div>So I tried to add one line by hand using an onreply_route and append_hf(), msg_apply_changes()<br></div><div>To my suprise, this line does never appear, but the original Via line is now in the packet !!!</div><div>If I add now additional Via header lines, they appear in the packet too.</div><div><br></div><div>This looks realy like a bug to me.</div><div><br></div><div>A solution is needed, because the phone does not respond to the 401 with user and password.</div><div>It starts a new registration instead.</div><div><br></div><div>Maybe I can fix it with my additional Via linem but I need the original branch ID (I think)</div><div>How can I get this?</div><div><br></div><div>Btw. we have this behaviour with 4.4.2 and 5.1.5</div><div><br></div><div>If I get no answer during the next 12 hours I'll try 3.3.7</div><div><br></div><div>Best regards</div></div>