Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Transfer Call

Hi,

I put something to transfer a call with this code, and it works fine.

CiscoProvider cp = (CiscoProvider)providerObs.getProvider();

Call newCall2 = cp.createCall();

CallControlCall callControlCall2 = (CallControlCall)newCall2;

callControlCall2.setTransferEnable(true);

callControlCall2.consult(tc, user.getExtension()); callControlCall.transfer(callControlCall2);

Now I am trying to use the same aplication with another server, with the same version, but it doesn't work. I don't understand why.

The error is

com.cisco.jtapi.InvalidStateExceptionImpl: Call state not valid to initiate calls.

at com.cisco.jtapi.CallImpl.consult(com/cisco/jtapi/CallImpl)

And i have saw the state of the call and callcontrolcall and both of them are IDLE.

Can anybody help me

112
Views
0
Helpful
0
Replies