cc/td/doc/product/software/ios121/121cgcr/multi_c
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring Interactive Voice Response

Configuring Interactive Voice Response

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.

IVR Overview

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:

The caller can interrupt the message by entering digits for the account number, which triggers the prompt to tell the caller to enter the PIN. If authentication fails the third time, the script plays the audio file auth_fail_final.au, and hangs up.
Table 11 lists the prompt audio files associated with the clid_col_npw_3 script.


Table 11: clid_col_npw_3 Script Prompt Audio Files
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.

Table 12 lists additional audio files associated with the clid_col_npw_3 script.


Table 12: Additional clid_col_npw_3 Script Audio Files
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."

Table 13 lists the audio files associated with the clid_col_npw_npw script.


Table 13: clid_col_npw_npw Script Audio Files
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.

IVR Prerequisite Tasks

Before you configure your Cisco gateway to support IVR, you need to perform the following prerequisite tasks:

Configuring IVR

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

Router# configure terminal

Enters global configuration mode.

Step2

Router(config)# call application voice 
application-name location

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

Router(config)# call application voice 
application-name language language

(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

Router(config)# call application voice 
application-name pin-length number

(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

Router(config)# call application voice 
application-name retry-count number

(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

Router(config)# call application voice 
application-name uid-length number

(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

Router(config)# call application voice 
application-name set-location language category 
location

(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

Router(config)# aaa new-model

Enables AAA security and accounting services.

Step9

Router(config)# gw-accounting h323

Enables gateway-specific H.323 accounting.

Step10

Router(config)# aaa authentication login h323 radius

Defines a method list called h323 where RADIUS is defined as the only method of login authentication.

Step11

Router(config)# aaa accounting connection h323 
start-stop radius

Defines a method list called h323 where RADIUS is used to perform connection accounting, providing start-stop records.

Step12

Router(config)# radius-server host ip-address 
auth-port number acct-port number

Identifies the RADIUS server and the ports that will be used for authentication and accounting services.

Step13

Router(config)# radius-server key key

Specifies the password used between the gateway and the RADIUS server.

Step14

Router(config)# dial-peer voice number pots

Enter the dial-peer configuration mode to configure the incoming POTS dial peer.


NoteThe number value of the dial-peer voice pots command is a tag that uniquely identifies the dial peer.

Step15

Router(config-dial-peer)# application 
application-name

Associates the IVR application with the incoming POTS dial peer.

Step16

Router(config-dial-peer)# destination-pattern 
[+]string t

Defines the telephone number associated with this dial peer.

Step17

Router(config-dial-peer)# port port number

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

.
Table14: TCL Scripts and Parameters
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
min = 1, max = 20, default - 10

call application voice pin-len
min = 0, max - 10, default = 4

call application voice retry-count
min = 1, max = 5, default = 3

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
min = 1, max = 5, default = 3

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
min = 1, max = 5, default = 3

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
min = 1, max = 5, default = 3

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
min = 1, max = 5, default = 3

Verifying IVR Configuration

You can verify IVR configuration by performing the following tasks:

IVR Configuration Example

The following example shows the configuration for the IVR feature; this output was creating by using the show running configuration command. The following IVR configuration uses the clid_col_dnis_3.tcl TCL IVR script.

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

hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Jul 26 23:39:47 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.