From e329674b03ae361ef4aa4b33b884e0671a60f8ab Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 22 Apr 2020 22:35:00 -0600 Subject: [PATCH] Update conference_exec.php --- app/conferences_active/conference_exec.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/conferences_active/conference_exec.php b/app/conferences_active/conference_exec.php index b102bfb2db..2ec35d775b 100644 --- a/app/conferences_active/conference_exec.php +++ b/app/conferences_active/conference_exec.php @@ -1,9 +1,6 @@ - Portions created by the Initial Developer are Copyright (C) 2008-2019 + Portions created by the Initial Developer are Copyright (C) 2008-2020 the Initial Developer. All Rights Reserved. Contributor(s): @@ -163,8 +160,9 @@ $session_uuid = $xml->conference['uuid']; $x = 0; foreach ($xml->conference->members->member as $row) { - if (is_uuid($row->uuid)) { - $switch_result = event_socket_request($fp, 'api uuid_kill '.$row->uuid); + $uuid = (string)$row->uuid; + if (is_uuid($uuid)) { + $switch_result = event_socket_request($fp, 'api uuid_kill '.$uuid); } if ($x < 1) { usleep(500000); //500000 = 0.5 seconds @@ -174,6 +172,7 @@ } $x++; } + unset($uuid); } //execute the command