Constructor
new RemotePhone()
This class cannot be instantiated.
- Since:
- 11.7.0
Extends
Methods
(static) connect(number, isForceRegistration, errorHandleropt)
Connect to and register deskphone device with CUCM. If force registration is set to true, and this device is
registered elsewhere, device will first be disconnected then connected again.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
number |
(String} - Number that will be associated with this device (Represents remoteDestinationNumber on CUCM). | ||
isForceRegistration |
Boolean | Flag that tells whether its a force registration or not. | |
errorHandler |
function |
<optional> |
Called if error has occurred in add-on. |
- Since:
- 11.7.0
(static) deleteNumber(errorHandleropt)
Delete remote number used for remote phone. Doing this will also disconnect from and unregister remote phone from
the CUCM.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
errorHandler |
function |
<optional> |
Called if error has occurred in add-on. |
- Since:
- 11.7.0