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
If you want the recording to be emailed to the user, you need to set the user's email address, via the ''email'' property. This is passed to the call recording application, which handles the email sending.
 
=Configuring the call recording software=
== Optional settings ==
 
There are two elements to the A&A/FireBrick call recording software:
* a C application, ''voip-record'', which acts as a SIP endpoint and handles the call recording; and
* a python script
 
==Setting up ''voip-record''==
 
The ''voip-record'' application comes with a Makefile, but I found I needed to make a couple of tweaks to get it to work:
[[File:FBVoIPDia.png|border]]
 
1.) the Makefile is dependent on deps/siptools.c. If you do not have access to the A&A svn, you'll need to:
 
a.) comment out the following lines in the Makefile:
 
'' svn export --force -r 28442 svn://changeless.aa.net.uk/fb6000/trunk/apps/siptools.c $@
touch $@ # SVN sets the timestamp to the committed one (which triggers "building" every time)''
 
b.) make sure that you have siptools.c in dep/
 
2.) set the email address parameter (i.e. the ''from'' address). Change line 803 from:
 
'' sprintf (temp, "sip:%c@voiceless.aa.net.uk", done);''
 
to whatever email address you want to the recordings to be sent from. (%c is the unique ID of the call recording)
 
3.) By default, the (temporary) path for the recordings is /tmp/. If you want to change this, amend line 62:
 
'' char template[] = "/tmp/voip-answer-XXXXXX";''
43

edits