<html><head><title>record_session in default.xml</title>
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Hi all,<br>
<br>
I try to record calls with video in default dialplan. I’m use mod_av for recording video<br>
<br>
<extension name="Local_Extension"><br>
<condition field="destination_number" expression="^(10[01][0-9]|^(onops\d{1,6})$)$"><br>
<action application="export" data="dialed_extension=$1"/><br>
<action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/><br>
<action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/><br>
<action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/><br>
<action application="bind_meta_app" data="4 b s execute_extension::att_xfer XML features"/><br>
<action application="set" data="ringback=${us-ring}"/><br>
<action application="set" data="transfer_ringback=$${hold_music}"/><br>
<action application="set" data="call_timeout=30"/><br>
<action application="set" data="hangup_after_bridge=true"/><br>
<action application="set" data="continue_on_fail=true"/><br>
<action application="hash" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/><br>
<action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/><br>
<action application="set" data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/><br>
<action application="hash" data="insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid}"/><br>
<action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/><br>
<action application="hash" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/><br>
<br>
<span style=" font-size: 10pt;"><b><action application="set" data="record_concat_video=true"/><br>
<action application="record_session" data="/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${caller_id_number}_${destination_number}.mp4"/><br>
<br>
</b><span style=" font-size: 9pt;"><action application="bridge" data="{ignore_early_media=true}user/${dialed_extension}@${domain_name}"/><br>
<action application="answer"/><br>
<action application="sleep" data="1000"/><br>
<action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/><br>
</condition><br>
</extension><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=" font-family:'calibri'; color: #c0c0c0;"><i>-- <br>
S pozdravem,<br>
Ing.Denis Jakovlev <br>
mob.tel. 775-415-382<br>
<br>
</body></html>