HTTP Client API for Tcl IVR

Last Updated: October 12, 2011

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 feature information and caveats, see 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 document.

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 voice 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.

Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1005R)

Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.

© 2011 Cisco Systems, Inc. All rights reserved.

© 2011 Cisco Systems, Inc. All rights reserved.