function paloSantoRG(&$pDB, $domain) { parent::__construct($pDB); if (!preg_match("/^(([[:alnum:]-]+)\\.)+([[:alnum:]])+\$/", $domain)) { $this->errMsg = "Invalid domain format"; } else { $this->domain = $domain; $result = $this->getCodeByDomain($domain); if ($result == false) { $this->errMsg .= _tr("Can't create a new instace of paloQueuePBX") . $this->errMsg; } else { $this->code = $result["code"]; } } }
function paloSantoMoH(&$pDB, $domain) { parent::__construct($pDB); $this->_mohdir = '/var/lib/asterisk/moh/'; // TODO: leer de musiconhold.conf if (!preg_match("/^(([[:alnum:]-]+)\\.)+([[:alnum:]])+\$/", $domain)) { // $this->errMsg="Invalid domain format"; } else { $this->domain = $domain; $result = $this->getCodeByDomain($domain); if ($result == false) { $this->errMsg .= _tr("Can't create a new instace of paloQueuePBX") . $this->errMsg; } else { $this->code = $result["code"]; } } }
function paloDidPBX(&$pDB) { // Se recibe como parámetro una referencia a una conexión paloDB parent::__construct($pDB); }
function paloGeneralPBX(&$pDB) { parent::__construct($pDB); }
function paloSantoRecordings(&$pDB) { parent::__construct($pDB); }
function paloVoicemail(&$pDB) { parent::__construct($pDB); }
function paloSantoTrunk(&$pDB) { parent::__construct($pDB); }