CTI32 Class Library

cti.PlayError Method 

This plays a generic system error file. It is intended to tell the user that the system is broken and to call a customer service representative to notify them.

[Visual Basic]
Public Shared Function PlayError( _
   ByVal chdev As Integer, _
   ByVal system_error_file As String, _
   ByVal voice_format As VoiceFormat _
) As TermCode
[C#]
public static TermCode PlayError(
   int chdev,
   string system_error_file,
   VoiceFormat voice_format
);

Parameters

chdev
The channel device handle. (voice resource)
system_error_file
This is a full path to a file which speaks of a system error and a technical support number to call. This file must be a separate file and not part of a VAP file.
voice_format
The voice file format.

Return Value

Terminating Code.

See Also

cti Class | CTI32NetLib Namespace