<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 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",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="EN-US" link="#0563C1" vlink="#954F72"><div class="WordSection1"><p class="MsoNormal">I’m trying to record phone calls, and phone conferences, so that later on their audio can be reviewed.  The requirement is for each leg of the call to be recorded separately.  After doing some googling, one way of doing it, is by using record_session and setting RECORD_STEREO to true.  That will result in caller and receiver audio streams being placed in separate channels.  At that point you could split the channels to get the individual streams.</p><p class="MsoNormal"> </p><p class="MsoNormal">Is that the recommended approach, or is there a better way (or module) to record legs separately?</p><p class="MsoNormal"> </p><p class="MsoNormal">Also, am I correct assuming the recording is done on FreeSWITCH server?  Does that mean that each SIP client will need to send two audio streams out (one to the other client and one to freeswitch for recording?).</p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks. </p></div></body></html>