Dobrý den, And yet still I have a problem with the recording of both. Simple dialplan. <include> <context name="centos"> <extension name="from-centos"> <condition field="destination_number" expression="^(onops)$"> <action application="export" data="nolocal:absolute_codec_string=OPUS,PCMU,PCMA,VP8"/> <action application="set" data="enable_file_write_buffering=false"/> <action application="set" data="record_concat_video=true"/> <action application="export" data="execute_on_answer=record_session $${base_dir}/recordings/${strftime(%Y%m%d_%H%M%S)}_${caller_id_number}_${destination_number}.mp4"/> <action application="answer"/> <action application="sleep" data="1000"/> <action application="bridge" data="user/1004@sip1.applicloud.com"/> <action application="hangup"/> </condition> </extension> </context> </include> To record using mod_av. The file is created and written. But the video begins somewhere in the middle. The sound is recorded a maximum of 20 seconds. After just a video without sound. Video Sample (https://dl.dropboxusercontent.com/u/7843993/20150616_162859_onops123_onops.m... and https://dl.dropboxusercontent.com/u/7843993/20150616_163542_onops123_onops.m...) LOG 2015-06-16 16:35:57.791516 [INFO] avformat.c:1483 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2015-06-16 16:35:57.791516 [NOTICE] avformat.c:401 sample_rate: 8000 nb_samples: 1024 Output #0, mp4, to '/usr/local/freeswitch/recordings/20150616_163542_onops123_onops.mp4': Stream #0.0: Audio: libvo_aacenc, 8000 Hz, mono, s16, 131 kb/s 2015-06-16 16:35:57.791516 [INFO] avformat.c:1508 Opening File [/usr/local/freeswitch/recordings/20150616_163542_onops123_onops.mp4] 8000hz with VIDEO 2015-06-16 16:35:57.841518 [NOTICE] switch_core_io.c:1182 Activating write resampler 2015-06-16 16:35:57.861516 [INFO] switch_rtp.c:3006 Changing video DTLS state from HANDSHAKE to SETUP 2015-06-16 16:35:57.871522 [INFO] switch_rtp.c:2915 video Fingerprint Verified. 2015-06-16 16:35:57.871522 [INFO] switch_rtp.c:3495 Activating Video Secure RTP SEND 2015-06-16 16:35:57.871522 [INFO] switch_rtp.c:3473 Activating Video Secure RTP RECV 2015-06-16 16:35:57.871522 [INFO] switch_rtp.c:2955 Changing video DTLS state from SETUP to READY 2015-06-16 16:35:57.891517 [INFO] switch_rtp.c:3006 Changing audio DTLS state from HANDSHAKE to SETUP 2015-06-16 16:35:57.891517 [INFO] switch_rtp.c:2915 audio Fingerprint Verified. 2015-06-16 16:35:57.891517 [INFO] switch_rtp.c:3495 Activating Audio Secure RTP SEND 2015-06-16 16:35:57.891517 [INFO] switch_rtp.c:3473 Activating Audio Secure RTP RECV 2015-06-16 16:35:57.891517 [INFO] switch_rtp.c:2955 Changing audio DTLS state from SETUP to READY 2015-06-16 16:35:57.931516 [NOTICE] switch_core_io.c:1182 Activating write resampler 2015-06-16 16:35:57.961517 [INFO] switch_core_media.c:1985 sofia/internal/016q4sbo@cfb2es5v5rhr.invalid Sync Audio and Video Jitterbuffer to 200ms 3 Video Frames FPS 15 using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64 profile High, level 5.2 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=60 keyint_min=6 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=660 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 2015-06-16 16:35:57.981516 [INFO] avformat.c:1844 use video codec implementation Video: libx264, yuv420p, 640x480, q=-1--1, 660 kb/s 2015-06-16 16:35:57.981516 [NOTICE] avformat.c:463 video thread start -- S pozdravem, Ing.Denis Jakovlev mob.tel. 775-415-382 pondělí 15. června 2015, 17:18:26, napsal jste: You should move it to record an answer via the execute_on_answer variables, because you've started the recording before the other side has picked up. On Mon, Jun 15, 2015 at 10:15 AM, Denis Jakovlev <yadenis@seznam.cz> wrote: 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@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@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@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@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@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@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@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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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