diff --git a/submodules/devices/devices.js b/submodules/devices/devices.js index fc52678..35a1c3f 100644 --- a/submodules/devices/devices.js +++ b/submodules/devices/devices.js @@ -617,7 +617,6 @@ 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, ['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'); @@ -653,14 +652,6 @@ define(function(require) { }, formData.media); } - if (hasSIP) { - formData.sip = $.extend(true, { - expire_seconds: 360, - invite_format: 'contact', - method: 'password' - }, formData.sip); - } - if ('call_restriction' in formData) { _.each(formData.call_restriction, function(restriction, key) { if (key in originalData.extra.restrictions && originalData.extra.restrictions[key].disabled) {