Browse Source

UI-2868: adding sip device to list of types using SIP creds

4.3
Jean-Roch Maitre 8 years ago
parent
commit
1287fc7541
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      submodules/devices/devices.js

+ 1
- 1
submodules/devices/devices.js View File

@ -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');


Loading…
Cancel
Save