Author Message
NobuhiroTentaku
Joined: Jul 7, 2021
Messages: 93
Offline
FYI

I am happy to tell all JTAPI users that we successfully detected PICKUP event.
Here calling sequence is as follows: 09065693055(caller)-->05030331148(topic number)-->5706(VDN)-->5003(extension number)-->5004(PICKUP extension number)
Currently we are monitoring all extension numbers and VDNs by CallControlConnectionListener.

As far as we learned from our intensive test, to detect PICKUP event we must check next several points:
1) Implement your PICKUP application into the listener method, connectionEstablished().
2) PICKUP extension number is "eventConnectionAddress= 5004" in the log below and eventConnectionAddress is retrieved by CallControlConnectionEvent.getConnection().getAddress();.
3) Confirm that eventConnectionAddress must be a valid extension number, otherwise quit your application.
4) Confirm V7DeviceHistoryEntry.getEventCause() = EC_REDIRECTED
5) OldDeviceID retrieved by V7DeviceHistoryEntry.getOldDeviceID() must be a pick-uped extension number.
V7DeviceHistoryEntry of 4) and 5) must be the same entity.
6) CallControlConnectionEvent.getLastRedirectedAddress() must be a pick-uped extension number and the same number as OldDeviceID of 5).

2022/11/22 15:50:29.361 ---- connectionEstablished( CallControlConnectionEvent.CALLCTL_CONNECTION_ESTABLISHED )
2022/11/22 15:50:29.432 - eventConnectionAddress= 5004, TALKING (98)
2022/11/22 15:50:29.432 - event Terminal Name = 5004
2022/11/22 15:50:29.433 - Event.CAUSE_SNAPSHOT (110)
2022/11/22 15:50:29.433 - UCID = 00001082151669067471, TsapiCallID = 8215
2022/11/22 15:50:29.436 - callingAddress = 09065693055
2022/11/22 15:50:29.454 - calledAddress = 05030331148
2022/11/22 15:50:29.457 - lastRedirectedAddress = 5003
2022/11/22 15:50:29.458 - V7CallInfo UCID = 00001082151669067471
2022/11/22 15:50:29.472 - DistributingAddress = 05030331148
2022/11/22 15:50:29.472 - DistributingVDNAddress= 5706
2022/11/22 15:50:29.485 - Old CallID 0 = 8215, DeviceIDType = 0
2022/11/22 15:50:29.486 - Old DeviceID = 5003, Cause = EC_REDIRECTED (28)

Anybody who brings contradictory evidence against the log above, please let me know.

Best regards,


Go to:   
Mobile view