11 - 14 CA50/UCA Client & Server Developer & User Guide
Phone Extension Web Service
In the default installation the Phone Extension Management Web Service is located at:
http://UCAInstallMachine/Motorola/UCA/ServerManagement/PhoneExtensionManagement.asmx.
This Web service can be used by external programs to modify the phone extension data in the UCA database.
Phone Extension Web Service Methods
This function adds a phone extension that can be used by a CA50 device. the extensions are added to the
B_PhoneExt table.
int AddExtension(PhoneExtInfo phExtInfo, string ipAddr, string sUser, ref UCAWebServiceStatus WSStatus)
Parameters
phExtInfo
Phone extension info class that describes the phone extension
ipAddr
IP address of source machine (optional - used for logging).
Pass "" if do not wish to have the address logged.
sUser
UserID of user making WS call (optional - used for logging).
Pass "" when user logging is not required.
WSStatus
UCAWebServiceStatus class describes the status of the call
Return Values
Returns 1 when successful.
Remarks
Any errors are logged to the NT Event log.
Related Classes
public class PhoneExtInfo
{
public PhoneExtInfo(){}
string phnExtPhoneNumber,
string phnDesc,
string phnOwnerID,
string phnRangeToken,
string locExtID,
bool phnIsAlwaysShown,
string phnExtensionPassword,
string phnExtType
public string phnMAC,
public bool phnInvalid,
public string
phnInvalidReason
}