Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
IP Phone Services (IPPS) Developer Center
Overview
Documentation
Community
Wiki
Testing
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to IP Phone Services Questions
Need to make a simple directory as a menu
Threads [
Previous
|
Next
]
Mark Anderson
Posts:
3
Join Date:
5/8/12
Recent Posts
Need to make a simple directory as a menu
Answer
5/8/12 7:44 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Adrienne Moherek
Posts:
18
Join Date:
8/31/11
Recent Posts
RE: Need to make a simple directory as a menu
Answer
5/8/12 11:28 PM as a reply to Mark Anderson.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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>
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Gangadhar Tunugunta
Posts:
6
Join Date:
7/11/08
Recent Posts
RE: Need to make a simple directory as a menu
Answer
5/9/12 6:59 AM as a reply to Gangadhar Tunugunta.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
----Please Ignore my Comment.------
Can you try using "Dial" instead of "dial".
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Mark Anderson
Posts:
3
Join Date:
5/8/12
Recent Posts
RE: Need to make a simple directory as a menu
Answer
5/9/12 3:37 PM as a reply to Adrienne Moherek.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Mark Anderson
Posts:
3
Join Date:
5/8/12
Recent Posts
RE: Need to make a simple directory as a menu
Answer
5/10/12 8:41 PM as a reply to Gangadhar Tunugunta.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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".
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top