소스 검색

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