You can use Eudora,
In the Eudora, Go to Tools, Directory Service
Click on New Database
Give a Name for the Query "DCD"
In the HostName field, enter the IP Address of the CallManager
In the Port Number enter the Port Number as 8404
Click the Search Options Tag:
Enter the Search base as ou=users,o=cisco.com
In the Word-wise search filter enter the string (without quotes) "
(|(cn=*^0*)(uid=*^0*)(telephonenumber=*^0*))"
Click OK.
Make sure that DCD database is checked.
In the Query Box, on the left hand side screen, enter the user id, You can see the user properties, and then create your query.
OR (easiest)
Use DCD Bulk Export under DC Directory Administration.
For root DN:
/O=cisco.com
ciscoCCNatControlDevices is the property which store Device association info.
It will export a .txt file which u can use to perform your search.