Downloading Media Manager recordings in bulk using a script

Last Updated : Jan 29, 2026 |
Prolog information
You can download the MM_Records_Download_FromFile_Script.vbs script from support.avaya.com and use the script to download your Media Manager recordings in bulk. Note that, this script works for Local Media Manager (LMM), but Centralized Media Manager (CMM) is not supported for Bulk Download.
Before you begin
Ensure the following conditions are met before running the script:
  • You are running a Windows version that supports native Visual Basic Script (VBScript).
  • Your default browser is configured for HTTPS URLs.
  • Ensure you log in to the Media Manager server using the following URL on your default browser: https://<IP Address>:7070/WebManagement/WebManagement.html.
  1. Export a comma-separated values (.csv) file that contains the information of the recordings you want to download, as the script requires this information to complete the download process.
    ADDITIONAL INFORMATION:
    You can connect your IP Office system using PuTTY to export the .csv file from the database. Do the following steps to export the .csv file:
    1. Login as a root user and connect to the PostgreSQL database using the following command sequence:
      ADDITIONAL INFORMATION: su postgres
      psql -p 5434
      \c mediamanager
      \dt
      Note:
    2. Export the .csv file with the recording information. You can export the file in the following two ways:
      ADDITIONAL INFORMATION:
      • To export the .csv file with the recording information ordered by record id, run the following command: COPY (
        SELECT recordid, startdate
        FROM mediarecords
        ORDER BY recordid
        ) TO '/opt/MediaManager/LocalStore/records.csv'
        WITH CSV HEADER;
      • To export the .csv file with the recording information within a date range, run the following command: COPY (
        SELECT recordid, startdate
        FROM mediarecords
        WHERE startdate BETWEEN '<YYYY-MM-DD HH:MM:SS>' AND ‘<YYYY-MM-DD HH:MM:SS>’
        ORDER BY recordid
        ) TO '/opt/MediaManager/LocalStore/records.csv'
        WITH CSV HEADER;
    3. After exporting the file, copy the .csv file from /opt/MediaManager/LocalStore/records.csv and save it to your local storage.
      ADDITIONAL INFORMATION:
      The following is an example of an exported .csv file:recordid,startdate
      1619839,8/25/2025 15:35
      1619840,8/25/2025 15:35
      1619841,8/25/2025 15:35
      1619842,8/25/2025 15:35
  2. To download the Media Manager Recordings Bulk Download Script.zip file containing the MM_Records_Download_FromFile_Script.vbs script, do the following:
    1. Log in to support.avaya.com.
    2. Go to Product SupportDownloads.
    3. Search for your product and select the release.
    4. Click Avaya IP Office <release number> General Availability and then click Media Manager Recordings Bulk Download Script.zip.
  3. Ensure that your Media Manager server session is active.
  4. Double-click the .vbs file, and then click Open in the dialog box to run the script.
    STEP RESULT:
    A dialog box for entering the prompt is displayed.
  5. Enter the following comma-separated values in the dialog box and click OK:
    ADDITIONAL INFORMATION:
    • IP Address: Specify the IP address of the active Media Manager server session.
    • CSV File Path: Specify the path on your local storage where you saved the .csv file.
    • Batch Size: Specify how many batches you want to download your recordings in. To ensure an optimal performance, keep the batch size to a maximum of 200.
    The following is an example of a prompt: 148.147.182.251,C:\records.csv,200
    STEP RESULT:
    The script launches a new browser window for each batch, with a 5-second delay between batches. A .zip file for each batch is downloaded containing the records. After all batches are processed, a final report containing the total number of records is displayed.
Next steps
You can do the following steps to play the recordings:
  1. Extract the .zip file.
  2. You can play the recordings in the following two ways:
    • Using the .html file:
      1. Click to open the .html file in the extracted folder to see the list of the recordings.
      2. Click the corresponding button in the last column for the recording you want to listen to.
    • Using individual .opus files for the recordings:
      1. Double-click any .opus file to play the corresponding recording.