From f17a17c314792a46edf90c9c318528a29e43fcb8 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 24 May 2019 15:52:08 +0200 Subject: [PATCH] fix 3cx --- apps/voip/3cx/restapi/mode/system.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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',