[Freeswitch-users] how to correctly use action application="record"?

Denis Jakovlev yadenis at seznam.cz
Mon Jun 15 19:15:01 MSD 2015


Hello,

Thank you. It looks that trying to do what I need. But not quite to the end (see picture). 


dialplan looks like this.

    <context name="default">
      <extension name="onopsession963">
        <condition field="destination_number" expression="^(onopses963)$"/>
        <condition field="username" expression="^(onop2618|onop2619)$">
          <action application="set" data="enable_file_write_buffering=false"/>
          <action application="set" data="record_concat_video=true"/>
          <action application="record_session" data="/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${caller_id_number}_${destination_number}.mp4"/>
          <action application="bridge" data="{ignore_early_media=true}sofia/internal/onop2618%${sip_profile}"/>
          <action application="hangup"/>
        </condition>
      </extension>
    </context>


Where I make a mistake?

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

pondělí 15. června 2015, 16:52:19, napsal jste:


record_concat_video=true

On Mon, Jun 15, 2015 at 9:40 AM, Denis Jakovlev <yadenis at seznam.cz> wrote:
Hi all,

So through a record_session video is written. But the video is recorded on only one side. How do the two to write two streams?

Video writes mode_av if it matters.

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

pátek 12. června 2015, 17:18:53, napsal jste:


The record app is for a single channel, like you'd use if you were asking someone to record a voice message. They record their message and press a key when they're done. Perhaps you're needing the record_session app?

-MC

On Fri, Jun 12, 2015 at 4:18 AM, Denis Jakovlev <yadenis at seznam.cz> wrote:
Hi All,

I use the version 1.7 on Debian 8. To record a video using mod_av. 
Command in the dialplan
<action application="record" data="/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${caller_id_number}_${destination_number}.mp4"/>
This works fine.

The question in the following. How to use the account when calling someone. For example from 1004 in 1006. Or conferences. How to correctly use record? 
Command "record" I have put before the bridge, or the launch of the conference? After? If I do before starting the conference, the conference itself will not start. If I make the command after, will not start recording. How to use it properly? 

PS: Bridget works the same way.



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


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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



-- 
Brian West
brian at freeswitch.org
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150615/a0071d54/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture.JPG
Type: image/jpeg
Size: 60114 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150615/a0071d54/attachment-0001.jpe 


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