Notification as a voice call app

How to implement notification like a voice call in LINE, Messenger, WhatsApp or any voice call app? when anyone calls to you, it will show screen accept or reject even though the app runs on background mode. Currently, I implement notification using FCM it works but I want notification like incoming call then user accepts it will open some link with capacitor InAppBrowser. (the notification should have a sound for ringing about a minute and show screen) because of normal notification, it won’t work when the user leaves the phone.

Have you found any solution