I was wondering how the Directory CMD can read the input of numbers from a phone and translate that to search in voicemail.conf. Essentially I want to be able to look up contacts with MySQL and have the user input 3 digits corresponding to the contacts last name and have it search for it in the database. I already have the connection into mysql working but just wondering how I would go about getting the numeric input to be translated to TEXT. Thanks for the pointers. Tom Vile -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061113/4aedf9b1/attachment.htm