Author Message
NobuhiroTentaku
Joined: Jul 7, 2021
Messages: 86
Offline
Dear Sir,

Let me explain what information we want for VDN.

1) When outside line calls VDN, we get logs as follows:
terminalConnectionRinging()
printCallControlTerminalConnectionEvent() CallControlTerminalConnectionEvent.CALLCTL_TERMINAL_CONNECTION_RINGING
Event.CAUSE_SNAPSHOT (110)
UCID = 00001066601666299433
TsapiCallID = 6660
callingAddress = 09065693055
calledAddress = 05030331148
lastRedirectedAddress = null
Here we want extension number, 5003 instead of 05030331148 which is VDN.

2) Then we answer the call from 09065693055 above, we get the next lods:
singleCallMetaProgressStarted()
printMetaEvent() SingleCallMetaEvent.SINGLECALL_META_PROGRESS_STARTED
Event.CAUSE_NORMAL (100)
UCID = 00001066601666299433
TsapiCallID = 6660
callingAddress = 09065693055
calledAddress = 5003
CCTerminalConnState = TALKING (98)
lastRedirectedAddress = null
reason = OR_NEW_CALL (4) <-- next 3 lines are retrieved from OriginalCallInfo
callingDevice = 09065693055
calledDevice = 05030331148
We get the same information from listener event of connectionEstablished() and terminalConnectionTalking().

As I explained above 1), I really want extension number instead of VDN at Ringing event.
This is because at Ringing event we send outside line information from DB to extension number, 5003 so that a called person knows who calls before picking up a call.

I really appreciate your comment and/or suggestion. Please let me know anything!!!

Best regards,
MartinFlynn
Joined: Nov 30, 2009
Messages: 1847
Offline
I take it that that monitor is on the VDN. I don't think this will give you an event to indicate that the call has been delivered to an agent. For that, you will need a monitor on the agent's station.

Martin
MartinFlynn
Joined: Nov 30, 2009
Messages: 1847
Offline
Actually, that may not be correct. You will not get the Agent ID, but the JTAPI exerciser does show some events generated when the call reaches the agent's phone. Some of these refer to the station ID. For example (the agent is logged in at 40503:

16:15:53 Event received by CallListener:[com.avaya.jtapi.tsapi.impl.events.termConn.LucentV5CallControlTerminalConnectionEvent]
Request: TerminalConnectionEvent.getTerminalConnection()
=>TerminalConnectionEvent.getTerminalConnection() returned: 40503_tc[3]

Event.getID() =>CallControlTerminalConnectionRingingEvent
Event.getCause() =>CAUSE_NORMAL
CallControlEvent.getCallControlCause() =>CAUSE_REDIRECTED
ITsapiCallEvent.getCSTACause() => 28 < EC_REDIRECTED >
ITsapiCallEvent CSTA3/AACC cause => 28 < EC_REDIRECTED >
CallControlCallEvent.getCalledAddress() =>a_40900
CallControlCallEvent.getCallingAddress() =>a_40504
CallControlCallEvent.getCallingTerminal() =>t_40504
CallControlCallEvent.getLastRedirectedAddress() =>a_40900
LucentCallInfo.getDeliveringACDAddress() =>a_40800
LucentCallInfo.getDistributingAddress() =>a_40900
LucentCallInfo.getLookaheadInfo() =>null
LucentCallInfo.getOriginalCallInfo() =>OCI

OCI.getCalledDevice() =>null
OCI.getCallingDevice() =>null
OCI.getLookaheadInfo() =>null
OCI.getReason() =>Other: 0
OCI.getUserEnteredCode() =>null

OCI.getUserToUserInfo() =>null

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

LucentCallInfo.getUserEnteredCode() =>null
LucentCallInfo.getUserToUserInfo() =>null
LucentV5CallInfo.canSetBillRate() =>false
LucentV5CallInfo.getCallOriginatorType() =>Other: -1
LucentV5CallInfo.getUCID() =>00151003371666364173
LucentV5CallInfo.hasCallOriginatorType() =>false
LucentV7CallInfo.getDistributingVDNAddress() =>a_40900
NobuhiroTentaku
Joined: Jul 7, 2021
Messages: 86
Offline
Thank you for your detailed information. Next week I will follow your procedure. By the way what is "station ID"? I do not find this station ID in JTAPI javadoc.

Best regards,
NobuhiroTentaku
Joined: Jul 7, 2021
Messages: 86
Offline
Station ID = extension number?

Best regards,
MartinFlynn
Joined: Nov 30, 2009
Messages: 1847
Offline
Yes
Go to:   
Mobile view