The directory feature is a XML portal. You may host a customized XML on your own server and change the Directory URL on CUCM Enterprise parameters.
You might want to subscribe to developer support if you don't know how to build your XML.
Michael
http://htluo.blogspot.com