Content

Page tree



Description

The SnomIPPhoneDirectory (or IPPhoneDirectory) tag displays a directory of name-number pairs from which a user can select one to call.

This XML Item is deprecated, please use SnomIPPhoneMenu, to dial a number please use the numberdial fragment.



Valid Attributes

  • SnomIPPhoneDirectory can use any of the attributes from the Main Attributes list
  • has_scrollbar: Display a scrollbar. Valid values: true, false, yes, no, on, off
  • speedselect: If enabled, an item or line can be selected by entering the according number. If set to enter, the item is directly entered, as if you pressed the OK button. If set to select, the item/line is only preselected. Valid values: off, select, enter.


Valid Subtags

The SnomIPPhoneDirectory can use any of the subtags from the Main Subtags list

In addition, it uses the following subtags:

DirectoryEntry

A single directory entry

Valid Attributes:

  • sel: Preselect this directory entry

Valid Subtags:

  • Name: The displayed text for the directory entry
  • Telephone: The number dialed, when the directory entry is selected.


Examples

XML code:
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneDirectory>
    <Title>Menu</Title>
    <DirectoryEntry>
        <Name>Support</Name>
        <Telephone>444</Telephone>
    </DirectoryEntry>
    <DirectoryEntry>
        <Name>Sales</Name>
        <Telephone>445</Telephone>
    </DirectoryEntry>
</SnomIPPhoneDirectory>


Result: