
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2014 01:07 AM
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
Solved! Go to Solution.
- Labels:
-
JTAPI
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2014 04:58 AM
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.
...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2014 04:58 AM
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.
...
