<div dir="ltr"><div>Hi Allan,</div><div><br></div><div>I don't know if the media_timeout=300 behavior you saw is a bug or not, but I wanted to add my own observation of weirdness about hangup cause MEDIA_TIMEOUT...</div><div><br></div><div>I just noticed a conference end abruptly after one leg spoke for 5 minutes. The logs aren't clear why this happened, but it seems that <param name="rtp-timeout-sec" value="300"/> in our sip_profiles/internal.xml is the reason -- it seems that because the *other* leg of the conference remained silent, the RTP timeout was reached.</div><div><br></div><div>I couldn't find any confluence pages about MEDIA_TIMEOUT by googling.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 8, 2021 at 1:08 AM <<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>---------- Forwarded message ----------<br>From: Allan Kristensen <<a href="mailto:ak@hejdu.dk" target="_blank">ak@hejdu.dk</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Bcc: <br>Date: Wed, 6 Jan 2021 19:37:33 +0100<br>Subject: [Freeswitch-users] rtp-timeout-sec VS media_timeout<br><div dir="ltr">We had some problems with "hanging channels" for our webrtc clients (via kamailio).<div>To solve the problem I tried to use "media_timeout" setting but it didn't really work. So I tried the deprecated "rtp-timeout-sec" and this actually works fine?</div><div><br></div><div>Not working:</div><div><param name="media_timeout" value="300"/><br></div><div><br></div><div>Working:</div><div><param name="rtp-timeout-sec" value="300"/></div><div><br></div><div>How to reproduce: Make a call using webrtc and just close browser window, after some time freeswitch should close the channel because of missing rtp.<br></div><div>Instead it just keeps writing: "switch_rtp.c:853 No audio stun for a long time!" forever...</div><div><br></div><div>Anyway, it works now....just curious why...a typo or bug?</div><div><br></div><div>/Allan</div><div><br></div><div>Using:</div><div>FreeSWITCH Version 1.10.5-release+git~20200818T185121Z~25569c1631~64bit</div></div></blockquote></div></div>