04-03-2019 05:51 AM
Hi Team,
I have successfully achieved Whisper coaching supervisor functionality with JTAPI & CUCM but I'm stuck on few things:
- How to end Whisper Coaching?
- Sometime whisper coaching not triggered?
Code:
try {
int actionDelayMillis = Integer.parseInt("3000");
String src=null;
String dest = null;
JtapiPeer peer = JtapiPeerFactory.getJtapiPeer(null);
if (peer != null) {
String providerString = jtapi_provider + ";login=" + rmcm_user + ";passwd=" + password;
logger.info("Connecting TO:\t" + providerString);
provider = peer.getProvider(providerString);
provider.addObserver(this);
conditionInService.waitTrue();
src=supervisorExtension;
dest = agentExtension;
Originator originator = new Originator(provider.getAddress(src), dest, actionDelayMillis);
System.out.println("originator Status: " + originator.toString());
actors.addElement(originator);
actors.addElement(
new Receiver(provider.getAddress(dest), actionDelayMillis, originator)
);
}
Enumeration e = actors.elements();
while (e.hasMoreElements()) {
Actor actor = (Actor) e.nextElement();
actor.initialize();
}
Enumeration en = actors.elements();
while (en.hasMoreElements()) {
Actor actor = (Actor) en.nextElement();
actor.start();
}
status = true;
} catch (Exception e) {
logger.error("Caught exception while creating connection to the JTAPI " + e);
status = false;
}
04-10-2019 10:23 AM
Hello,
I'm trying to do code the same thing, did you ever get this figured out.
Also where did you start with the interface to UCM?
Thanks!
05-29-2019 02:08 AM
To stop you can call stopMonitor or disconnect call from supervisor device.
Can you provide JTAPI logs when your application unable to start monitor/whisper?
Thanks & Regards,
Umesh
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: