Commit bb6a03b4 authored by Kulya's avatar Kulya 😊

Check error with config AMI

parent 693bf773
......@@ -263,10 +263,11 @@ class AloVoiceConnector
//$this->eLog($_SERVER,"------ AloVoiceConnector: INSTALL SERVER ----------");
$resultInstall = BxRest::installApp();
$alvAction = new AloVoiceActions($this->configs,true);
$isAmi = $alvAction->checkAmi();
$this->isAmi = (!empty($isAmi)) ? true : false;
if(!empty($this->configs)){
$alvAction = new AloVoiceActions($this->configs,true);
$isAmi = $alvAction->checkAmi();
$this->isAmi = (!empty($isAmi)) ? true : false;
}
$this->goConfigurePage();
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