Author Message
justin.cui
Joined: May 6, 2020
Messages: 13
Offline
Hi ,
I get trouble in geting calledDevice , In established Event , call.getCalledAddress() returns null. From the logs of jtapi sdk I found that answeringDevice is the true called party
how can I get the true calledDevice or get the answeringDevice in established Event ,Here is the event
CSTAEstablishedEvent ::=
{
monitorCrossRefID 1
establishedConnection
{
callID 261
deviceID "T261#2"
devIDType 1 < DYNAMIC_ID >
}
answeringDevice
{
deviceID "6562238888"
deviceIDType 50 < EXPLICIT_PRIVATE_UNKNOWN >
deviceIDStatus 0 < ID_PROVIDED >
}
callingDevice
{
deviceID "2101"
deviceIDType 55 < EXPLICIT_PRIVATE_LOCAL_NUMBER >
deviceIDStatus 0 < ID_PROVIDED >
}
calledDevice
{
deviceID <null>
deviceIDType 20 < IMPLICIT_PUBLIC >
deviceIDStatus 1 < ID_NOT_KNOWN >
}
lastRedirectionDevice
{
deviceID <null>
deviceIDType 30 < EXPLICIT_PUBLIC_UNKNOWN >
deviceIDStatus 2 < ID_NOT_REQUIRED >
}
localConnectionInfo 3 < CS_CONNECT >
cause 22 < EC_NEW_CALL >
}
TsapiPrivate ::=
{
vendor "ECS"
data 2 0 81 0 30 81 d2 16 1 31 16 1 32 16 0 30 13 a 1 ff a 1 0 2 1 0 2 1 0 2 1 0 16 0 30 0 30 a a 1 ff a 1 0 16 0 16 0 30 5 a 1 ff 4 0 a 1 0 30 66 a 1 0 30 8 16 0 a 1 1e a 1 2 30 8 16 0 a 1 1e a 1 2 16 0 16 0 30 13 a 1 ff a 1 0 2 1 0 2 1 0 2 1 0 16 0 30 0 30 a a 1 ff a 1 0 16 0 16 0 30 5 a 1 ff 4 0 16 14 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 6 1 1 0 2 1 0 1 1 0 30 0 30 8 16 0 a 1 1e a 1 1 16 14 30 39 39 39 39 30 30 32 36 31 31 36 38 36 30 30 33 39 37 39 30 6 1 1 0 2 1 0 1 1 0 30 0 30 8 16 0 a 1 1e a 1 1
tsType 59
}


Thanks a lot
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
I suggest you download a copy of " for Avaya Communication Manager Programmer's Reference". It will explain the data in the TSAPI events that are used to populate the JTAPI events.

Martin
JohnBiggs
Joined: Jun 20, 2005
Messages: 1141
Location: Rural, Virginia
Offline
you can find the 10.1.3 version of the document Martin references on this page
https://www.devconnectprogram.com/site/global/products_resources/avaya_aura_application_enablement_services/releases/10_1_3/index.gsp#download-10
Go to:   
Mobile view