<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;}
@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",sans-serif;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:18.0pt;
        font-family:"Times New Roman",serif;
        font-weight:bold;}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.mw-headline
        {mso-style-name:mw-headline;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Times New Roman",serif;
        font-weight:bold;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.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 running FreeSWITCH in console mode on a Windows 7 machine, using unmodified demo setup.  I’m having a hard time getting automatic call recording to work.  I’m using the following instructions to record a call (by modifying  Local_Extension dialplan):</p><p class="MsoNormal"> </p><p class="MsoNormal"><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+record_session">https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+record_session</a></p><p class="MsoNormal" style="margin-left:1.0in"><b><span style="font-size:18.0pt;font-family:&quot;Times New Roman&quot;,serif">Record Calls To Extensions</span></b></p><p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;color:black">To record all phone calls between extensions do the following. Make a directory under freeswitch/recordings/archive/. Then edit Local_Extension in dialplan in conf/dialplan/default.xml</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:1.0in"><tr><td style="padding:0in 0in 0in 0in"><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;extension</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">name=&quot;Local_Extension&quot;&gt;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">    &lt;condition</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">field=&quot;destination_number&quot;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">expression=&quot;^(10[01][0-8])$&quot;&gt;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p></td></tr></table><p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;color:black">Then add the following actions.</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:1.0in"><tr><td style="padding:0in 0in 0in 0in"><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}&quot;/&gt;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_COPYRIGHT=(c) 2011&quot;/&gt;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_SOFTWARE=FreeSWITCH&quot;/&gt;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_ARTIST=FreeSWITCH&quot;/&gt;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_COMMENT=FreeSWITCH&quot;/&gt;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}&quot;/&gt;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_STEREO=true&quot;/&gt;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;record_session&quot;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav&quot;/&gt;</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"></span></p></td></tr></table><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">But when I place a call, no files are getting created in the recordings or archive folder.  I tried calling both ways, still nothing.  I am running in admin mode, and have firewalls disabled.</p><p class="MsoNormal"> </p><p class="MsoNormal">When looking through the logs, the only two lines relevant to the recording are the following:</p><p class="MsoNormal"> </p><p class="MsoNormal" style="background:#1e1e1e"><span style="font-size:10.0pt;font-family:Consolas;color:gainsboro">892ef279-18c7-4d8d-8795-fa1c366b68c7 EXECUTE sofia/internal/<a href="mailto:1000@10.10.10.77">1000@10.10.10.77</a> bind_meta_app(2 b s record_session::C:/Program Files/FreeSWITCH/recordings/1000.2016-04-11-15-16-58.wav)</span></p><p class="MsoNormal" style="background:#1e1e1e"><span style="font-size:10.0pt;font-family:Consolas;color:gainsboro">892ef279-18c7-4d8d-8795-fa1c366b68c7 2016-04-11 15:16:58.521344 [INFO] switch_ivr_async.c:4152 Bound B-Leg: *2 record_session::C:/Program Files/FreeSWITCH/recordings/1000.2016-04-11-15-16-58.wav</span></p><p class="MsoNormal"> </p><p class="MsoNormal">From FreeSWITCH cookbook, I found out they allow manual recording by pressing *2 on receiving end.  When I tested that, it did work, and the wav file was created in the recordings directory, so the recording module seems to be working.  But for some reason, I still can’t get the automatic session recording to work.  What am I doing wrong?</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks.</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p></div></body></html>