mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-17 05:35:03 +00:00
Adds additional check for if DisablePhonebookAutoDownload is true to CustomActivate method. Fixes issue where layout was not being set properly on sharing end.
This commit is contained in:
@@ -552,9 +552,13 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
{
|
{
|
||||||
CrestronConsole.AddNewConsoleCommand(SetCommDebug, "SetCodecCommDebug", "0 for Off, 1 for on",
|
CrestronConsole.AddNewConsoleCommand(SetCommDebug, "SetCodecCommDebug", "0 for Off, 1 for on",
|
||||||
ConsoleAccessLevelEnum.AccessOperator);
|
ConsoleAccessLevelEnum.AccessOperator);
|
||||||
|
if (!_props.DisablePhonebookAutoDownload)
|
||||||
|
{
|
||||||
CrestronConsole.AddNewConsoleCommand(s => SendText("zCommand Phonebook List Offset: 0 Limit: 512"),
|
CrestronConsole.AddNewConsoleCommand(s => SendText("zCommand Phonebook List Offset: 0 Limit: 512"),
|
||||||
"GetZoomRoomContacts", "Triggers a refresh of the codec phonebook",
|
"GetZoomRoomContacts", "Triggers a refresh of the codec phonebook",
|
||||||
ConsoleAccessLevelEnum.AccessOperator);
|
ConsoleAccessLevelEnum.AccessOperator);
|
||||||
|
}
|
||||||
|
|
||||||
CrestronConsole.AddNewConsoleCommand(s => GetBookings(), "GetZoomRoomBookings",
|
CrestronConsole.AddNewConsoleCommand(s => GetBookings(), "GetZoomRoomBookings",
|
||||||
"Triggers a refresh of the booking data for today", ConsoleAccessLevelEnum.AccessOperator);
|
"Triggers a refresh of the booking data for today", ConsoleAccessLevelEnum.AccessOperator);
|
||||||
|
|
||||||
@@ -816,7 +820,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
SendText("zFeedback Register Op: ex Path: /Event/InfoResult/info/callout_country_list");
|
SendText("zFeedback Register Op: ex Path: /Event/InfoResult/info/callout_country_list");
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
|
|
||||||
if (_props.DisablePhonebookAutoDownload)
|
if (!_props.DisablePhonebookAutoDownload)
|
||||||
{
|
{
|
||||||
SendText("zFeedback Register Op: ex Path: /Event/Phonebook/AddedContact");
|
SendText("zFeedback Register Op: ex Path: /Event/Phonebook/AddedContact");
|
||||||
}
|
}
|
||||||
@@ -1063,6 +1067,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
{
|
{
|
||||||
JsonConvert.PopulateObject(responseObj.ToString(), Status.Call.Sharing);
|
JsonConvert.PopulateObject(responseObj.ToString(), Status.Call.Sharing);
|
||||||
|
|
||||||
|
SetLayout();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "incomingcallindication":
|
case "incomingcallindication":
|
||||||
@@ -1222,8 +1228,6 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
{
|
{
|
||||||
JsonConvert.PopulateObject(responseObj.ToString(), Status.Sharing);
|
JsonConvert.PopulateObject(responseObj.ToString(), Status.Sharing);
|
||||||
|
|
||||||
SetLayout();
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "numberofscreens":
|
case "numberofscreens":
|
||||||
@@ -1758,6 +1762,10 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
|
|
||||||
SelfviewPipPositionSet(SelfviewPipPositions[nextPipPositionIndex]);
|
SelfviewPipPositionSet(SelfviewPipPositions[nextPipPositionIndex]);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SelfviewPipPositionSet(SelfviewPipPositions[0]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<CodecCommandWithLabel> SelfviewPipPositions = new List<CodecCommandWithLabel>()
|
public List<CodecCommandWithLabel> SelfviewPipPositions = new List<CodecCommandWithLabel>()
|
||||||
|
|||||||
Reference in New Issue
Block a user