Q. We are using CUCM with JTAPI and I'm trying use method reject from CallControlConnection, but pre-conditions are:
((this.getCall()).getProvider()).getState() == Provider.IN_SERVICE
this.getCallControlState() == CallControlConnection.OFFEREDAnd I'm not able to get CallControlConnection.OFFERED and even not with CallCtlConnOfferedEv, where stet of CallControlConnection is alerting...
Could It be by the feature of IP Phone, which auto accept offers call ? Or maybe bad implementation, where events are diverge ?
A. IP phones auto accept the call, so you will see alerting state immediately. You can try disconnect() in alerting state to see if you get the call treatment you are looking for.
Virtual devices (CTIPorts and Route Points) allow application use the API in offering state.
Final Answer:
We can't use disconnect(), because we are using Linegroup and a call shouldn't be transferred to another directory number...
I'll try use CTI and his offering state.
Comments
0 comments
Please sign in to leave a comment.