cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
733
Views
1
Helpful
1
Replies

Distinguishing between ringing and answered call

sarah.Eayoub
Level 1
Level 1

I'm developing an application that monitors the calls using JTAPI , I need to distinguish between ringing and answered calls using ("CallCtlConnEstablishedEv" event).

I'm depending on "CallCtlConnEstablishedEv" event .

I'm getting this event twice once while the call is still ringing and the other time when the call is answered.

Are there any other parameters in Call Object that I can use to distinguish between ringing and answered?

1 Reply 1

pmnkumar
Level 1
Level 1

You should be using CallCtlTermConnRingingEv and CallCtlTermConnTalkingEv to identify ringing and answered states. 

Call object has 2 terminal connections one for the origination side and one for destination. You need to look for terminal connection that is moving from CallCtlTermConnRingingEv  to CallCtlTermConnTalkingEv.