A billing environment is considered to be active if its configuration includes at least one instance of PortaSIP cluster and/or xDR mediator.
Active billing environments are in read-only mode and cannot be deleted.
All of the instances must be deleted prior to deleting the environment. This is to ensure that no PortaSIP or xDR mediator services are running.
In order to delete an active billing environment proceed with the following steps:
- Go to the Configurations tab and clone the latest configuration, e.g., Omega.
- Open the cloned configuration. Go to Configuration Tree > PortaSIP Cluster > select instance from the required billing environment, e.g., sip-cluster-3@omega, and click the Instance delete button. Repeat this step for other PortaSIP instances and xDR mediator instances (CDR extraction and CDR rating).
Deletion of PortaSIP instances immediately deactivates all PortaSIP services in the corresponding billing environment after the configuration is applied.
Make sure the instances you want to delete aren’t defined in CallRecording.sip_clusters option (Configuration Tree > CallRecording).
- When all required instances have been deleted, click Verify. Then, click Check/Apply to apply the given configuration.
- Go back to the Environments tab. Select the environment that you want to delete, e.g., Omega, and click Delete.
Be aware that once the environment is deleted, all of its settings (tariffs, customers, accounts, vendors, connections, etc.) and CDRs are removed from the PortaBilling database. You will only have access to statistics in .csv format.