Aastra Telecom 9143i Series User Manual

Page of 1184
Creating an XML Application
 41-001160-03, Rev 00, Release 2.4
F-75
AastraIPPhoneTextMenu (Icon Menu)
The AastraIPPhoneTextMenu (Icon Menu) object is identical to the 
 described on 
, 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 
 on 
Draft 1