Как узнать в Cisco JTAPI, подключен ли телефонный звонок?

Я пытаюсь выяснить, как узнать, подключен ли вызов, то есть на него ответили и разговор начался. У меня есть проблема, когда вызов подключается сразу после набора номера, обратного вызова нет вообще, и я не смог выяснить, как выяснить, связан ли вызов в этом сценарии. Как я могу узнать из событий или каких-либо объектов подключения, что бы ни был связан вызов?

Ниже событий, которые я получаю. 1044 - это вызывающий номер, 9106 - номер вызываемого приложения, которое немедленно отвечает на вызов, поэтому обратного вызова нет, и вызывает агента с номером 1056.

---- 2015.08.17 11:34:05:307
INFO: -----------------------------------------------------------
CallCtlConnDialingEv received for call: (P2-CTIUser) GCID=(1,10603678)->ACTIVE
CiscoConnection Control ConnectionCiscoConnection hashCode(event): 24546998
ConnectionID(event): 26165083
CallControlCause(event): 110
CalledAddress(event): null
CallingAddress(event): 1044
CallingTerminal(event): SEPCCD539D74CF7
LastRedirectedAddress(event): null
CurrentCalledAddress(call): null
CurrentCallingAddress(call): 1044
IsCiscoConferenceCall(call): false
CalledAddress(call): null
CallingAddress(call): 1044
CallingTerminal(call): SEPCCD539D74CF7
Address(Connection): 1044
-----------------------------------------------------------
---- 2015.08.17 11:34:05:310
INFO: -----------------------------------------------------------
CallCtlTermConnTalkingEv SEPCCD539D74CF7 received for call: (P2-CTIUser) GCID=(1,10603678)->ACTIVE
CiscoConnection Control Terminal ConnectionTerminalConnection hashCode(event): 21444301
CallControlCause(event): 110
CalledAddress(event): null
CallingAddress(event): 1044
CallingTerminal(event): SEPCCD539D74CF7
LastRedirectedAddress(event): null
CurrentCalledAddress(call): 9106
CurrentCallingAddress(call): 1044
IsCiscoConferenceCall(call): false
CalledAddress(call): 9106
CallingAddress(call): 1044
CallingTerminal(call): SEPCCD539D74CF7
-----------------------------------------------------------
---- 2015.08.17 11:34:05:311
INFO: -----------------------------------------------------------
CallCtlConnEstablishedEv received for call: (P2-CTIUser) GCID=(1,10603678)->ACTIVE
CiscoConnection Control ConnectionCiscoConnection hashCode(event): 24546998
ConnectionID(event): 26165083
CallControlCause(event): 100
CalledAddress(event): 9106
CallingAddress(event): 1044
CallingTerminal(event): SEPCCD539D74CF7
LastRedirectedAddress(event): null
CurrentCalledAddress(call): 9106
CurrentCallingAddress(call): 1044
IsCiscoConferenceCall(call): false
CalledAddress(call): 9106
CallingAddress(call): 1044
CallingTerminal(call): SEPCCD539D74CF7
Address(Connection): 1044
-----------------------------------------------------------
---- 2015.08.17 11:34:05:316
INFO: -----------------------------------------------------------
CallCtlConnNetworkReachedEv received for call: (P2-CTIUser) GCID=(1,10603678)->ACTIVE
CiscoConnection Control ConnectionCiscoConnection hashCode(event): 28047486
ConnectionID(event): 0
CallControlCause(event): -1
CalledAddress(event): 9106
CallingAddress(event): 1044
CallingTerminal(event): SEPCCD539D74CF7
LastRedirectedAddress(event): null
CurrentCalledAddress(call): 9106
CurrentCallingAddress(call): 1044
IsCiscoConferenceCall(call): false
CalledAddress(call): 9106
CallingAddress(call): 1044
CallingTerminal(call): SEPCCD539D74CF7
Address(Connection): 9106
-----------------------------------------------------------
---- 2015.08.17 11:34:05:319
INFO: -----------------------------------------------------------
CallCtlConnNetworkAlertingEv received for call: (P2-CTIUser) GCID=(1,10603678)->ACTIVE
CiscoConnection Control ConnectionCiscoConnection hashCode(event): 28047486
ConnectionID(event): 0
CallControlCause(event): 100
CalledAddress(event): 9106
CallingAddress(event): 1044
CallingTerminal(event): SEPCCD539D74CF7
LastRedirectedAddress(event): null
CurrentCalledAddress(call): 9106
CurrentCallingAddress(call): 1044
IsCiscoConferenceCall(call): false
CalledAddress(call): 9106
CallingAddress(call): 1044
CallingTerminal(call): SEPCCD539D74CF7
Address(Connection): 9106
-----------------------------------------------------------
---- 2015.08.17 11:34:05:482
INFO: -----------------------------------------------------------
CallCtlConnEstablishedEv received for call: (P2-CTIUser) GCID=(1,10603678)->ACTIVE
CiscoConnection Control ConnectionCiscoConnection hashCode(event): 28047486
ConnectionID(event): 0
CallControlCause(event): 100
CalledAddress(event): 9106
CallingAddress(event): 1044
CallingTerminal(event): SEPCCD539D74CF7
LastRedirectedAddress(event): null
CurrentCalledAddress(call): 9106
CurrentCallingAddress(call): 1044
IsCiscoConferenceCall(call): false
CalledAddress(call): 9106
CallingAddress(call): 1044
CallingTerminal(call): SEPCCD539D74CF7
Address(Connection): 9106
-----------------------------------------------------------
---- 2015.08.17 11:34:08:409
INFO: -----------------------------------------------------------
CallCtlConnOfferedEv received for call: (P2-CTIUser) GCID=(1,10603679)->ACTIVE
CiscoConnection Control ConnectionCiscoConnection hashCode(event): 16848708
ConnectionID(event): 26165086
CallControlCause(event): 110
CalledAddress(event): 1056
CallingAddress(event): 1044
CallingTerminal(event): Callisto_SIP_Tr
LastRedirectedAddress(event): null
CurrentCalledAddress(call): 1056
CurrentCallingAddress(call): 1044
IsCiscoConferenceCall(call): false
CalledAddress(call): 1056
CallingAddress(call): 1044
CallingTerminal(call): Callisto_SIP_Tr
Address(Connection): 1056
-----------------------------------------------------------
---- 2015.08.17 11:34:08:410
INFO: -----------------------------------------------------------
CallCtlConnEstablishedEv received for call: (P2-CTIUser) GCID=(1,10603679)->ACTIVE
CiscoConnection Control ConnectionCiscoConnection hashCode(event): 18484547
ConnectionID(event): 0
CallControlCause(event): 110
CalledAddress(event): 1056
CallingAddress(event): 1044
CallingTerminal(event): Callisto_SIP_Tr
LastRedirectedAddress(event): null
CurrentCalledAddress(call): 1056
CurrentCallingAddress(call): 1044
IsCiscoConferenceCall(call): false
CalledAddress(call): 1056
CallingAddress(call): 1044
CallingTerminal(call): Callisto_SIP_Tr
Address(Connection): 1044
-----------------------------------------------------------
---- 2015.08.17 11:34:08:593
INFO: -----------------------------------------------------------
CallCtlConnAlertingEv received for call: (P2-CTIUser) GCID=(1,10603679)->ACTIVE
CiscoConnection Control ConnectionCiscoConnection hashCode(event): 16848708
ConnectionID(event): 26165086
CallControlCause(event): 100
CalledAddress(event): 1056
CallingAddress(event): 1044
CallingTerminal(event): Callisto_SIP_Tr
LastRedirectedAddress(event): null
CurrentCalledAddress(call): 1056
CurrentCallingAddress(call): 1044
IsCiscoConferenceCall(call): false
CalledAddress(call): 1056
CallingAddress(call): 1044
CallingTerminal(call): Callisto_SIP_Tr
Address(Connection): 1056
-----------------------------------------------------------
---- 2015.08.17 11:34:08:595
INFO: -----------------------------------------------------------
CallCtlTermConnRingingEvImpl SEPD824BDBA6DA7 received for call: (P2-CTIUser) GCID=(1,10603679)->ACTIVE
CiscoConnection Control Terminal ConnectionTerminalConnection hashCode(event): 2788310
CallControlCause(event): 100
CalledAddress(event): 1056
CallingAddress(event): 1044
CallingTerminal(event): Callisto_SIP_Tr
LastRedirectedAddress(event): null
CurrentCalledAddress(call): 1056
CurrentCallingAddress(call): 1044
IsCiscoConferenceCall(call): false
CalledAddress(call): 1056
CallingAddress(call): 1044
CallingTerminal(call): Callisto_SIP_Tr
-----------------------------------------------------------

0 ответов

Другие вопросы по тегам