Dears,
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()[1].getState() == Connection.CONNECTED))&&mycall.getConnections()[0].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
Thank you
Mohamed