Closed EndikaRamos closed 1 year ago
Hello again, I have identified the correct solution, and it involves delegating the event handling to the SIP.Inviter object.
sipInviter.delegate = {
onBye: (session) => {
console.log('I am here');
},
};
I apologize for any inconvenience
Endika
Hello,
I am experiencing an issue related to the onBye event not being triggered in outgoing calls. I have implemented the following code snippet to capture the "bye" event:
In the Chrome console, I can see that the "Session.onByeRequest" is being called when a BYE request is received:
However, the console.log statement inside the onBye function is not being executed.
Could you please assist me in resolving this issue? Any insights or suggestions would be greatly appreciated.
Thank you for your attention to this matter.
Best regards, Endika