[OpenSIPS-Users] Mediaproxy and SDP-mangle

Dan Pascu dan at ag-projects.com
Tue Nov 18 08:08:50 CET 2008


On Monday 17 November 2008, Cosimo Fadda wrote:
> Hi everybody,
> I have a sever inside a DMZ with a private IP address (10.20.30.40)
> reachable from the outside with a Public IP (90.80.70.60) Natted 1:1 to
> the private IP.
> I want to setup mediaproxy on this server, but since I cannot configure
> it with the public IP, in the resulting SDP messages the Private IP
> will appear .
> Can I use the function:
>
> sdp_mangle_ip("10.20.30.40","90.80.70.60");

This won't work, as it creates 2 lump changes on the same region of the 
message and they won't be applied correctly (you will get both IPs 
concatenated if you do that).

>
> to correct this behaviour?
> Or there is another way to run mediaproxy in this scenario?

Not ATM, but it's not difficult to add it.

-- 
Dan



More information about the Users mailing list