<html><head><title>Re: [Freeswitch-users] record_session in default.xml</title>
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Dobr&#253; den,<br>
<br>
dpkg -l | grep libav | grep extra<br>
ii &nbsp;libavcodec-extra &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6:11.4-1~deb8u1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;all &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Libav codec library (additional codecs meta-package)<br>
ii &nbsp;libavcodec-extra-56:amd64 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 6:11.4-1~deb8u1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;amd64 &nbsp; &nbsp; &nbsp; &nbsp;Libav codec library (additional codecs)<br>
<br>
<br>
<span style=" font-family:'calibri'; color: #c0c0c0;"><i>-- <br>
S pozdravem,<br>
Ing.Denis Jakovlev &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
mob.tel. 775-415-382<br>
<br>
&#250;ter&#253; 23. &#269;ervna 2015, 17:15:34, napsal jste:<br>
<br>
</i></span></span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 9pt;">dpkg -l | grep libav | grep extra<br>
<br>
On Tuesday, June 23, 2015, Denis Jakovlev &lt;</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:yadenis@seznam.cz">yadenis@seznam.cz</a><span style=" font-family:'courier new'; font-size: 9pt;">&gt; wrote:<br>
Dobr&#253; den.<br>
<br>
Debian 8<br>
<br>
<span style=" font-family:'arial'; font-size: 8pt; color: #c0c0c0;"><i>-- <br>
S pozdravem,<br>
Ing.Denis Jakovlev &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
</i></span></span><a style=" font-family:'arial'; font-size: 9pt; font-style: Italic;" href="http://mob.tel">mob.tel</a><span style=" font-family:'arial'; font-size: 9pt; color: #c0c0c0;"><i>. 775-415-382<br>
<br>
</i><span style=" font-family:'courier new'; color: #000000;">On 22. 6. 2015, at 20:09, Michael Jerris &lt;</span></span><a style=" font-family:'courier new'; font-size: 9pt;" href="javascript:_e(%7B%7D,'cvml','mike@jerris.com');">mike@jerris.com</a><span style=" font-family:'courier new'; font-size: 9pt;">&gt; wrote:<br>
<br>
what operating system are you using?<br>
<br>
On Jun 22, 2015, at 5:42 AM, Denis Jakovlev &lt;</span><a style=" font-family:'courier new'; font-size: 9pt;" href="javascript:_e(%7B%7D,'cvml','yadenis@seznam.cz');">yadenis@seznam.cz</a><span style=" font-family:'courier new'; font-size: 9pt;">&gt; wrote:<br>
<br>
Hi all,<br>
<br>
I try to record calls with video in default dialplan. I&#8217;m use mod_av &nbsp;for recording video<br>
<br>
&lt;extension name="Local_Extension"&gt;<br>
&lt;condition field="destination_number" expression="^(10[01][0-9]|^(onops\d{1,6})$)$"&gt;<br>
&lt;action application="export" data="dialed_extension=$1"/&gt;<br>
&lt;action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/&gt;<br>
&lt;action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/&gt;<br>
&lt;action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/&gt;<br>
&lt;action application="bind_meta_app" data="4 b s execute_extension::att_xfer XML features"/&gt;<br>
&lt;action application="set" data="ringback=${us-ring}"/&gt;<br>
&lt;action application="set" data="transfer_ringback=$${hold_music}"/&gt;<br>
&lt;action application="set" data="call_timeout=30"/&gt;<br>
&lt;action application="set" data="hangup_after_bridge=true"/&gt;<br>
&lt;action application="set" data="continue_on_fail=true"/&gt;<br>
&lt;action application="hash" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/&gt;<br>
&lt;action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/&gt;<br>
&lt;action application="set" data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/&gt;<br>
&lt;action application="hash" data="insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid}"/&gt;<br>
&lt;action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/&gt;<br>
&lt;action application="hash" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/&gt;<br>
<br>
<span style=" font-size: 10pt;"><b>&lt;action application="set" data="record_concat_video=true"/&gt;<br>
&lt;action application="record_session" data="/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${caller_id_number}_${destination_number}.mp4"/&gt;<br>
<br>
</b><span style=" font-size: 9pt;">&lt;action application="bridge" data="{ignore_early_media=true}user/${dialed_extension}@${domain_name}"/&gt;<br>
&lt;action application="answer"/&gt;<br>
&lt;action application="sleep" data="1000"/&gt;<br>
&lt;action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/&gt;<br>
&lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
And it works somehow strange. Video recording is excellent. But the sound exactly to the middle. After the sound disappears and only the video continues. I have the feeling that this module is somehow not properly or generates a file completes. <br>
<br>
Any ideas?<br>
<br>
<br>
<span style=" color: #c0c0c0;"><i>-- <br>
S pozdravem,<br>
Ing.Denis Jakovlev &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
</i></span></span></span></span><a style=" color: #c0c0c0; font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="http://mob.tel">mob.tel</a><span style=" font-family:'courier new'; font-size: 9pt; color: #c0c0c0;"><i>. 775-415-382<br>
<br>
<span style=" color: #000000;">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services: <br>
</span></i></span><a style=" font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');">consulting@freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;"><i>Official FreeSWITCH Sites<br>
</i></span><a style=" font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;"><i>FreeSWITCH-users mailing list<br>
</i></span><a style=" font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
<span style=" font-family:'courier new'; font-size: 9pt;"><i>UNSUBSCRIBE:</i></span><a style=" font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a style=" font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<span style=" font-family:'courier new'; font-size: 9pt;">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services: <br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');">consulting@freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;">Official FreeSWITCH Sites<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;">FreeSWITCH-users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
<span style=" font-family:'courier new'; font-size: 9pt;">UNSUBSCRIBE:</span><a style=" font-family:'courier new'; font-size: 9pt;" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.freeswitch.org">http://www.freeswitch.org</a></td>
</tr>
</table>
</body></html>