X-Git-Url: https://git.cweiske.de/auerswald-callnotifier.git/blobdiff_plain/4bc203883b0b35be4892768679340effd1348a2f..1b28b0289cdcb6adcbd496be07fda3a5ec705bfd:/src/callnotifier/CallMonitor.php diff --git a/src/callnotifier/CallMonitor.php b/src/callnotifier/CallMonitor.php index f55bfa7..4923967 100644 --- a/src/callnotifier/CallMonitor.php +++ b/src/callnotifier/CallMonitor.php @@ -101,6 +101,9 @@ class CallMonitor case EDSS1_Message::RELEASE: case EDSS1_Message::RELEASE_COMPLETE: $call->end = time(); + //we need to load details here because they might not have been + //loaded yet, e.g. for calls to MSNs that have no phones. + $this->loadCallDetails($call); $this->log->log('finishedCall', array('call' => $call)); unset($this->currentCalls[$callId]); break;