Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== MP4 Call Recorder ====== ===== Synopsis ===== MP4 Call Recorder is a special video call recorder function for Vxi/Asterisk. ===== Description ===== <code> mp4recorder([file_format|[fname_base]|[options]]|extension@context) </code> Used to make a video recording of a channel. The channel's input and output voice/video packets are logged to files until the channel hangs. |file_format optional|if not set, defaults to "mp4"| |fname_base|if set, changes the filename used to the one specified.| |options|use this options: 'V' wait for first video I frame to start recording. '2' separate the calls in two different files. 'c' use a counter id to name the files| |extension@context|mandatory, extension and context to execute.| ===== Examples ===== <code> mp4recorder(mp4,,V2,600@default) ; wait for a first video to start recording mp4recorder(mp4,/tmp/test.3gp,V,600@default) ; record video to selected file </code> If you are working with AMR audio, it's recommended that you use 3gp as your file extension, if you want to play this content with a video player. <code> exten => video,1,Answer() exten => video,n,Wait(0) exten => video,n,mp4recorder(mp4,/tmp/recorder,V,video_dial@default) exten => video_play,1,Answer() ;exten => video_play,n,Vxml(${URL}) ;exten => video_play,n,mp4play(/root/jefflew_h264.3gp) exten => video_play,n,mp4play(/root/message1-gs.mp4) exten => video_dial,1,Answer() exten => video_dial,n,Dial(SIP/borja) </code> ===== Installation ===== ==== Install from packages ==== Use root to install the packages. Unzip the video package by using the command: <code> tar xvfz video_V0-0_2008-08-18_i386.tar.gz </code> Go to the directory of the video and type the following command: <code> cd video_V0-0_2008-08-18 ./install.sh </code> ==== Check Asterisk Setup ==== Stop and Restart Asterisk on your server using the commands: <code> /etc/init.d/asterisk stop /etc/init.d/asterisk start asterisk -r </code> To see the currently installed version of asterisk: <code> *CLI> show version </code> To see the information about the application recorder: <code> *CLI> core show application mp4recorder </code> legacy/xtras_guide/xtras_mp4_call_recorder.txt Last modified: 2017/07/29 00:22by javier