This document was generated from CDN thread
Created by: Matt Stromske on 25-04-2011 11:18:31 AM
Hello,
I am trying to achieve a call transfer using a consult call, where the consult call and a previously held call are on 2 different terminals. Is this possible? In short, here is what I'm trying to do, using 2 CTI ports:
CTIx -> A (Call1, call on hold)
CTIy calls B, B answers, CTIy consults C (Call2)
Call1.transfer(Call2)
My code snippet:
CallControlCall consultCall = (CallControlCall)provider.createCall();
consultCall.setTransferEnable(true);
CallControlTerminalConnection CtiyTermCon = getOrigTerminalConnection(call);
log.info("Consult call from term: " + CtiyTermCon + " to dn " + C);
consultCall.consult(CtiyTermCon, C);
holdCall.transfer(consultCall);
So far, I haven't had any success. It appears the consult works, but the transfer does not. I get the following error:
com.cisco.jtapi.PlatformExceptionImpl: Transfer controller is not set and could not find a suitable TerminalConnection.
And I am setting up a transfer controller for the 'holdCall'.
Any advice?
Thanks,
Matt
Subject: RE: Transfer
Replied by: Abhishek Malhotra on 25-04-2011 03:53:40 PM
You cannot to transfer across two devices, there needs to be a common terminal between two calls being transferred.
Call 1 - Terminal 1 (Any Address) calls xxx
Call 2 - Terminal 1 (Any Address) Calls yyy
These calls can be transferred.