cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4234
Views
20
Helpful
59
Replies
Highlighted
Beginner

Re: CUCM 6.1 - Adding an additonal directory?

The file metions copying the "dictionary.asp" file to the external server, did anyone find those in CUCM Version 6?

Highlighted
Beginner

Re: CUCM 6.1 - Adding an additonal directory?

No, I just changed the name of the LocalizedDirectory.asp file that comes with the SDK to directory.asp then referenced this file in the url.

Highlighted
Beginner

Re: CUCM 6.1 - Adding an additonal directory?

I've got this partially working. I can get the Personal Address book from CallManager with no problem. I get "page not found" when selecting Corporate Directory. I copied the localizeddirectory.asp with a new name, updated the xml doc to reflect this new file name and only change the 5 Variables listed int the .asp file to point to my local AD server (var ldapserver, var ldapsearchbase, etc...). Did you change anyting else in the .asp page to get this thing to work? Funny thing is that my External Web server, my phone and the AD server are firewall seperated and I don't see any connection attempts from either the Phone or the Web Server for LDAP...

My earlier question about the "dictionary.asp" file comes from the .asp file, when opened with Notepad, has a reference in the beginning stating something about copying the dictionary files from CallManager to the External Web server...

Highlighted
Beginner

Re: CUCM 6.1 - Adding an additonal directory?

Thanks, this post has been a great help. I am looking to get a little more information returned. In my search results I would like to get back the name, the number, and the department. My problem is that I can't seem to figure out how to get my listing back with 3 lines of infor instead of just 2.

Any ideas?

Highlighted
Rising star

Re: CUCM 6.1 - Adding an additonal directory?

the number of lines in a standard directory is controlled by the length of the string you're displaying (and there's a limit to how many characters you can display).. if you have long names and long internal extensions you might run into a cutoff problem if you're trying to add more information.

If you want a really flexible directory you'll have to go outside the directories menu and create a regular ip phone service.. there you are free to use different GUI elements... e.g. I've done directories using a CiscoIPPhoneMenu and list results using that.. I list whatever information fits into the character limit for a menu item, then I have a dial (dials the default number for the user.. if available the office number, then the cell and if not available the personal number) softkey and details softkey - the latter gets you to a detail page that shows whatever info the customer wants displayed including information like department, and a list of all phone numbers found (I usually query another directory than ccm or return a combined search result from ccm and another directory.. hence the possibilty for more numbers) and have softkeys to dial the different numbers (since they're listed in text you cannot select one).

Highlighted
Beginner

Re: CUCM 6.1 - Adding an additonal directory?

That is exactly what I am trying to accomplish. Would you mind posting your pages that you are using for this IP service?

Thanks

BC

Highlighted
Rising star

Re: CUCM 6.1 - Adding an additonal directory?

Are you refering to me? I do all my work with JSPs, I have my own custom search libraries that I reference as well as my own library to write the CiscoIPPhone Elements - so while you see me iterating through the results and might get an idea of what I'm doing with my CiscoIpPhone lib I'm not sure how telling the whole thing is (and I cannot post everything.. a snippet of the jsp would be all).

If you're interested though I can just save a couple pages of the output when I connect to the customer the next time so you see the pages my service returns (input, results, details).

Highlighted
Rising star

Re: CUCM 6.1 - Adding an additonal directory?

What (programming) language do you speak? Though even if I give you a frontend page.. I have complete separation between presentation and search logic.. my jsp pages just contain presentation logic (gather parameters, ask backend to perform the search, list search results) and I cannot give out backend code (for one I have base classes and project specific classes that have the customer name in them.. and customers don't pay for sourcecode access and would feel more than slightly miffed if we shared the code with third parties but not with the guys that paid us to write the code).

But the principle is always the same.. CiscoIPPhoneInput with 2-3 input parameters (usually first and last name, and depending on the customer location or company name), then perform the search and get a vector of my DirectoryEntry class, then iterate through them and generate a CiscoIpPhoneMenu with MenuItems (until you hit the maximum number of allowed items on the page.. or unless you run out of items) or a CiscoIpPhoneDirectory. If it's CiscoIpPhoneMenu it depends on the customer what happens if an item is selected.. default is call the number but there's a call softkey as well (adds a query string action=call to the url).. depending on customer there can be a details softkey which returns a CiscoIpPhoneText items listing all the numbers and a softkey per number... so you could e.g. have 3 softkeys

office

home

cell

and depending on which you press, the appropriate number is called (naturally those buttons are only there if the corresponding number is).. there can also be more info about the directory entry e.g. company, location, etc. I even have a directory where the DirectoryItem contains a PNG image.. in that case the details page generates a PNG image composited of a fixed background, the person's image and then I "write" the name number etc onto the background using standard AWT mechanisms for drawing, then save the file to the webserver and return a CiscoIpPhoneImageFile object.

Highlighted
Beginner

Re: CUCM 6.1 - Adding an additonal directory?

If you are asking me, I do not speak any "programmer" language. All I'm looking for is a way to have an external server perform a search of the Active Directory by OU and provide those results back to the phone...The directory1.asp file that is loaded on my external Web server has the applicable variables set for the AD, but I get "page not found" on the phone when hitting button 5 for "corporate directory". Has anyone gotten this proposal to work?

Highlighted
Beginner

Re: CUCM 6.1 - Adding an additonal directory?

Yes, I got it to work. I posted a response to this thread on Sept 11, 2008 with the details.

What url are you using?

What happens when you try to access the url with a PC web browser?

Highlighted
Beginner

Re: CUCM 6.1 - Adding an additonal directory?

Here's my topology:

CUCM: 10.96.0.40

External Web Server: 10.96.0.53

AD Server: 10.32.0.21 with domain "test.local". OU for Users = "Test Customers". User for AD login = CUCM in "Test Service Accounts"

the Directory1.xml file has this:

Select a directory

Personal Directory

http://10.96.0.40:8080/ccmpd/pdCheckLogin.do?name=undefined

Corporate Directory

http://10.96.0.53/CiscoIPServices/LocalizedDirectory/directory1.asp?action=search

The Directory1.asp file has the following Variables set and nothing else changed...

var ldapserver = "10.32.0.21";

var ldapsearchbase = "OU=Test Customers,DC=test,DC=local";

var ldapport = "389";

var ldapuserid = "CN=CUCM,OU=Test Service Accts,DC=test,DC=local";

var ldappassword = "test";

Any thoughts would be GREATLY appreciated...

Highlighted
Beginner

Re: CUCM 6.1 - Adding an additonal directory?

Does the external webserver have the Cisco IP Phone Services Software Development Kit (SDK) installed?

http://www.cisco.com/en/US/prod/collateral/voicesw/ps6788/phones/ps379/product_data_sheet09186a00800925a8.html

Highlighted
Beginner

Re: CUCM 6.1 - Adding an additonal directory?

Yes it does.

Highlighted
Frequent Contributor

Re: CUCM 6.1 - Adding an additonal directory?

so what happens if you enter the url in a web browser?

http://10.96.0.53/CiscoIPServices/LocalizedDirectory/directory1.asp?action=search

check if the virtual directory CiscoIPServices exists in IIS

Highlighted
Beginner

Re: CUCM 6.1 - Adding an additonal directory?

I get "page cannot be found" with HTTP error 404.

The Directory "CiscoIPServices" does exist under IIS->Web Sites->Default Web Site. When I expand the Directory I see all the folders that SDK created and when expanding the LocalizedDirectory folder I see my files there.

CreatePlease to create content
Content for Community-Ad
Future of Work Virtual Summit Day 5

Cisco COVID-19 Survey