11-04-2016 12:45 PM
Hello!
I'm using JTAPI.
I have a trouble with events from CUCM: sometimes there are different connections in CiscoCall, and sometimes there are no connections.
Usually they are not in order.
My task is to get device's name, which has hook off?.
Best regards,
Viktor Punin.
Solved! Go to Solution.
11-11-2016 02:54 PM
As mentioned Cisco JTAPI doesn't provide any indication of 'call-ender'.
The events delivered for the scenario will be consistent though the order of events could change depending on where the phones are registered and the node where application is connecting to.
11-07-2016 10:46 AM
Viktor,
Can you give the call scenario where you are seeing inconsistent events? An explanation of what you are seeing and what you expect would be helpful.
When a user goes offhook and if your application is observing the terminal, you should see CallActiveEv and CallCtlTermConnTalkingEv. CallControlCall.getCallingTerminal() should give you the terminal that is offhook.
Try running JTrace sample app (installed allow with source code when you install JTAPI) to see the events.
11-07-2016 11:46 AM
Mohan,
Thanks for your answer!
Sorry, but I've asked incorrect question. My task is to gunderstand, who is the first, who offhook.
I have two CUCM's: 192.168.0.17 and 192.168.0.111. On first one, I have a terminal with connected device, which name is 1031, on the second one - 5002.
First scenario:
1) 5002 -> 1031
2) 1031 hook off
3) 5002 have finished the conversation
Log of end: http://pastebin.com/75F9ES7z
Second scenario:
1) 5002 -> 1031
2) 1031 hook off
3) 1031 have finished the conversation
Log of end: http://pastebin.com/7yZNjjuk
I would like to catch event, which say to me "exactly 5002 offhok, not 1031", or on the contrary.
With the best regards,
Viktor.
11-09-2016 11:08 AM
The difference between the scenarios is who hung up the call at the end. In first case 5002 went 'on hook' first and 1031 in the second case. It seems that you are looking for you hung up the call at the end of the call. Can you confirm?
Unfortunately Cisco JTAPI currently does not provide any indication on who ended the call.
11-09-2016 11:59 AM
Exuse me for my English.
Yes, I would like to know, who is "call-ender".
Mohan Potluri написал(а):
Unfortunately Cisco JTAPI currently does not provide any indication on who ended the call.
This fact upsets me.
About non-const events:
Lets see this scenario:
1) A -> B
2) B put hook up
3) B end call
And this:
1) A -> B
2) we stop programm on breakpoint
3) B put hook up
3) B end call
4) we continue programm
result: events comes with call.callstate == disconnected, and each event hasn't connections
Does Cisco JTAPI support events, which won't be changed aftrer a while?
11-11-2016 02:54 PM
As mentioned Cisco JTAPI doesn't provide any indication of 'call-ender'.
The events delivered for the scenario will be consistent though the order of events could change depending on where the phones are registered and the node where application is connecting to.
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