Dialer SDK > Testing > Interview simulator > GetCallStatus
 
GetCallStatus
Syntax
GetCallStatus(LastCallStatus As Long, StatusChangeTimeout As Long) As Long
Type
Method
Parameters
LastCallStatus
The last status, supplied so the method will block until status changes.
StatusChangeTimeout
Maximum amount of time, in seconds, to wait for the call status to change. Set to 0 to return current status.
Return value
Returns value from ISessionEngine.GetCurrentCallStatus:
-1 if call in progress
0 if call is connected
>0 if call has terminated, returns call outcome from dialer
Description
Calls ISessionEngine.GetCurrentCallStatus() which calls IDialingProvider.GetCallStatus().
See also
GetSpecificContact