call application voice
Note |
Effective with Cisco IOS Release 12.3(14)T, the callapplicationvoice command is replaced by the commands shown in the table below. See these commands for more information. |
To define the name of a voice application and specify the location of the Tool Command Language (Tcl) or VoiceXML document to load for this application, use the callapplicationvoice command in global configuration mode. To remove the defined application and all configured parameters associated with it, use theno form of this command.
call application voice application-name {location | av-pair}
no call application voice application-name
Syntax Description
application-name |
Character string that defines the name of the voice application. |
location |
Location of the Tcl script or VoiceXML document in URL format. Valid storage locations are TFTP, FTP, HTTP, and flash memory. |
av-pair |
Text string that defines attribute-value (AV) pairs specified by the Tcl script and understood by the RADIUS server. Multiple AV pairs can be enclosed in quotes; up to 512 entries are supported. |
Command Default
None
Command Modes
Global configuration (config)
Command History
Release |
Modification |
---|---|
12.0(4)XH |
This command was introduced. |
12.0(7)T |
This command was integrated into Cisco IOS Release 12.0(7)T. The location argument was added. |
12.1(3)T |
The av-pair argument was added for AV pairs. |
12.1(5)T |
This command was implemented on the Cisco AS5800. |
12.1(5)XM2 |
This command was implemented on the Cisco AS5350 and Cisco AS5400. |
12.2(2)XB |
This command was modified to support VoiceXML applications and HTTP server locations on the Cisco AS5300, Cisco AS5350, and Cisco AS5400. |
12.2(2)XB1 |
This command was implemented on the Cisco AS5850. |
12.2(4)T |
This command was integrated into Cisco IOS Release 12.2(4)T and implemented on the Cisco 1750. |
12.2(4)XM |
This command was implemented on the Cisco 1751. Support for other Cisco platforms is not included in this release. |
12.2(8)T |
This command was integrated into Cisco IOS Release 12.2(8)T and implemented on the Cisco 2600 series, Cisco 3600 series, Cisco 3725, Cisco 3745, and Cisco 7200 series. |
12.2(11)T |
This command was implemented for VoiceXML applications. This command is supported on the Cisco AS5300, Cisco AS5350, Cisco AS5400, Cisco AS5800, and Cisco AS5850 in this release. |
12.2(15)T |
MCID AV-pairs were added for the av-pair argument; they are mcid-dtmf, mcid-release-timer, and mcid-retry-limit. |
12.3(8)T |
Support was added to allow up to 512 multiple AV pairs (enclosed in quotes) to be used in a single command. |
12.3(14)T |
This command was replaced. The callapplicationvoice command was replaced by the commands shown in the table below. |
12.4(24)T |
This command was modified. The automatic conversion to the new CLI is replaced with an explicit error message. |
Usage Guidelines
The callapplicationvoice command was replaced by the commands shown in the table below.
Command |
Command Mode |
Purpose |
---|---|---|
application |
Global configuration |
Enters application configuration mode to configure voice applications and services. |
service |
Application configuration |
Enters service configuration mode to configure a standalone application, such as a debit card script. |
package |
Application configuration |
Use to load and configure a package. A package is a linkable set of C or Tcl functions that provide functionality invoked by applications or other packages. |
param |
Application parameter configuration |
Use to configure parameters for services or packages. |
Use this command when configuring interactive voice response (IVR) or one of the IVR-related features (such as Debit Card) to define the name of an application and to identify the location of the Tcl script or VoiceXML document associated with the application.
A voice application must be configured by using this command before the application can be configured with the application command in a dial peer.
Tcl scripts and VoiceXML documents can be stored in any of the following locations: on TFTP, FTP, or HTTP servers, in the flash memory of the gateway, or on the removable disks of the Cisco 3600 series. The audio files that they use can be stored in any of these locations, and on Real-Time Streaming Protocol (RTSP) servers.
HTTP is the recommended protocol for loading applications and audio prompts because of its efficient design for loading information over the web. For example, it has methods for determining how long a file can be cached and whether a cached file is still valid.
Include the file type extension in the filename (.vxml or .tcl) when specifying the document used by the application. Tcl files require the extension .tcl, and VoiceXML documents require .vxml.
Note |
The nocallapplicationvoice command causes all related call application commands--for instance,callapplicationvoicelanguage and callapplicationvoiceset-location --to be deleted. The nocallapplicationvoiceapplication-name command removes the entire application and all parameters, if configured. |
Examples
Effective with Cisco IOS Release 12.3(14)T, the following warning message is displayed to direct users to the replacement command options:
Router(config)# call application voice
Warning: This command has been deprecated. Please use the following:
application
service
package
param
The following example defines the fax-relay application and the TFTP server location of the associated Tcl script:
call application voice fax-relay tftp://keyer/faxrelay.tcl
The following example defines the application "prepaid" and the TFTP server location of the associated Tcl script:
call application voice prepaid tftp://keyer/debitcard.tcl
The following is an example of AV pair configuration:
set avsend(h323-ivr-out,)) "payphone:true"
set avsend(323-ivr-out,1) "creditTime:3400"
The AV pair (after the array is defined, as in the prior example) must be sent to the server using the authentication, authorization, and accounting (AAA) authenticate or AAA authorize verbs as follows:
aaa authenticate $account $password $avsend
The script would use this AV pair whenever it is needed to convey information to the RADIUS server that cannot be represented by the standard vendor-specific attributes (VSAs).
The following example shows how to define the VoiceXML application "vapptest1" and the flash memory location of the associated VoiceXML document "demo0.vxml":
call application voice vapptest1 flash:demo0.vxml
The following example specifies the MCID application name, the TFTP server location of the associated Tcl script, and the AV-pairs associated with the MCID application:
call application voice mcid tftp://keyer/app_mcid.2.0.0.40.tcl
call application voice mcid mcid-dtmf #99
call application voice mcid-retry-limit 3
call application voice mcid mcid-release-timer 90