<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2>Hello!</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial size=2>Just curious: I do
remove_hf("Contact") right after fix_nated_contact() (for whatever
reason).</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial size=2>Then the remove_hf()
removes anything but the new SIP URI from the message, leaving
e.g.</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2>sip:user@received_ip:port</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial size=2>in front of the
headerfield following the Contact. e.g.</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2>Before:</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial size=2>Some-Header:
bla</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial size=2>Contact: Name
<sip:user@privateip:port></FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial size=2>Authorization:
bla</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2>Then:</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial size=2>Some-Header:
bla</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2>sip:user@public_ip:portAuthorization: bla</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial size=2>How to remove that
Contact: after having it nat_helped and then saved?</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2>br</FONT></SPAN></DIV>
<DIV><SPAN class=782515806-30062006><FONT face=Arial
size=2>Walter</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>