12-29-2025 04:40 AM
Hi,
I am working on retreiving call related data using JTAPI. I was able to get few fields using few classes in the JTAPI library. But I was unable to get the information such as Campaign name, Campaign Id, Call Started time, Disconnected Time, Duration. Are there any classes(in jtapi library) which provides this information? and Are there any classes which provides all call related data(call variables)?
Solved! Go to Solution.
12-30-2025 10:26 PM
Using JTAPI you can not able to get Campaign name, Campaign Id, because these parameters are related to Contact Center Setp(UCCE/UCCX), use Finesse API for that. Using JTAPI library you can develop third party call control application. You can get call related parameters like call id, calling no., called no., call events(alerting, established, disconnected etc. To get time and duration you need to store call start time from the alerting/dialing event and on disconnected , calculate duration.
Thanks,
Umesh
12-30-2025 10:26 PM
Using JTAPI you can not able to get Campaign name, Campaign Id, because these parameters are related to Contact Center Setp(UCCE/UCCX), use Finesse API for that. Using JTAPI library you can develop third party call control application. You can get call related parameters like call id, calling no., called no., call events(alerting, established, disconnected etc. To get time and duration you need to store call start time from the alerting/dialing event and on disconnected , calculate duration.
Thanks,
Umesh
01-04-2026 09:45 PM
Thanks for your solution,
I am having another doubt. I am trying to record a single call which has scenarios(like conference, consult, transfer....). I need a id which is common among all the call legs for a particular call. what parameter i can use in sip information ( i tried to use x-session-id or tag, but its changing in few cases such as consult).
01-04-2026 10:15 PM
Please use Cisco JTAPI library for any call control applications. You need to add observer to monitor events on DN or terminal based on your requirements and implement Override functions like ProviderChaned & CallChanged. Whenever your function will receive alerting event (for inbound), dialing event(for outbound) you can stote call id after retrieving CIscoCall object from event. Please follow JTAPI developer guide for detail.
Thanks,
Umesh
01-04-2026 09:47 PM
@upchaurasia Can you provide a solution for this issue if possible?
01-05-2026 01:32 AM
@upchaurasia we are already overriding the provider changed and call changed functions but they are not providing the interaction id of the call.
01-05-2026 07:08 AM
You need to do something like below -
CiscoCall srcCall;
if(eventList[i].toString().startsWith("CallCtlConnEstablishedEv") )
{
srcCall = (CiscoCall) eventList[i].getCall();
strCallId=srcCall.getCallID().toString();
}
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide