<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] voices in the recordings are out of sync</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Ok... You should be testing against MASTER... If you are not testing again Master It is not going to get fixed... All patches go there first... If you can duplicate there, then open a ticket. This is the only way these sort of things get fixed<BR>
<BR>
<BR>
<BR>
On 1/28/13 4:43 PM, &quot;Yungwei Chen&quot; &lt;<a href="yungwei@resolvity.com">yungwei@resolvity.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT COLOR="#1F497D"><FONT FACE="Calibri, Verdana, Helvetica, Arial">Tested against the following version today, and the problem is still there. <BR>
FreeSWITCH Version 1.2.6+git~20130104T154559Z~a4247651ca (git a424765 2013-01-04 15:45:59Z)<BR>
&nbsp;<BR>
</FONT></FONT><FONT FACE="Monaco, Courier New"><BR>
</FONT></SPAN><FONT SIZE="2"><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'><B>From:</B> <a href="freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] <B>On Behalf Of </B>Yungwei Chen<BR>
<B>Sent:</B> Friday, January 25, 2013 5:07 PM<BR>
<B>To:</B> FreeSWITCH Users Help<BR>
<B>Subject:</B> Re: [Freeswitch-users] voices in the recordings are out of sync<BR>
</SPAN></FONT></FONT><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'> <BR>
</SPAN></FONT><FONT COLOR="#1F497D"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi,<BR>
&nbsp;<BR>
I did a quick test against freeswitch-1.2.5.3 on CentOS 5.8, but the problem is still there.<BR>
In the recording, the caller speaks way faster than he did.<BR>
&nbsp;<BR>
Here's the version of freeswitch:<BR>
FreeSWITCH Version 1.2.5.3+git~20121229T001759Z~e04eab7902 (git e04eab7 2012-12-29 00:17:59Z)<BR>
&nbsp;<BR>
Here's the set of steps:<BR>
1. In dialplan/default/resolvity.xml, add the following extension:<BR>
&nbsp;&nbsp;&lt;extension name=&quot;ext1&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;condition field=&quot;${destination_number}&quot; expression=&quot;^0009$&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;action application=&quot;set&quot; data=&quot;RECORD_STEREO=false&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;action application=&quot;answer&quot; /&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;action application=&quot;javascript&quot; data=&quot;test.js&quot; /&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/condition&gt;<BR>
&nbsp;&nbsp;&lt;/extension&gt;<BR>
&nbsp;<BR>
2. Create scripts/test.js with the following content. This js file will read numbers sequentially starting from 0.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;session.execute(&quot;record_session&quot;, &quot;/tmp/test.wav&quot;);<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for (var i=0; i&lt;100; i++)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;session.speak(&quot;flite&quot;, &quot;kal&quot;, i+'');<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;session.hangup(16);<BR>
&nbsp;<BR>
3. reloadxml<BR>
4. dial 0009 from a registered SIP client, and then repeat each number you heard.<BR>
5. Listen to the recording, /tmp/test.wav.<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT></FONT><SPAN STYLE='font-size:11pt'><FONT FACE="Monaco, Courier New"><BR>
</FONT></SPAN><FONT SIZE="2"><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'><B>From:</B> <a href="freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] <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<BR>
</SPAN></FONT></FONT><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'> <BR>
Latest version of FreeSWITCH has some updates that may fix this issue. I would update to 1.2.5.3 ASAP.<BR>
-MC<BR>
</SPAN></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'>On Tue, Dec 18, 2012 at 1:56 PM, Yungwei Chen &lt;<a href="yungwei@resolvity.com">yungwei@resolvity.com</a>&gt; wrote:<BR>
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;&nbsp;&nbsp;&lt;extension name=&quot;public_extensions&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;condition field=&quot;destination_number&quot; expression=&quot;^\d{10}$&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;action application=&quot;transfer&quot; data=&quot;main XML default&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/condition&gt;<BR>
&nbsp;&nbsp;&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;&nbsp;&lt;extension name=&quot;test&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;condition field=&quot;${destination_number}&quot; expression=&quot;^main$&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;action application=&quot;set&quot; data=&quot;RECORD_STEREO=false&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;action application=&quot;answer&quot; /&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&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;&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;&nbsp;&nbsp;&nbsp;&lt;/condition&gt;<BR>
&nbsp;&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;&nbsp;&nbsp;&lt;include&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;gateway name=&quot;gw1&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;username&quot; value=&quot;&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;password&quot; value=&quot;&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;realm&quot; value=&quot;&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;from-domain&quot; value=&quot;&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;extension&quot; value=&quot;&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;expire-seconds&quot; value=&quot;60&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;retry-seconds&quot; value=&quot;60&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/gateway&gt;<BR>
&nbsp;&nbsp;&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="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Times New Roman"><SPAN STYLE='font-size:12pt'><BR>
</SPAN></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
</SPAN></FONT>
</BODY>
</HTML>