[Freeswitch-users] audo sync issues with record_session to mp3

John freeswitch at earthspike.net
Sat Jan 14 02:33:16 MSK 2012


I ran a test this evening with a 15 minute phone call from PSTN via ISDN
BRI (FreeTDM) into a SIP handset, all at G.711, recorded to MP3. 
Previously, this was out of sync. Now it's rock solid in sync.  Thanks,
Anthony!

On 12/01/12 01:00, Anthony Minessale wrote:
> I really wish things like this would go to jira it's very hard to
> track things from the mailing list......
>
>
> commit a365fb636ad9e2f4bb5dee43eddc305560699114
> Author: Anthony Minessale <anthm at freeswitch.org
> <mailto:anthm at freeswitch.org>>
> Date:   Wed Jan 11 17:49:35 2012 -0600
>
>     mailing list
> 36bc584d980ce80fe6a6f6e7d7383db9.squirrel at my.tomp.co.uk
> <mailto:36bc584d980ce80fe6a6f6e7d7383db9.squirrel at my.tomp.co.uk>
> [Freeswitch-users] audo sync issues with record_session to mp3 I redid
> the stream recording with timestamps and headers to try to keep it
> more synced
>
>
>
> On Tue, Jan 10, 2012 at 8:46 AM, John <freeswitch at earthspike.net
> <mailto:freeswitch at earthspike.net>> wrote:
>
>     I've just enabled session recording using MP3 encoding and have
>     the same
>     symptoms.  In my case it is between a BRI ISDN connection and a SIP
>     phone, both running with G.711.  I haven't tried recording between
>     extensions which would be a purer test, nor have I attempted using
>     WAV.
>     Are there any suggestions for how to fix this? Should I register a bug
>     on Jira?
>
>     John
>
>
>     On 02/01/12 15:01, Frank @ Impact wrote:
>     > We have the same problem.  We are running git from 12/30/11.
>      our aleg is a
>     > sip channel coming to FS and the bleg is a sip channels leaving FS.
>     >
>     > I noticed this problem really when we started using mp3 instead of
>     > wav.  With wav, it really was not noticeable for us in a
>     10-15minute call.
>     > But with mp3, we notice it after just 2-3 minutes. By 10
>     minutes, it is so
>     > far out of sync, it sounds like 2 different calls.
>     >
>     > The relevant dialplan is
>     >
>     > <?xml version="1.0"?>
>     > <document type="freeswitch/xml">
>     >    <section name="dialplan" description="Regex/XML Dialplan">
>     >      <context name="default">
>     >        <extension name="myextension">
>     >          <condition>
>     >         <action application="sched_broadcast" data="+15740
>     > sounds/announce.wav bleg"/>
>     >       <action application="sched_hangup" data="+1800 "/>
>     >       <action application="enum" data="15035411236
>     <tel:15035411236>"/>
>     >       <action application="set" data="RECORD_ANSWER_REQ=true"/>
>     >       <action application="set" data="RECORD_STEREO=true"/>
>     >       <action application="record_session"
>     > data="/mnt/rd/recordfile.mp3"/>
>     >            <action application="bridge"
>     > data="[park_after_bridge=true,park_timeout=3]${enum_auto_route}"/>
>     >       <action application="hangup"/>
>     >          </condition>
>     >        </extension>
>     >      </context>
>     >    </section>
>     > </document>
>     >
>     >
>     >
>     > -----Original Message-----
>     > From: freeswitch-users-bounces at lists.freeswitch.org
>     <mailto:freeswitch-users-bounces at lists.freeswitch.org>
>     > [mailto:freeswitch-users-bounces at lists.freeswitch.org
>     <mailto:freeswitch-users-bounces at lists.freeswitch.org>] On Behalf
>     Of Gabriel
>     > Gunderson
>     > Sent: Thursday, October 20, 2011 3:07 AM
>     > To: FreeSWITCH Users Help
>     > Subject: Re: [Freeswitch-users] audo sync issues with
>     record_session to mp3
>     >
>     > On Tue, Oct 18, 2011 at 4:34 AM, Tom Parrott<tomp at tomp.co.uk
>     <mailto:tomp at tomp.co.uk>>  wrote:
>     >> Longer calls, after about 10 minutes start to introduce sync issues
>     >> between the A-leg and the B-leg.
>     >>
>     >> We are running record_session on the A-leg, and it seems to get
>     ahead of
>     >> the B-leg.
>     >>
>     >> For example the caller on the A-leg will be heard to answer a
>     question
>     >> whilst the person on the B-leg is asking it.
>     > What's on the other end of each leg? That might help us figure
>     this out.
>     >
>     > Gabe
>     >
>     >
>     > FreeSWITCH-users mailing list
>     > FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     >
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     > http://www.freeswitch.org
>     >
>     >
>     >
>     _________________________________________________________________________
>     > Professional FreeSWITCH Consulting Services:
>     > consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     > http://www.freeswitchsolutions.com
>     >
>     > 
>     > 
>     >
>     > Official FreeSWITCH Sites
>     > http://www.freeswitch.org
>     > http://wiki.freeswitch.org
>     > http://www.cluecon.com
>     >
>     > FreeSWITCH-users mailing list
>     > FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     >
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     > http://www.freeswitch.org
>     >
>     >
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> -- 
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> <mailto:MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> <mailto:sip%3A888 at conference.freeswitch.org>
> googletalk:conf+888 at conference.freeswitch.org
> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120113/df1f65a3/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list