11 - 44 CA50/UCA Client & Server Developer & User Guide
UCA Server Optional API Samples
Two sample programs that demonstrate using the UCA server optional APIs are provided:
•
UCA Messaging Sample - Uses the optional API to send asynchronous messages to all or individual users.
•
UCA Phone Extension Example - Uses the optional API to add a new dynamic UCA phone extension to the
UCA database.
UCA Messaging Sample
The compiled application installs along with UCA Server installation. When installed, the location of the UCA
Messaging Sample API is: http:/UCAInstallMachine/Motorola/UCA/Samples/UCAMessaging/default2.aspx.
This sample API uses the DeviceMessaging Web Service and allows the developer to send a message (text) and
specify an audio file (.wav) to be played on the device.
NOTE The specified audio file must be present on the device.
The message can be sent to a specific user, or all users.
When installed, the sample source code for this sample can be found in the directory:
\Program Files\Motorola\UCA Server\DevelopmentToolkit\Messaging.