How to store recorded files on a network drive?
By default MiaRec Business stores recorded calls on a local disk.
Usually inside directory C:\Program Files\MiaRec Business\Data\Recordings.
This article explains how to store calls on a network (UNC) path, like \\some-server\recordings.
MiaRec Business is running as a service application. Windows OS applies some limitations to service applications.
By default UNC paths are not accessible from a service.
In order to use UNC paths under a service, you should have the Windows Domain Controller on on a nework.
Both MiaRec server and Storage server (where calls will be stored) should be members of the same domain.
Configuration of the Storage server
MiaRec server should have sufficient access rights to the Storage server.
You need to share some folder on the Storage server and grant write pemissions to MiaRec server on that folder.
Step 1. Create some folder, for example C:\Recordings and open properties of it.
Select 'Share this folder' and enter desired name into 'Share name' input box (or use a default one).
See below screenshot as an example.

Step 2. Click on Permission button on a dialog in step 1.
You will see a new dialog "Rermissions for Recordings":

Step 3. You need to add a computer, where MiaRec is running, to the permissions list (see screenshot in step 2) and grant full access rights to that computer.
Click on Add button (see step 2) and new dialog "Select Users, Computers, or Groups" will be opened:

Step 4. Click on Object Types button and make sure that Computers entry is checked:

Step 5. Return to "Select Users, Computers, or Groups" dialog and type MiaRec computer's name into corresponding field:

In our example MiaRec is installed on a computer name with NETBIOS name WIN2K3-SERVER.
Click OK in that dialog and you will return to "Permissions for Recordings" dialog.
Step 6. Grant "Full Control" permissions to the newly added computer:

Now a configuration of the Storage server is completed.
Configuration of the MiaRec server
Open MiaRec.ini file (by default located in C:\Program Files\MiaRec Business\Bin).
Find there following line:
FileNameFormat=C:\Program Files\MiaRec Business\Data\Recordings\%{setup-time#%Y%m%d}\%{setup-time#%Y%m%d%H%M%S}.wav
And replace it with UNC path, for example:
FileNameFormat = \\my-storage-server\Recordings\%{setup-time#%Y%m%d}\%{setup-time#%Y%m%d%H%M%S}.wav
In our example, my-stogate-server is a NETBIOS name of the Storage server.
\\my-storage-server\Recordings is UNC path to the folder, which was shared in previous steps.
Save MiaRec.ini file and restart MiaRec service.
Now MiaRec should save calls on a network path.
Important! If you are using paths inside [Filters::OnCallStart] and [Filters::OnCallStop] sections of MiaRec.ini, then you need to edit them also.
[Filters::OnCallStart]
filter1 action = record
filter1 condition = caller-ip = '192.168.0.0/24' OR callee-ip = '192.168.0.0/24'
filter1 filename = \\my-storage-server\Recordings\Network0\%{setup-time#%Y%m%d}\%{setup-time#%Y%m%d%H%M%S}.wav
filter2 action = record
filter2 condition = caller-ip = '192.168.1.0/24' OR callee-ip = '192.168.1.0/24'
filter2 filename = \\my-storage-server\Recordings\Network1\%{setup-time#%Y%m%d}\%{setup-time#%Y%m%d%H%M%S}.wav
default_action = ignore
When you change a location of WAV/MP3 files, you need to edit a configuration file or Mp3BatchEncoder utility also.
Open Mp3BatchEncoder.ini file and change corresponding entries:
[Input]
Path = \\my-storage-server\Recordings
[Output]
Path = \\my-storage-server\Recordings
So, Mp3BatchEncoder utility will be able to find WAV files and convert them into MP3.