[OpenSER-Devel] How to not modify SDP for NAT-ed clients

Benny Prijono bennylp at pjsip.org
Thu Jun 26 14:08:13 CEST 2008


Hi all,

I'm using OpenSER r3951 (25 Mar 2008) with pretty much the stock
configuration. The proxy is in public Internet.

When I register and make call from client that is behind NAT, and when
the client uses all private IP addresses in Via/Contact/SDP, to my
surprise OpenSER modifies the IP addresses in the SDP with the public
IP address of the client. While I understand the motivation behind
this, it actually causes ICE negotiation to fail with "ice-mismatch",
and the call will fail if both caller and callee are behind the same
NAT and the NAT doesn't do hairpinning. It would otherwise be
successful if OpenSER doesn't modify the SDP.

Is there any option to disable this NAT feature?

Also in this setup, OpenSER doesn't return ";received" parameter in
the Via, which is a MUST requirement.

Cheers
 Benny



More information about the Devel mailing list