Asterisk Voip

Step by step: Configure call recording - Asterisk tutorials

call record asterisk
This article will cover enabling asterisk to record calls. You may want this to interview people over the phone, podcast, or some other purpose.
In features.conf, under:
uncomment the line that looks like this:
automixmon => *3
; One Touch Record a.k.a. Touch MixMonitor — Make sure to set the X and/or x option in the Dial() or    Queue() app call!
Then, enable the X option for Dial() in your dialplan in extensions.conf:
PLEASE NOTE: change you need to make – add the X your dial rule make look different with me.
exten => s,n,Dial(SIP/100,60)
make it this instead:
exten => s,n,Dial(SIP/100,60,X)
The X is what tells Asterisk to allow callers to dial *3 during a call to enable or disable recording.
From the asterisk console (run asterisk -r), you should see a line like this appear when the user starts a recording:
– User hit ‘*3′ to record call. filename: auto-xxxxx-EXTENSION-DIALEDNUMBER
When the recording ends, under /var/spool/asterisk/monitor, you should see a file that looks like this:
You can have asterisk transcode the file automatically if you like. It is generally a good idea to not do this to conserve precious CPU during the call. Most likely you’re hurting more for CPU than disk space. You can always transcode the file afterwards.
You can transcode this to what ever codec you like. Say for instance if you want an mp3, you could do:
ffmpeg -i auto-xxxxx-EXTENSION-DIALEDNUMBER.wav -vn -ab 40k auto-xxxxx-EXTENSION-DIALEDNUMBER.mp3

Title Post: Step by step: Configure call recording - Asterisk tutorials
5/5 5

: We on G+

Thanks for read this post.

Hendrik Friedheim said...

This design is spectacular! You obviously know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Wonderful job. I really enjoyed what you had to say, and more than that, how you presented it. Too cool!

October 26, 2017 at 7:29 AM
Werner Ebner said...

I like the helpful information you provide in your articles. I'll bookmark your blog and check again here frequently. I'm quite sure I'll learn lots of new stuff right here! Good luck for the next! paypal account login

April 22, 2018 at 3:48 PM

Post a Comment

Return to top of page Copyright © 2013