06-26-2014 11:31 PM
Hello.
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.OFFERED
And 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 ?
I don't know if there is the right place to ask, but I must try it.
Thanks for Your reaction
With Regargs Daniel
06-27-2014 09:50 AM
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.
07-01-2014 12:22 AM
Thank You for reaction. 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. Thanks for Your help
12-27-2014 10:51 PM
cool
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