Преглед на файлове

FD3-508 ajustes action add_config para cablemodem workflow

Guillermo Espinoza преди 7 години
родител
ревизия
81ffc9c2be
променени са 2 файла, в които са добавени 24 реда и са изтрити 1 реда
  1. 1 1
      app/DoctrineMigrations/Version20180124153518.yml
  2. 23 0
      src/CablemodemBundle/Entity/Profile.php

Файловите разлики са ограничени, защото са твърде много
+ 1 - 1
app/DoctrineMigrations/Version20180124153518.yml


+ 23 - 0
src/CablemodemBundle/Entity/Profile.php

@@ -219,6 +219,29 @@ class Profile  implements TenancyIdTraitInterface
         return $this;
     }
 
+    /**
+     * @return string
+     */
+    public function getSipDevProxyServer()
+    {
+        return $this->getData('sipDevProxyServer') ? $this->getData('sipDevProxyServer') : $this->getDefault('sipDevProxyServer');
+    }
+
+    /**
+     * @return string
+     */
+    public function getServerVoIP_IP()
+    {
+        return $this->getData('ServerVoIP_IP') ? $this->getData('ServerVoIP_IP') : $this->getDefault('ServerVoIP_IP');
+    }
+
+    /**
+     * @return string
+     */
+    public function getSipDevRegistrar()
+    {
+        return $this->getData('sipDevRegistrar') ? $this->getData('sipDevRegistrar') : $this->getDefault('sipDevRegistrar');
+    }
 
     /**
      * @param string $name