[OpenSIPS-Users] MediaProxy switches RTP source port for no apparent reason.

Saúl Ibarra Corretgé saul at ag-projects.com
Fri Apr 20 13:01:47 CEST 2012


Hi,

On Apr 20, 2012, at 12:53 PM, Daniel Nihlén wrote:

> Hi,
> 
> I am a bit puzzled by this behavior in Mediaproxy.
> 
> It seems session setup is ok, but right after the media starts to be sent, media proxy changes source port from the announced 55062 to source port 1057 (which is not in the range configured for MediaProxy, which runs default 50000:60000).
> 
> In this scenario we need RTP to jump twice at the MediaProxy as if being two chained MediaProxy, but its one instance.
>  
> Media is supposed to go:
> UAC:5070 -> MediaProxy:55056 | src:MediaProxy:55058 -> MediaProxy:55060 | src:MediaProxy:55062 -> UAS:5068
> 
> By looking at tcpdump from MediaProxy node, It does for 10 RTP packages, then it changes to:
> UAC:5070 -> MediaProxy:55056 | src:MediaProxy:1057 -> UAS:5068
> This causing UAS NAT-fw to drop the traffic.
> 
> All the logs look ok and describes the expected scenario, the port 1057 is not mentioned anywhere in the logs. The summary for the two MediaProxy sessions are enclosed below.
> 
> Any clue on why MediaProxy would suddenly choose a port that is not configured? Thankful if anyone can help.
> 

There is no obvious reason for that to happen. Can you please send me the OpenSIPS and MediaProxy log outputs along with that trace showing the port change? You may send them to me privately in case you don't want to send them to the mailing list.


Regards,

--
Saúl Ibarra Corretgé
AG Projects






More information about the Users mailing list