Storing Into Azure Blob Storage
Last updated
Was this helpful?
Last updated
Was this helpful?
With PortSIP PBX, you can configure your system to store call recordings and compositions directly to your own Azure Blob Storage, instead of using local disk storage. This guide will walk you through setting up your Azure account or project to leverage this feature.
Note: Once external Azure Blob Storage is enabled, PortSIP PBX will stop storing uploaded files (such as voice prompts, profile pictures, and audio/video recordings) on the local disk. You will then be responsible for managing the security and lifecycle of your recorded content.
Use this feature if you need to comply with regulatory requirements that prohibit reliance on third-party storage solutions.
Warning: Please be aware of the following considerations when configuring Azure Blob Storage for your recordings:
Once Amazon Azure Blob Storage is activated, historical recordings stored on the local disk of the PBX server will no longer be accessible. Additionally, previously uploaded prompt files for queues, voicemail, IVR, and other voice announcements will need to be re-uploaded. Therefore, it is recommended to configure Azure Blob Storage storage immediately after completing the PBX installation.
Once the "Azure Blob Storage" option is activated, do not disable it. Disabling this feature will prevent the PBX from accessing historical recordings and will disrupt the process of storing new recordings on Azure Blob Storage.
Debian 11/12, Ubuntu 22.04/24.04, 64-bit
We recommend deploying the PortSIP PBX on Azure to get the best performance
Sign the Azure web portal.
Select the menu Storage accounts, then click Create.
In the Basic tab, fill in the Storage Account Name field and note down it, as you will need it in a later step.
For the Primary Service, select Azure Blob Storage or Azure Data Lake Storage Gen 2.
Follow the page instructions and select the appropriate values for the remaining fields.
Click the Next button to complete the creation process.
Now, follow these steps to create the storage container:
Double-click the Storage Account you created in the previous steps.
In the Data Storage menu, click + Container.
Enter a name for the container, make a note of the container name, and click the Create button.
Navigate to the Security + Networking menu.
There are two keys available. Click Show for either key, then copy it.
Open the settings file:
On Linux is /var/lib/portsip/pbx/system.ini
On Windows is c:/programdata/portsip/pbx/system.ini
In the section apigateway, modify the value of the key storage to azure as shown below.
Edit the section storage.azure as shown below.
After modifying the parameters for Azure Block Storage, save the changes made to system.ini. You will then need to restart the PortSIP PBX for the changes to take effect.
Restart the PBX by performing the following commands:
Restart the Windows Server directly.