Hi Benny, I don't know where is the problem now but somehow --auto-update-nat=0 doesn't work for me as it should. Example (I am changing IPs and hostnames there as it doesn't matter for what I want to say.): When I send REGISTER request to OpenSER pjsua log shows this: REGISTER sip:example.com SIP/2.0 Via: SIP/2.0/UDP 192.168.22.22:5060;rport;branch=z9hG4bKPj57fad762-df27-40b1-ae27-7456b97309dc Max-Forwards: 70 From: <sip:user@xxxxxxxxxxx>;tag=30e5e7cd-41d3-4e65-90f1-17269c84c6fe To: <sip:user at example.com> Call-ID: 9587c66e-ae33-4ca0-986e-8f1ac097c62d CSeq: 29674 REGISTER User-Agent: PJSUA v0.9.0-trunk/i686-pc-linux-gnu Contact: <sip:user at 192.168.22.22:5060> Expires: 300 Content-Length: 0 BUT OpenSER sees this: REGISTER sip:example.com SIP/2.0 Via: SIP/2.0/UDP 192.0.2.44:5060;rport;branch=z9hG4bKPj57fad762-df27-40b1-ae27-7456b97309dc Max-Forwards: 69 From: <sip:user@xxxxxxxxxxx>;tag=30e5e7cd-41d3-4e65-90f1-17269c84c6fe To: <sip:user at example.com> Call-ID: 9587c66e-ae33-4ca0-986e-8f1ac097c62d CSeq: 29674 REGISTER User-Agent: PJSUA v0.9.0-trunk/i686-pc-linux-gnu Contact: <sip:user at 192.0.2.44:5060> Expires: 300 Content-Length: 0 When I send same message with sipsak: sipsak -vvv -i -f sipsak.msg -s sip:example.com:5060 then the OpenSER sees unchanged message with private addresses. This is my --config-file: --id=sip:user at example.com --registrar=sip:example.com --auto-update-nat=0 There's definitely small bug in pjsip-apps/src/pjsua/pjsua_app.c on line 1338: dump config is dumping non-existent option --contact-rewrite instead of --auto-update-nat. So I like the function but I would like to have it under control. If it is not connected to PJSIP do you have an idea what else could be rewriting my contact header? I am running pjsua under Gentoo Linux and OpenSER 1.3.1-notls under Ubuntu Server 8.04.1. I am almost sure OpenSER is not doing it. The other problem I have is with _something_ rewriting my SDP c and olines with my srflx addresses which causes ice-mismatch problem when using ICE. Any idea what can cause the problems here and how could I turn it off? Thank you for your wonderful support all the time!!! Cheers, Ondrej