agent call manual search existing lead

Hi i wonder if the option agent call manual - that let's an agent to do Manual Dial and Fast Dial - search for a lead only in the lists assigned to the specific campaign or it searchs the lead in the whole system (all the lists).
thanks
Also, checking the code in vdc_db_query i wonder if the code in charge of this lookup is the lines 548 to 560 ??
if ($stage=='lookup')
{
$stmt="SELECT lead_id FROM vicidial_list where phone_number='$phone_number' order by modify_date desc LIMIT 1;";
$rslt=mysql_query($stmt, $link);
thanks again
thanks
Also, checking the code in vdc_db_query i wonder if the code in charge of this lookup is the lines 548 to 560 ??
if ($stage=='lookup')
{
$stmt="SELECT lead_id FROM vicidial_list where phone_number='$phone_number' order by modify_date desc LIMIT 1;";
$rslt=mysql_query($stmt, $link);
thanks again