Need to make a simple directory as a menu

Version 1

    Subject: RE: Need to make a simple directory as a menu
    Replied by: Adrienne Moherek on 08-05-2012 06:28:03 PM
    Can you use the phone directory method?

    <CiscoIPPhoneDirectory>
    <Title>Directory title goes here</Title>
    <Prompt>Prompt text goes here</Prompt>
    <DirectoryEntry>
    <Name>The name of the directory entry</Name>
    <Telephone>The telephone number for the entry</Telephone>
    </DirectoryEntry>
    </CiscoIPPhoneDirectory>

    Subject: RE: Need to make a simple directory as a menu
    Replied by: Gangadhar Tunugunta on 09-05-2012 01:59:02 AM
    ----Please Ignore my Comment.------
    Can you try using "Dial" instead of "dial".

    This document was generated from CDN thread

    Created by: Mark Anderson on 08-05-2012 02:44:34 PM
    Hi, I'm a first-time developer of an XML-based IP phone service. A customer is looking to create a small directory (10 entries) on a phone at an entry door. They do not want to have a searchable directory, just list the individuals directly on pressing the button; in this case the service is connected to a 7945 line button. They also don't want the numbers visible. Of course, the number will be shown when dialed anyway, but that's another battle: I'll probably populate the list with translation patterns to the real numbers.
     
    I've gotten to the point where I have the service appearing when the line button is pressed, listing all of the names, but selecting a name does not dial. Here's a part of the menu file I wrote:
     
    <?xml version="1.0" ?>
    <CiscoIPPhoneMenu>
    <Prompt>Select an individual to dial</Prompt>
    <MenuItem>
    <Name>Steve</Name>
    <URI>dial:94001</URI>
    </MenuItem>
    <MenuItem>
    <Name>Kathy</Name>
    <URI>dial:94002</URI>
    </MenuItem>
    <MenuItem>

    .
    .
    .
    etc.
     
    </CiscoIPPhoneMenu>
     
    Admittedly, I took a guess by sticking a "dial:" URI in the menu item. I also tried it as a URL. Do I have to make the menu item point to another resource on the web server instead, and have the dial URI in there?
     
    Any help would be greatly appreciated.

    Subject: RE: Need to make a simple directory as a menu
    Replied by: Gangadhar Tunugunta on 09-05-2012 01:46:26 AM
    Can you try using "Dial" instead of "dial".

    Subject: RE: Need to make a simple directory as a menu
    Replied by: Mark Anderson on 09-05-2012 10:37:35 AM
    Thanks for your reply.

    Unfortunately, I don't think the need from the customer will be filled by the standard directory functions. There are only 10 people on the list, so they want to have the list come up as soon as the button is pressed, and not have to perform a search. Also, they don't want to display the directory numbers in the list.

    I can try to get the directory results to come up directly by linking the file with the <CiscoIPPhoneDirectory> object directly to the phone button to see if that will display results without a search.

    I might be able to hide the actual phone numbers by routing the calls through translation patterns. This would be necessary anyway to hide the number when it is being dialed; I'm not sure what the phone will show when the call is connected though.

    I'll see if I can try both of those things, but I would prefer to get the dialing done directly from the <CiscoIPPhoneMenu> if I can.

    Subject: RE: Need to make a simple directory as a menu
    Replied by: Mark Anderson on 10-05-2012 03:41:23 PM
    Hi, thanks for the clue. I'm not sure why your response was marked "Please Ignore my Comment", but that was the answer! Apparently the "Dial:" URI is case-sensitive, so it worked like a charm once I capitalized the initial "D".