Configuring the Cisco Router with IVR
A Cisco gateway router provides integrated voice response (IVR) functionality to the Cisco TelePresence Exchange System, thus providing greetings and voice prompts to conference participants.
This section describes the configuration that is required on the Cisco gateway router to provide IVR functionality, and includes the following topics:
•
Downloading Application Files from the FTP Server
•
Configuring the Router to Pass SIP Headers
•
Configuring Application Parameters
•
Configuring VOIP Dial Peers
For supported router models and Cisco IOS software requirements, see the applicable Release Notes for Cisco TelePresence Exchange System, at http://www.cisco.com/go/ctx-relnotes.
For additional details about configuring SIP, see the Cisco IOS SIP Configuration Guide, Release 12.4T, at http://www.cisco.com/en/US/docs/ios/voice/sip/configuration/guide/12_4t/sip_12_4t_book.html.
Downloading Application Files from the FTP Server
To download the Meet-Me application file from the Cisco FTP Server, do the following procedure:
Router # copy ftp:// <user>:<password>@<host>/<path_to_file> flash:
where
User is the login username for the FTP server on which you download the meetme-tcl file.
Password is the login password for the FTP server.
Host is the hostname or IP address of the FTP server.
Path_to_file is the full path to the meetme.tcl file on the home directory of the FTP server.
Flash is the local directory in which the system copies the file.
Configuring the Router to Pass SIP Headers
Procedure
To configure the router to pass the SIP headers to the VXML application, do the following procedure:
|
|
|
Step 1 |
Router(config)# voice service
voip
|
Enters voice service configuration mode for VoIP. |
Step 2 |
Router(config-voi-srv)# sip
|
Enters Session Initiation Protocol (SIP) configuration mode. |
Step 3 |
Router(config-serv-sip)#
header-passing
|
Enables passing of headers in the SIP INVITE, SUBSCRIBE, and NOTIFY messages. |
Step 4 |
Router(config-serv-sip) exit
|
Exits SIP configuration mode. |
The following example configures the IVR service to pass the message headers:
Router(config)# voice service voip
Router(config)# header-passing
Configuring Application Parameters
Procedure
To configure an application on the router, do the following procedure:
|
|
|
Step 1 |
Router(config)# application
|
Enters application configuration mode. |
Step 2 |
Router(config-app)# service
application-name location
|
Configures a specific application on a dial peer. Location is the directory and file name of the Tcl script for the application. |
Step 3 |
Router(config-app)# monitor
|
Enters monitor configuration mode. |
Step 4 |
Router(config-app-monitor)#
interface stats
|
Enables statistics monitoring for the interface. |
Step 5 |
Router(config-app-monitor)#
interface event-log
|
Enables event logging for the interface. |
Step 6 |
Router(config-app-monitor)
stats
|
Enables statistics collection. |
Step 7 |
Router(config-app-monitor)#
event-log
|
Enables event logging for the voice application. |
The following example configures the Meet-Me service:
Router(config)# application
Router(config-app)# service meet_me flash://meetme.tcl
Router(config-app)# monitor
Router(config-app-monitor)# interface stats
Router(config-app-monitor)# interface event-log
Router(config-app-monitor)# stats
Router(config-app-monitor)# event-log
Configuring VOIP Dial Peers
Procedure
To define a dial peer, do the following procedure:
|
|
|
Step 1 |
Router(config)# dial-peer
voice tag voip
|
Defines a VoIP dial peer. Tag is a locally unique number. |
Step 2 |
Router(config-dial-peer)#
application application-name
|
Specifies the application for the dial peer. |
Step 3 |
Router(config-dial-peer)#
session protocol sipv2
|
Specifies a session protocol for use between the peers. |
Step 4 |
Router(config-dial-peer)#
incoming called-number string
|
Configures the expected digit string for incoming called numbers. |
Step 5 |
Router(config-dial-peer)#
dtmf-relay rtp-nte sip-kpml
|
Specifies how to relay dual-tone multi-frequency (DTMF) tones to the peer. The rtp-nte keyword tells the router to forward DTMF tones by using the real-time protocol (RTP) with the Named Telephone Event (NTE) payload type. The sip-kpml keyword tells the router to forward DTMF tones through Keypad Markup Language (KPML) messages. |
Step 6 |
Router(config-dial-peer)#
codec codec
|
Specifies the voice codec rate of speech for a dial peer. |
The following example configures the VoIP dial peer for the Meet-Me service:
Router(config)# dial-peer voice 100 voip
Router(config-dial-peer)# service meet_me
Router(config-dial-peer)# session protocol sipv2
Router(config-dial-peer)# incoming called-number 3666
Router(config-dial-peer)# dtmf-relay rtp-nte
Router(config-dial-peer)# codec g711ulaw