isInProgress method

bool isInProgress()

Implementation

bool isInProgress() {
  switch (_status) {
    case C.statusNull:
    case C.statusInviteSent:
    case C.status1xxReceived:
    case C.statusInviteReceived:
    case C.statusWaitingForAnswer:
      return true;
    default:
      return false;
  }
}