Hi Gary,
port/IP change should work. Could you please capture SIP+RTP traffic and send it
to me together with debug log? I will try to look on it.
Vaclav
On Tue, Apr 22, 2014 at 01:42:23PM -0400, Gary Nyquist wrote:
> Thanks Stefan,
>
> I applied the patch; but no change.
>
> The log shows:
> [handleSymmetricRtp, AmRtpStream.cpp:526] DEBUG: Symmetric RTP: setting new
> remote address: 64.71.31.202:4000
> [handleSymmetricRtp, AmRtpStream.cpp:531] DEBUG: Symmetric RTP: remote end
> sends RTP from advertised address. Leaving passive mode.
> [handleSymmetricRtp, AmRtpStream.cpp:526] DEBUG: Symmetric RTP: setting new
> remote address: 172.56.39.79:65050
> [handleSymmetricRtp, AmRtpStream.cpp:531] DEBUG: Symmetric RTP: remote end
> sends RTP from advertised address. Leaving passive mode.
>
> Though it says that it is "setting new remote address", the RTP packets are
> still being sent to the old IP:Port.
>
> Any thoughts?
>
> Best regards
> Gary
>
>
>
> ----- Original Message -----
>
> From: Stefan Sayer
>
> Sent: 04/21/14 05:49 PM
>
> To: Gary Nyquist, Juha Heinanen
>
> Subject: Re: [Sems] SEMS.1.5.0 a=direction:active not sending RTP to the
> changed destination
>
>
>
> o Gary Nyquist on 04/21/2014 10:11 PM:
> > Is there anyone who can confirm that SEMS doesn't handle src ip change
> > on the fly.
>
> try something like this:
>
> diff --git a/core/AmRtpStream.cpp b/core/AmRtpStream.cpp
> index 4e51c5a..b4208b2 100644
> --- a/core/AmRtpStream.cpp
> +++ b/core/AmRtpStream.cpp
> @@ -531,12 +531,15 @@ void AmRtpStream::handleSymmetricRtp(struct
> sockaddr_storage* recv_addr, bool rt
> " Leaving passive mode.\n",prot,prot);
> }
>
> +#if 0
> // avoid comparing each time sender address
> if(!rtcp)
> passive = false;
> else
> passive_rtcp = false;
> }
> +#endif
> +
> }
>
> hth
> Stefan
>
>
>
> _______________________________________________
> Sems mailing list
> [email protected]
> http://lists.iptel.org/mailman/listinfo/sems
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems