Q. 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(((
A. solved:
((CiscoAddress)call.getCurrentCalledAddress()).getType()
((CiscoAddress)call.getCurrentCallingAddress()).getType()
Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager Release 12.5(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.
...
Comments
0 comments
Please sign in to leave a comment.