[Users] OpenSER 1.2 and NAT

Andreas Granig andreas.granig at inode.info
Thu Mar 22 21:58:26 CET 2007


Hi,

When migrating my config from 1.1 to 1.2, far-end NAT traversal doesn't 
work anymore. Here is what I do:

modparam("usrloc", "nat_bflag", 6)
...
# register handling:
if(!search("^Contact:[ ]*\*") && nat_uac_test("19"))
{
	xlog("L_INFO", "NATed REGISTER\n");
	fix_nated_register();
	setbflag(6);
}
if(!save("location"))
{
	# error handling
	...
}

The log message is printed, so NAT is detected. The received-column in 
the DB also shows the correct NAT-address, but the flag-column is always 
0. Any advice?

Regards,
Andreas

This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation.
Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna




More information about the sr-users mailing list