浏览代码

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 $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
      * @param string $name