<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi all,</p>
<p>i've got a weird bug with the record_session function.</p>
<p>I added he record_session function into my dialplan and set the
record_sample_rate to 16000.</p>
<p>When i use Google Chrome the record is fine and the wave file has
a 16khz Sample Rate.</p>
<p>When i use Mozilla Firefox the Sample Rate is at 32khz.</p>
<p>my additions to the dialplan:</p>
<pre> <<span class="pl-ent">action</span> <span class="pl-e">application</span>=<span class="pl-s"><span class="pl-pds">"</span>set<span class="pl-pds">"</span></span> <span class="pl-e">data</span>=<span class="pl-s"><span class="pl-pds">"</span>RECORD_READ_ONLY=true<span class="pl-pds">"</span></span>/>
<<span class="pl-ent">action</span> <span class="pl-e">application</span>=<span class="pl-s"><span class="pl-pds">"</span>set<span class="pl-pds">"</span></span> <span class="pl-e">data</span>=<span class="pl-s"><span class="pl-pds">"</span>record_sample_rate=8000<span class="pl-pds">"</span></span>/>
<<span class="pl-ent">action</span> <span class="pl-e">application</span>=<span class="pl-s"><span class="pl-pds">"</span>record_session<span class="pl-pds">"</span></span> <span class="pl-e">data</span>=<span class="pl-s"><span class="pl-pds">"</span>/var/freeswitch/meetings/${strftime(%Y-%m-%d-%H-%M-%S)}_${call_uuid}.wav<span class="pl-pds">"</span></span>/>
Kind regards,
Robert
</pre>
</body>
</html>