diff --git a/i18n/en-US.json b/i18n/en-US.json index 29a51f4..6cd00f1 100644 --- a/i18n/en-US.json +++ b/i18n/en-US.json @@ -868,6 +868,7 @@ "december": "Dec" }, "callEntities": { + "qubicle": "Call Queues", "user": "Users", "device": "Devices", "ring_group": "Groups", diff --git a/submodules/strategy/strategy.js b/submodules/strategy/strategy.js index c1d7d34..df7c751 100644 --- a/submodules/strategy/strategy.js +++ b/submodules/strategy/strategy.js @@ -2715,6 +2715,10 @@ define(function(require) { }; switch (group.groupType) { + case 'qubicle': + group.groupIcon = 'fa fa-headphones'; + + break; case 'directory': group.groupIcon = 'fa fa-book'; @@ -3254,6 +3258,13 @@ define(function(require) { var self = this; monster.parallel( { + callQueues: function(_callback) { + self.strategyGetCallflows(function(callQueuesData) { + _callback(null, callQueuesData); + }, { + 'filter_flow.module': 'qubicle' + }); + }, users: function(_callback) { self.callApi({ resource: 'user.list', @@ -3358,6 +3369,7 @@ define(function(require) { }, function(err, results) { var callEntities = { + qubicle: results.callQueues, device: results.devices, user: $.extend(true, [], results.users), play: results.media,