Skip to content

Commit d653888

Browse files
remove did destination activated field
1 parent 355a2b4 commit d653888

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

build/MagnusBilling-current.tar.gz

-1.59 KB
Binary file not shown.

resources/asterisk/DidAgi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function checkIfIsDidCall(&$agi, &$MAGNUS, &$CalcAgi)
6565
$this->modelDid = $agi->query($sql)->fetch(PDO::FETCH_OBJ);
6666
if (isset($this->modelDid->id)) {
6767
$agi->verbose("Is a DID call", 5);
68-
$sql = "SELECT * FROM pkg_did_destination WHERE activated = 1 AND id_did = '" . $this->modelDid->id . "' ORDER BY priority";
68+
$sql = "SELECT * FROM pkg_did_destination WHERE id_did = '" . $this->modelDid->id . "' ORDER BY priority";
6969
$this->modelDestination = $agi->query($sql)->fetchAll(PDO::FETCH_ASSOC);
7070

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

0 commit comments

Comments
 (0)