[Users] remove_hf("Contact") after fix_nated_contact()

Walter Schober walter.schober at neotel.at
Fri Jun 30 09:03:56 CEST 2006


Hello!
 
Just curious: I do remove_hf("Contact") right after fix_nated_contact() (for
whatever reason).
Then the remove_hf() removes anything but the new SIP URI from the message,
leaving e.g.
sip:user at received_ip:port
in front of the headerfield following the Contact. e.g.
 
Before:
Some-Header: bla
Contact: Name <sip:user at privateip:port>
Authorization: bla
 
Then:
Some-Header: bla
sip:user at public_ip:portAuthorization: bla
 
How to remove that Contact: after having it nat_helped and then saved?
 
br
Walter
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060630/37065609/attachment.htm>


More information about the sr-users mailing list