The PortaOne add-on is used to import customers' calls from the PortaOne software system into Splynx.
Individual calls and their prices (CDRs) can be shown in Splynx as Statistics within the customer profile and their Customer Portal. These calls can also be included in a customer’s PDF invoices.
The add-on can be installed via one of two methods: via CLI or the Web GUI.
To install the PortaOne add-on via CLI, the following commands should be used:
apt-get update
apt-get install splynx-portaone
To install the addon via the Web GUI:
Navigate to Config → Integrations → Add-ons.
Locate or search for the splynx-portaone add-on and click on the install icon in the Actions column:

OK, confirm button to begin the installation process:
Navigate to Config → Integrations → Modules list and search for splynx_addon_portaone.
Then click the Edit (Config) button to perform the basic configuration:


The API domain, API key and API secret are already pre-populated by default after the add-on installation and don’t require any configuration.

PortaOne requires you to change the password regularly.
The password is not required if the token is provided.
The PortaOne software system:


Check connection button verifies that Splynx can log in to the PortaOne API with the credentials above.Click Check connection to test the connection without running a synchronization. Splynx first checks that API URL, Login and either Password or Token are filled in, then performs a test login request to the PortaOne REST API:
The check uses the credentials saved in the configuration. Click Save first, then click Check connection — otherwise the check runs against the previously saved values.
These settings control what the add-on imports from PortaOne and how often.

For data usage records to be processed correctly, set the Source type to Mixed in your Auto CDR processing entity — see Voice processing configuration.
INCOMING are imported as incoming calls, and the source number is taken from the record itself. When disabled, every record is imported as an outgoing call and the source number falls back to the customer's account number. Disable this option if your Splynx voice services are configured for outgoing calls only, to avoid Service not found warnings during import;i_service). Enter one ID or a comma-separated list of IDs; every imported record with a matching service ID is treated as data usage. If the field is left empty, Splynx decides by the uploaded and downloaded byte values in the record instead;
Filtering by service ID is the more precise option. Without it, rare PortaOne records that carry no byte values — merged records, for instance — can be imported as calls instead of data usage.
The PortaOne customers ids field will automatically appear after the add-on installation under the customer's Additional information.
When the basic configuration is done, add the PortaOne ID for each customer that should import calls:

On PortaOne, you can retrieve the customer's ID:

The customer’s phone number should also be set in the relevant voice service:

The next step is to configure the Auto CDR processing.
An import data source should be created in Config → Voice → Import data source

Then navigate to Config → Voice → Auto CDR processing and create an Auto CDR processing entity where we should define the data source to import from, as well as the PortaOne handler (auto-created by the addon):


The system will now auto-process voice calls from the addon local folder using the defined interval.
Under Config → Integrations → Splynx PortaOne Integration, you can import CDRs and logs, as well as manually pair customers.

To import CDRs, click on the gear button at the top right corner of the page and choose Import CDR:


To import the log, click on the gear button at the top right corner of the page and choose Import log:


To perform the customers manual pairing, click on the gear button at the top right corner of the page and choose Customers manual pairing:

Then, select Pair next to the customer name. The status will change from Not paired to Paired, indicating a successful pairing:
