* #38606: client now handles only Conferences
Every call is considered has a Conference, holding one or several SipCall.
This simplify extraction and storage of calls in history. It also provide a unique interface
to handle calls instead of two (which were SipCall and Conference).
diff --git a/src/org/sflphone/history/HistoryCall.java b/src/org/sflphone/history/HistoryCall.java
index af029bb..05d3591 100644
--- a/src/org/sflphone/history/HistoryCall.java
+++ b/src/org/sflphone/history/HistoryCall.java
@@ -81,19 +81,6 @@
@DatabaseField
long callID;
- public HistoryCall(HashMap<String, String> entry) {
- call_end = Long.parseLong(entry.get(ServiceConstants.history.TIMESTAMP_STOP_KEY));
- call_start = Long.parseLong(entry.get(ServiceConstants.history.TIMESTAMP_START_KEY));
- accountID = entry.get(ServiceConstants.history.ACCOUNT_ID_KEY);
-
- direction = entry.get(ServiceConstants.history.DIRECTION_KEY);
- missed = entry.get(ServiceConstants.history.MISSED_KEY).contentEquals("true");
-
- recordPath = entry.get(ServiceConstants.history.RECORDING_PATH_KEY);
- number = entry.get(ServiceConstants.history.PEER_NUMBER_KEY);
- timeFormatted = HistoryTimeModel.timeToHistoryConst(call_start);
- }
-
/* Needed by ORMLite */
public HistoryCall() {
}
@@ -188,7 +175,7 @@
}
public boolean isIncoming() {
- return direction.contentEquals(ServiceConstants.history.INCOMING_STRING);
+ return true;
}
public boolean isMissed() {