[OpenSIPS-Users] Media Proxy between LAN and WAN

Uwe Kastens kiste at kiste.org
Wed May 13 11:35:40 CEST 2009


Hi,

what is the entry for relay_ip in your mediaproxy config?

BR

Uwe


Mauro Davi' schrieb:
> Hi All,
> 
>  
> 
> I have a Media Proxy installed in our VoIP platform. The Media Proxy
> machine have 2 Network card, one on a Private LAN the other on a WAN.
> 
> Now I configured the Media-Relay with the IP address 0.0.0.0 to listen
> to all the interfaces.
> 
>  
> 
> On opensips when then INVITE came from a UA directed to an internal
> network element (like PSTN Gateway or IVR) I want to manipulate the
> connection information in the SDP message content with the private IP
> address.
> 
>  
> 
> On the 200 OK I want to manipulate the connection information in the SDP
> message content with the public IP address.
> 
>  
> 
> In this way I hope that the Media Relay can work correctly…
> 
>  
> 
> But I have a problem, when I use the fix_nated_sdp (after the
> use_media_proxy function) on the INVITE sent to the Gateway I obtain the
> following SDP result:
> 
>  
> 
>  
> 
> v=0
> 
> o=- 0 2 IN IP4 192.168.193.54
> 
> s=CounterPath Bria
> 
> c=IN IP4 0.0.0.0172.30.0.205
> 
> t=0 0
> 
> m=audio 30058 RTP/AVP 0 101
> 
> a=sendrecv
> 
> a=rtpmap:101 telephone-event/8000
> 
> a=fmtp:101 0-15
> 
> a=x-rtp-session-id:EC003DF02E154A31AE923BD612B55FE7
> 
> a=direction:active
> 
> a=oldmediaip:192.168.193.54
> 
>  
> 
> the private IP address 172.30.0.205 is prefixed by the 0.0.0.0 inserted
> I think by the mediaproxy module.
> 
>  
> 
> There is a way to solve this problem?
> 
>  
> 
> Any suggestion?
> 
>  
> 
> Thanks in Advance
> 
>             MD
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 

kiste lat: 54.322684, lon: 10.13586



More information about the Users mailing list