[Freeswitch-users] record_session in default.xml
Denis Jakovlev
yadenis at seznam.cz
Tue Jun 23 19:31:20 MSD 2015
Dobrý den,
dpkg -l | grep libav | grep extra
ii libavcodec-extra 6:11.4-1~deb8u1 all Libav codec library (additional codecs meta-package)
ii libavcodec-extra-56:amd64 6:11.4-1~deb8u1 amd64 Libav codec library (additional codecs)
--
S pozdravem,
Ing.Denis Jakovlev
mob.tel. 775-415-382
úterý 23. června 2015, 17:15:34, napsal jste:
dpkg -l | grep libav | grep extra
On Tuesday, June 23, 2015, Denis Jakovlev <yadenis at seznam.cz> wrote:
Dobrý den.
Debian 8
--
S pozdravem,
Ing.Denis Jakovlev
mob.tel. 775-415-382
On 22. 6. 2015, at 20:09, Michael Jerris <mike at jerris.com> wrote:
what operating system are you using?
On Jun 22, 2015, at 5:42 AM, Denis Jakovlev <yadenis at seznam.cz> wrote:
Hi all,
I try to record calls with video in default dialplan. I’m use mod_av for recording video
<extension name="Local_Extension">
<condition field="destination_number" expression="^(10[01][0-9]|^(onops\d{1,6})$)$">
<action application="export" data="dialed_extension=$1"/>
<action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/>
<action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
<action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/>
<action application="bind_meta_app" data="4 b s execute_extension::att_xfer XML features"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="set" data="transfer_ringback=$${hold_music}"/>
<action application="set" data="call_timeout=30"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="hash" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/>
<action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/>
<action application="set" data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/>
<action application="hash" data="insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid}"/>
<action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/>
<action application="hash" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/>
<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}user/${dialed_extension}@${domain_name}"/>
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/>
</condition>
</extension>
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.
Any ideas?
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150623/038b73e8/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list