[OpenSIPS-Users] Media Proxy 2.3.4 bug?

Dan Pascu dan at ag-projects.com
Thu Oct 1 09:04:34 CEST 2009


What you describe doesn't sound like a bug (mediaproxy cannot send  
from a different port than those allocated for the session since there  
is none listening on those ports at least not for that session). What  
you describe seems to indicate that the original streams in the  
session were renegotiated and a new stream was allocated (at port  
30510) while the old one (at port 30506) was discarded. Such a thing  
can happen for multiple reasons:

1. Initial ip/port specified with a 183 is later changed by the 200 OK
2. An UPDATE request modifies the stream's IP/port.
3. A re-INVITE modified the stream's IP/port

Any stream change will result in the old one being discarded and a new  
one being allocated, which seems to be what happened in your case.  
Initial ports, 30506/30507 for one side and 30508/30509 for the other  
side, seem to have been later replaced 30506/30507 with 30510/30511.  
This only happens as a result of a SDP renegotiation as mentioned above.

On 29 Sep 2009, at 17:06, Mauro Davì wrote:

> Hi All,
>
> I have this scenario:
>
> An user1, connected trought an UA1 (behind NAT), make a sip call to an
> user2.
>
> user2 is logged into the system on 2 UAs (one behind a NAT and the  
> other
> on a public IP Address).
>
> user1 sent an INVITE message to the SIPProxy (SP) in wich there is an
> SDP with 16442 RTP Audio Stream port
>
> SP sent the INVITE to the 2 UAs in wich there in an SDP with 30506 RTP
> Audio Stream port
>
> The second UA sent to the SP a 200 OK with 10808 RTP Audio Stream port
>
> The SP sent to user1 a 200 OK with 30508 RTP Audio Stream port
>
> There is a problem, the media proxy sent the RTP Audio Proxy to the
> second UA from the source port 30510 (and not from 30506), the
> destination client is behind a NAT and the RTP Audio Stream isn't
> established.
>
> I'm in a multi-proxy environment. I can provide the wireshark trace.
>
> Do you have any suggestions? There is already a bug fix for this  
> problem?
>
> Thanks in advance
>    MD
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Dan






More information about the Users mailing list