[Freeswitch-users] .wav/.mp3 recording problems - lag

Bogdan Patrascoiu bogdan.patrascoiu at sinergetic.ro
Fri Jul 16 00:42:42 PDT 2010


Hello,

My dial plan looks something like this :

<extension name="provider" >
   <condition field="destination_number" expression="^(.+),(.+),(.{10})$">
       <action application="set"
data="record_file=$${base_dir}/recordings/$1_$2_${strftime(%Y-%m-%d-%H-%M-%S)}_$3_${caller_id_number}.wav"/>
       <action application="set" data="tariff=0.02"/>
       <action application="set" data="id_proiect=$1"/>
       <action application="set" data="id_operator=$2"/>
       <action application="set" data="real_destination=$1,$2,$3"/>
       <action application="set" data="transfer_after_bridge=*3472"/>
       <action application="bind_meta_app" data="0 a s transfer::*3472"/>
       <action application="record_session" data="${record_file}"/>
       <action application="bridge"
data="sofia/gateway/53625621${caller_id_number}/$3"/>
   </condition>
</extension>
~

After a lot of digging i found this :
http://www.mail-archive.com/freeswitch-users@lists.freeswitch.org/msg10499.html

So the answer seems to be this :

       <action application="set" data="enable_file_write_buffering=false"/>

What do you think? I implemented this and so far i haven't got any new
complains, but as the happening was totally random i am not sure of
this solution's certainty.

Thanks,

Bogdan


On Wed, Jul 14, 2010 at 6:36 PM, Anthony Minessale
<anthony.minessale at gmail.com> wrote:
> If you can find a way to reproduce it manually we can have a look at it.
> I assume this is on the latest GIT version?
>
> On Wed, Jul 14, 2010 at 6:50 AM, Bogdan Patrascoiu
> <bogdan.patrascoiu at sinergetic.ro> wrote:
>>
>> Hello,
>>
>> I recently set up a FS system for one call-center. One of the request
>> was to enable call recording for inbound calls (it's just an inbound
>> callcenter (20 lines) no outbound calls).
>> At first i went with .mp3 enconding but i soon found out that in a
>> "longer" conversation 8-9 minutes the two channels would get very much
>> lagged.T
>> The caller's, leg A, questions would be far ahead of the callees', leg
>> B, answers.
>> I though that this was caused by the .mp3 encoding so i switched back
>> to plain old .wav.
>> The problem is that the lag is still there and comes to "life" totally
>> random.
>>
>> Has anyone ever encountered this before ?
>>
>> Thanks,
>>
>> Bogdan
>>
>> _______________________________________________
>> 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
>
>
>
> --
> 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
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> 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
>
>



More information about the FreeSWITCH-users mailing list