codec phonebook logic working and printing to console. Fixed bug wtih call status and tested with UI

This commit is contained in:
Neil Dorin
2017-09-27 17:44:31 -06:00
parent 214a740345
commit 13d15388f0
4 changed files with 75 additions and 18 deletions

View File

@@ -310,10 +310,9 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
contact.ContactId = c.ContactId.Value;
contact.Title = c.Title.Value;
// Go find the folder to which this contact belongs and store it
if(!string.IsNullOrEmpty(c.FolderId.Value))
if(c.FolderId != null)
{
//contact.Folder = directory.Folders.FirstOrDefault(f => f.FolderId.Equals(c.FolderId.Value));
contact.FolderId = c.FolderId.Value;
}
foreach (ContactMethod m in c.ContactMethod)