Commit bb6a03b4 authored by Kulya's avatar Kulya 😊

Check error with config AMI

parent 693bf773
...@@ -263,10 +263,11 @@ class AloVoiceConnector ...@@ -263,10 +263,11 @@ class AloVoiceConnector
//$this->eLog($_SERVER,"------ AloVoiceConnector: INSTALL SERVER ----------"); //$this->eLog($_SERVER,"------ AloVoiceConnector: INSTALL SERVER ----------");
$resultInstall = BxRest::installApp(); $resultInstall = BxRest::installApp();
$alvAction = new AloVoiceActions($this->configs,true); if(!empty($this->configs)){
$isAmi = $alvAction->checkAmi(); $alvAction = new AloVoiceActions($this->configs,true);
$this->isAmi = (!empty($isAmi)) ? true : false; $isAmi = $alvAction->checkAmi();
$this->isAmi = (!empty($isAmi)) ? true : false;
}
$this->goConfigurePage(); $this->goConfigurePage();
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment