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.
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.
...
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.
...
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