I am using call consult in my script:
dialoutCall = (CiscoCall) provider.createCall();
TerminalConnection terminalConnection = ctipTerminal.getTerminalConnections()[0];
dialoutCall.consult(terminalConnection,dialToNum);
when using consult the other existing call state is changed to hold and the RTP ports are being changed, is it possible to obtain the RTP ports of the call that is on hold state?
The events I get after using consult:
Received--> Call/CiscoTermConnSelectChangedEv CTI_1
Received--> Terminal/CiscoRTPInputStoppedEv
Received--> Terminal/CiscoRTPOutputStoppedEv
Received--> Call/CallCtlTermConnHeldEv CTI_1
Received--> Call/ConsultCallActive
Received--> Call/ConnCreatedEv 6050:CampusPT:1
Received--> Call/ConnConnectedEv 6050:CampusPT:1
Received--> Call/CallCtlConnInitiatedEv 6050:CampusPT:1
Received--> Call/TermConnCreatedEv CTI_1
Received--> Call/TermConnActiveEv CTI_1
Received--> Call/CallCtlTermConnTalkingEv CTI_1
Received--> Call/CallCtlConnDialingEv 6050:CampusPT:1
Received--> Call/CallCtlConnEstablishedEv 6050:CampusPT:1
Received--> Call/ConnInProgressEv 6001:CampusPT:1
Received--> Call/CallCtlConnOfferedEv 6001:CampusPT:1
Received--> Call/ConnAlertingEv 6001:CampusPT:1
Received--> Call/CallCtlConnAlertingEv 6001:CampusPT:1