function prepare_for_generateconfig() { $this->mac = strtolower($this->mac); $this->settings['mac'] = strtolower($this->mac); parent::prepare_for_generateconfig(); $this->protected_files = array('overrides/' . $this->mac . '-phone.cfg', 'logs/' . $this->mac . '-boot.log', 'logs/' . $this->mac . '-app.log', 'SoundPointIPLocalization'); }
function prepare_for_generateconfig() { $this->mac = strtolower($this->mac); $this->settings['mac'] = strtolower($this->mac); parent::prepare_for_generateconfig(); $this->settings['createdFiles'] = "server_213.cfg, " . $this->mac . "_reg.cfg, phone1_213.cfg, sip_213.cfg"; $this->protected_files = array('overrides/' . $this->mac . '-phone.cfg', 'logs/' . $this->mac . '-boot.log', 'logs/' . $this->mac . '-app.log', 'SoundPointIPLocalization'); }
function prepare_for_generateconfig() { $this->mac = strtolower($this->mac); $this->settings['mac'] = strtolower($this->mac); parent::prepare_for_generateconfig(); $this->directory_structure = array("logs", "overrides", "contacts", "licenses"); $this->copy_files = array("SoundPointIPLocalization", "SoundPointIPWelcome.wav"); $this->protected_files = array('overrides/' . $this->mac . '-phone.cfg', 'logs/' . $this->mac . '-boot.log', 'logs/' . $this->mac . '-app.log', 'SoundPointIPLocalization'); }
function prepare_for_generateconfig() { parent::prepare_for_generateconfig(); if (isset($this->settings['loops']['attendant'])) { foreach ($this->settings['loops']['attendant'] as $key => $data) { if ($this->settings['loops']['attendant'][$key]['ext'] == '') { unset($this->settings['loops']['attendant'][$key]); } } } $this->protected_files = array('overrides/' . $this->mac . '-phone.cfg', 'logs/' . $this->mac . '-boot.log', 'logs/' . $this->mac . '-app.log', 'SoundPointIPLocalization', 'overrides/' . $this->mac . '-phone.cfg'); }
function prepare_for_generateconfig() { $this->mac = strtolower($this->mac); parent::prepare_for_generateconfig(); }