Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

FireBrick Call Recording: Difference between revisions

no edit summary
No edit summary
No edit summary
 
There are two elements to the A&A/FireBrick call recording software:
* a C application, ''voip-recordanswer'', which acts as a SIP endpoint and handles the call recording; and
* a python script
 
==Setting up ''voip-recordanswer''==
 
The ''voip-recordanswer'' application comes with a Makefile, but I found I needed to make a couple of tweaks to get it to work:
 
1.) the Makefile is dependent on deps/siptools.c. If you do not have access to the A&A svn, you'll need to:
* ''dump'' / ''V'': outputs a packet dump
 
So, for example, if you wanted to run ''voip-recordanswer'' with a call recording script at ''/voipuser/voip-answer/python/voip-rec-email/voip_rec_email.py'', serving wav files for announcements from ''/voipuser/voip-answer/sounds/'', you would run it with:
 
''./voip-answer -r /root/voip-answer/python/voip-rec-email/voip_rec_email.py -d /voipuser/voip-answer/sounds/''
=Using the A&A / FireBrick call recording software for announcements (e.g. out of hours announcement)=
 
As well as acting as a SIP endpoint for recording calls, ''voip-recordanswer'' doubles as a playback system, which you can use to play announcements.
 
== Creating the announcement / playback files ==
You can easily use Audacity to create suitable files; just remember to set the sample rate to 8000Hz, and to set the track to mono only, first.
 
If, when you play the files back through ''voip-recordanswer'', they sound distorted, chances are you have either got the sample rate wrong, or else accidentally recorded them in stereo.
 
== Hosting the announcement / playback files==
 
Files to be played back can be put in any directory readable by ''voip-recordanswer''. You tell it which directory to look in by using the ''directory'' or ''-d'' switch. For example:
 
''./voip-answer -d /voipuser/voip-answer/sounds/''
43

edits