cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
126
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Richard Rhinehart on 16-12-2011 12:22:24 PM
Hello,
 
I have written a class for call end and was wondering what values in what objects I should look for. This is cvp 8.5 stand alone.  Many Thanks in advance!
 
I've tried calling in and then hanging up in a menu but the result is "normal".
 

<font size="2" color="#7f0055"><font size="2" color="#7f0055">
public
</font></font>
<font size="2" color="#7f0055">
 
</font>

 
 
public void onEndCall(CallEndAPI callEndAPI) throws AudiumException{<font size="2">
String Number = callEndAPI.getElementData(
</font>
"Number", "value");<font size="2">
String Id = callEndAPI.getElementData(
</font>
"Id", "value");
String result = callEndAPI.getCallResult();
<font size="2">
System.
</font>
out.print(result);<font size="2">
callEndAPI.addToLog(
</font>
"CALLRESULT", result);
class ActCallEnd implements EndCallInterface{<font size="2">
 
</font>

}
 
Regards,
 
Rick

Subject: RE: Capturing Call Abandon
Replied by: Janine Graves on 16-12-2011 06:25:43 PM
Hi,
You need to check if getHowCallEnded is equal to the string 'hangup'
Janine
 
 
 
 
 
 
 
Hello,
 
I have written a class for call end and was wondering what values in what objects I should look for. This is cvp 8.5 stand alone.  Many Thanks in advance!
 
I've tried calling in and then hanging up in a menu but the result is "normal".
 

<font size="2" color="#7f0055"><font size="2" color="#7f0055">
public
</font></font>
<font size="2" color="#7f0055">
 
</font>

 
 
public void onEndCall(CallEndAPI callEndAPI) throws AudiumException{<font size="2">
String Number = callEndAPI.getElementData(
</font>
"Number", "value");<font size="2">
String Id = callEndAPI.getElementData(
</font>
"Id", "value");
String result = callEndAPI.getCallResult();
<font size="2">
System.
</font>
out.print(result);<font size="2">
callEndAPI.addToLog(
</font>
"CALLRESULT", result);
class ActCallEnd implements EndCallInterface{<font size="2">
 
</font>

}
 
Regards,
 
Rick


Subject: RE: Capturing Call Abandon
Replied by: Richard Rhinehart on 17-12-2011 05:05:55 PM
Thanks Janine worked perfectly. I was looking for code blocks but couldn't find them sorry for the html.

Subject: RE: New Message from Janine Graves in Customer Voice Portal (CVP) - CVP - A
Replied by: GEOFFREY THOMPSON on 16-12-2011 07:14:09 PM
How can we tell, when instead of posting code, you¿ve posted HTML? Some of the email clients that use this program make posts extremely difficult to read. Please post plain text.

Regards,
Geoff
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:

Quick Links