cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
422
Views
0
Helpful
6
Replies

Retreiving Call data using JTAPI

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)?

1 Accepted Solution

Accepted Solutions

upchaurasia
Spotlight
Spotlight

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

View solution in original post

6 Replies 6

upchaurasia
Spotlight
Spotlight

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

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).

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

@upchaurasia Can you provide a solution for this issue if possible?

@upchaurasia we are already overriding the provider changed and call changed functions but they are not providing the interaction id of the call.

You need to do something like below -

CiscoCall srcCall;

if(eventList[i].toString().startsWith("CallCtlConnEstablishedEv") )
{
srcCall = (CiscoCall) eventList[i].getCall();
strCallId=srcCall.getCallID().toString();

}