10-14-2014 11:43 AM
Hi,
I am having difficulties in getting call answered event.
Call Answered means when called party answers phone
I am monitoring a CUCM extension.
Initially I used CiscoRTPOutputStartedEv event to signal answered event.
It worked well with extensions which are in local CUCM.
When i called to local extensions, CiscoRTPOutputStartedEv got caught when call answered by called party.
When I called to PSTN using CUCM extension, CiscoRTPOutputStartedEv event got captured when call was in ringing state.
When called party answerd call, CiscoRTPOutputStartedEv not captured by JTAPI.
I used events like CallCtlTermConnTalkingEv,CallCtlConnEstablishedEv but unable to get any solution.
Am I using right approach to capture Call Answered event?
Is there another way to capture call answered event?
Please guide me about same
Solved! Go to Solution.
10-15-2014 10:38 PM
Hi Ashish,
Use CallCtlConnEstablishedEv event and check if both terminal connection are in "TALKIN" states. App will receive 2 CallCtlConnEstablishedEv event.
Regards,
Umesh
10-15-2014 10:38 PM
Hi Ashish,
Use CallCtlConnEstablishedEv event and check if both terminal connection are in "TALKIN" states. App will receive 2 CallCtlConnEstablishedEv event.
Regards,
Umesh
04-12-2018 06:09 AM
Hello Umesh,
Can you please elaborate how to apply this as i am new with Jtapi and i am facing the same issue with (PSTN) phones i apply this condition to check if the state is answered or not but it works only with Ip phones
if (( mycall.getConnections()[1].getState() == Connection.CONNECTED)
&&(mycall.getConnections()[0].getState() == Connection.CONNECTED)
can you tell me how to apply your solution.
Regards,
Mohamed
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide