diff --git a/phone-to-app-js/client_js.html b/phone-to-app-js/client_js.html index 07a912e..b44c20b 100644 --- a/phone-to-app-js/client_js.html +++ b/phone-to-app-js/client_js.html @@ -50,7 +50,7 @@

Inbound PSTN phone call

}); client.on("callHangup", (_callId, callQuality, reason) => { - console.log(`Call ${_callId} has hung up, callQuality:${callQuality}, reason:${reason.name}`); + console.log(`Call ${_callId} has hung up, callQuality:${callQuality}, reason:${reason}`); callId = null; notification.textContent = "Lines are open for calls..."; answerButton.style.display = "none"; @@ -104,4 +104,4 @@

Inbound PSTN phone call

- \ No newline at end of file +