Skip to content

Commit

Permalink
remove did destination activated field
Browse files Browse the repository at this point in the history
  • Loading branch information
callcenter-magnus committed Nov 3, 2023
1 parent 355a2b4 commit d653888
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified build/MagnusBilling-current.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion resources/asterisk/DidAgi.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function checkIfIsDidCall(&$agi, &$MAGNUS, &$CalcAgi)
$this->modelDid = $agi->query($sql)->fetch(PDO::FETCH_OBJ);
if (isset($this->modelDid->id)) {
$agi->verbose("Is a DID call", 5);
$sql = "SELECT * FROM pkg_did_destination WHERE activated = 1 AND id_did = '" . $this->modelDid->id . "' ORDER BY priority";
$sql = "SELECT * FROM pkg_did_destination WHERE id_did = '" . $this->modelDid->id . "' ORDER BY priority";
$this->modelDestination = $agi->query($sql)->fetchAll(PDO::FETCH_ASSOC);

if (isset($this->did_voip_model->record_call) && $this->did_voip_model->record_call == 1) {
Expand Down

0 comments on commit d653888

Please sign in to comment.