Show
Ignore:
Timestamp:
06/06/11 10:25:49 (2 years ago)
Author:
mbrevda
Message:

closes #5127, #5054, #5049 - done call missing functions, wait properly in between iterations

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.10/directory/agi-bin/directory.agi

    r12211 r12213  
    9999        break; 
    100100      } 
    101     } 
     101           
     102    } 
     103 
    102104    //wait for a responce before restarting loop 
    103     if (!isset($ret) || !$ret) { 
     105    if (!isset($ret) || !$ret || $ret['result'] == '0') { 
    104106      $ret = $dir->agi->wait_for_digit(10000); 
    105107      if (trim($ret['result'])) { 
     
    108110    }  
    109111 
    110  
    111     debug("got result: ".$ret['result']); 
    112112    if(trim($ret['result'])){ 
    113113      call($matches[$ret['result']-1]);