Methods
Table 156: Methods in CiscoProviderCapabilities
Description
Method
Interface
This method returns a boolean value representing
whether or CUCM service parameter “Auto Call Pickup
Enabled” is set ot true or false.
canAutoPickup()
boolean
This method checks whether the user has been
provisioned in the Cisco Unified Communications
Manager with the privilege to observe any Terminal
(and its addresses) in the system. Such Terminals and
Addresses do not get returned as part of the list that
JTAPI initializes at startup. The provider obtained with
the login for a user with such privileges can be
determined from the canObserverAnyTerminal method
call in ProviderCapabilities. Returns True if the user can
observe any Terminal in the system, or false if the user
can only observe Terminals and Addresses in the control
list.
canObserveAnyTerminal()
boolean
Example
Provider p
peer.getProvider( loginString );
ProviderCapabilities caps
p.getCapabilities ();
if ( caps instanceof CiscoProviderCapabilities )
{
boolean canObserveAnyTerminal
((CiscoProviderCapabilities)caps).canObserveAnyTerminal ();
boolean canMonitorParkDN
((CiscoProviderCapabilities)caps).canMonitorParkDNs ();
boolean canModifyCallingPN
((CiscoProviderCapabilities)caps).canModifyCallingParty ();
boolean canRecordCalls
((CiscoProviderCapabilities)caps).canRecord();
boolean canMonitorCalls
((CiscoProviderCapabilities)caps).canMonitor();
}
This method checks whether the user has been
provisioned in the Cisco Unified Communications
Manager to monitor park DNs. Returns True if the user
can monitor park DNs, or false otherwise.
canMonitorParkDNs()
boolean
This method checks whether the user has been
provisioned in the Cisco Unified Communications
Manager to modify the calling party number of a call.
Returns True if the user can modify the calling party
number, or false otherwise.
canModifyCallingParty()
boolean
Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs
505
Cisco Unified JTAPI Extensions
Methods