|
Where voice services are provided, special attention must be paid to billing and accounting. This chapter supports both the Cisco ASAP Solution and the PSTN gateway solutions, and discusses how to use a variety of Cisco applications to collect billing and accounting data, as well as various parameters the service provider needs to monitor.
This chapter presents the following major topics:
This chapter addresses the following components of the Cisco ASAP Solution and the PSTN gateway solutions: Cisco AS5000 series, Cisco BAMS. Cisco Access Registrar (AR) is also addressed. Cisco AR is used only in the Cisco ASAP Solution.
For an overview of billing issues, refer to Understanding and Provisioning AAA Billing in Chapter 3, "Provisioning Shared Support Services," in the Cisco Wholesale Voice Solution Design and Implementation Guide at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/access/sc/rel7/soln/wv_rel1/wvpg/index.htm
Other references are provided as needed throughout this chapter.
Where it is necessary to log VoIP call detail records (CDRs) for accounting or billing purposes, Cisco recommends that this be done with an external AAA (authentication, authorization, and accounting) server (either RADIUS or TACACS+). These AAA systems will commonly provide syslog-based CDR logging, postcall record processing, and a billing report-generation facility.
Accurate and common timing is essential to accurate billing and accounting.If the router has no NTP synchronization, the start and stop times of each CDR will be a zero (null) value. To ensure that the H.323 start/stop records have the correct time value, Network Time Protocol (NTP) must be running on the Cisco IOS router or gateway. Two methods of enabling NTP, with or without a network time server, are shown below.
Use the following Cisco IOS software global config command to synchronize the Cisco IOS router or gateway to an external NTP server:
router#(config)# ntp server <IP address>
!!--- where <IP address> is the IP address of the time server providing the clock
!--- synchronization
If there is no external NTP time source, the router (gateway) must be set as an NTP master clock, so it uses its internal clock as the time source. This is done with the Cisco IOS software global configuration command shown below:
router#(config)# ntp master
To ensure that the timestamps are correct, the router's clock should be set to the correct time (in privileged EXEC mode) as in the following example.
router# clock set 15:15:00 8 May 2001
Caution On some Cisco platforms, the router clock is not backed up by a battery source, so the system time will need to be reset following a router reload or power failure. |
The following is a sample configuration that enables the router to generate VoIP CDRs and send them to an external syslog server.
router#(config)# service timestamps log datetime msec localtime
!--- Ensure that the records are timestamped with an accurate value
!
router#(config)# aaa new-model
!
router#(config)# aaa authentication login default none
!--- Enable AAA, prevent telnet authentication via AAA
router#(config)# aaa accounting connection h323 start-stop radius
!--- Generates the H.323 call start/stop CDRs
router#(config)# gw-accounting syslog
!--- Send the H.323 CDRs to the server
router#(config)# logging 10.64.6.250
!--- IP address of syslog server. Multiple syslog servers can be specified for
!--- redundancy.
A Cisco Billing and Measurements Server (BAMS) is used to collect, format, and store billing and measurements data for the Cisco MCG (Cisco SC2200 or Cisco PGW 2200 node).
The Cisco BAMS converts the Cisco MGC proprietary CDR format, known as TLV (tagged length variable), to industry-standard formats. Presently, the Cisco BAMS supports two output formats:
As the CDRs are converted, the Cisco BAMS can assign a call type to each CDR. Call types can be assigned on the basis of where the call originates and where it terminates. The relationship between origination point and termination point is determined by user-defined billing logic. If you want to use the Cisco BAMS application for accounting and billing purposes, make sure that you have read and understood the information in the Billing and Measurements Server 2 document, at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/access/sc/bams2/index.htm
Cisco BAMS supports a sophisticated billing model that consists of logical zones. Using these zones, Cisco BAMS can augment each CDR with call-type information that can then be used by downstream billing systems to rate the calls.
To set up the billing logic, do the following:
Step 1 Define the zones.
Step 2 Establish the relationship between the zones.
Step 3 Define the call type for each relationship. Unique call types can be assigned on the basis of the call direction between two zones. Up to 999,999 zones can be defined.
Note The above are only general steps. For the details of setting up the billing logic, refer to Chapter 3,
"Configuring BAMS for BAF Billing and Measurements" and Chapter 5, "Producing BAF and ASCII
Records" of the Billing and Measurements Server 2, at the following URL: http://www.cisco.com/univercd/cc/td/doc/product/access/sc/bams2/index.htm |
For a list of Cisco BAMS operational measurements that are generated for each trunk group, refer to Chapter 6, "Obtaining Measurements," of Billing and Measurements Server2 at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/access/sc/bams2/index.htm
To define or modify the Cisco BAMS operational measurements, refer to Chapter 3, "Configuring BAMS for BAF Billing and Measurements," of Billing and Measurements Server 2 at the above URL.
You can use Cisco VSPT to provision Cisco BAMS. For links to the appropriate documentation see "Provisioning a Cisco MGC Node Using Cisco VSPT."
Note The version of Cisco VSPT will depend on your solution. Release 1.6 supports the Cisco ASAP Solution, and Release 2.1 supports the Cisco SS7 Interconnect for Voice Gateways Solution. |
For more information about collecting and viewing CDRs for the Cisco SC2200 and Cisco PGW 2200, refer to the following URLs:
Note The documentation you require will depend on your solution. Release 7 of the Cisco MGC software supports the Cisco ASAP Solution, and Release 9 supports the PSTN gateway solutions. |
The Cisco Access Registrar (AR) is used as an AAA proxy-server (RADIUS or TACACS+) and collects accounting data from the Cisco AS5000 series platforms.
Note Cisco AR is not used in the PSTN gateway solutions. For the Cisco ASAP Solution, the Cisco AR is the AAA server. |
Cisco AR collects and stores the information contained in accounting start /stop messages. When a Cisco AS5000 series platform that uses accounting begins a session, it sends an accounting start packet describing the type of service and the user being connected to the Cisco AR server. When the session ends, the platform sends the AR server an accounting stop packet describing the type of service that was delivered. The accounting stop packet might also contain statistics such as elapsed time, input and output octets, or input and output packets.To set up and manage accounting information using the Cisco AR, see Setting Up and Managing Accounting.
Note For more information about the Cisco AR refer to the Cisco Access Registrar documentation at the
following URL: http://www.cisco.com/univercd/cc/td/doc/product/rtrmgmt/cnsar/1_7/index.htm |
Once AAA accounting is enabled on the gateway, AAA accounting start and stop records are created for every call and are forwarded to the Cisco RPMS. You can configure Cisco RPMS to create and manage its own customer-based CDRs, as well as to forward accounting records to other AAA billing or accounting systems.
Note Cisco RPMS is not used in the PSTN gateway solutions. |
When configured for creating CDRs, Cisco RPMS provides additional information pertaining to pre-authentication rejection reasons (before accounting), and to policy limit information. Every customer profile has a dedicated CDR, which makes it easy to use the CDR as data for billing or other customer specific purposes.
For detailed information about how to create CDRs for accounting, read the sections Generating Call Detail Records and Defining Call Detail Records in Chapter 6, "Reporting and Accounting," of the Cisco Resource Policy Management Server 2.0 Configuration Guide at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/access/acs_soft/rpms/rpms_2-0/config/index.htm
See also "Managing Resources and Dial Services: Using Cisco RPMS."
Posted: Wed Oct 2 12:30:32 PDT 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.