Method: SetWaitTimeForConnection


Function:

 

Set a timeout for the connection of the call.

     

Parameters:

 

    waitTime: The time in seconds to wait.

     

Description:

 

Limits the time available for a successful connection. If connection does not occur successfully within the specified time, the timeout event is raised. Default timeout for connection is 30 s.

     

Dependencies:

 

There must be a current line open.

     

Events Raised:

 

WaitConnectionTimeout

 

This event occurs if the time specified expires during connection.

     

Sample Code In Visual Basic:

Sub cmdDial()

 VoiceAngel1.SetWaitTimeForConnection 30

 VoiceAngel1.Dial "88888888"

End sub