editor
706
edits
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!
(clean up, typos fixed: a extension → an extension) |
|||
(9 intermediate revisions by one other user not shown) | |||
The FireBrick supports call recording by teeing off the two way audio from a call leg and sending to a SIP endpoint. The SIP endpoint will then record the call and handle it in any way you wish.
to whatever email address you want to the recordings to be sent from. (%c is the unique ID of the call recording)
(As of
3.) By default, the (temporary) path for the recordings is /tmp/. If you want to change this, amend line 62:
So, for example, if you wanted to run ''voip-answer'' 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 /
If you want to run it as a background process (which you probably do...), append an ampersand:
./voip-answer -r /
=Using the A&A / FireBrick call recording software for announcements (e.g. out of hours announcement)=
* .wav
* A-LAW
*
* mono only
You can easily use Audacity to create suitable files; just remember to set the sample rate to
If, when you play the files back through ''voip-answer'', they sound distorted, chances are you have either got the sample rate wrong, or else accidentally recorded them in stereo.
If you have a recording at a different sample rate, using Audacity, change the project's sample rate to 8000, then change the recording's sample rate to 8000, and then use the "Change Speed" effect on the recording — if the original rate was 44100 Hz, apply a speed multiple of 5.50.
== Hosting the announcement / playback files ==
! Add a SIT, may be repeated
N* The playback sequence is to be repeated N times
You can download aai.wav and sit.wav [https://support.aa.net.uk/images/9/98/Firebrick_tones.zip here].
=== Filenames ===
# Refer to #
So if you wanted two rings, followed by playback of a file called "
''--on-holiday@hostname/address''▼
=Pre-call announcements (e.g. "this call will be recorded")=
You can combine these features with the REFER function ("#"), to create
You do not need to do anything with the voip-answer.c script (other than make sure your chosen recordings are in the right place).
Configure your FireBrick:
# As at 10 August 2018, make sure you have alphas enabled, and have at least alpha V1.48.123
# Create a new telephone extension (or amend an existing one)
# Give it the username "Voicemail" and do not give it a password
# Add the URI: <your-pre-call-sound-file>#<extension you want to refer to>@hostname/address
So if you wanted to first play an announcement of called "
calls-are-recorded#500@hostname/address▼
|