It was possible in older versions of Android. I'm pretty sure that it is no longer possible.
You can use PhoneEvents with a foreground service and listen to the PhoneStateChanged event. This way you will know when the phone is dialing or in an active call.