At the time of writing of this article Rock does not provide a way for plugin developers to create an "uninstall" script or any automated way of removing a plugin after you have installed it. So, you must follow the steps below in order to undo everything the Intulse plugin did after you installed it.
As always, when making major changes to an important system please perform and verify a complete backup of your RockRMS files and database.
WARNING: Running direct database commands is inherently dangerous. If you don't copy the commands in their entirety you risk irreversibly corrupting your database. Intulse is not responsible for any loss or corruption of data that occurs. We suggest doing the following during off-hours:
DECLARE @intulseEntityTypeId INT = (SELECT TOP 1 Id FROM EntityType WHERE Name = 'com.intulse.PbxComponent.IntulsePbxComponent');
DELETE FROM Attribute WHERE EntityTypeId = @intulseEntityTypeId;
DELETE FROM EntityType WHERE Id = @intulseEntityTypeId;
DECLARE @intulseNumberTypeValueId INT = (SELECT TOP 1 Id FROM DefinedValue WHERE Guid = 'E9650AF2-67AD-48A5-8DBD-7B71CF8BA333');
DELETE FROM PhoneNumber WHERE NumberTypeValueId = @intulseNumberTypeValueId;
DELETE FROM DefinedValue WHERE Id = @intulseNumberTypeValueId;
DECLARE @intulseBlockTypeId INT = (SELECT TOP 1 Id FROM BlockType WHERE Guid = '2C8DA231-A521-43BF-A2DB-562D38B44F45');
DELETE FROM Block WHERE BlockTypeId = @intulseBlockTypeId;
DELETE FROM BlockType WHERE Id = @intulseBlockTypeId;
DELETE FROM PluginMigration WHERE PluginAssemblyName = 'com.intulse.IntulseInteractionComponent';
DROP TABLE _com_intulse_PbxComponent_CommunicationNotes;
DROP TABLE _com_intulse_PbxComponent_SmsMessages;
DROP TABLE _com_intulse_PbxComponent_ConnectedExtensions;
DROP TABLE _com_intulse_PbxComponent_CallDetailRecords;
If you encounter any errors while following this process please contact us.