Table Of Contents
Settlements for Packet Voice, Phase 2
Related Features and Technologies
Supported Standards, MIBs, and RFCs
Configuring the Public Key Infrastructure
Configuring the Originating Gateway
Configuring the Settlement Provider
Configuring the Inbound POTS Dial Peer
Configuring the Outbound VoIP Dial Peer
Configuring the Terminating Gateway
Configuring the Settlement Provider
Configuring the Inbound VoIP Dial Peer
Configuring the Outbound POTS Dial Peer
Verifying Settlement Configuration
Configuring Settlement with Roaming
Configuring Settlement with Multiple Roots
Configuring Settlement with Suggested Route
Example Configuration of Settlement on the Originating Gateway
Example Configuration of Settlement on the Terminating Gateway
Example Configuration of Settlement with Roaming
Example Configuration of Settlement with Multiple Roots
Comprehensive Configuration Guidelines
Settle-call and Session Target
Actions When Session Target is "Settlement"
Actions When Session Target is IP/DNS
Actions When Session Target is RAS with No Token
Actions When Session Target is RAS with Token
Actions When Receiving Inbound Calls
Common Problems when Setting up Settlement
debug voip settlement security
debug voip settlement transaction
Settlements for Packet Voice, Phase 2
Feature History
This feature is also known as "Settlement Plus Roaming and PKI Multiple Roots on Cisco Access Platforms."
The Cisco Settlement Plus Roaming and PKI Multiple Roots feature is introduced in Cisco IOS Release 12.1(1)T. These features are new additions to the Open Settlement Protocol (OSP) which was previously released in Cisco IOS Release 12.0(4)XH and 12.0(7)T. The feature overview describes both new features in the following sections:
•
Roaming
This document includes the following sections:
•
Benefits
•
Related Features and Technologies
•
Supported Standards, MIBs, and RFCs
•
Comprehensive Configuration Guidelines
•
Common Problems when Setting up Settlement
•
Glossary
Feature Overview
This is the second release of Cisco's Open Settlement Protocol (OSP) features. Some settlement vendors have required roaming users to be authenticated and accounted for by the settlement clearinghouse. Therefore, this IOS Release 12.1.(1) introduces two new features, roaming and multiple roots.
What is settlement? When you make a telephone call, the cost charged can be divided between different carriers involved in the completion of the call. Settlement is the method used to divide the cost between carriers. Traditionally, settlement agreements have been arranged between the carriers in a pairwise fashion. With the advance of voice and video conferencing over IP, pairwise settlement agreements have become cumbersome. A number of companies have entered the market offering settlement on a subscription basis. As a result, the settlement process becomes a more manageable, many-to-one system, with a set of public interfaces that service providers must implement.
The Cisco gateway-based settlement protocol (OSP) interacts between carriers to create a single authentication at initialization. The authentication is the basis for the establishment of a secure communication channel between the settlement system and the infrastructure component. This channel then allows the following three types of transactions to be handled.
•
Call routing—The settlement system can either accept a gateway endpoint from the requestor or assign one for the requester.
•
Call authorization—Based on the terminating endpoint address, the settlement system determines whether the requesting gateway is permitted to originate calls for the terminating gateway. If the call is authorized, the settlement system generates a token that allows the terminating gateway to accept the call.
•
Call detail reporting—Each endpoint in a call leg reports when the call stops, along with the usual call details. The settlement system reconciles the different reports of the calling and called parties and generates billing information. Call details are reported on a call-by-call basis.
Figure 1 shows a typical gateway based settlement network topology. A voice or fax call is originated and routed through the gateway (Cisco AS5300 access server, or Cisco 2600 or 3600 series routers) to a database server (RADIUS, TACACS+) for user authentication and intra-ISP call accounting. Using TCL IVR interactive voice response scripts to gather and manipulate the caller's data, the gateway forwards the call to the settlement server, which authorizes the call and adds settlement details in a token. The call, now carrying its unique settlement token, passes through the originating gateway to the terminating gateway. The terminating gateway uses TCL IVR to validate the settlement token and forwards the call to the receiving telephone or fax machine.
Note
For a complete description of the Cisco Interactive Voice Respons (IVR) software feature, refer to the online documentation located in Cisco Connection Online (CCO).
When the call is completed, both the terminating and originating gateways communicate the call details to the settlement server. The settlement server then reconciles the information it receives about the call from both gateways.
Figure 1
Gateway-Based Settlement
Roaming
A caller is roaming when dialing into a gateway which is not the home gateway. A home gateway belongs to the user's service provider. Usually, the subscriber is billed with additional charges when making roaming calls The settlement server and the service provider need to know when a caller is or is not roaming in order to create accurate billing statements.
A roaming caller has to be authenticated before the call can go through the gateway. Both AAA and the settlement server can authenticate a roaming user. If AAA fails to authenticate a roaming caller, the roaming call has to be routed to a settlement server. If the settlement server can not authenticate the caller, the call is terminated.
The roaming feature is configured by the following:
•
Setting the roaming patterns to determine if a caller is roaming
•
Setting the roaming capability in the settlement provider
•
Setting the roaming capability in the dial peer
•
Forcing a call to be routed via a settlement server in a dial peer
Roaming User Identification
The gateway can specify a list of patterns to be matched with a user's account number to see if that user is roaming or not. The user enters the account number and PIN as part of the interaction with the TCL IVR prompts.
The roaming patterns are configured using the Global configuration mode command settlement roam-pattern. See settlement roam-pattern.
For additional information about the IVR or AAA and the E.164 addressing scheme, refer to the following Cisco IOS documents:
•
Cisco Interactive Voice Response
•
Service Provider Features for Voice over IP
Roaming Settlement Provider
Some settlement providers want to know if a user is roaming so the appropriate charge is applied to the user's account. Some settlement providers do not distinguish between local and roaming users.
The settlement provider interested in roaming users is configured with the roam command in the Settlement submode. See "Command Reference" on page 42.
If a user is roaming and the settlement provider is also enabled for roaming, the gateway sends the user's account number and PIN to the settlement server so that the user could be properly authenticated.
Roaming Dial Peer
A gateway can dictate if a particular outbound dial peer can terminate roaming calls or local calls only. This can be configured with the no roam command. See Command Reference.
•
The default of the dial peer is not to support roaming. Therefore, this feature must be explicitly enabled in the dial peer.
•
The gateway allows a roaming call to go through only if both the dial peer associated with that call and the settlement provider support roaming. In other words, a call fails if the dial peer has roaming enabled but the settlement provider doesn't. A call also fails if the settlement provider has roaming enabled but the dial peer does not.
Dial Peer Settlement Option
The command settle-call forces the call to go through a settlement server regardless of the session target type. If the session target type is ipv4, dns or RAS, the gateway resolves the terminating gateway address using one of these methods and asks the settlement server to authorize that terminating gateway. (TGW).
Note
In Cisco IOS Release 12.1(1)T the session target command configuration can not combine the target of RAS with the settle-call command option. When configuring the VoIP dial peers for a settlement server, if session target type is settlement, the provider-number parameter in session target and settle-call should be identical.
The restrictions and behaviors associated with use of the settle-call command with outbound dial peers are described in another section of this document. See "Common Problems when Setting up Settlement" section for examples of the gateway behavior using different session target types and the settle-call flag.
PKI Multiple Roots
Cisco devices have the capability to share public keys using digital certificates. Digital certificates are normally issued by trusted third parties, who are called certificate Authorities (CA). Every participating router should enroll its public key with the CA server. During enrollment the Certificate Administrator (human) will manually verify if the requesting router is authentic and grant the certificate (some CA servers have the capability to authenticate the routers automatically).
A certificate has many fields which include a serial number, fingerprint and expiry date. Certificate can get revoked before its expiry because of key compromise or an other security reasons. The CA server maintains a list of revoked certificates, which is called Certificate Revocation List (CRL). Routers can be configured not to accept a peer certificate that is revoked. Router downloads CRL from the CA server for this purpose.
Cisco routers use a proprietary protocol CEP (Certificate Enrollment Protocol) to communicate with the CA server. The CA server should understand CEP.
The Multiple Roots feature is based on the Cisco security and public key infrastructure (PKI) technology. For in depth information about Security, see the Cisco Security Configuration Guide.
The multiple roots feature allows a settlement server to use one certificate for a Secure Socket Layer (SSL) handshake and a different certificate for token signing.
•
For SSL handshake with the settlement server, the gateway uses the certificate obtained through the CLI command crypto ca identity name.
•
For token verification, the gateway can use one of the root certificates configured with the command crypto ca trusted-root name.
•
To specify which root certificate is used for token validation, use the command token-root-name in the settlement submode.
Note
For a description of these new commands, see the "Command Reference" on page 42.
Benefits
•
Enables Cisco Access platforms to provide Open Settlement Protocol (OSP) to Internet service providers
•
Gives Internet service providers the ability to bid for the originating and terminating fee because the settlement software complies with OSP
•
Offers a single authentication for the actual gateway or platform at initialization time
•
Provides a secure interface between the settlement client and server
•
Offers a choice of languages; therefore, the ISP can specify the currency with which to perform the transaction
Restrictions
•
The Cisco Settlement for Packet Telephony feature requires Cisco IOS Release 12.1(1)T and the correct version of VCWare that is compatible with this version of the Cisco IOS software.
•
The settlement feature cannot be enabled on dial peers that use RAS as the session target.
•
The settlement software is offered only in crypto images and therefore is under export controls.
Related Features and Technologies
The Settlement for Packet Voice feature is dependent upon the interoperability of the following features:
•
Interactive Voice Response (IVR)
The IVR feature uses audio files that manage the voice prompting and digit collection to gather caller information for authenticating the user and identifying the destination.
Refer to the Cisco Connection Online for Cisco IOS Release 12.0(7)T software features for the documentation.
•
Certification Authority Interoperability
Ensure that this feature is functioning properly and configured as described in the task list. See "Configuration Tasks" on page 8. Additional configuration information is available in the Certification Authority Interoperability feature documentation on Cisco Connection Online (CCO).
Related Documents
Cisco Customer Documentation:
•
Voice Features for Cisco 3600 Series Routers
•
Certification Authority Interoperability
•
Cisco Security Configuration Guide
•
Cisco IP Security and Encryption Overview
Other Documentation:
•
Token Card and Cisco Secure Authentication Support
•
The SSL Protocol Version 3.0 as amended SSL 3.0 Errata of August 26, 1996
Supported Platforms
•
Cisco AS5300 universal access servers
•
Cisco AS5800 universal access servers
•
Cisco 2600 series routers
•
Cisco 3600 series routers
Supported Standards, MIBs, and RFCs
Standards
European Telecommunication Standards Institute (ETSI) Technical Specification (TS) 101 321
MIBS
No new or modified MIBSs are supported by this feature.
RFCs
No new or modified RFCs are supported by this feature.
Prerequisites
•
Ensure that your access platform has the following memory requirement:
16 MB Flash and 64 MB DRAM memory minimum.
•
In Cisco IOS Release 12.0(4)XH or later release, both the originating and terminating gateways must be using the Integrated Voice Response TCL IVR scripts to perform settlement successfully. If a terminating gateway that is not configured with a TCL script receives settlement calls, it will not recognize the tokens added to those calls by the settlement server; therefore, those calls will pass through without being audited or charged.
•
Ensure that the correct version of VCWare is downloaded to the Cisco AS5300 and Cisco Access Path platforms.
•
Before configuring the settlement feature, you must have configured the Public Key Infrastructure (PKI) for secured communication between the access platform (or router) and the settlement server. For detailed information about Certificates and secure devices see the Cisco IOS Release 12.0 documentation titled Certification Authority Interoperability.
•
Requires Cisco IOS Release 12.1(5)T for Cisco AS5800 support.
Note
The Cisco AS5800 universal access server uses portware, not VCWare, with its modems.
Configuration Tasks
Before starting the settlement server configuration tasks, ensure that the Cisco Enrollment Protocol (CEP) router has obtained a security certificate. For detailed information, see the Certification Authority Interoperability documentation in the Cisco IOS Release 12.0 documentation set, or go to the online version.
Configuring Settlement for Packet Voice on Cisco access servers requires the following tasks:
•
Configuring the Public Key Infrastructure
•
Configuring the Originating Gateway
–
Configuring the Settlement Provider
–
Configuring the Inbound POTS Dial Peer
–
Configuring the Outbound VoIP Dial Peer
•
Configuring the Terminating Gateway
–
Configuring the Settlement Provider
–
Configuring the Inbound VoIP Dial Peer
–
Configuring the Outbound POTS Dial Peer
•
Configuring Settlement with Roaming
•
Configuring Settlement with Multiple Roots
•
Configuring Settlement with Suggested Route
Note
When configuring a voice port use the following configuration designations:
For the Cisco AS5300 access server, port designation is port.
For the Cisco AS5800 access server, port designation is shelf/slot/port.
Configuring the Public Key Infrastructure
Note
Ensure that you have secure communication between the access platform or router and the settlement server.
To configure the Public Key Infrastructure (PKI) use the following commands:
Configuring the Originating Gateway
Three tasks are actually involved in configuring the originating gateway:
•
Configure the settlement provider so that the gateway knows where to direct the call authorization and call detail record.
•
Configure the inbound POTS dial peer so that a TCL application will process the call (only TCL applications can settle the call).
•
Configure the outbound VoIP dial peer so that the gateway will settle the call if necessary.
Configuring the Settlement Provider
To configure the service provider to authorize calls, use the following commands:
Note
If you are configuring a TransNexus server, first enter the url <url>; then enter the customer-id and the device-id command.
Configuring the Inbound POTS Dial Peer
To configure the inbound POTS dial peer, enter the following commands:
Note
In Step 3, do not use the default session application. The default "Session" application does not support settlement. Calls handled by the default session application are not routed to a settlement server. Settlement tokens are not validated in the default session application.
Configuring the Outbound VoIP Dial Peer
To configure the outbound VoIP dial peer, use the following commands:
Command PurposeStep 1
Router(config)#dial-peer voice number voipEnters the dial-peer configuration mode to configure the outbound VoIP dial peer.
Step 2
Router(config-dial-peer)# destination-pattern [+]string[T]Configurse the dial peer's destination pattern. Enter the number or pattern of the outbound called number.
The string is a series of digits that specify the E.164 or private dialing plan telephone number. Valid entries are the digits 0-9 and the letters A-D. The following special characters can be entered in the string:
•
The plus symbol (+) can be used to indicate an E.164 standard number.
•
The star character (*) and the pound sign (#) that appear on standard touch-tone dial pads can be used in any dial string. However, these characters cannot be used as leading characters in a string (for example, *650).
•
The period (.) can be used as a trailing character, and is used as a wildcard character. Multiple periods as trailing characters indicate multiple wildcard digits, such as for the 789... wildcard.
•
The comma (,) can be used only in prefixes, and is used to insert a one-second pause or delay.
The timer (T) character can be used to configure variable length dial plans
Step 3
Router(config-dial-peer)# session target settlement [provider-number]Enters settlement as the session target to resolve the terminating gateway address.
Note
The provider-number value should match one of the number values previously configured in the task "Configuring the Settlement Provider" section .
Note
The originating gateway's system clock must synchronize with the settlement server clock. Use the clock or ntp command to set the router clock.
Configuring the Terminating Gateway
CautionIf the terminating gateway is not configured by using TCL IVR application scripts, the settlement tokens are bypassed, calls can get through, and settlement calls will not be audited; therefore, you will not be notified that the calls are not going through the billing service.
To configure the terminating gateway, complete the following tasks:
•
Configure the Service Provider
•
Configure the Inbound VoIP Dial Peer
•
Configure the outbound POTS Dial Peer
Configuring the Settlement Provider
To configure the settlement provider, enter the following commands:
Note
If you are configuring a TransNexus server, enter the url <url> command; then enter the customer-id and device-id command.
Configuring the Inbound VoIP Dial Peer
To configure the inbound VoIP dial peer, enter the following commands:
Note
The default "Session" application does not support settlement. Calls handled by the default session application are not routed to a settlement server. Settlement tokens are not validated in the default session application.
Command PurposeStep 1
Router#configure terminalEnters the global configuration mode.
Step 2
Router(config)#dial-peer voice number voipEnters the dial-peer configuration mode to configure a VoIP dial peer.
Step 3
Router(config-dial-peer)# application app-nameEnters the application command; then enter the desired TCL application name.
Step 4
Router(config-dial-peer)# incoming called-number stringSpecifies the telephone number of the voice port associated with this dial peer. Characters include wildcards to create the number or pattern.
Step 5
Router(config-dial-peer)#session target settlement [provider-number]Enters settlement as the session target to resolve the terminating gateway address.
Note
The <provider-number> value should match one of the <number> values previously configured in the "Configuring the Settlement Provider" section.
Configuring the Outbound POTS Dial Peer
To configure the outbound POTS dial peer, enter the following commands:
Note
The terminating gateway system clock must synchronize with the settlement server clock. Use the clock or ntp command to set the router clock.
Verifying Settlement Configuration
Use the show running configuration command to verify your configuration. See Example of Settlement Configurations for Originating and Terminating Gateways.
Configuring Settlement with Roaming
To configure settlement with the roaming capability, three configuration tasks must be completed:
•
On the originating gateway (OGW), configure the roaming patterns. See Table 1.
•
On the OGW, turn on the roaming feature for the settlement provider configuration. See Table 2.
•
On the OGW, turn on the roaming feature in the outbound dial peer servicing the numbers matching the roaming patterns. Table 3.
Table 1
Configure the Roaming Patterns on the OGW
Table 2
Turn on the Roaming Feature for the Settlement Provider
Table 3
Turn on the Roaming Feature in the Outbound Dial Peer
See " Example Configuration of Settlement with Roaming," page 26.
Configuring Settlement with Multiple Roots
To configure the Multiple Roots capability, three configuration tasks must be completed:
•
On the OGW, configure a settlement provider that uses one certificate for SSL and one certificate for token signing. See Table 4.
•
On the TGW, configure the root certificate used by the server to sign the settlement token. See Table 5.
•
On the TGW, specify which root certificate to validate the settlement token. See Table 6.
Table 4
Configure a Settlement Server with Multiple Roots on the OGW
Table 5
Configure the Root Certificate for Token Validation on the TGW
Table 6
Define the Token Validation on the TGW
See "Example Configuration of Settlement with Multiple Roots" section.
Configuring Settlement with Suggested Route
The session target command in the dial peer dictates how the gateway resolves the terminating address to complete the call. Besides settlement, the gateway could use the ipv4 or dns options if it knows the exact address of the TGW, or it could use the ras option to consult a gatekeeper.
To force a call to be authorized by a settlement server, configure the following:
Configuration Examples
Figure 2 shows example settlement configurations for both the originating and terminating gateways.
Note
All IP addresses and patterns are examples only.
Figure 2 Example of Settlement Configurations for Originating and Terminating Gateways
See samples of screen output displays for running configurations:
•
Example Configuration of Settlement on the Originating Gateway
•
Example Configuration of Settlement on the Terminating Gateway
•
Example Configuration of Settlement with Roaming
•
Example Configuration of Settlement with Multiple Roots
Example Configuration of Settlement on the Originating Gateway
See the following output by using the running configuration command. Figure 2 is a graphic representation of the configuration.
!version 12.0service timestamps debug uptimeservice timestamps log uptimeno service password-encryptionservice internalservice udp-small-serversservice tcp-small-servers!hostname c3620-px15!ip subnet-zero!settlement 0type ospurl http://1.14.115.100!voice-port 1/0/0alerting audible!voice-port 1/0/1alerting audible!dial-peer voice 1 potsapplication sessiondestination-pattern 5551111port 1/0/0!dial-peer voice 2 voipdestination-pattern 5552222session target settlement:0!interface Ethernet0/0ip address 172.22.65.131 255.255.255.224no ip directed-broadcastip route-cache same-interfacestandby 1 priority 110!interface Serial0/0no ip addressno ip directed-broadcastshutdown!interface Ethernet0/1no ip addressno ip directed-broadcastshutdown!router eigrp 109network 172.22.0.0!router ripnetwork 172.22.0.0!ip default-gateway 172.22.65.129no ip classlessip route 0.0.0.0 0.0.0.0 172.22.65.129!!line con 0transport input noneline aux 0line vty 0 4passwordlogin!endExample Configuration of Settlement on the Terminating Gateway
See the following output by using the running configuration command. See Figure 2 for a graphic representation of the configuration.
!version 12.0service timestamps debug uptimeservice timestamps log uptimeno service password-encryptionservice internalservice udp-small-serversservice tcp-small-servers!hostname 3620-px16!ip subnet-zeroip domain-name cisco.comip name-server 198.92.30.32!settlement 0type ospurl http://1.14.115.100!voice-port 1/0/0alerting audible!voice-port 1/0/1alerting audible!dial-peer voice 1 potsdestination-pattern 5552222port 1/0/0!dial-peer voice 2 voipapplication sessionincoming called-number 5552222session target settlement:0!interface Ethernet0/0ip address 172.22.65.143 255.255.255.224no ip directed-broadcastip route-cache same-interface!interface Serial0/0no ip addressno ip directed-broadcastshutdown!interface Ethernet0/1no ip addressno ip directed-broadcastshutdown!router eigrp 109network 172.22.0.0!router ripnetwork 172.22.0.0!ip default-gateway 172.22.65.129no ip classlessip route 0.0.0.0 0.0.0.0 172.22.65.129!snmp-server community public RO!line con 0exec-timeout 0 0transport input noneline aux 0line vty 0 4passwordlogin!endExample Configuration of Settlement with Roaming
The following output is displayed when you enter the show running config command with roaming configured in the settlement server.
!version 12.0service timestamps debug datetimeservice timestamps log datetimeno service password-encryptionservice internal!hostname as5300-05!enable secret 5 $1$lFSH$khsm3jB1lldHfXNlxqmaN1enable password lab1!!!resource-pool disable!!!ip subnet-zeroip host pkiserver 1.14.115.100ip domain-name fieldlabs.cisco.comip name-server 172.16.1.4!isdn switch-type primary-5essisdn voice-call-failure 0cns event-service servermta receive maximum-recipients 1024!!crypto cisco algorithm descrypto cisco algorithm 40-bit-des!crypto ca identity transnexusenrollment retry count 100enrollment retry period 2enrollment url http://pkiserver:80crypto ca certificate chain transnexuscertificate ca 01713082024C 308201B5 02020171 300D0609 2A864886 F70D0101 04050030 6E310B3009060355 04061302 55533110 300E0603 55040813 0747656F 72676961 3118301606035504 0A130F54 72616E73 4E657875 732C204C 4C433114 30120603 55040B130B446576 656C6F70 6D656E74 311D301B 06035504 03131454 52414E53 4E45585553204245 54412043 41203130 1E170D39 39303332 32313334 3630395A 170D303030333231 31333436 30395A30 6E310B30 09060355 04061302 55533110 300E060355040813 0747656F 72676961 31183016 06035504 0A130F54 72616E73 4E657875732C204C 4C433114 30120603 55040B13 0B446576 656C6F70 6D656E74 311D301B06035504 03131454 52414E53 4E455855 53204245 54412043 41203130 819F300D06092A86 4886F70D 01010105 0003818D 00308189 02818100 B1B8ACFC D78F0C950258D164 5B6BD8A4 6F5668BD 50E7524B 2339B670 DC306537 3E1E9381 DE2619B44698CD82 739CB251 91AF90A5 52736137 658DF200 FAFEFE6B 7FC7161D 89617E5E4584D67F F018EDAB 2858DDF9 5272F108 AB791A70 580F994B 4CA54F08 38C32DF5B44077E8 79830F95 96F1DA69 4CAE16F2 2879E07B 164F5F6D 020301




