index.js
async handleCallActions() {
const tokenResponse = await this.generateTokenForChannel(this.agoraChannel);
this.initializeAgoraSDK(tokenResponse.data.appID);
this.joinRoomWithToken(tokenResponse.data.token, this.agoraChannel);
this.incomingCall = false;
this.callPlaced = true;
},
rejectIncomingCall() {
// A notification can be sent to the caller to inform them of the declined call
this.incomingCall = false;
},
One issue I am facing is that when a call is rejected, the caller does not receive any alert.