Core classes and operations
108
SIPxNano IP-PBX Getting Started Guide
C • Configuration APIs
Unassign Device from a User
Severs the association between a device and its associated user. To unassign a device from a user, you use either:
•
unassignDevice operation in the UserService. See the WSDL user-service.xml file
•
UnassignDeviceCommand class in the com.Patton.pds. applications.loader.commands package
No user ID is needed as a device can only be assigned to one user.
Note
There is no need to unassign before you delete a user or a device.
Resync data sets
Rebuilds all of the export data sets in SIPxNano, including:
•
alias.xml
•
authexception.xml
•
credential.xml
•
extension.xml
•
permission.xml
A cumulative resynchronization should be performed after all other SIPxNano operations are complete. To
resynchronize all data sets, you use either:
•
rebuildDataSets operation in the DataSetService. See the WSDL dataset-service.xml file
•
ResyncAllDatasetsCommand class in the com.Patton.pds.applications.loader.commands package
Send all profiles
Sends all user, device, and application profiles to all phones managed by SIPxNano. You should send all profiles
after you add users or devices to SIPxNano, or after assigning devices to users. To send all profiles, you use
either:
•
sendAllProfiles operation in the SendProfilesService. See the WSDL send-profiles-service.xml file
•
SendAllProfilesCommand class in the com.Patton.pds. applications.loader.commands package
Table 20. Core Operations: Unassign Device from a User
WSDL Parameter
Java Method
Description
Required?
deviceSerialNumber
setDeviceSerialNumber()
Must be an existing device’s serial
number.
Yes