Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Using the VoiceXML session.connection.call_tag variable

The Avaya VoiceXML feature provides the platform-specific variable called session.connection.call_tag. This variable is set at the time a call begins and contains information that identifies the Avaya IR system, the channel, and the timestamp of the call. You can use this session variable to uniquely identify a call within a VoiceXML application.

The session.connection.call_tag variable contains information formatted in the following way:

machine_name channel_number timestamp

where machine_name is the name of the Avaya IR system, channel_number is the channel for the call, and timestamp is the date and time that the call started.

You can also use the session.connection.call_tag variable to pass information about a call to speech recognition systems, such as SpeechWorks and Nuance systems.

To configure the system to pass the session.connection.call_tag variable to speech recognition systems:

  1. Log in as root.
  2. At the command prompt, enter cd /vs/data/vxml
  3. Enter vi default.cfg

    The system displays the default.cfg file in the vi editor.

  4. Using the vi editing commands, locate the line containing the client.rec.call_tag property and verify the value is set to 1.

    If the file does not contain the property, you will need to add it, using the following syntax:

    client.rec.call_tag VXIInteger 1

  5. Save and close the default.cfg file.
  6. Enter stop_vs to stop the voice system.
  7. The system displays messages indicating that the voice system is stopping. Depending on call traffic, the system may wait for calls to end before stopping the voice system.
  8. Enter start_vs to restart the voice system.

© 2006 Avaya Inc. All Rights Reserved.