Skip to content

Commit

Permalink
fix: modified the initial configuration poll to only poll for what we…
Browse files Browse the repository at this point in the history
… use
  • Loading branch information
ngenovese11 committed Dec 12, 2023
1 parent 505b92c commit 78fc958
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/CiscoRoomOsCodec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -3449,6 +3450,7 @@ private void ParseConfigurationObject(JToken configurationToken)
}
if (_syncState.InitialConfigurationMessageWasReceived) return;
Debug.Console(2, this, "InitialConfig Received");

_syncState.InitialConfigurationMessageReceived();
if (!_syncState.InitialSoftwareVersionMessageWasReceived)
{
Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 78fc958

Please sign in to comment.