Browse Source

fix(sip): Log an info when direct dial-in has no search hit

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/15356/head
Joas Schilling 5 months ago
parent
commit
7e581efbd9
No known key found for this signature in database GPG Key ID: F72FA5B49FFA96B0
  1. 1
      lib/Controller/RoomController.php

1
lib/Controller/RoomController.php

@ -2104,6 +2104,7 @@ class RoomController extends AEnvironmentAwareOCSController {
try {
$entity = $this->phoneService->getAccountToCallForPhoneNumber($phoneNumber);
} catch (DoesNotExistException) {
$this->logger->info('No account found for direct dial-in with number: ' . $phoneNumber);
return new DataResponse(null, Http::STATUS_NOT_FOUND);
}

Loading…
Cancel
Save