Using the lock and unlock commands, Using the, Lock and unlock commands – Aastra Telecom 9480i Series User Manual

Page 1122: Draft 1

Advertising
background image

Creating an XML Application

F-46

41-001160-03, Rev 00, Release 2.4

IP Phone Administrator Guide

The command for LED control is sent using the XML HTTP post from one of the
XML push server lists. The following example shows an XML LED command in
an AastraIPPhoneExecute script.

<AastraIPPhoneExecute>

<ExecuteItem URI=”Led: topsoftkey20=on”/>

<ExecuteItem URI=”Led: softkey1=off”/>

<ExecuteItem URI=”Led: prgkey2=fastflash”/>

<ExecuteItem URI=”Led: expmod2 key20=slowflash”/>

</AastraIPPhoneExecute>

Using the Lock and Unlock Commands

There are two XML Execute Commands that allow a remote phone to be locked
or unlocked.

Lock - This command locks a remote phone.

Unlock - This command unlocks a remote phone, allowing an Administrator
to update its configuration if required.

The following examples use the “Lock” and “Unlock” attributes with the Execute
Command.

Example 1:

<AastraIPPhoneExecute>

<ExecuteItem URI="Command: Unlock"/>

</AastraIPPhoneExecute>

The phone gets unlocked.

Example 2:

Server sends XML Execute to the phone using HTTP POST.

<AastraIPPhoneExecute>

<ExecuteItem URI="Command: Lock"/>

</AastraIPPhoneExecute>

The phone gets locked.

Notes:

1.

Using the Aastra Web UI, you must set the XML push server list

from where the XML HTTP post is being sent.
2.

The LED states specified in the AastraIPPhoneExecute script are

not saved after a reboot.

Draft 1

Advertising
This manual is related to the following products: