From 78fc958b2e5be78f91294f8fca754c70fa7300f3 Mon Sep 17 00:00:00 2001 From: Nick Genovese Date: Tue, 12 Dec 2023 10:11:40 -0500 Subject: [PATCH] fix: modified the initial configuration poll to only poll for what we use --- src/CiscoRoomOsCodec.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/CiscoRoomOsCodec.cs b/src/CiscoRoomOsCodec.cs index 51c0aa8..19cfd4d 100644 --- a/src/CiscoRoomOsCodec.cs +++ b/src/CiscoRoomOsCodec.cs @@ -3347,7 +3347,8 @@ private void ParseStatusObject(JToken statusToken) if (!_syncState.InitialConfigurationMessageWasReceived) { Debug.Console(0, this, "Sending Configuration"); - SendText("xConfiguration"); + SendText("xConfiguration conference"); + SendText("xConfiguration h323"); } if (_syncState.FeedbackWasRegistered) return; Debug.Console(0, this, "Sending Feedback"); @@ -3449,6 +3450,7 @@ private void ParseConfigurationObject(JToken configurationToken) } if (_syncState.InitialConfigurationMessageWasReceived) return; Debug.Console(2, this, "InitialConfig Received"); + _syncState.InitialConfigurationMessageReceived(); if (!_syncState.InitialSoftwareVersionMessageWasReceived) { @@ -3551,8 +3553,7 @@ private void ParsePhonebookNumberOfContacts( } catch (Exception ex) { - - Debug.Console(0, this, "Exception in ParsePhonebookNumberOfContacts : {0}", ex.Message); + Debug.Console(0, this, "Exception in ParsePhonebookNumberOfContacts : {0}", ex); if (ex.InnerException == null) return; Debug.Console(0, this, "Inner Exception in ParsePhonebookNumberOfContacts : {0}", ex.InnerException.Message); } @@ -4416,8 +4417,7 @@ var jPreset in if (ex is JsonReaderException) { - Debug.Console(1, this, "Received malformed response from codec."); - + Debug.Console(1, this, "Received malformed response from codec:{0}", response); //Communication.Disconnect(); //Initialize();