Skip to main content
Version: v4 (Stable)

GetUserCallStatus

GetUserCallStatus(UserId AS Integer, Status As Integer) AS Integer

Gets in <Status> the current call status of the user identified by <UserId> (numerical ID or user name).

The call status returned in <Status> can be:

  • -1 = no current call
  • 0 = wait for available port
  • 1 = call in progress
  • 2 = suspended call (wait to retry)
  • 3 = successful call (wait for call acknowledgment)
  • 4 = call failed (not reached)
  • 5 = call acknowledged
  • 6 = call failed (not acknowledged)

Returns an error code (0 if no error, 8 if invalid user ID).