Recording video was barely a feature in 1.4.  Full support for this and everything you are trying to do is coming in 1.6.  Stay tuned for beta announcements on that coming soon.  You can try out the feature branch if you like, more info is available at: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video .  We are still working on docs so please be patient as we gather all of that information.


On Apr 30, 2015, at 7:46 AM, dex_Cz <yadenis@seznam.cz> wrote:

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?