Skip to content

Commit

Permalink
Merge pull request #73 from signalwire/joao/ws_incoming_calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsantosbh authored Mar 13, 2024
2 parents 7198869 + 28411fd commit d0ef6d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/full.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ window.__incomingCallNotification = (notification) => {
window.answer = async () => {
const call = await window.__invite.accept({rootElement: document.getElementById('rootElement')})
window.__call = call
roomObj = call
window.__call.on('destroy', () => {
console.warn('Inbound Call got cancelled!!')
})
Expand Down

0 comments on commit d0ef6d9

Please sign in to comment.