Hi,

I'm having the next problem:

When using record_session on long calls (more than 20 minutes) at some point the final output file "bad mix" the channels, so the A-Leg and B-Leg get one over the other in different times. It looks that in some point the A-Leg "cuts" or "accelerate" audio frames and as result the final audio sounds like two people talking at different times or at the same time but whitout order. Like:

During Call Audio:

1. A: Hi Bro
2. B; Hi Man, How are you??
3. A: Excellent Bro
4. B: Good For you
5. A: Have a nice Day
6. B; Same to you


On Final Output Audio File:

1. A: Hi / B: Hi man How are you??
2. A: Bro
3. B: Good For you
4. B: Same to you / A; Excellent
5. A:  Bro
6. A: Have a Nice Day

Tried to use same codec on both legs but not working, the result for long calls is the same. also tried to change the .wav for a .gsm but when converting, the result is the same.

Dial Plan:

<action application="set" data="continue_on_fail=true"/>
<action application="ring_ready" />
<action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
<action application="set" data="record_waste_resources=true"/>
<action application="set" data="media_bug_answer_req=true"/>
 <action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strft$
        <action application="set" data="RECORD_SOFTWARE=OverCall PBX 1.0.0.1"/>
        <action application="set" data="RECORD_ARTIST=OverCall PBX 1.0.0.1"/>
        <action application="set" data="RECORD_COMMENT=OverCall PBX 1.0.0.1"/>
        <action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/>
        <action application="set" data="RECORD_STEREO=true"/>
        <action application="record_session" data="/my/path/grabaciones/${uuid}.wav"/>

  <action application="execute_extension" data="SETUP_RECORDING XML default"/>

                <action application="bridge" data="sofia/gateway/...................

I'm Using

Intel(R) Core(TM) i5-2310 (4 Cores)
8 GB Ram
Debian Wheezy x86
FreeSWITCH Version 1.3.14b+git~20130301T214848Z~c35a41e4ca (git c35a41e 2013-03-01 21:48:48Z)

Greetings and hope some may know whats happening here, because it's driving me crazy