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

Whisper Coaching Start/End

zain.iftikhar
Level 1
Level 1

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

2 Replies 2

pfbartholomai1
Level 1
Level 1

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!

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

Getting Started

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: