Core classes and operations
107
SIPxNano IP-PBX Getting Started Guide
C • Configuration APIs
Delete Device
Removes an existing device from SIPxNano. To delete a device, you use either:
•
deleteDevice operation in the DeviceService. See the WSDL device-service.xml file
•
DeleteDeviceCommand class in the com.Patton.pds.applications. loader.commands package
Assign Device to a User
Creates an association between a user and a device in SIPxNano. An association between a user and a device
allows SIPxNano to route incoming and outgoing calls properly. To assign a device to a user, you use either:
•
assignDevice operation in the UserService. See the WSDL user-service.xml file
•
AssignDeviceCommand class in the com.Patton.pds.applications. loader.commands package
Table 18. Core Operations: Delete Device
WSDL Parameter
Java Method
Description
Required?
serialNumber
setSerialNumber()
Must be an existing device’s serial
number. See
“Add Device”
on
page 104.
Yes
Table 19. Core Operations: Assign Device to a User
WSDL Parameter
Java Method
Description
Required?
userId
setUserId()
Must be the user ID of an exist-
ing user. See
“Add User”
on
page 102.
Yes
deviceSerialNumber
setDeviceSerialNumber()
Must be an existing device’s serial
number. See
“Add Device”
on
page 104.
Yes