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:

Configuration

CLI Quick Configuration

To quickly configure the accounting feature, copy the following commands and paste them into the CLI.

set services convergence-services features accounting profile srx-series-scs-accounting-profile report-unanswered-call set services convergence-services features accounting profile srx-series-scs-accounting-profile use-compact-cdr set services convergence-services features accounting profile srx-series-scs-accounting-profile operational-state survivable set services convergence-services features accounting profile srx-series-scs-accounting-profile formats comma-separated-value cvs-profile-1 batch-size 120 set services convergence-services features accounting profile srx-series-scs-accounting-profile formats comma-separated-value cvs-profile-1 purge-time-interval 300 set services convergence-services features accounting profile srx-series-scs-accounting-profile transport ftp server accounting-archive-server address ipv4-addr 1.2.3.4 set services convergence-services features accounting profile srx-series-scs-accounting-profile transport ftp server accounting-archive-server auth-id admin set services convergence-services features accounting profile srx-series-scs-accounting-profile transport ftp server accounting-archive-server auth-password "$9$7rV24JGDqP5wsJDHkQz" set services convergence-services features accounting profile srx-series-scs-accounting-profile transport ftp server accounting-archive-server path-name /cf/root set services convergence-services features accounting profile srx-series-scs-accounting-profile transport ftp server accounting-archive-server format cvs-profile-1

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:

  1. Specify a name for the accounting profile.
    [edit services convergence-services features accounting] user@host# edit profile srx-series-scs-accounting-profile
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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.

user@host show services convergence-services features accounting profile srx-series-scs-accounting-profilereport-unanswered-call; use-compact-cdr; operational-state survivable;formats {comma-separated-value cvs-profile-1 {batch-size 120;purge-time-interval 300;}}transport {ftp {server accounting-archive-server {address {ipv4-addr 1.2.3.4;}auth-id admin;auth-password "$9$7rV24JGDqP5wsJDHkQz"; ## SECRET-DATApath-name /cf/root;format cvs-profile-1;}}}

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