we develop java web service using JTAPI to ring for external number and know if the call is answered or not. Did you know if External phone (PSTN) status like (answered,ringing,..) is available to collect in JTAPI as i searched i found under javax.telephony.callcontrol.events i can know the events by doing some conditions like this
if (( mycall.getConnections().getState() == Connection.CONNECTED))&&mycall.getConnections().getState() == Connection.CONNECTED)
And it works with me fine but only with IP phones to know if the call is answered or not, but with PSTN its not working simply the condition come true when the phone in ringing status is there any work around for this. to know if the call is answered or not.JTAPI
Terminal connections are not created for external address/terminals like PSTN phones. As you mentioned the Connection or callControlConnection states should be used. In basic call scenario, even for external PSTN phones you should see connection events. You can use Jtrace sample app to track the events you are receiving. Sometimes PSTN calls take a few seconds to reach the destination and then answered. You may want to use the events received rather than checking the events periodically.
Some times the call may not be "answered" but media could be established. In such scenarios, CiscoRTP* events could help.
Welcome!To my Webex Developer resource overview
Like it?Please scroll to the end and click the 'Helpful' button!
Contribute?Something I should add? Let me know in the comments!
QUICK ACCESS TO THIS PAGE: cs.co/webexdevinfo  ...
The browser-based Finesse Agent Desktop 12.5, that ships with the Cisco Unified CCE / CCX contact center solutions, has made massive strides in the performance of its underlying infrastructure, which improves its throughput and reliability ...
Fun and Easy Virtual Hackathon: 60 Teams Win Prizes, ALL Participants Receive Certificate Signed by Execs
Important Note: This contest is governed by the Terms and Conditions in the document attached at the end of this page. Please ...
Hi Experts, I Need one help on Cisco social miner , hope you will help us on below requirements . Many Thanks!!!!Actually, we have third party application trying to integrate in UCCE through task routing API concept .Just we need to get the agen...