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

Created by: Pedro Rego on 05-06-2012 06:25:14 PM
How can catch value {CallData.DURATION} inside custom JAVA directly?
 
Today for me its possbile catch a variables like "s_Start_Time" created for me, but i need catch the value of CallData.DURATION direct on my java code using endpointAPI or other?
 
I need cacth CallData.Duration value on momment of end call. I need use a specail method to grab CallData
 
//Try to get Start_Time and s_Callid from Session Data.

   String s_Start_Time = endpointAPI.getSessionData("s_Start_Time").toString();
   String s_Callid = endpointAPI.getSessionData("s_Callid").toString();
   logstring = "s_Start_Time=" + s_Start_Time + ",s_End_Time=" + s_Callid + "\r\n";  
            FileOutputStream fileOutput = null;
       
Thanks
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