Hi again, I made the same test with mediaproxy instead of rtpproxy, the problem is exactly the same. In my config there is no NAT at all, private IP addresses are routed via an IP tunnel to my SER proxy, and I'd like to use the media proxy to communicate with an external gateway. The SDP within the 200OK is left intact, so a private IP address is given and the call fails... Any ideas? Thanks!
Le mardi 27 septembre 2005 à 18:30 +0200, Alexandre Aractingi a écrit :
Hi all, I'm trying to use RTPproxy (CVS) and SER to enable locally-routed endpoints to talk to an external public gateway. When a call comes from the external gateway, the SDP in the INVITE gets rewritten properly with SER's IP address, but then when my phone hangs off, the SDP in the 200 OK doesn't get rewritten, so an RFC1918 IP address is passed to the external gateway (so I get no audio).
I'm using nathelper with: modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
and for my tests I put "force_rtp_proxy()" at the very beginning of the routing logic in order to make sure it gets invoked.
But the SDP in the 200 OK is not rewritten no matter what. Is this a know issue? Is there a known workaround?
Thanks in advance for any help,
Alexandre Aractingi Net-tone / Active Telecom Direct IP : +33 1 72 74 70 02 Standard : +33 1 49 23 76 59