Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

tttime

The tttime instruction sets the time-out values for touch-tone input.

Synopsis

tttime(type.firstdig,type.interdig)

Description

The tttime instruction allows a script to set the touch-tone timeout values. Firstdig specifies the maximum seconds that the system should wait to receive the first touch-tone digit after executing a getinput instruction. Interdig specifies the maximum seconds to wait between two consecutive touch tone inputs. The default values are 10 seconds to wait for the first touch-tone digit and 10 seconds to wait between consecutive touch tones. There are no limits to timeout times.

The tttime instruction is related to the getinput instruction. If the firstdig time is exceeded, r.0 is set to 0 and the getinput instruction terminates. If the interdig time is exceeded, r.0 is set to the number of digits that are received, transferred to the script buffer, the getinput instruction terminates.

Example

In the following example, before asking a caller for a response, the tttime instruction sets the system to wait no more than 4 seconds for the initial caller response and up to 2 seconds between digits before automatically returning from the data gathering instruction.

GET_IO_MODE:

tttime(4,2)
talk("enter your id now")
................................ ............. ........

© 2006 Avaya Inc. All Rights Reserved.