diff --git a/apps/voip/3cx/restapi/mode/system.pm b/apps/voip/3cx/restapi/mode/system.pm index 62c0ccfc6..c0356bae6 100644 --- a/apps/voip/3cx/restapi/mode/system.pm +++ b/apps/voip/3cx/restapi/mode/system.pm @@ -121,7 +121,10 @@ sub manage_selection { $self->{service} = {}; foreach my $item (keys %$single) { # As of 3CX 15.5 / 16, we have Firewall, Phones, Trunks - $self->{service}->{$item} = { display => $item, health => $single->{$item} }; + $self->{service}->{$item} = { + display => $item, + health => $single->{$item} ? 'true' : 'false', + }; } $self->{service}->{HasNotRunningServices} = { display => 'HasNotRunningServices',