<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
I have three questions about the jitterbuffer (with FreeSwithc 1.2.22).</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
1) I seem to fail configuring the jitterbuffer via the dialplan using the channel variable jitterbuffer_msec as described here: <a href="https://wiki.freeswitch.org/wiki/Jitterbuffer">https://wiki.freeswitch.org/wiki/Jitterbuffer</a></div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Here&#39;s the part of my dialplan:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
<br></div><div class="gmail_default"><div class="gmail_default"><font face="arial, helvetica, sans-serif"><span style="white-space:pre">&lt;extension name=&quot;conference&quot;&gt;
        &lt;condition field=&quot;destination_number&quot; expression=&quot;^18(.+)$&quot;&gt;
                &lt;action application=&quot;set&quot; data=&quot;jitterbuffer_msec=60:200:20&quot;/&gt;
                &lt;action application=&quot;answer&quot;/&gt;
                &lt;action application=&quot;conference&quot; data=&quot;$1@audioswitch_conference&quot;/&gt;
        &lt;/condition&gt;
&lt;/extension&gt;
<br></span></font></div><div>When I open a channel using this dialplan, the jitterbuffer does not seem to get configured. I assume this because I cannot find a log message &quot;Setting Jitterbuffer to...&quot; from sofia_glue_activate_rtp() in my log file, so I assume that the part of the code setting the jitterbuffer does not execute.</div>
<div><br></div><div>I think this might have something to do that the variable <span style="font-family:arial,helvetica,sans-serif;white-space:pre">jitterbuffer_msec is not available yet when </span>sofia_glue_activate_rtp() gets executed. Correct? Maybe related to using inline=&quot;true&quot;? But even if I use <span style="font-family:arial,helvetica,sans-serif;white-space:pre">&lt;action inline=&quot;true&quot; application=&quot;set&quot; data=&quot;jitterbuffer_msec=60:200:20&quot;/&gt;, the jitterbuffer does not seem to get configured.</span></div>
<div><br></div><div>=&gt; question 1: how can I configure the jitterbuffer via the <span style="font-family:arial,helvetica,sans-serif">dialplan using the channel variable jitterbuffer_msec?</span></div><div><span style="font-family:arial,helvetica,sans-serif"><br>
</span></div><div><span style="font-family:arial,helvetica,sans-serif">Btw: enabling </span><font face="arial, helvetica, sans-serif">&lt;param name=&quot;auto-jitterbuffer-msec&quot; value=&quot;20&quot;/&gt; in the SIP profile works fine and produces the expected log statement. But I&#39;d rather use the channel variable as it also allows configuring the max buffer length.</font></div>
<div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">2) How can I get the current status (size) of the jitterbuffer at runtime, e.g. from a console (mod_cli) command or via mod_event_socket?</span></div>
<div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">3) Do I need a jitterbuffer at all for the setup with many SIP channels meeting in a FreeSwitch audio conference? My tests with a network with a big jitter indicate yes, because audio quality markedly improves when enabling the jitterbuffer.</span></div>
<div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">Thanks and best regards, Markus</span></div><div><span style="font-family:arial,helvetica,sans-serif"><br>
</span></div></div></div>