Example: Configuring Integrated Convergence Services Accounting for the SRX Series Survivable Call Server
This example shows how to configure the accounting feature for the SRX Series survivable call server (SRX Series SCS).
Requirements
This example uses an SRX210 device with Integrated Convergence Services. It assumes that the SRX Series survivable call server has been configured.
Before you begin, read Understanding the Integrated Convergence Services Accounting Feature.
Overview
The accounting feature lets you collect records about calls. Call records are written to a file in system memory based on events that the configuration specifies.
The example configuration specifies that the voice daemon should:
- Generate and collect records for both successful and unsuccessful calls omitting optional information, before writing them to the file in system memory.
- Create compact versions of the records before it writes them to a system memory file
- Protect against record data loss that could happen if
the following events occur:
- If the voice daemon crashes.
The configuration specifies a batch size and a purge time interval. These statements direct the voice daemon to write the records to a file in system memory based on either the number of call records it collects (batch size) or a time (purge time interval), whichever occurs first.
- If the device is rebooted
The configuration specifies information about an FTP server that the voice daemon uses to archive the files to protect against loss of data that can occur if the device is rebooted.
- If the voice daemon crashes.
Configuration
CLI Quick Configuration
To quickly configure the accounting feature, copy the following commands and paste them into the CLI.
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see “Using the CLI Editor in Configuration Mode”.
To configure an accounting profile:
- Specify a name for the accounting profile.[edit services convergence-services features accounting] user@host# edit profile srx-series-scs-accounting-profile
- Specify that call records should be generated
for unsuccessful calls and successful calls. [edit services convergence-services features accounting profile srx-series-scs-accounting-profile] user@host# set report-unanswered-call
- Specify that the voice daemon should
create compact versions of call records. [edit services convergence-services features accounting profile srx-series-scs-accounting-profile] user@host# set use-compact-cdr
- Specify the accounting profile to use
when the SRX Series SCS is in control.[edit services convergence-services features accounting profile srx-series-scs-accounting-profile] user@host# set operational-state survivable
- Specify the transport and the name of
the FTP server used to archive the call record files. [edit services convergence-services features accounting profile srx-series-scs-accounting-profile] user@host# edit transport ftp server accounting-archive-server
- Specify the IP address of the server[edit services convergence-services features accounting profile srx-series-scs-accounting-profile transport ftp server accounting-archive-server]user@host#set address ipv4-addr 1.2.3.4
- Specify the authentication ID and password. [edit services convergence-services features accounting profile srx-series-scs-accounting-profile transport ftp server accounting-archive-server]user@host set auth-id admin auth-password 324*fr
- Specify the format and the
name of the CVS profile.[edit services convergence-services features accounting profile srx-series-scs-accounting-profile transport ftp server accounting-archive-server ] user@host# edit format comma-separated-value cvs-profile-1
- Specify the server path name[edit services convergence-services features accounting profile srx-series-scs-accounting-profile transport ftp server accounting-archive-server ] user@host# set path-name /cf/root
- Specify the record batch size. [edit services convergence-services features accounting profile srx-series-scs-accounting-profile]user@host# edit formats comma-separated-value cvs-profile-1 batch-size 120
- Specify the purge time interval. [edit services convergence-services features accounting profile srx-series-scs-accounting-profile formats comma-separated-value cvs-profile-1] user@host# set purge-time-interval 300
Results
From configuration mode, confirm your configuration by entering the show services convergence-services features accounting profile srx-series-scs-accounting-profile command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
If you are done configuring the device, enter commit from configuration mode.
Verification
To confirm that the configuration is working properly, verify that the SRX Series media gateway (SRX Series MGW) is active.
Verifying that the SRX Series MGW is Active
Purpose
Verify that the SRX Series MGW is active. Display the length of time that the Integrated Convergence Services media gateway call routing engine has been executing.
Action
From operational mode, enter the show services convergence-services media-gateway uptime command.
Related Topics
- Understanding the Integrated Convergence Services Accounting Feature
- Understanding the SRX Series Integrated Convergence Services Survivable Call Server Features
- Understanding SRX Series Integrated Convergence Services Features and Functions
- SRX Series Integrated Convergence Services Media Gateway Overview
Hide Navigation Pane
Show Navigation Pane
Download
SHA1