code: public void processReferSendNotifyBeforeResponse(long timeout, int statusCode,
        String reasonPhrase, String notifySubscriptionState, String notifyTermReason,
        String notifyBody, int notifyTimeLeft) {
      setErrorMessage("");
  
      PhoneB2 b = new PhoneB2(timeout + 1000, statusCode, reasonPhrase, notifySubscriptionState,
          notifyTermReason, notifyBody, notifyTimeLeft);
      b.start();
    }
docs: This method starts a thread that waits for up to 'timeout' milliseconds to receive a REFER and
  if received, it sends NOTIFY with the given notify parms and 500ms later, it sends a response
  with 'statusCode' and 'reasonPhrase' (if not null). This method waits 500 ms before returning
  to allow the thread to get started and begin waiting for an incoming REFER. This method adds
  1000ms to the given timeout to account for these delays.
  
  @param timeout - number of milliseconds to wait for the request
  @param statusCode - use in the response to the request
  @param reasonPhrase - if not null, use in the response
  @param notifySubscriptionState
  @param notifyTermReason
  @param notifyBody
  @param notifyTimeLeft