Help with FSV record.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Help with FSV record.

dex_Cz
This post has NOT been accepted by the mailing list yet.
Hi guys!
I have a question. Somebody tried to record in the FSV file when i bridge call?
I hame a simple context from example. But it is not working.
<include>
<context name="centos">
<extension name="from-centos">
<condition field="destination_number" expression="^(onops)$">
<action application="record_fsv" data="/usr/local/freeswitch/recordings/testrecord.fsv"/>
<action application="sleep" data="100"/>
<action application="bridge" data="user/1004@172.16.0.2"/>
<action application="hangup"/>
</condition>
</extension>
</context>
</include>

I tried to change the context
<include>
 <context name="centos">
  <extension name="from-centos">
   <condition field="destination_number" expression="^(onops)$">
    <action application="export" data="execute_on_answer=uuid_record ${uuid} start /usr/local/freeswitch/recordings/testrecord.fsv"/> 
    <action application="bridge" data="{ignore_early_media=true}user/1004@172.16.0.2"/>
    <action application="hangup"/>
   </condition>
  </extension>
 </context>
</include>

It also did not help. In the end I try to enter these commands from the console
uuid_setvar <uuid> enable_file_write_buffering false (its says ok)
and
uuid_record <uuid> start /usr/local/freeswitch/recordings/testrecord.fsv

But i have a error

2015-04-30 12:27:16.635463 [ERR] mod_fsv.c:702 You are asking to write 342 bytes of data which is not supported. Please set enable_file_write_buffering=false to use .fsv format
5e9ce2b0-ef23-11e4-b181-d1f037dabce9 2015-04-30 12:27:16.635463 [ERR] switch_ivr_async.c:1155 Error writing /usr/local/freeswitch/recordings/testrecord.fsv

Anyone can help me, What I'm doing wrong?