Table Of Contents
Cisco H.235 Accounting and Security Enhancements for Cisco Gateways
Supported Standards, MIBs, and RFCs
Configuring the IVR Inbound Dial Peer
Enabling Security on the Gateway
Cisco H.235 Accounting and Security Enhancements for Cisco Gateways
Feature History
Release Modification12.0(7)T
This feature was introduced.
12.1(5)XM2
Support was added for the Cisco AS5350 and Cisco AS5400 universal gateways.
This document describes the Cisco H.235 Accounting and Security Gateway Enhancements for Cisco IOS Release 12.0(7)T. It includes the following sections:
•
Supported Standards, MIBs, and RFCs
Feature Overview
The Cisco H.323 gateway now supports the use of CryptoH323Tokens for authentication. The CryptoH323Token is defined in H.225 Version 2 and is used in a "password-with-hashing" security scheme as described in section 10.3.3 of the H.235 specification.
A cryptoToken can be included in any RAS message and is used to authenticate the sender of the message. You can use a separate database for user ID and password verification.
With this release, Cisco H.323 gateways support three levels of authentication:
•
Endpoint—The RAS channel used for gateway-to-gatekeeper signalling is not a secure channel. To ensure secure communication, H.235 allows gateways to include an authentication key in their RAS messages. This key is used by the gatekeeper to authenticate the source of the messages. At the endpoint level, validation is performed on all messages from the gateway. The cryptoTokens are validated using the password configured for the gateway.
•
Per-Call—When the gateway receives a call over the telephony leg, it prompts the user for an account number and personal identification number (PIN). These two numbers are included in certain RAS messages sent from the endpoint and are used to authenticate the originator of the call.
•
All—This option is a combination of the other two. With this option, the validation of cryptoTokens in ARQ messages is based on an the account number and PIN of the user making a call and the validation of cryptoTokens sent in all the other RAS messages is based on the password configured for the gateway.
You can configure the level of authentication for the gateway using the Cisco IOS software command line interface. For more information, see the "Command Reference" section.
CryptoTokens for registration requests (RRQ), unregistration request (URQ), disengage request (DRQ) and the terminating side of admission request (ARQ) messages contain information about the gateway that generated the token, including the gateway ID (which is the H.323 ID configured on the gateway) and the gateway password. CryptoTokens for the originating side ARQ messages contain information about the user that is placing the call, including the user ID and personal identification number (PIN).
Benefits
Gateway Security and Accounting
This feature provides sender validation by using an authentication key in the gateway's RAS messages. This key is used by the gatekeeper to authenticate the source of the messages and ensure secure communication.
Related Documents
•
Configuring H.323 VoIP Gateway for Cisco Access Platforms
Supported Platforms
•
Cisco 2600
•
Cisco 3600
•
Cisco MC3810
•
Cisco AS5300
•
Cisco AS5350
•
Cisco AS5400
•
Cisco 7200
Supported Standards, MIBs, and RFCs
Standards
This feature adds support for the following ITU-T standards: H.323 Annex E and H.323 Annex G.
MIBs
No new or modified MIBs are supported by this feature.
To obtain lists of MIBs supported by platform and Cisco IOS release and to download MIB modules, go to the Cisco MIB web site on Cisco Connection Online(CCO) at
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.RFCs
No new or modified RFCs are supported by this feature.
Prerequisites
The Cisco AS5350 and Cisco AS5400 do not support the Mica Modem Card, Microcom Modem Card, or VoIP Feature Card. Voice and modem functions are provided by the Universal Port Dial Feature card running SPE firmware. See the Cisco AS5350 Universal Gateway Card Installation Guide and the Cisco AS5400 Universal Gateway Card Installation Guide for more information. All references to the Cisco AS5300 in this document apply to the Cisco AS5350 and Cisco AS5400 platforms with the following exceptions:
•
Use the Universal Port Dial Feature Card instead of the Mica or Microcom modem cards.
•
Use SPE firmware instead of portware version 6.7.7.
•
Run Cisco IOS Release 12.1(5)XM2 software for VoIP functionality.
Other Prerequisites
Enabling security on the Cisco gateway will result in the RAS messages containing a secure key. In order to secure the RAS messages and calls, it is essential that the gatekeeper provides authentication based on the secure key. The gatekeeper must support H.235 security using the same security scheme as the Cisco gateway.
Configuration Tasks
See the following sections for configuration tasks for the Cisco H.235 Accounting and Security features:
•
Downloading IVR Scripts (required)
•
Configuring the IVR Inbound Dial Peer (required)
•
Enabling Security on the Gateway (required)
•
Verifying Security (optional)
Downloading IVR Scripts
Download the appropriate Tool Command Language (TCL) IVR scripts from the CCO Software Support Center. The IVR feature was first made available to customers in Cisco IOS Release 11.(3)NA2, with the Service Provider Voice over IP feature set. Scripts using Tool Command Language (TCL) were introduced with Cisco IOS Release 12.0(4)XH. These TCL IVR scripts are the default scripts that must be used with the IVR application in Cisco IOS Release 12.0(4)XH and future releases.
The TCL IVR scripts are the default scripts for all Cisco voice features using IVR. All IVR scripts that were developed for releases before Cisco IOS Release 12.0(5)T have been modified and secured with a proprietary Cisco locking mechanism using TCL. Only Cisco internal technical support personnel can open and modify these scripts. When the TCL script is activated, the system verifies the Cisco signature level. If the script is inconsistent with the authorized signature level, the script does not load and the customer's console screen displays an error message.
You can download TCL scripts from the CCO Software Center at the following URL:
http://www.cisco.com/pcgi-bin/ibld/all.pl?i=support&c=3
![]()
Note
The audio files used in the IVR scripts are typically loaded using URL-like scripts or from Flash memory.
Configuring the IVR Inbound Dial Peer
To call an IVR script and enable security, enter the following commands:
![]()
Note
This list assumes that you have already configured your router and your Cisco H.323 gateway.
![]()
Note
When configuring a voice port, use the following configuration designations:
For the Cisco AS5300 access server, port designation is port-number.
For the Cisco AS5350 and Cisco AS5400 gateways, port designation is slot/port.
For the Cisco AS5800 access server, port designation is shelf/slot/port.
![]()
Note
The following configuration is for a Cisco AS5300 access server.
Enabling Security on the Gateway
Verifying Security
The command show running configuration displays the security password and level when it is enabled. By default, security is disabled.
Router# show running configsecurity password 151E0A0E level allConfiguration Examples
This section provides the following configuration example:
Security Enabled
The following example illustrates the resulting configuration in which an IVR script is called and security is enabled on the gateway.
hostname Router1!enable password xyz!!!resource-pool disable!!!!!clock timezone EST -5clock summer-time EDT recurringip subnet-zerono ip domain-lookup!isdn switch-type primary-5essisdn voice-call-failure 0call application voice xyz tftp://10.1.1.1/samp/xyz.tclcall application voice load xysmta receive maximum-recipients 1024!xgcp snmp sgcp!controller T1 0framing esfclock source line primarylinecode b8zspri-group timeslots 1-24!controller T1 1framing esfclock source line secondary 1linecode b8zspri-group timeslots 1-24!controller T1 2!controller T1 3!!voice-port 0:D!voice-port 1:D!!dial-peer voice 4001 potsapplication xyzdestination-pattern 4003port 0:Dprefix 4001!dial-peer voice 513 voipdestination-pattern 1513200....session target ras!dial-peer voice 9002 voipdestination-pattern 9002session target ras!dial-peer voice 4191024 potsdestination-pattern 4192001024port 0:Dprefix 4001!dial-peer voice 1513 voipdestination-pattern 1513.......session target ras!dial-peer voice 1001 potsdestination-pattern 14192001001port 0:D!gatewaysecurity password 151E0A0E level all!interface Ethernet0ip address 10.99.99.7 255.255.255.0no ip directed-broadcastshutdown!interface Serial0:23no ip addressno ip directed-broadcastisdn switch-type primary-5essisdn protocol-emulate userisdn incoming-voice modemfair-queue 64 256 0no cdp enable!interface Serial1:23no ip addressno ip directed-broadcastisdn switch-type primary-5essisdn protocol-emulate userisdn incoming-voice modemisdn guard-timer 3000isdn T203 10000fair-queue 64 256 0no cdp enable!interface FastEthernet0ip address 10.1.1.121 255.255.255.192no ip directed-broadcastduplex autospeed autoh323-gateway voip interfaceh323-gateway voip id Router3 ipaddr 10.1.1.58 1719h323-gateway voip h323-id Router1h323-gateway voip tech-prefix 1#!no ip http serverip classlessip route 0.0.0.0 0.0.0.0 10.1.1.65!!line con 0exec-timeout 0 0length 0transport input noneline aux 0line vty 0 4password xyzlogin!ntp clock-period 17179974ntp server 10.1.1.124endCommand Reference
This section documents new commands. All other commands used with this feature are documented in the Cisco IOS Release 12.1 command reference publications.
security password level
To control whether H.323 security is enabled on the gateway, use the security password level command. To disable, use the no form of this command.
security password level { endpoint | per-call | all }
no security password level { endpoint | per-call | all }
Syntax Description
Defaults
Both endpoint and per-call authentication is provided.
Command Modes
Global configuration mode
Command History
Release Modification12.0(7)T
This command was introduced.
12.1(5)XM2
The command was introduced for the Cisco AS5350 and Cisco AS5400.
Usage Guidelines
This command is designed to add security on inbound IP call legs where the call might originate from a gateway you don't know and trust, but routed by a gatekeeper you do know and trust.
It can also be used in the case when you want to do subscriber authentication on the gatekeeper instead of from the gateway.
Examples
The following example shows that each call is authenticated by the gatekeeper:
security password 151E0A0E level per-callDebug Commands
There are no new or modified debug commands for this feature.
Glossary
AAA—Authentication, Authorization, and Accounting. AAA is a suite of network security services that provide the primary framework through which access control can be set up on your Cisco router or access server.
ANI—Answer number indication. The calling number (number of calling party).
ARQ—Admission request.
CAS—Channel associated signaling.
dial peer—An addressable call endpoint. In Voice over IP (VoIP), there are two types of dial peers: POTS and VoIP.
endpoint—An H.323 terminal or gateway. An endpoint can call and be called. It generates or terminates the information stream, or both.
gatekeeper—A gatekeeper maintains a registry of devices in the multimedia network. The devices register with the gatekeeper at startup and request admission to a call from the gatekeeper.
The gatekeeper is an H.323 entity on the LAN that provides address translation and control access to the LAN for H.323 terminals and gateways. The gatekeeper may provide other services to the H.323 terminals and gateways, such as bandwidth management and locating gateways.
H.323 RAS—Registration, admission, and status. The RAS signaling function performs registration, admissions, bandwidth changes, status, and disengage procedures between the VoIP gateway and the gatekeeper.
LRQ—Location request.
node—An H.323 entity that uses RAS to communicate with the gatekeeper. For example, an endpoint such as a terminal, proxy, or gateway.
POTS—Plain old telephone service. Basic telephone service supplying standard single-line telephones, telephone lines, and access to the PSTN.
PSTN—Public switched telephone network. PSTN refers to the local telephone company.
QoS—Quality of service, which refers to the measure of service quality provided to the user.
RAS—Registration, admission, and status protocol. This is the protocol that is used between endpoints and the gatekeeper to perform management functions.
RBS—Robbed bit signaling
RRQ—Registration request.
VoIP—Voice over IP. The ability to carry normal telephone-style voice over an IP-based internet with POTS-like functionality, reliability, and voice quality. VoIP is a blanket term that generally refers to Cisco's standards-based (H.323, and so on.) approach to IP voice traffic.