In this section:
The CDR Server Admin window allows you to configure an SBC Core accounting object that controls transferring files to an external CDR server. Its parameters identify the remote server and login details.
The SBC supports transferring call accounting files (.ACT
) to the CDR server through a user-configured port. The SBC also supports using either a username/password combination or a Secure Shell (SSH) public key to authenticate with the remote CDR server. The parameter Use Ssh Key File must be enabled to generate an SSH public key.
The generated SSH public key must be installed on the CDR server to use SSH key-based authentication from the SBC. The SSH public key must be copied to the remote CDR server file /home/<user>/.ssh/authorized_keys
. If the private key is compromised, the key must be re-generated. Once the key is re-generated, the CDR server must be updated with the new key.
- The SSH public key generated for the primary CDR server can also be used to authenticate the secondary CDR server. The SSH public key can be installed on both primary and secondary CDR servers.
The configured user must have access to
/home/<user>/.ssh
for reading the public key.
Admin List
To view the list of CDR Server Admin objects, on the SBC main screen, go to Administration > Accounting and Logs > CDR Server > Admin. The CDR Server Admin window is displayed. You can configure a primary and a secondary object.
Transferring Call Accounting Files (.ACT) to a CDR Server Using SSH Keys
To add new Admin settings that enable SSH key authentication, click New Admin on the Admin panel. The Create New Admin window appears:
Click to enable the parameter Use Ssh Key File.
- Make other required entries to define the CDR server and transfer parameters. See the CDR Server parameter table for descriptions.
- Click Save at the right hand bottom of the panel.
- Generate the SSH keys. For more information, see Admin Command Execution (generateSshPublicKeys)
Transferring Call Accounting Files (.ACT) to a CDR Server Without Using SSH Keys
To add new Admin settings without SSH key authentication, click New Admin on the Admin panel. The Create New Admin window appears:
Do not enable the Use Ssh Key File parameter. Leave the default setting of Disable to use username/password authentication.
Make other required entries to define the CDR server and transfer parameters. See the following table.
- Click Save at the right hand bottom of the panel.
The complete list of CDR Server Admin fields displayed are:
Admin Commands
For each CDR Server Admin object created, Admin Commands can be used.
The following options are displayed:
Admin Command Execution (forceCurrentServer)
Choose Force Current Server to set the specified server as current server.
Click Select. A pop up window displays the selected command.
- Click the forceCurrentServer button to proceed or Click Delete to exit the window.
The action concludes with the result.
Click OK to Complete.
Admin Command Execution (generateSshPublicKeys)
- Choose Generate Ssh Public Keys to generate SSH Public Keys for remote servers.
Click Select. A pop up window displays the selected command.
Click the generateSshPublicKeys button to proceed or click Delete to exit the window.
The pop-up window with thessh
keys displays.- Copy the ssh key displayed in the pop-up. The ssh key starts from "ssh-rsa" till the end of the text.
- Click Ok to complete.
Paste the ssh key in the .ssh/authorized_keys file on the CDR server.
Set the the directory permissions for
.ssh
to 700 and the file permissions for authorized_keys to 600.
Admin Command Execution (resetCdrServerStats)
- Choose Reset CDR Server Stats to reset the CDR server statistics.
Click Select. A pop up window displays the selected command.
- Click the resetCdrServerStats button to proceed or Click Delete to exit the window.
The action concludes with the result.
Click OK to complete.