CME - External Directory Menu with Local Directory Support

Unanswered Question
Nov 23rd, 2008

We are wanting to create a new menu to present more choices to users when pressing the directories button. Using an external source with specific items, we would however like to access the local directory for speed dials and personal speeddials.

Consider the following XML Menu

<?xml version="1.0" encoding="UTF-8"?>

<CiscoIPPhoneMenu>

<Title>Directory Services</Title>

<Prompt>Select Directory to Search</Prompt>

<MenuItem>

<Name>Corporate Directory</Name>

<URL>http://10.135.1.52/CMEDirectory/corporatedirectory.xml</URL>

</MenuItem>

<MenuItem>

<Name>Practitioner Contacts</Name>

<URL>http://10.135.1.47/contacts</URL>

</MenuItem>

<MenuItem>

<Name>Local Directory</Name>

<URL>http://10.135.3.25:80/localdirectory</URL>

</MenuItem>

</CiscoIPPhoneMenu>

The First Two Items link to Active Directory and SQL for some external contacts, however we still want to access the local directory.

When using the above meu, accesing the local option results in an XML Error [4]: Parse Error

Is there a way we can link back so we can present both?

We do not want to publish one of the other via services, as it will result in too many menus to access similar features. to combine in a single listing is optimum for users.

Thanks for all your help

Mike

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Anonymous (not verified) Mon, 12/01/2008 - 07:40

Check the bug:

CSCse37151: IPPM: Phone displays XML Parse Error when accessing Contact List

Michael Meyer Mon, 12/01/2008 - 18:35

Unfortunatly this is not the issue. This issue relates to the number of results the phone can display being limited to 32.

Since the initial post, I can give further detail. When executing the http://CMEIP:80/localdirectory it is actually looking for a variable to be passed.

So if you send http://CMEIP:80/localdirectory/?host=%hostname% where %hostname% is the hostname of the IP Phone, it returns full results and you can access the IP Phone Personal Speed Dials.

However this only works when you explicitly send that command through, what if you use a different IP Phone?

So I am still working through a script that can somehow work out the hostname and then parse it in the command. Who Knows?

lmanders2 Fri, 01/21/2011 - 09:38

Has anyone found a solution to this?

I am having the exact same problem, I have created a custom directory and would also like to use the local directory.

The local directory will now load with http://cmeip/localdirectory/?host=ipphonehostname however the speed dial menus do not work. I am sending the hostname as SIP***IPPMAC*** which is the hostname of the phone, however I am still not seeing any results for speed dial.

I know this phone has entries in the speed dial, is there another variable that needs to be passed to get the speed dial to work correctly? Any assistance would be greatly appreciated.

PS: This is the only post on this subject that I have found and I am ever so thankful to you for posting this information. I cannot understand why enabling an external directory removes the internal.

Paolo Bevilacqua Sat, 01/22/2011 - 09:33

I cannot understand why enabling an external directory removes the internal.

That is by design. If you want both directories, your external one must manully import the internal entries.

lmanders2 Tue, 01/25/2011 - 09:45

Thank you very much for your response to a topic from two years ago... I really didn't expect a reply. I have been successful in creating a link back to the local directory from within my external one.

For the link from my external page to the internal directory I am using: http://cmeip/localdirectory/?name=%ipphonehostname%, the required variable to use is 'name' not 'host'. The phone itself sends the name variable to my external directory page, I guessed about this and was correct. So I just have to retreive that variable and use it in the link to the localdirectory. Now the Personal Speed Dial numbers that are set to each phone show up correctly.

On a side note, you can make a menu item that links directly to the localdirectory by using http://cmeip/localdirectory/query

This way you are not sent to the menu which lists local directory, local speed dial, and personal speed dial.

Thanks again for your information, you helped me solve this problem where there was no other information available. Hopefully my additional input will help others trying to solve this problem as well.

Actions

This Discussion