diff --git a/PepperDashEssentials/AppServer/CotijaSystemController.cs b/PepperDashEssentials/AppServer/CotijaSystemController.cs
index 23af9779..5fd5e958 100644
--- a/PepperDashEssentials/AppServer/CotijaSystemController.cs
+++ b/PepperDashEssentials/AppServer/CotijaSystemController.cs
@@ -138,7 +138,9 @@ namespace PepperDash.Essentials
///
void CrestronEnvironment_ProgramStatusEventHandler(eProgramStatusEventType programEventType)
{
- if (programEventType == eProgramStatusEventType.Stopping && WSClient.Connected)
+ if (programEventType == eProgramStatusEventType.Stopping
+ && WSClient != null
+ && WSClient.Connected)
{
CleanUpWebsocketClient();
}
diff --git a/PepperDashEssentials/AppServer/Messengers/Ddvc01VtcMessenger.cs b/PepperDashEssentials/AppServer/Messengers/Ddvc01VtcMessenger.cs
index 56706b96..a2c15232 100644
--- a/PepperDashEssentials/AppServer/Messengers/Ddvc01VtcMessenger.cs
+++ b/PepperDashEssentials/AppServer/Messengers/Ddvc01VtcMessenger.cs
@@ -203,7 +203,9 @@ namespace PepperDash.Essentials.AppServer.Messengers
currentCallString = EISC.GetString(SCurrentCallNumber),
currentDialString = EISC.GetString(SCurrentDialString),
isInCall = EISC.GetString(SHookState) == "Connected",
-
+ hasDirectory = true,
+ hasRecents = true,
+ hasCameras = true
});
}
diff --git a/PepperDashEssentials/AppServer/RoomBridges/CotijaDdvc01RoomBridge.cs b/PepperDashEssentials/AppServer/RoomBridges/CotijaDdvc01RoomBridge.cs
index d1269f2a..1804fcfa 100644
--- a/PepperDashEssentials/AppServer/RoomBridges/CotijaDdvc01RoomBridge.cs
+++ b/PepperDashEssentials/AppServer/RoomBridges/CotijaDdvc01RoomBridge.cs
@@ -75,7 +75,7 @@ namespace PepperDash.Essentials.Room.Cotija
///
/// 72
///
- public const uint SourceHasChanged = 72;
+ public const uint SourceHasChanged = 71;
///
/// 261 - The start of the range of speed dial visibles
///
@@ -176,6 +176,15 @@ namespace PepperDash.Essentials.Room.Cotija
/// 621
///
public const uint SourceIconJoinStart = 621;
+ ///
+ /// 641
+ ///
+ public const uint SourceKeyJoinStart = 641;
+ ///
+ /// 661
+ ///
+ public const uint SourceTypeJoinStart = 661;
+
}
@@ -507,10 +516,10 @@ namespace PepperDash.Essentials.Room.Cotija
var name = EISC.StringOutput[StringJoin.SourceNameJoinStart + i].StringValue;
if(string.IsNullOrEmpty(name))
break;
- var icon = EISC.StringOutput[651 + i].StringValue;
- var key = EISC.StringOutput[671 + i].StringValue;
- var type = EISC.StringOutput[BoolJoin.SourceShareDisableStartJoin + i].StringValue;
- var disableShare = EISC.BooleanOutput[601 + i].BoolValue;
+ var icon = EISC.StringOutput[StringJoin.SourceIconJoinStart + i].StringValue;
+ var key = EISC.StringOutput[StringJoin.SourceKeyJoinStart + i].StringValue;
+ var type = EISC.StringOutput[StringJoin.SourceTypeJoinStart + i].StringValue;
+ var disableShare = EISC.BooleanOutput[BoolJoin.SourceShareDisableStartJoin + i].BoolValue;
Debug.Console(0, this, "Adding source {0} '{1}'", key, name);
var newSLI = new SourceListItem{