In my app I have to detect if the outgoing call is accepted or disconnected or ringing. I went through these posts:
- Is there any way to know if an outgoing call is accepted?
 - Cannot detect when outgoing call is answered in Android
 - how to get the state for outgoing calls
 - How to identify the ringing state of outgoing call in android
 - Out going call answered state in Android 2.2+
 
But none of these posts give a proper answer. I used the Android internal class com.android.internal.telephony.CallManager, but I'm only getting whether the phone state is idle.