How to get incoming caller name/number using ionic 3/4/

Hello,
How can i get incoming caller name or number using ionic. I tried this code but i am not able to get number.

//phone calls
phonecalls() {
if (window.PhoneCallTrap) {
window.PhoneCallTrap.onCall(function (state) {
alert("CHANGE STATE: " + state);
switch (state) {
case “RINGING”:
console.log(“Phone is ringing”);
break;
case “OFFHOOK”:
console.log(“Phone is off-hook”);
break;

      case "IDLE":
        console.log("Phone is idle");
        break;
    }
  });
}

}

please help if possible :slight_smile: