|
|
This chapter shows you how to configure Interactive Voice Response (IVR). This chapter contains the following sections:
For a complete description of the commands used in this chapter, refer to the Cisco IOS Multiservice Applications Command Reference publication. To locate documentation of other commands that appear in this chapter, use the command reference master index or search online.
Interactive Voice Response (IVR) consists of simple voice prompting and digit collection to gather caller information for authenticating the user and identifying the destination. IVR applications can be assigned to specific ports or invoked based on DNIS. An IP PSTN gateway can have several different IVR applications to accommodate many different gateway services, and you can customize the IVR applications to present different interfaces to the different callers.
IVR uses Tool Control Language (TCL) scripts to gather information and to process accounting and billing. For example, a TCL IVR script plays when a caller receives a voice-prompt instruction to enter a specific type of information, such as a PIN. After playing the voice prompt, the IVR application collects the predetermined number of touch tones (digit collection) and forwards the collected digits to a server for storage and retrieval. Call records can be kept and a variety of accounting functions performed.
![]() |
Note All IVR scripts are modified and secured with a proprietary Cisco locking mechanism. Only Cisco internal technical support personnel can open and modify these scripts. |
Cisco provides the following IVR scripts:
| Audio Filename | Action |
|---|---|
flash:enter_account.au | Asks the caller to enter an account number the first time. |
flash:auth_fail_retry.au | Played after two failures, asks the caller to reenter the account number. |
flash:enter_pin.au | Asks the caller to enter a PIN. |
flash:enter_destination.au | Asks the caller to enter a destination phone number. |
flash:auth_fail_final.au | Informs the caller that the authorization failed three times. |
| Audio Filename | Action |
|---|---|
auth_fail_retry.au | Informs the caller that authorization failed. Prompts the caller to reenter the account number followed by the pound sign (#). |
auth_fail_final.au | Informs the caller, "I'm sorry, your account number cannot be verified. Please hang up and try again." |
| Audio Filename | Action |
|---|---|
flash:enter_account.au | Asks the caller to enter the account number the first time. |
flash:auth_fail_retry.au | Played after first two failures, asks the caller to reenter the account number. |
flash:enter_destination.au | Asks the caller to enter the destination phone number. |
flash:auth_fail_final.au | Informs the caller that the authorization failed three times. |
![]() |
Note To see the contents of the TCL IVR script, use the show call application voice command. |
Before you configure your Cisco gateway to support IVR, you need to perform the following prerequisite tasks:
To configure IVR functionality using either classic or TCL scripts, perform the following tasks after you have completed the prerequisite steps:
To configure IVR, use the following commands beginning in privileged EXEC mode:
| Command | Purpose | |||
|---|---|---|---|---|
Step 1 | | Enters global configuration mode. | ||
Step2 | | Defines the name to be used for your application and indicates the location (URL) of the appropriate IVR script to be used with this application. | ||
Step3 | | (Optional depending on the TCL script you select) Defines the language of the audio file for the designated application and passes that information to the application. | ||
Step4 | | (Optional depending on the TCL script you select) Defines the number of characters in the PIN for the designated application and passes that information to the application. | ||
Step5 | | (Optional depending on the TCL script you select) Defines the number of times a caller is permitted to reenter the PIN for the designated application and passes that information to the application. | ||
Step6 | | (Optional depending on the TCL script you select) Defines the number of characters in the UID for the designated application and passes that information to the application. | ||
Step7 | | (Optional depending on the TCL script you select) Defines the location, language, and category of the audio files for the designated application and passes that information to the application. | ||
Step8 | | Enables AAA security and accounting services. | ||
Step9 | | Enables gateway-specific H.323 accounting. | ||
Step10 | | Defines a method list called h323 where RADIUS is defined as the only method of login authentication. | ||
Step11 | | Defines a method list called h323 where RADIUS is used to perform connection accounting, providing start-stop records. | ||
Step12 | | Identifies the RADIUS server and the ports that will be used for authentication and accounting services. | ||
Step13 | | Specifies the password used between the gateway and the RADIUS server. | ||
Step14 | | Enter the dial-peer configuration mode to configure the incoming POTS dial peer.
| ||
Step15 | | Associates the IVR application with the incoming POTS dial peer. | ||
Step16 |
| Defines the telephone number associated with this dial peer. | ||
Step17 | | Defines the voice port associated with this dial peer. |
Table 14 lists TCL script names and the corresponding parameters that are required for each TCL scripts
.
| TCL Script Name | Description---Summary | Commands to Configure |
|---|---|---|
clid_4digits_npw_3_cli.tcl | This script authenticates the account number and PIN respectively using ANI and null. The length of digits allowed for the account number and password are configurable through the CLI. If the authentication fails, it allows the caller to retry. The retry number is also configured through the CLI. | call application voice uid-len call application voice pin-len call application voice retry-count |
clid_authen_col_npw_cli.tcl | This script authenticates the account number and PIN respectively using ANI and null. If the authentication fails, it allows the caller to retry. The retry number is configured through the CLI. The account number and PIN are collected separately. | call application voice retry-count |
clid_authen_collect_cli.tcl | This script authenticates the account number and PIN using ANI and DNIS. If the authentication fails, it allows the caller to retry. The retry number is configured through the CLI. The account number and PIN are collected separately. | call application voice retry-count
|
clid_col_npw_3_cli.tcl | This script authenticates using ANI and null for account and PIN respectively. If the authentication fails, it allows the caller to retry. The retry number is configured through the CLI. | call application voice retry-count
|
clid_col_npw_npw_cli.tcl | This script authenticates using ANI and null for account and pin respectively. If authentication fails, it allows the caller to retry. The retry number is configured through the CLI. The account number and PIN are collected together. | call application voice retry-count
|
You can verify IVR configuration by performing the following tasks:
Router # show running-config Building configuration... Current configuration: ! ! Last configuration change at 17:57:03 pst Wed Feb 24 1999 ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption service udp-small-servers service tcp-small-servers ! hostname sblab115 ! boot system tftp username/c3620-is56i-mz 172.29.248.12 boot system tftp username/c3620-is-mz 172.29.248.12 no logging buffered aaa new-model aaa authentication login no_rad local aaa authentication login h323 group radius local ! clock timezone pst -8 clock summer-time pdt recurring ip subnet-zero ip domain-name cisco.com ip name-server 172.29.248.16 ip name-server 171.69.187.13 ! call application voice c4 tftp://santa/username/clid_4digits_npw_3.tcl call application voice c5 tftp://santa/username/clid_col_dnis_3.tcl ! voice-port 1/0/0 ! voice-port 1/0/1 ! voice-port 1/1/0 shutdown pre-dial-delay 0 ! voice-port 1/1/1 shutdown pre-dial-delay 0 ! dial-peer voice 997 voip destination-pattern 997 session target loopback:rtp ! dial-peer voice 1 pots application clid ! dial-peer voice 2 pots ! dial-peer voice 100 pots application c5 answer-address 1234 destination-pattern 100 port 1/0/0 ! voice-port 1/1/0 shutdown pre-dial-delay 0 ! voice-port 1/1/1 shutdown pre-dial-delay 0 ! dial-peer voice 997 voip destination-pattern 997 session target loopback:rtp ! dial-peer voice 1 pots application clid ! dial-peer voice 2 pots ! dial-peer voice 100 pots application c5 answer-address 1234 destination-pattern 100 port 1/0/0 ! dial-peer voice 110 pots application clid destination-pattern 110 direct-inward-dial port 1/1/0 ! dial-peer voice 111 pots destination-pattern 111 port 1/1/1 ! dial-peer voice 114 voip destination-pattern 114... session target dns:sblab114 ! dial-peer voice 991 pots destination-pattern 991 port 1/0/0 session target loopback:uncompressed ! dial-peer voice 992 pots destination-pattern 992 port 1/0/1 session target loopback:uncompressed
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jul 26 23:39:47 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.