cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
546
Views
0
Helpful
1
Replies

Get call classification

nikitinmv1987
Level 1
Level 1

Hello Experts,

We can have local calls(inside CUCM cluster) and calls from PSTN to local phones. Based on it we will know who make call agent or client.

So my question is "Is it possible to know was this calls made inside Enterprise or calls came from PSTN?"

In my application, I handle CiscoTerminalObserver.callChangedEvent. On ConnConnectedEv I can get CiscoCall object. But can't find needed property(((

Please, help

1 Accepted Solution

Accepted Solutions

nikitinmv1987
Level 1
Level 1

solved:

  ((CiscoAddress)call.getCurrentCalledAddress()).getType()

  ((CiscoAddress)call.getCurrentCallingAddress()).getType()

--------------------------------------------------------------------------------------------

Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager Release 9.1(1):

...

getType() Returns the following address constants:

• CiscoAddress.INTERNAL

• CiscoAddress.EXTERNAL

• CiscoAddress.EXTERNAL_UNKNOWN

• CiscoAddress.UNKNOWN

• CiscoAddress.MONITORING_TARGET

• CiscoAddress.HUNT_PILOT, if address is in a CiscoHuntConnection.

• CiscoAddress.HUNT_PILOT, if address represents hunt pilot.

...

View solution in original post

1 Reply 1

nikitinmv1987
Level 1
Level 1

solved:

  ((CiscoAddress)call.getCurrentCalledAddress()).getType()

  ((CiscoAddress)call.getCurrentCallingAddress()).getType()

--------------------------------------------------------------------------------------------

Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager Release 9.1(1):

...

getType() Returns the following address constants:

• CiscoAddress.INTERNAL

• CiscoAddress.EXTERNAL

• CiscoAddress.EXTERNAL_UNKNOWN

• CiscoAddress.UNKNOWN

• CiscoAddress.MONITORING_TARGET

• CiscoAddress.HUNT_PILOT, if address is in a CiscoHuntConnection.

• CiscoAddress.HUNT_PILOT, if address represents hunt pilot.

...