<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}
p.MSOPLAINTEXT
        {mso-style-priority:99;}
li.MSOPLAINTEXT
        {mso-style-priority:99;}
div.MSOPLAINTEXT
        {mso-style-priority:99;}
span.PLAINTEXTCHAR
        {mso-style-priority:99;}
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.PlainTextChar
        {font-family:Consolas;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Dan Journo<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, April 06, 2011
6:29 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Asterisk
Users Mailing List - Non-Commercial Discussion</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users] Call
recording - methodology</span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Consolas><span lang=EN-GB
style='font-size:10.5pt'>> I am looking for a solution to record calls that
come into our Asterisk <o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Consolas><span lang=EN-GB
style='font-size:10.5pt'>> server. I am hoping for something that is easy to
use - however, if I <o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Consolas><span lang=EN-GB
style='font-size:10.5pt'>> have to modify it to make it easier to use, I do
not mind.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Consolas><span lang=EN-GB
style='font-size:10.5pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Consolas><span lang=EN-GB
style='font-size:10.5pt'>> Does anyone know of any opensource or otherwise
solutions out there that <o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face=Consolas><span lang=EN-GB
style='font-size:10.5pt'>> I can try out?<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'>We give our clients to option of either
recording all calls, or allowing the operator to press *1 during a call to
start recording manually.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'>Using Asterisk 1.4, this is what we do:-<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'>We created a Macro in extensions.conf like
this:-<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'>
[macro-mixmon]<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'> exten =>
s,1,GotoIf($["${XAD}" = "0" | "${XAD}" =
""]?startrec:donothing)<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'> exten =>
s,n(startrec),GotoIf($["${ARG1}"=""]?beep:nobeep)<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'> exten =>
s,n(beep),Playback(/var/lib/asterisk/sounds/rec1)<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'> exten =>
s,n(nobeep),Set(XAD=1)<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'> exten =>
s,n,MixMonitor(FILENAME.wav,b)<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'> exten =>
s,n(donothing),MacroExit<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'>(please note, FILENAME.wav is usually
${UNIQUEID:0:10}, but I changed it to make it easier for you to understand.
You'll need to change it back to something like ${UNIQUEID:0:10}.wav if you are
recording multiple calls because otherwise they'll be constantly saved to
FILENAME.wav and you'll lose all the previous calls.)<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'>(please note,
/var/lib/asterisk/sounds/rec1 is a beep tone so that the operator knows that
he's successfully started the recording.)<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'>Then to recording every call, we add this
before the DIAL(SIP/extension) command in extensions.conf:-<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'> exten =>
_9.,14,Macro(mixmon,nobeep)<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'>If you don't want to record every call,
you can give the operator the option of press *1. We did this by adding the
following to features.conf:-<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'> MixMonApp
=> *1,self/both,Macro,mixmon<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:black'>Hope that helps.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
11.0pt'>Dan Journo<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
11.0pt'>Kesher Communications (<st1:country-region w:st="on"><st1:place w:st="on">UK</st1:place></st1:country-region>)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
11.0pt'><a href="http://www.keshercommunications.com/">Business Phone Systems</a>
| <a href="http://www.keshercommunications.com/hostedpbx.html">Hosted PBX</a><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=navy face=Consolas><span lang=EN-GB
style='font-size:10.5pt;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><b><i><font size=2 color=navy face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:
bold;font-style:italic'>[Danny Nicholas] <o:p></o:p></span></font></i></b></p>
<p class=MsoPlainText><b><i><font size=2 color=navy face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:
bold;font-style:italic'>Good solution, Dan – 2 additions – asterisk
has a “beep” sound built in to most sound sets and there is also a
nice “disclaimer” file you can use “this-call-may-be-monitored-or-recorded”<o:p></o:p></span></font></i></b></p>
<p class=MsoPlainText><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>