cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1063
Views
8
Helpful
3
Replies

JTAPI CallControllConnection offered

danielsudrich
Level 1
Level 1

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

3 Replies 3

mpotluri
Level 5
Level 5

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.

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

angle1234
Level 1
Level 1

cool

LEAH ROSE TRITES