<div dir="ltr"><div>Hi,</div><div><br></div><div>I got similar problems. For me solution was to enable jitter buffer, something like this:</div><div><br></div><div>....<br></div><div><action application="set" data="rtp_jitter_buffer_during_bridge=true"/><br><action application="set" data="jitterbuffer_msec=60:200:20"/><br><action application="export" data="nolocal:jitterbuffer_msec=60:200:20"/><br><action application="export" data="nolocal:rtp_jitter_buffer_during_bridge=true"/><br></div><action application="bridge" data="some_bridge_data"
/>
<div>....</div><div><br></div><div>In this case I didn't get delay when I set "<param name="rtp-timer-name" value="soft"/>" in sip profile.<br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 18, 2021 at 5:10 PM Jacob Greene <<a href="mailto:jacobgreene1991@gmail.com">jacobgreene1991@gmail.com</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"><div dir="auto"><div dir="auto"><span style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)">Hello everyone,</span></div><span style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)"><div dir="auto"><span style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)"><br></span></div>Recently, I am running into an issue with some severe audio delay with some freeswitch boxes running on AWS. It gets to the point where audio is delayed up to 10 seconds in both directions. The calls start off fine and slowly get worse.</span><br style="margin-top:0px;color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)"><br style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)">The only way I've been able to fix this is by disabling the rtp timer on the sofia profile(rtp-timer-name=none). Making this change immediately fixes the issue. </span><div dir="auto"><span style="background-color:rgb(255,255,255);color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px"><br></span></div><div dir="auto"><span style="background-color:rgb(255,255,255);color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">No obvious system bottlenecks, 1/5/15 min load averages all less 1 on dual core CPUs, tons of free memory, no I/O issues on the nic, etc.</span><div dir="auto"><br style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)">I suspect this might have something to do with some weird CPU sharing AWS is doing on their hypervisor, but I'm not sure.</span><br style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)"><br style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)">I can't find a ton of info on exactly what the rtp timer does, other than disabling it "disables asynchronous rtp" and "makes freeswitch handle media the same way as asterisks". I'm not really sure what this means. I've read it's less effecient and come across a couple very old post on the mailing list of Anthony steering people away from disabling the rtp-timer. </span><br style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)"><br style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)">Has anyone had a similar problem? Or does anyone have some more information/resources regarding exactly what the function of the rtp timer is? I'm trying to get in front of this. What are the drawbacks of not using an rtp timer? </span><br style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)"><br style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(20,22,24);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;background-color:rgb(255,255,255)">Thanks for reading!</span></div></div></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>