Closed sebastianertz closed 11 years ago
The class 'amifunc' could use the specific AMI commands. Currently is made much on the Action-Command 'Command'.
Example:
function del ($family, $key) { $sQuery = "Action: command\r\n" . "command: database del ". $family . " " . $key . "\r\n\r\n"; return($this->Query($sQuery)); }
The right command is DBdel with parameters Family and Key.
And so on.
implemented in https://github.com/beroNet/Open-PBX/commit/43cb3d433ce641903d03af91b6ba6704e89a3a3e
The class 'amifunc' could use the specific AMI commands. Currently is made much on the Action-Command 'Command'.
Example:
The right command is DBdel with parameters Family and Key.
And so on.