Author Message
UmeshC
Joined: Apr 18, 2011
Messages: 89
Offline
Hi,

How can I identify either call is consult call or normal call? I checked event.getCallControlCause and event.getCause in both cases value is 100.

Can you please suggest if there is any other parameter which I can check?

Thanks & Regards,
Umesh
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
What do you mean by "normal call"? How do you define a "consult call"?

Martin
UmeshC
Joined: Apr 18, 2011
Messages: 89
Offline
Hi Martin,

We are using JTAPI so for consult call we are calling consult and for normal call we are using connect API.

In case of Telephone/One-X, while transferring call we can use "Consult Transfer"/Transfer.

We are finding event synchronization/missing issue when doing some activities from phone e.g. if agent starts transfer activity from phone and Completes transfer from phone. I this case there is no Drop event for Second Call.

Regards,
Umesh
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
Have a look at the Original Call Information (OCI) in the events (e.g. CallControlTerminalConnectionRingingEvent).

Martin
UmeshC
Joined: Apr 18, 2011
Messages: 89
Offline
We tried with OCI but problem is we are not getting CallId from OCI. It's returning 00000000000000000000

[2020-01-06 15:32:53,554][DEBUG][connectionEstablished][207][00000000000000000000

Regards,
Umesh
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
OCI does not include a Call ID but it does include the UCID of the old call. For example, I captured the following in my lab after using CallControlCall.consult():

9:37:57 Event received by CallListener:[com.avaya.jtapi.tsapi.impl.events.conn.LucentV5CallControlConnectionEvent]
Request: ConnectionEvent.getConnection()
=>ConnectionEvent.getConnection() returned: 40501_c[3]

Event.getID() =>CallControlConnectionAlertingEvent
Event.getCause() =>CAUSE_NORMAL
CallControlEvent.getCallControlCause() =>Other: 100
ITsapiCallEvent.getCSTACause() => 22 < EC_NEW_CALL >
ITsapiCallEvent CSTA3/AACC cause => 22 < EC_NEW_CALL >
CallControlCallEvent.getCalledAddress() =>a_40501
CallControlCallEvent.getCallingAddress() =>a_40500
CallControlCallEvent.getCallingTerminal() =>t_40500
CallControlCallEvent.getLastRedirectedAddress() =>null
LucentCallInfo.getDeliveringACDAddress() =>null
LucentCallInfo.getDistributingAddress() =>null
LucentCallInfo.getLookaheadInfo() =>null
LucentCallInfo.getOriginalCallInfo() =>OCI

OCI.getCalledDevice() =>a_40500
OCI.getCallingDevice() =>a_40502
OCI.getLookaheadInfo() =>null
OCI.getReason() =>OR_CONSULTATION
OCI.getUserEnteredCode() =>null

OCI.getUserToUserInfo() =>null

V5OCI.canSetBillRate() =>false
V5OCI.getCallOriginatorType()=>Other: -1
V5OCI.getUCID() =>00132006881578389808
V5OCI.hasCallOriginatorType()=>false

LucentCallInfo.getUserEnteredCode() =>null
LucentCallInfo.getUserToUserInfo() =>null
LucentV5CallInfo.canSetBillRate() =>false
LucentV5CallInfo.getCallOriginatorType() =>Other: -1
LucentV5CallInfo.getUCID() =>00132006891578389864
LucentV5CallInfo.hasCallOriginatorType() =>false
LucentV7CallInfo.getDistributingVDNAddress() =>null
Go to:   
Mobile view