updates to iCallHistory and changed CallHIstoryEntry to extend CodecActiveCallItem

This commit is contained in:
Neil Dorin
2017-09-21 11:53:13 -06:00
parent ff5fab4984
commit 75ff8ea88a
2 changed files with 9 additions and 7 deletions

View File

@@ -20,7 +20,9 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
enum eCommandType { SessionStart, SessionEnd, Command, GetStatus, GetConfiguration };
public class CiscoCodec : VideoCodecBase, IHasCallHistory
{
{
public event EventHandler<EventArgs> RecentCallsListHasChanged;
public IBasicCommunication Communication { get; private set; }
public CommunicationGather PortGather { get; private set; }
public CommunicationGather JsonGather { get; private set; }
@@ -668,7 +670,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
foreach (CallHistory.CallHistoryEntry entry in RecentCalls)
{
Debug.Console(1, this, "\nName: {0}\nNumber{1}\nStartTime{2}\nType{3}\n", entry.DisplayName, entry.CallBackNumber, entry.StartTime.ToString(), entry.OccurenceType);
Debug.Console(1, this, "\nName: {0}\nNumber: {1}\nStartTime: {2}\nType: {3}\n", entry.Name, entry.Number, entry.StartTime.ToString(), entry.OccurenceType);
}
}
}