<html><head><title>record_session It does not work properly</title>
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Hi all,<br>
<br>
I have a pretty big problem, I fight over that last couple of weeks. <br>
I need to record video conversations that occur through frisweetch version 1.7 on Debian. I use for record mod_av. <br>
<br>
Here's a simple context<br>
<br>
<include><br>
<extension name="from-centos"><br>
<condition field="destination_number" expression="^(onops)$"><br>
<action application="export" data="nolocal:absolute_codec_string=G726,PCMU,PCMA,VP8"/><br>
<action application="set" data="hangup_after_bridge=true"/><br>
<action application="set" data="record_concat_video=true"/><br>
<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"/><br>
<action application="answer"/><br>
<action application="sleep" data="1000"/><br>
<action application="bridge" data="user/1005@sip1.applicloud.com"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
The problem follows. And I do not know how to solve it.<br>
If I use a global setting codecs which have opus writes only one side. <br>
If there is anything else, it writes both. But it is very strange. The sound is recorded a maximum of 19 seconds. The video itself begins somewhere in the middle. No matter how much the conversation lasted. In the console, no errors. <br>
And I do not understand how to overcome it. <br>
<br>
Any ideas?<br>
<br>
<span style=" font-family:'calibri'; color: #c0c0c0;"><i>-- <br>
S pozdravem,<br>
Ing.Denis Jakovlev <br>
mob.tel. 775-415-382<br>
<br>
</i></span></span><a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.freeswitch.org"></a></body></html>