From 1287fc75411c34ec7092fb69a300af12d043c6be Mon Sep 17 00:00:00 2001 From: Jean-Roch Maitre Date: Mon, 14 Aug 2017 14:01:19 -0700 Subject: [PATCH] UI-2868: adding sip device to list of types using SIP creds --- submodules/devices/devices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/devices/devices.js b/submodules/devices/devices.js index 28ea0d5..7a5fdc6 100644 --- a/submodules/devices/devices.js +++ b/submodules/devices/devices.js @@ -604,7 +604,7 @@ define(function(require) { devicesMergeData: function(originalData, template, audioCodecs, videoCodecs) { var self = this, hasCodecs = $.inArray(originalData.device_type, ['sip_device', 'landline', 'fax', 'ata', 'softphone', 'smartphone', 'mobile', 'sip_uri']) > -1, - hasSIP = $.inArray(originalData.device_type, ['fax', 'ata', 'softphone', 'smartphone', 'mobile']) > -1, + hasSIP = $.inArray(originalData.device_type, ['sip_device', 'fax', 'ata', 'softphone', 'smartphone', 'mobile']) > -1, hasCallForward = $.inArray(originalData.device_type, ['landline', 'cellphone', 'smartphone']) > -1, hasRTP = $.inArray(originalData.device_type, ['sip_device', 'mobile', 'softphone']) > -1, formData = monster.ui.getFormData('form_device');