<div dir="ltr">Following up in case anyone else benefits from this -<div><br></div><div>After fixing the client to properly create new transports over the correct interface, Kamailio successfully rewrites the SDP using proper IP/port information, FS detects the changes, auto-adjust opens, and everything works as expected.</div><div><br></div><div>Thank you Michael for the pointers.</div><div><br></div><div>Best,</div><div>Colin</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jul 8, 2016 at 8:14 AM Colin Morelli <<a href="mailto:colin.morelli@gmail.com">colin.morelli@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Aha, thank you! That was helpful - I was able to see what you're referring to. It does look like its only on IP address change.<div><br></div><div>And, that just led me to the second issue, which is that on the client device the TLS transports aren't being recreated over the new interface so the external IP stays the same for signaling requests, which means Kamailio rewrites the same external IP in the SDP. Which means FS doesn't re-enable auto-adjust.</div><div><br></div><div>Thanks for the pointer Michael! I'll see if I can fix the signaling issue which should then resolve the rest of the problems.</div><div><br></div><div>Best,</div><div>Colin</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jul 8, 2016 at 2:07 AM Michael Jerris <<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">in may be only on media address change. You'd be looking on switch_core_media.c to find it<span></span><div><br>On Thursday, July 7, 2016, Colin Morelli <<a href="mailto:colin.morelli@gmail.com" target="_blank">colin.morelli@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey all,<div><br></div><div>Reviving this thread just to see if anyone has thoughts here?</div><div><br></div><div>I've tried digging through the source and can't seem to find where the re-opening of auto_adjust happens during a re-invite. As an aside bug (I'll report in JIRA) - it looks like the always_auto_adjust RTP bug results in very choppy audio.</div><div><br></div><div>That said, I don't need always_auto_adjust, as I'm fine with sending a re-invite when I need this to happen. It just doesn't seem to be working. Is there something else that needs to be set or is this also a bug?</div><div><br></div><div>Best,</div><div>Colin</div><br><div class="gmail_quote"><div dir="ltr">On Fri, May 13, 2016 at 9:34 PM Colin Morelli <<a>colin.morelli@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is this the case even when the RTP IP in the SDP doesn't change? I'm seeing successful re-invites being processed with no auto adjust happening afterwards. I see:<div><br></div><div>2016-05-13 21:28:24.216684 [DEBUG] sofia.c:7614 Processing updated SDP<br></div><div><br></div><div>Indicating that FS did receive the SDP in the re-invite but nothing else about RTP auto adjust afterwards. This is on FreeSWITCH Version 1.6.7-14-d38d065~64bit (-14-d38d065 64bit) running on Debian 8 x86_64.</div><div><br></div><div>Thanks for the response.</div><div><br></div><div>Best,</div><div>Colin</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, May 13, 2016 at 9:14 PM Michael Jerris <<a>mike@jerris.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">we already re-open the auto adjust window on reinvite <span></span><br><br>On Friday, May 13, 2016, Colin Morelli <<a>colin.morelli@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have mobile applications running behind NAT. When their reachability changes (and the device's local route updates), I want to automatically switch the RTP stream to the new address/port combination.<div><br></div><div>I've tried using the RTP ALWAYS_AUTO_ADJUST bug, but that results in <i>very</i> choppy audio. I also don't really need it, as the only time I care to perform RTP auto-adjust is after an invite session. For this case I can safely assume that the client <i>will</i> send a re-invite when its address changes. Is there any way to perform RTP audio adjust only on a re-invite?</div><div><br></div><div>Using STUN doesn't seem right for two reasons: 1) on its own it can't solve this problem (even if it determines the external IP, the port is still wrong). 2) it results in issues on FS "Invalid STUN/ICE packet received 20 bytes"</div><div><br></div><div>Would appreciate any help.</div><div><br></div><div>Best,</div><div>Colin</div></div>
</blockquote>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div></blockquote></div></div>
</blockquote></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div></blockquote></div>