Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Adding a custom directory

I want to add a custom directory to my customers' phones. I can do this by Getting the current xmldirectory.jsp file from the CCM, adding a new <MenuItem> entry for my custom directory and then saving the modified .jsp (or .xml) file on my server (and changing the "URL Directories" parameter on the CCM to point to the file on my server.)

But I would prefer to modify the xmldirectory.jsp file on the CCM (and leave the "URL Directories" parameter unchanged) so that if the customer want to add another custom directory directory, he can do so by making his own changes to the xmldirectory.jsp file on the CCM and not have to have access to the file on my server.

Is it possible to do this? How would I write the modified xmldirectory.jsp file back to the CCM?

If this is not possible, I guess the customer could add his own custom menu by modifying the xmldirectory.jsp file from my server and then saving it on a third server, but that's getting kind of messy.

How do people usually do this?

5 REPLIES

Re: Adding a custom directory

Linux based CCMs are locked down appliances.. you won't get access to the file system just because it's convenient. So you really should just use an external place to host the file. I'm sure there's a webserver somewhere in the organization that you could use.

Community Member

Re: Adding a custom directory

Yes, I ended up doing it that way. But I have another question.

Is the "URL Directories" parameter accessible, and settable, using SQL? I searched through the database but wasn't able to find a field that held this value. I'm currently working on using the CCM's web interface to change this parameter, but it would a lot easier if I could do it through SQL.

Re: Adding a custom directory

The enterprise parameter or the parameter on the phone? At least the parameters on the phone should be in the device table (you can set them with updatePhone/updateDeviceProfile)..

Community Member

Re: Adding a custom directory

I want to change the "URL Directories" parameter in the Enterprise Parameters, since I am adding a new entry to the directories menu. I guess I could set it on each phone, but if I don't change it Enterprise Parameters, the change will be list when the phone is reset.

Can I change the "URL Directories" parameter in the Enterprise Parameters using SQL?

Re: Adding a custom directory

Phones default to the value in the enterprise parameters when they don't have a local value.

Though if you want to change it globally.. it's only one value so what's wrong with using ccmadmin?

I know, not the answer you're looking for. I'm sure it is somewhere in the DB, you just need to figure out which of the gazillion tables. Have a look at the data dictionary (http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_reference_guides_list.html) and check the most likely tables using cli sql.

971
Views
0
Helpful
5
Replies
CreatePlease to create content