Skip to content

Commit f7ebeb3

Browse files
authored
Merge pull request #39 from Vonage-Community/conshus-patch-1
Update client_js.html
2 parents 76fa345 + f7ab615 commit f7ebeb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phone-to-app-js/client_js.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h1>Inbound PSTN phone call</h1>
5050
});
5151

5252
client.on("callHangup", (_callId, callQuality, reason) => {
53-
console.log(`Call ${_callId} has hung up, callQuality:${callQuality}, reason:${reason.name}`);
53+
console.log(`Call ${_callId} has hung up, callQuality:${callQuality}, reason:${reason}`);
5454
callId = null;
5555
notification.textContent = "Lines are open for calls...";
5656
answerButton.style.display = "none";
@@ -104,4 +104,4 @@ <h1>Inbound PSTN phone call</h1>
104104
</script>
105105
</body>
106106

107-
</html>
107+
</html>

0 commit comments

Comments
 (0)