Browse Source

FD3-508 ajustes action add_config para cablemodem workflow

Guillermo Espinoza 7 years ago
parent
commit
81ffc9c2be

File diff suppressed because it is too large
+ 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