Pedro Rego | 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 |