« Back to IP Phone Services Questions

Need to make a simple directory as a menu

Combination View Flat View Tree View
Threads [ Previous | Next ]
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.

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>

----Please Ignore my Comment.------
Can you try using "Dial" instead of "dial".

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.

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".