[OpenSIPS-Devel] [ opensips-Bugs-3609399 ] onreply_route nat_uac_test("1") ignores RFC1918 Contact

SourceForge.net noreply at sourceforge.net
Sat Apr 13 20:57:05 CEST 2013


Bugs item #3609399, was opened at 2013-03-28 16:24
Message generated for change (Comment added) made by a719719
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3609399&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.8.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: a719719 (a719719)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: onreply_route nat_uac_test("1") ignores RFC1918 Contact

Initial Comment:
I have in the onreply_route route this check:

if (nat_uac_test("1"))
{
   fix_nated_contact();
}

But this Contact header remains untouched:

SIP/2.0 200 OK
...
CONTACT: <sip:PBX.network.local:5060;transport=Tcp;maddr=172.16.1.1>
...


If i remove the nat_uac_test("1") check and just execute fix_nated_contact() the Contact header is changed:

CONTACT: <sip:1.2.3.4:5060;transport=Tcp>

So i think the nat_uac_test("1") check doesn't detect the RFC1918 Contact header. I use 1.8.2 svn9916.

----------------------------------------------------------------------

>Comment By: a719719 (a719719)
Date: 2013-04-13 11:57

Message:
I can't reproduce it myself so it will take while before i can post the
debug logging.

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2013-04-01 09:22

Message:
Hi,

Could you attached the opensips log (in debug 4) corresponding to the reply
processing?

Regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3609399&group_id=232389



More information about the Devel mailing list