<div dir="ltr">Thank you for the reply. Here's what I tried:<br><br><action application="set" data="jitterbuffer_msec=3000:3200:20"/><br><br>Works for calls from SIP clients but not for PortAudio calls.<br><br>Same with delay_echo - the CODEC is seen as RAW and so the jitterbuffer doesn't seem to be engaged (read_frame->packet doesn't have anything to work with so it skips the buffer).<br><br>I have tried to have PortAudio > extension 1 > bridge to extension 2, which produces better results, but (in my hands at least) it causes memory leaks and is unwieldy.<div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 24, 2018 at 11:59 PM, Alexey Sibyakin <span dir="ltr"><<a href="mailto:alex@freeswitch.com" target="_blank">alex@freeswitch.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">JB should be fine. Any details of unsuccess?<div><a href="https://freeswitch.org/confluence/display/FREESWITCH/JitterBuffer" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>JitterBuffer</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Jan 25, 2018 at 2:45 PM, Erik M. Devane - Comms Guy <span dir="ltr"><<a href="mailto:emdevane@gmail.com" target="_blank">emdevane@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I've been working on using FreeSWITCH as a bridge between different devices, and I need to delay all calls by 2-3 seconds in order for the external systems to keep up.<br><br>This delay should happen at the start of a call, and all subsequent audio should sound fine, just late.<br>I know that doing this sounds silly - I'm sorry about that.<br><br>Here are my approaches:<div><br></div><div>1) Eavesdrop on a call send through delay_echo - this works for SIP clients but I have to do an absolute_codec_string as it seems that CODEC support is limited, and I'm often getting no delay at all with my PortAudio clients.<br><br>2) Use lua to do a session freeswitch.msleep on answer - exactly what Confluence tells me to avoid - if I sleep but don't consume audio, I think I can get the desired result.<br><br>3) Mess with the jitterbuffer - I haven't had any success with this yet.<br><br>4) Increase the buffer in mod_PortAudio.<br><br>Writing this out makes me sure that I'm missing something - a way of getting delay_echo to work for all calls, or a way to pause session media to get the desired effect.<br><br>Can you please help?</div></div>
<br></div></div>______________________________<wbr>______________________________<wbr>_____________<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<wbr>.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.o<wbr>rg</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.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_8180414176916184064gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-family:HelveticaNeue,"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif"><div dir="ltr" style="color:rgb(0,0,0);font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="background-color:transparent;vertical-align:baseline"><font color="#000000" style="font-family:Arial;font-size:8pt;white-space:pre-wrap"><img src="http://24.112.99.44/fss.png"><br></font></span></div><div dir="ltr" style="color:rgb(0,0,0);font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="background-color:transparent;vertical-align:baseline"><font color="#000000" style="font-family:Arial;font-size:8pt;white-space:pre-wrap">Alex Sibyakin | Support Engineer</font></span></div><div dir="ltr" style="color:rgb(0,0,0);font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">FreeSWITCH Solutions | <a rel="nofollow" shape="rect" href="https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g" style="margin:0px;padding:0px;background:transparent;color:rgb(25,106,212);outline:none" target="_blank">17345 Civic Drive #2531 Brookfield, WI 53045</a></font></span></div><div dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">Email: </font><a href="mailto:alex@freeswitch.com" target="_blank"><font color="#3d85c6">alex@freeswitch.com</font></a></span></font></div><div dir="ltr" style="color:rgb(0,0,0);font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Website: </span><span style="margin:0px;padding:0px;background:transparent;color:rgb(25,106,212);outline:none;font-size:8pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a rel="nofollow" shape="rect" href="https://www.freeswitch.com/" style="margin:0px;padding:0px;background:transparent;color:rgb(25,106,212);outline:none" target="_blank">https://www.FreeSWITCH.com</a></span></font></div><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font size="1"><span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><font color="#000000">Need commercial support? Contact</font></span><span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"> </span><a rel="noopener noreferrer" href="mailto:sales@freeswitch.com" style="color:rgb(53,114,176);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif" target="_blank">sales@freeswitch.com</a><span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"> </span><span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><font color="#000000">f<wbr>or details.</font></span></font><font color="#000000" style="color:rgb(0,0,0);font-size:12.8px"><br></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>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.<wbr>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">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>