Get the active call (ringing, connecting or connected), if any
const call = WPP.call.getActiveCall();if (call) { console.log(call.id, call.peerJid, call.getState());} Copy
const call = WPP.call.getActiveCall();if (call) { console.log(call.id, call.peerJid, call.getState());}
Get the active call (ringing, connecting or connected), if any