cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
305
Views
0
Helpful
2
Replies
Beginner

Whisper Coaching Start/End

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;
}

Everyone's tags (2)
2 REPLIES 2
Beginner

Re: Whisper Coaching Start/End

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!

Highlighted
Contributor

Re: Whisper Coaching Start/End

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

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.