<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I did a quick test against freeswitch-1.2.5.3 on CentOS 5.8, but the problem is still there.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>In the recording, the caller speaks way faster than he did.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Here's the version of freeswitch:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>FreeSWITCH Version 1.2.5.3+git~20121229T001759Z~e04eab7902 (git e04eab7 2012-12-29 00:17:59Z)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Here's the set of steps:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>1. In dialplan/default/resolvity.xml, add the following extension:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; &lt;extension name=&quot;ext1&quot;&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;${destination_number}&quot; expression=&quot;^0009$&quot;&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;RECORD_STEREO=false&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;answer&quot; /&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;javascript&quot; data=&quot;test.js&quot; /&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; &lt;/extension&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2. Create scripts/test.js with the following content. This js file will read numbers sequentially starting from 0.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; session.execute(&quot;record_session&quot;, &quot;/tmp/test.wav&quot;);<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (var i=0; i&lt;100; i++)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; session.speak(&quot;flite&quot;, &quot;kal&quot;, i+'');<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; session.hangup(16);<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>3. reloadxml<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>4. dial 0009 from a registered SIP client, and then repeat each number you heard.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>5. Listen to the recording, /tmp/test.wav.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Michael Collins<br><b>Sent:</b> Tuesday, December 18, 2012 8:26 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] voices in the recordings are out of sync<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Latest version of FreeSWITCH has some updates that may fix this issue. I would update to 1.2.5.3 ASAP.<br>-MC<o:p></o:p></p><div><p class=MsoNormal>On Tue, Dec 18, 2012 at 1:56 PM, Yungwei Chen &lt;<a href="mailto:yungwei@resolvity.com" target="_blank">yungwei@resolvity.com</a>&gt; wrote:<o:p></o:p></p><p class=MsoNormal>Hi,<br><br>I found one issue that voices are always out of sync in the recordings.<br>I am running freeswitch-1.2.5.1-1 on CentOS 5 (i386), which was installed from yum.<br>I am having trouble installing the latest version from source due to an error: Autoconf version 2.62 or higher is required.<br>It would be nice if someone can reproduce this issue against HEAD. Thanks.<br><br>Here're the steps to reproduce it. The idea is to call a phone number and then bridge to another phone number while the entire session is being recorded.<br>1. In dialplan/public.xml, make sure you have a dialplan to handle any 10 digit phone numbers.<br>&nbsp; &nbsp; &lt;extension name=&quot;public_extensions&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^\d{10}$&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;transfer&quot; data=&quot;main XML default&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &lt;/condition&gt;<br>&nbsp; &nbsp; &lt;/extension&gt;<br><br>2. In dialplan/default/main.xml, make sure you have an extension to handle the call in the default context.<br>&nbsp; &lt;extension name=&quot;test&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &lt;condition field=&quot;${destination_number}&quot; expression=&quot;^main$&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;set&quot; data=&quot;RECORD_STEREO=false&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;answer&quot; /&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;record_session&quot; data=&quot;/tmp/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;bridge&quot; data=&quot;{ignore_early_media=false}[leg_timeout=60]sofia/gateway/gw1/1234567890&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &lt;/condition&gt;<br>&nbsp; &lt;/extension&gt;<br><br>3. In sip_profiles/external/gateways.xml, make sure you have a gateway that allows you to make an outbound call.<br>&nbsp; &nbsp; &lt;include&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;gateway name=&quot;gw1&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;username&quot; value=&quot;&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;password&quot; value=&quot;&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;realm&quot; value=&quot;&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;from-domain&quot; value=&quot;&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;extension&quot; value=&quot;&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;expire-seconds&quot; value=&quot;60&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;retry-seconds&quot; value=&quot;60&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/gateway&gt;<br>&nbsp; &nbsp; &lt;/include&gt;<br><br>4. make a call to one of the allowed 10-digit phone numbers in your environment.<br>5. Once the call is answered, the caller shall start to count from 1 to 60 with some pause after each number.<br>6. The callee shall repeat each number he/she heard from the caller.<br>7. You should be able to hear that 2 voices in the recoridng (/tmp/rec.wav) are out of sync.<br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" 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.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><br><br clear=all><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br><a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><o:p></o:p></p></div></body></html>