Procedure
- Log in to a U1900 series unified gateway using the CLI and access the Config mode.
- Enable the function of generatin****R files.
After the CDR switch is turned on in a version earlier than U1900 V200R003C20, all CDR files will be exported.
config createbill switch onThe CDR switch in U1900 V200R003C20 or a later version will be used to control whether to export CDR files for internal calls. An internal call refers to a call between two numbers registerd with the same unified gateway.
config createbill switch on exportinterofficebill yesHere, the default value of exportinterofficebill is yes, indicating that CDR files of internal calls will be exported; and value no indicates that CDR files of internal calls will not be exported.
- Configure the IP address of the CDRServer for authentication.
config system billserver primaryip 192.168.1.5 protocol tls port 2021 authtype authbypwd username admin password Change_Me
Table 2 Parameter description Parameter
Description
Value Range
Default Value
How to Set
protocol
Transmission protocol type.
Two options are available: tcp and tls.
tls
TLS is recommended.
The CDRServer supports TLS and TCP connections. When the CDRServer starts, ports 2021 and 2020 are enabled automatically without independent configuration.
port
Port number of the CDRServer.
The value range is 1024-65535.
- protocol = TCP: 2020
- protocol = TLS: 2021
It is an optional parameter.
authtype
Authentication type.
Two options are available: NoAuth and AuthByPwd.
AuthByPwd
The parameter must be set to AuthByPwd if authentication is enabled on the CDRServer. The parameter can be set to NoAuth or AuthByPwd if authentication is disabled on the CDRServer. However, AuthByPwd is recommended to ensure data communication security.
username
User name for authentication.
The value is a string of 1-32 characters.
The same as the configuration on the CDRServer.
The value is the same as the configuration on the CDRServer.
The default user name on the CDRServer is admin.
password
Password for authentication.
The value is a string of 1-32 characters.
The same as the configuration on the CDRServer.
The value is the same as the configuration on the CDRServer.
The default password on the CDRServer is Change_Me.
- Run the save command to save data.