Creating an XML Application

How to Create an XML Application

AastraIPPhoneTextMenu (Icon Menu)

The AastraIPPhoneTextMenu (Icon Menu) object is identical to the “Text Menu Object (Menu Screens)” described on page G-6, except a small icon image appears after the menu number and before the text item. The Text Menu object allows application developers to create a numerical list of menu items on the IP phones. The AastraIPPhoneTextMenu (Icon Menu) object allows users to navigate the application, by linking HTTP requests and icons to menu items.

XML Example:

The XML script for the AastraIPPhoneTextMenu (Icon Menu) object is as follows:

<AastraIPPhoneTextMenu> <Title> Icon Menu </Title> <MenuItem base = http://someserver/,

icon="1"> <Prompt> Voicemail </Prompt> <URI>scripts/voicemail.php</URI>

</MenuItem> <MenuItem icon="2">

<Prompt> Horoscope</Prompt>

<URI> scripts/horoscope.php </URI> </MenuItem>

<IconList>

<Icon index = "1"> Icon:Envelope </Icon> <Icon index = "2"> FFFF0000FFFF0000 </Icon>

</IconList>

</AastraIPPhoneTextScreen>

The “icon=1” attribute in the above example tells the phone to display the icon specified in the IconList called “<Icon index = “1”> Icon:Envelope </Icon>”. For more information about the “IconList”, see “Using the <IconList>” on page G-54.

Appendix G

41-001160-00, Release 2.1, Rev 04

G-53

Page 791
Image 791
Aastra Telecom 53I, 57I CT, 55I manual AastraIPPhoneTextMenu Icon Menu