IP Phone Administrator Guide How to Create an XML Application

Appendix G

AastraIPPhoneTextMenu (Icon Menu)

The AastraIPPhoneTextMenu (Icon Menu) object is identical to the “Text Menu Object (Menu Screens)” described on page 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 37.

G-36

41-001160-00, Rev 01 Release 2.0

Page 576
Image 576
Aastra Telecom 57I C53I manual AastraIPPhoneTextMenu Icon Menu