<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><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:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.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="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">I found the problem - it was my fault.  Before making changes to the default.xml dialplan file, I made a copy of it in the same folder and called it:</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">default – before recording.xml</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Then I made changes to default xml.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Turns out FreeSWITCH was parsing the backup file I made, instead of the actual file, so none of my changes were taking effect.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Once I moved the backup file out of the dialplan folder, the recording started working as expected.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Michael Collins<br><b>Sent:</b> Tuesday, April 12, 2016 5:18 PM<br><b>To:</b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br><b>Subject:</b> Re: [Freeswitch-users] Cannot get automatic call recording working.</span></p><p class="MsoNormal"> </p><div><p class="MsoNormal">Capture the complete log output of a test call and drop it into <a href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a>. The output will definitely tell you exactly what the dialplan is doing, so if it is attempting to initiate the record_session app then you&#39;ll see any errors that may have resulted.</p><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">-MSC</p></div></div><div><p class="MsoNormal"> </p><div><p class="MsoNormal">On Mon, Apr 11, 2016 at 12:54 PM, Piotr Starzyk &lt;<a href="mailto:pstarzyk@general-devices.com" target="_blank">pstarzyk@general-devices.com</a>&gt; wrote:</p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+record_session" target="_blank">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">Record Calls To Extensions</span></b></p><p class="MsoNormal" style="margin-left:1.0in"><span style="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></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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;extension</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">name=&quot;Local_Extension&quot;&gt;</span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">    &lt;condition</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">field=&quot;destination_number&quot;</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">expression=&quot;^(10[01][0-8])$&quot;&gt;</span></p></td></tr></table><p class="MsoNormal" style="margin-left:1.0in"><span style="color:black">Then add the following actions.</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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</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></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_COPYRIGHT=(c) 2011&quot;/&gt;</span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_SOFTWARE=FreeSWITCH&quot;/&gt;</span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_ARTIST=FreeSWITCH&quot;/&gt;</span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_COMMENT=FreeSWITCH&quot;/&gt;</span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</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></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;set&quot;</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">data=&quot;RECORD_STEREO=true&quot;/&gt;</span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;action</span> <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">application=&quot;record_session&quot;</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></p></td></tr></table><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">When looking through the logs, the only two lines relevant to the recording are the following:</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </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" target="_blank">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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks.</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p></div></div><p class="MsoNormal"><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></p></blockquote></div><p class="MsoNormal"> </p></div></div></body></html>