Skip to main content

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:
[featuremap]
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:
auto-xxxxx-EXTENSION-DIALEDNUMBER.wav
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

Comments

  1. 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! capitalone.com

    ReplyDelete
  2. 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

    ReplyDelete
  3. Perhaps you need to prioritize building emergency funds. canadian mortgage calculator Based on Ontario land transfer tax rates, this rebate refunds the full valuation on Ontario's land transfer tax for homes approximately $368,000 in value. mortgage payment calculator

    ReplyDelete
  4. Such a lovely collection about call recording which you have shared here. I liked your way to express your views in this article. Thank you for sharing this blog with us. Best Phone for Small Business

    ReplyDelete
  5. Very well written article. It was an awesome article to read. Complete rich content and fully informative. I totally Loved it. Business VoIP Phone Service

    ReplyDelete

  6. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read. Best small business phone systems canada service provider

    ReplyDelete
  7. Very well written article. It was an awesome article to read. Complete rich content and fully informative. I totally Loved it.Business Office Phone Systems Concord

    ReplyDelete
  8. This post is really awesome. Genuinely i like this blog. It gives me more useful information. I hope you share lots of things with us .Business Phone System Kannapolis

    ReplyDelete
  9. I will share it with my other friends as the information is really very useful.Read more info about second phone number app for business. Keep sharing your excellent work.

    ReplyDelete
  10. You are providing good knowledge. It is really helpful and factual information for us and everyone to increase knowledge. about People search UK .Continue sharing your data. Thank you.

    ReplyDelete
  11. Searching for International eSIM Card? Yes you will find it on one sim card. Here you will get this at a low price that you can not imagine. I am glad that i found this website. I also bought a sim card from here.

    ReplyDelete
  12. Great post, your all points fully clarify, Voip Phone Providers Usa These steps are very helpful for us. Thank you for providing such a valuable information.

    ReplyDelete
  13. You have accomplished incredible work by distributing this article here. It is helpful and advantageous data for us. Continue to redesign our insight by share these kinds of articles.voice over ip houston

    ReplyDelete
  14. I don't end up carrying about (and misplacing) a ton of SIM cards: In the past, a traveler on a tight budget might extol the virtues of purchasing a prepaid SIM card in each nation they visited. This might be acceptable if you are only visiting one country, but it could be better if you see several nations. non-steering SIM

    ReplyDelete

Post a Comment

Popular posts from this blog

Asterisk – CLI commands

Agent commands agent logoff  - Sets an agent offline agent show  - Show status of agents agent show online  - Show all online agents AGI commands agi dump html  - Dumps a list of AGI commands in HTML format agi exec  - Add AGI command to a channel in Async AGI agi set debug [on|off]  - Enable/Disable AGI debugging agi show commands [topic]  - List AGI commands or specific help dnsmgr refresh  - Performs an immediate refresh dnsmgr reload  - Reloads the DNS manager configuration dnsmgr status  - Display the DNS manager status Calendar commands calendar dump sched  - Dump calendar sched context calendar show calendar  - Display information about a calendar calendar show calendars  - Show registered calendars Channel commands channel originate  - Originate a call channel redirect  - Redirect a call channel request hangup  - Request a hangup on a given channel Cli commands cli check permissions  - Try a permissions config for a user cli reload permi

Making video calls – Asterisk tutorial

sip.conf To be able to send video during a call, codec h263 and video support must be enabled. This is done by adding three lines in the sip.conf file (Location: /etc/asterisk/sip.conf). Add the following lines in the [general] tab of the file. videosupport = yes ; Enable video allow = h263 ; H.263 is our video codec allow = h263p ; H.263p is the enhanced video codec Reload Reload the sip.conf file by running the following command in the CLI console:  reload Config in Softphone  Click “Softphone”  Click “Preferences”    Click “Video Codecs”  Verify that h263 and h263+ are selected Click “OK”  Click the video (Webcam) icon to display the video  Dial the other sip phone (number 1002)  Click “Show Video” on the two sip phones. http://asteriskvoipsystem.org/making-video-calls-asterisk-tutorial/