diff --git a/back/models/sip.js b/back/models/sip.js
new file mode 100644
index 000000000..62ae1eff9
--- /dev/null
+++ b/back/models/sip.js
@@ -0,0 +1,11 @@
+module.exports = Self => {
+ // Validations
+
+ Self.validatesUniquenessOf('extension', {
+ message: `The extension must be unique`
+ });
+
+ Self.validatesPresenceOf('secret', {
+ message: `The secret can't be blank`
+ });
+};
diff --git a/loopback/locale/es.json b/loopback/locale/es.json
index d4f3733b0..a67926e6f 100644
--- a/loopback/locale/es.json
+++ b/loopback/locale/es.json
@@ -73,5 +73,7 @@
"Street cannot be empty": "Dirección no puede estar en blanco",
"City cannot be empty": "Cuidad no puede estar en blanco",
"Code cannot be blank": "Código no puede estar en blanco",
- "You cannot remove this department": "No puedes eliminar este departamento"
+ "You cannot remove this department": "No puedes eliminar este departamento",
+ "The extension must be unique": "La extensión debe ser unica",
+ "The secret can't be blank": "La contraseña no puede estar en blanco"
}
\ No newline at end of file
diff --git a/modules/worker/front/pbx/index.html b/modules/worker/front/pbx/index.html
index 3fa8c9bd8..931cf70fc 100644
--- a/modules/worker/front/pbx/index.html
+++ b/modules/worker/front/pbx/index.html
@@ -1,11 +1,8 @@
-