Fix invalid closing of queues from sender, improve cleaning of pid files

This commit is contained in:
osaajani 2020-03-04 03:28:34 +01:00
parent 6f8c7d62b9
commit ca9397b62d
5 changed files with 14 additions and 17 deletions

View file

@ -53,7 +53,7 @@ namespace controllers\internals;
$phone = $internal_phone->get($id_phone);
if (!$phone)
{
return false;
exit(1);
}
new \daemons\Phone($phone);

View file

@ -328,7 +328,7 @@ namespace controllers\internals;
'id_user' => $scheduled['id_user'],
'id_scheduled' => $scheduled['id'],
'id_phone' => $phone_to_use['id'],
'destination' => $number['number'],
'destination' => $contact['number'],
'flash' => $scheduled['flash'],
];