HTTP Client API for Tcl IVR

The HTTP Client API for Tcl IVR feature provides support for Tcl IVR applications to retrieve data from or post data to an HTTP server. Also introduced with this feature is a new command-line interface structure for configuring voice applications and support for additional Tcl 8.3.4 commands.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/​go/​cfn. An account on Cisco.com is not required.

Prerequisites for HTTP Client API for Tcl IVR and New Cisco Voice Application Command-Line Interface Structure

  • Familiarity with Tcl IVR, VoiceXML, and Cisco IOS commands.
  • Required hardware:
    • Cisco 3600 series
    • Cisco AS5300
    • Cisco AS5350
    • Cisco AS5400
    • Cisco AS5800
    • Cisco AS58550
  • Required software:
    • Cisco IOS Release 12.3(14)T or later
    • Tcl 8.3.4
    • VoiceXML 2.0

Restrictions for HTTP Client API for Tcl IVR and New Cisco Voice Application Command-Line Interface Structure

If Cisco IOS configuration commands are used within the Tcl scripts, submode commands must be entered as quoted arguments on the same line as the configuration command.

Information About HTTP Client API for Tcl IVR and New Cisco Voice Application Command-Line Interface Structure

HTTP API for Tcl IVR 2.0

An HTTP application programming interface to the IOS HTTP client is provided. The HTTP package is accessed using the package require httpios 1.0 Tcl command. Additional commands are provided to configure HTTP. See the Tcl IVR API Version 2.0 Programming Guide for more information.

Newly-Supported Tcl 8.3.4 Commands

The following Tcl 8.3.4 commands are now supported:

  • cd
  • close
  • eof
  • fconfigure
  • file
  • fileevent
  • flush
  • glob
  • namespace
  • open
  • package
  • pwd
  • read
  • seek

The following command is modified:

  • puts

See the Tcl IVR API Version 2.0 Programming Guide for more information.

New Cisco Voice Application Command-Line Interface Structure

The call application command structure for configuring Tcl and IVR applications has been restructured to provide easier configuration of application parameters than the earlier CLI structure.

For more information, see the “Cisco IOS Release 12.3(14)T and Later Voice Application Command-Line Interface Structure Changes” section in Configuring Basic Functionality for Tcl IVR and VoiceXML Applications in the Cisco IOS Tcl IVR and VoiceXML Application Guide.

Feature Information for HTTP Client API for Tcl IVR

The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/​go/​cfn. An account on Cisco.com is not required.

Table 1 Feature Information for HTTP Client API for Tcl IVR

Feature Name

Releases

Feature Information

HTTP Client API for Tcl IVR

12.3(14)T

This feature was introduced.