<div dir="ltr">I&#39;m using FreeSWITCH on EC2 to call into a conference bridge and record the audio from the conference. It works well except for one thing: the recording contains all the audio from the call, but the duration of the file is shorter than the call. The duration is typically 3-5 seconds shorter than the call for each 5 minutes of call. On a recent test, wall clock showed a duration of 15:32.93 but the duration of the recording file was 15:19.96. The ugly part is that this only happens on EC2 instances where there is some CPU steal time (&lt;5%) occurring. <div>
<br></div><div>Here&#39;s my setup:</div><div>Operating System: Ubuntu 12.04</div><div>FreeSWITCH: 1.2.12</div><div><br></div><div>Command I&#39;m using to start the call:</div><div>originate {record_waste_resources=true}sofia/external/SIPADDR &amp;record(/tmp/record1.wav) default default</div>
<div><br></div><div>Any ideas on how to make the recording duration actually match up with the call duration? Or even what&#39;s really going wrong so I can work on fixing that?</div><div><br><div><div>--<br>Byron Clark</div>

</div></div></div>