Billing configuration
xDR files integration​
In order to allow JeraSoft billing to fetch xDR files from your equipment you will need the following:
- User account on the equipment that has access to the xDR files.
- SSH keys from the billing nodes uploaded to the equipment (for SSH protocol, if your equipment supports only FTP – you can skip this step).
Creating SSH keys​
Follow these steps to create SSH keys and grant your JeraSoft Billing access to the xDR-files storage:
- Log into you JeraSoft Billing node (repeat for each node in the cluster)
- Upload SSH keys by using following command:
sudo -u vcs ssh-copy-id -p <port> <username>@<hostname>
Replace <username>@<hostname>
with credentials of the user account that has permissions to access xDR-files, and <port>
with the SSH port (default is 22
).
Ensure that after logging into the equipment over SSH default Bash Shell is launched without any extra login messages.
Billing configuration​
In order to configure xDR files integration on the JeraSoft billing side you need to perform following steps:
-
Create Data Source
- Go to "Integrations → Data Sources" and click "Add Source"
- Fill in the credentials for the equipment server
- We recommend using SSH protocol to access the server, but if your equipment doesn't support it – use SFTP or FTP instead
-
Enable integration
- Go to "Integrations → Gateways" and either click "New Gateway" or edit already created gateway
- Make sure to set the following parameters for xDR-files processing:
- Files Collector – mark checkbox to enable xDR files processing (fetching and parsing);
- Collector Type – select type of the collector matching your equipment;
- Data Source – select the pre-created data source
-
Check system services
- Make sure that both "Files Collector" and "Files Downloader" are enabled in the "System → System Services" section.
Check Data Sources and Gateways in the User Guide for more information.
Typical xDR paths​
Below is a list of some typical xDR location paths depending on the equipment. Make sure to re-check it with your actual deployment since the paths may change depending on the version.
Equipment | Path |
---|---|
Aloe MVTS I | /usr/local/mvts/billing/bill* |
Aloe MVTS Pro | /var/cdrs/bill* |
Aloe RTU | /var/cdrs/bill* |
Aloe Transit SBC | /var/cdrs/* |
Asterisk | /var/log/asterisk/cdr-billing/* |
Genband (Nextone) | /home/nextone/cdrs/*.CDR |
Sansay VSX/VSXi | /cdr/20* |
Freeswitch | /usr/local/freeswitch/log/cdr-csv/Master.csv.2* |
FusionPBX | /var/log/freeswitch/cdr-csv/Master.csv* |
VOS3000 | /home/kunshi/vos3000/server/cdrs/cdr_* |
VOS5000 | /home/kunshi/vos5000/server/cdrs/cdr_* |
RADIUS/SIP integration​
RADIUS and SIP integration procedure is very similar to the one you need to perform for the xDR files. Please log into your JeraSoft Billing and perform the following steps:
-
Enable integration
- Go to "Integrations → Gateways" and either click "New Gateway" or edit already created gateway
- Make sure to set the following parameters for xDR-files processing:
- IP Address – set to the IP address of your equipment that will be used to communicate to the billing cluster
- RADIUS Server – mark checkbox to RADIUS (accounting, authorization, sometimes routing);
- Collector Type – select type of the collector matching your equipment;
- SIP Server – mark checkbox to SIP Redirect (dynamic routing);
- Collector Type – select type of the collector matching your equipment;
-
Check system services
- Make sure that "RADIUS Server" and/or "SIP Redirect Server" are enabled in the "System → System Services" section.
Check Gateways in the User Guide for more information, especially about extra options available for the RADIUS server.