i want to make an integration with asterisk phone server and query the zimbra addressbok for the FullName to the CallerID.

i did some tests with the scripts found at SourceForge.net Repository - [zimbra] Index of /trunk/ZimbraServer/src/perl/soap

but i still have some questions:

1) search for a contact detail isn't possible? workPhone,email?
2) the * is ignored at a beginning of a query? "*99*" search for "99*"
3) build a soap query with the phone number and parse the response for FullName is the best way to get name to number? any other/better way?

has someone already implemented a script for asterisk agi to lookup the name in the zimbra adressbook? maybe he could share that with us