The vctime instruction sets the silence timeouts for voice coding.
Synopsis
vctime([type.src] [type.src])
Description
The vctime instruction allows the script writer to set silence timeouts. The first type.src argument contains the value for the initial silence timeout. The second type.src argument contains the value for the inter-word silence timeout. The maximum timeout is 30 seconds.
The values for the type.src arguments and the effect on the timeout are given below:
Value |
Effective timeout value |
X > 0 |
X becomes the timeout value. |
X = 0 |
Timeout is turned off. |
X < 0 |
Timeout is set to default value (5 seconds). |
A comma or place holder with a value of 0 is used when an argument is not inserted. This instruction does not give a return value to indicate success or failure.
Example
In the following example, initial silence timeout and inter-word silence timeout are set to three seconds.
vctime(3,3)