Configuring Recording Storage using Google Drive
This example is written for the Canistracci OIL tenant. Create the objects with a Docs Demo prefix, test them on non-production numbers, and then adapt the same structure for the production tenant.
Accessing Google Drive is not simple, but I agree with Google about being extremely careful in sharing the Google Drive content. I have chosen to use the Service Account to handle the recording storage.
Go in the Google console from the account you want to use for storage
https://console.cloud.google.com/
Let's start by checking if the Google Drive API is enabled in "Enabled APIs and services" for your project. If not enabled, please enable it.
From the APIs and services page, choose "Credentials" and create a Service Account.
The service account has two parts: an email like mirtapbx@resolute-tracer-400008.iam.gserviceaccount.com and a JSON file you need to use as credentials.
Locate the directory you want to use as recording storage in your Google Drive and share it with the service account email above created. It needs to have full access to it.
Access the directory and check the ID of the folder. You can see in the URL, like
https://drive.google.com/drive/folders/1rfOYcmUcoZOTYmioiDtbIuXmI62W5sz7
In MiRTA PBX configuration, you need to enter the folder ID and the content of the JSON file you have downloaded.

Validation
- Confirm the tenant selected in the top bar is Canistracci OIL before creating the example.
- Verify the created objects appear in the expected Configuration menu page.
- Place a controlled test call or run the related status check.
- Remove or disable temporary test numbers when the example is no longer needed.
No comments to display
No comments to display