I posted a few fixes for agi-VDAD_ALL_inbound.agi and admin_search_lead.php in mantis. There are a couple of mislabeled variables that mess with the hold time option and debug output.
http://www.eflo.net/VICIDIALmantis/view.php?id=232
http://www.eflo.net/VICIDIALmantis/view.php?id=233
http://www.eflo.net/VICIDIALmantis/view.php?id=234
Also, in admin_search_lead.php I found these:
$office_no=strtoupper($PHP_AUTH_USER);
$password=strtoupper($PHP_AUTH_PW);
What do these do?