cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
651
Views
1
Helpful
2
Replies

intanceof CiscoConsultCall

derrickgunter
Level 5
Level 5

Java seems to always return true for:

     call instanceof CiscoConsultCall

even for a simple internal or inbound (non-consult) call.

For such non-consult calls:

     ((CiscoConsultCall)call).getConsultingTerminalConnection();

returns null.

Questions:

  1. Is this expected behavior?
    1. If yes, then it means that "instanceof CiscoConsultCall" cannot be used to determine if a call is a consult.
      1. In which case, how should a consult be determined?
      2. Does a null getConsultingTerminalConnection() definitely mean this is not a consult call?
    2. If no, is there a fix?

Thanks!

Derrick

2 Replies 2

mpotluri
Level 5
Level 5

We should see CiscoConsultCall only in transfer/conference setup scenario. In other call scenarios instanceof CiscoConsultCall should return false. You should also see CiscoConsultCallActiveEv when the this object is created indicating a consult call setup.

Are you seeing this after a transfer or conference scenario? If consult call in transfer and conference survives, we will continue to see it as CiscoConsultCall. Checking for consultingTerminalConnection and its call should help.

I expect exactly what you describe but that is not what happens.  If I make a regular single call between A and B I get true for "instanceof CiscoConsultCall". But getConsultingTerminalConnection() returns null.


Using Cisco Jtapi version 10.5(1.10000)-2 Release.


So this seems like a bug?  Could you try to reproduce?