[OpenSIPS-Users] Mediaproxy and SDP-mangle

Cosimo Fadda cfadda.lists at gmail.com
Tue Nov 18 10:11:10 CET 2008


Dan Pascu ha scritto:
> 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.
>
>   
You mean adding the correct IP in th e SDP body or making some changes 
to mediaproxy?

Thanks in advance,

Cosimo



More information about the Users mailing list