Type the Document Description here!


<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>



<span class="page-title-pdf"How to download and delete recordings from Cloud PBX on Windows</span>



<div class="fb-like" data-href="https://confluence.wildix.com/x/L4BpAg" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>


 <div class="lang-box-pdf">
	<div>
		<div class="google-lang">
			<div id="google_translate_element">
			</div>
			<script type="text/javascript">
					function googleTranslateElementInit() {
						new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'de,es,fr,it,nl', autoDisplay: false}, 'google_translate_element');
						}
			</script>
			<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
		</div>
		
		<div class="pdf-button">
			<a href="#" alt="Convert to .pdf" title="Convert to .pdf"><img src="https://confluence.wildix.com/download/attachments/14549012/pdf-button-download-wildix-documentation.png"></a>
		</div>
	</div>
</div>


The following Document describes how to download and delete call recordings from Cloud PBX’s on Windows. The Document will guide you through manually downloading the files through WinSCP and also a script to automate the procedure on a Windows Server 2012 R2 64bit machine.

Created: April 2019

Permalink: https://confluence.wildix.com/x/L4BpAg

Step1. Download WinSCP

Step 2. Connect to Cloud PBX with WinSCP


SSH is disabled by default on Cloud PBXs. You can temporarily enable it on WMP. For instructions, read PBX Licensing and Activation - Admin guide (Enable SSH port on Cloud PBXs).



Step 3. Browse to /media/

Step 4. Download recordings

Recordings are stored in the following setup (year.month.day)/hour/minute

You can download then delete these files.

Step 5. Scripting download and delete process

Create directory to download recordings

In our example we are using C:\Backup\Recordings – these directories can be edited, and the script will need to be modified accordingly.


Copy hostkey





Example format of script:

# Example script for downloading Oct 2018 recordings:

open sftp://admin:password@pbxname.wildixin.com:2222/ -hostkey="ssh-rsa 2048 sC3GbYt5Wm2hncmstFP3ROF55oA4FE6kR2mAycu0FRU="

lcd C:\Backup

cd /media/

get -delete -resume -nopreservetime -filemask="*.wav" /media/2018.11* C:\Backup\Recordings\2018\Nov

exit

Run bat file

If you schedule this to run through Windows Scheduler you will need to remove the “pause” from Rundownload.bat.

Wildix Media Sync

Wildix Media Sync script can be downloaded by clicking here.

Additional information about Wildix Media Sync:


<div class="fb-like" data-href="https://confluence.wildix.com/x/L4BpAg" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>



<div class="ask-question">
		<div class="text-before-buttons">
			<span style="font-size: 24px; text-align: center;">Not finding the help you need?</span><br>
Join the Facebook group to ask a question!
		</div>
<div class="fb-buttons">
<span style="align: center;"><a href="https://www.facebook.com/groups/wildixtechwizards" target="_blank"><img src="https://manuals.wildix.com/wp-content/uploads/2017/03/facebook_tech-wizards.png" alt="facebook_tech-wizards" width="282" height="80" align="center"/></a></span></div>
	</div>