Fix missed_call use as boolean
This commit is contained in:
parent
c3e5647c03
commit
af9691ff41
|
|
@ -827,7 +827,7 @@
|
|||
if ($row['hangup_cause'] == 'NO_ANSWER') {
|
||||
$status = 'no_answer';
|
||||
}
|
||||
if ($row['missed_call'] == '1') {
|
||||
if ($row['missed_call']) {
|
||||
$status = 'missed';
|
||||
}
|
||||
if (substr($row['destination_number'], 0, 3) == '*99') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue