[Freeswitch-users] MP4 record in 1.6

Denis Jakovlev yadenis at seznam.cz
Fri May 15 17:18:58 MSD 2015


Dobrý den,

Ok. And how to do it right?

-- 
S pozdravem,
Ing.Denis Jakovlev                           
mob.tel. 775-415-382

pátek 15. května 2015, 14:59:45, napsal jste:


Don’t set that from the dialplan, trigger it with the conference recording command, else you will record each conference participant and if you have 10 different people in the conf you’ll get 10 redundant recordings


On 5/15/15, 1:48 AM, "Denis Jakovlev" <yadenis at seznam.cz> wrote:

Hi All,

New FreeSWITCH 1.6 Video on Debian 8.

I try to record MP4 file in the conference..  
Simple dialplan

  <extension name="nb_conferences">
      <condition field="destination_number" expression="^(30\d{2})$">
        <action application="answer"/>
        <action application="set" data="enable_file_write_buffering=false"/>
        <action application="record" data="/usr/local/freeswitch/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${uuid}.mp4"/>
        <action application="conference" data="$1-${domain_name}@default"/>
      </condition>
    </extension>

It works. Even something writes. But I can not play this file (The file in the attachment). What am I doing wrong?

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch
Twitter: @FreeSWITCH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150515/ea46cec5/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list