cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2321
Views
4
Helpful
4
Replies

UC520 XML to Corporate Directory

damico_74
Level 1
Level 1

Hi all,

I´m new at Cisco CUCM area, so i´ve tried to find at Cisco website some documentation in how to solve one problem that I have in one of our clients.

This client bought the UC520 and has an personal contacts in his phone.

We exported this contacts to a file and want do let it available in a web server (we already have) in XML file. How to build this XML? How the Cisco IP Phones can access this XML to use this contacts like a corporate directory?

Thank you.

Rodrigo

1 Accepted Solution

Accepted Solutions

I believe a single page will support up to 32 entries.  If you have more than that, you will need to break them up into multiple pages.  Navigating between pages can be done one of two ways. Your directory.xml file could actually be another menu, similar to the Menu file above but with multiple entries pointing to different Directory files, or you can add a Next softkey in the Directory file to load the next page.

Here is how you would add a Next softkey (you have to redefine all of the softkeys):

   

    Dial

    SoftKey:Dial

    1

   

   

    EditDial

    SoftKey:EditDial

    2

   

   

    Exit

    SoftKey:Exit

    3

   

   

    Next

    http:///directory2.xml

    4

   

This goes somewhere within the tag, either at the top or the bottom.  On subsequent pages, you can also add a Prev softkey to load the previous page. 

I hope I understood the question.

View solution in original post

4 Replies 4

Logan Gaffney
Level 1
Level 1

On the web server you could create a directories.xml file like the one below:

  Directory title goes here

  Prompt text goes here

 

    The name of the directory entry

    The telephone number for the entry

 

  Directory title goes here

  Prompt text goes here

 

    The name of the directory entry

    The telephone number for the entry

 

You will also need to tell the CME to look at the web server for the file:

cme(config)#telephony-service

cme(config-telephony)#url directories http:///

You can also review the following for additional info:

CiscoIPPhone XML Objects

http://www.cisco.com/univercd/cc/td/doc/product/voice/vpdd/cdd/5_0/5_0_1/ipphsv/ip503ch2.htm

Cisco Unified CME Configuration for XML Applications

http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/srnd/design/guide/external.html#wp1074400

Thank you for the answer, Logan.

I tried with 4 entries and it worked right, but with 'url services ....', not 'url directories' .....

But, if I want to input many entries. How can I do the search in this entries?

Rodrigo

I believe a single page will support up to 32 entries.  If you have more than that, you will need to break them up into multiple pages.  Navigating between pages can be done one of two ways. Your directory.xml file could actually be another menu, similar to the Menu file above but with multiple entries pointing to different Directory files, or you can add a Next softkey in the Directory file to load the next page.

Here is how you would add a Next softkey (you have to redefine all of the softkeys):

   

    Dial

    SoftKey:Dial

    1

   

   

    EditDial

    SoftKey:EditDial

    2

   

   

    Exit

    SoftKey:Exit

    3

   

   

    Next

    http:///directory2.xml

    4

   

This goes somewhere within the tag, either at the top or the bottom.  On subsequent pages, you can also add a Prev softkey to load the previous page. 

I hope I understood the question.

paolo bevilacqua
Hall of Fame
Hall of Fame

Programming "right" directory services is not an easy task.

You may consider a professionally deveoped product with a full set of features, AD integration, import/export, web interface, number to name lookup, etc.

http://www.ciscoxmlservices.com/en/products/51-ciscoxmlservices

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: