02-27-2014 01:04 AM
Hello Cisco Community,
I am writing an application to reflect and control the state of cisco phones. All actions of the phone are presented in an java client and vice versa.
Now I have detected a problem to determine which party in a huntlist actually accepted the call because the connections and terminal connections
reported through JTAPI do not seem to reflect the actual state. My setup is as follows: I have a number of Cisco IP-Phones (IPP) and analog phones (AP).
Each analog phone sits behind Voice Gateway VG202XM and is grouped with an IPP into a hunt pilot (HP). Our CUCM version is 9.1.1. The dial plan is as follows:
IPP 10001
HP 510
AP 15100
IPP 15101
HP 511
AP 15110
IPP 15111
HP 512
AP 15120
IPP 15121
HP 513
AP 15130
IPP 15131
[...more like this...]
Scenario:
I register a CallObserver (which is a CiscoSynchronousObserver) on each terminal in the network.
I call the hunt pilot number from IPP 10001-> press [conf] on the phone while the consult call is ringing -> and accept the call on the IPP.
After accepting the call at phone 15121 I get the following output:
-----------
50343561 EVENT CiscoConferenceEndEvImpl
50343561 CONNECTION [10001:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 TERMINALCONNECTION [SEP34DBFDE49351/[10001:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED]->TALKING
50343561 CONNECTION [510:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 CONNECTION [15101:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 TERMINALCONNECTION [SEP34DBFDE4890F/[15101:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED]->TALKING
50343561 CONNECTION [511:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 CONNECTION [15111:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 TERMINALCONNECTION [SEP34DBFDE48943/[15111:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED]->TALKING
50343561 CONNECTION [512:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 CONNECTION [15120:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ALERTING
50343561 TERMINALCONNECTION [AN504DD0D038000/[15120:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ALERTING]->RINGING
50343561 CONNECTION [15121:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
-----------
50343561 EVENT TermConnDroppedEvImpl
50343561 CONNECTION [10001:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 TERMINALCONNECTION [SEP34DBFDE49351/[10001:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED]->TALKING
50343561 CONNECTION [510:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 CONNECTION [15101:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 TERMINALCONNECTION [SEP34DBFDE4890F/[15101:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED]->TALKING
50343561 CONNECTION [511:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 CONNECTION [15111:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 TERMINALCONNECTION [SEP34DBFDE48943/[15111:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED]->TALKING
50343561 CONNECTION [512:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 CONNECTION [15121:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
-----------
50343561 EVENT ConnDisconnectedEvImpl
50343561 CONNECTION [10001:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 TERMINALCONNECTION [SEP34DBFDE49351/[10001:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED]->TALKING
50343561 CONNECTION [510:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 CONNECTION [15101:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 TERMINALCONNECTION [SEP34DBFDE4890F/[15101:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED]->TALKING
50343561 CONNECTION [511:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 CONNECTION [15111:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 TERMINALCONNECTION [SEP34DBFDE48943/[15111:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED]->TALKING
50343561 CONNECTION [512:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
50343561 CONNECTION [15121:Phones_P:1/(P1-cti_app) GCID=(3,11913)->ACTIVE]->ESTABLISHED
-----------
Problem 1:
When CiscoConferenceEndEvImpl is reported only one terminal connection is reported (TERMINALCONNECTION AN504DD0D038000) as ringing.
There is no TerminalConnection to the IPP. It seems this is by luck. In some cases only the IPP connection is reported.
Problem 2:
When Accepting the call on IPP 15121 I get two events: TermConnDroppedEvImpl and ConnDisconnectedEvImpl. Why is that? In some cases I get a
TermConnActive event. Moreover, terminal connection to the IP Phone is not reported which should be there now as I accepted the call. It seems
I get a TermConnDropped for the AP which did not take the call. But where is the event for the IPP which did accept the call?
Problem 3:
In some rare cases I do not even see any connection to the hunt list members but only the hunt pilot.
Attached is the test class that registers the call observers and generates the log output. The JTAPI connection string hast to be filled in in order to connect to a CUCM.
Cheers,
Stefan
03-20-2014 04:06 PM
Hi Max,
Your colleague Peter Pickem had opened a Service Request (629555595) in our support queue. We will handle this issue via the support request. Thanks.
David
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide