Changeset 6177

Show
Ignore:
Timestamp:
07/24/08 23:41:10 (5 years ago)
Author:
p_lindheimer
Message:

closes #2950 busy and congestion class should not be hard coded

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/extensions.class.php

    r6122 r6177  
    11081108 
    11091109class ext_congestion extends extension { 
    1110   function output() { 
    1111     return "Congestion(20)"; 
     1110  var $time; 
     1111 
     1112  function ext_congestion($time = '20') { 
     1113    $this->time = $time; 
     1114  } 
     1115  function output() { 
     1116    return "Congestion(".$this->time.")"; 
    11121117  } 
    11131118} 
    11141119 
    11151120class ext_busy extends extension { 
    1116   function output() { 
    1117     return "Busy(20)"; 
     1121  var $time; 
     1122 
     1123  function ext_busy($time = '20') { 
     1124    $this->time = $time; 
     1125  } 
     1126  function output() { 
     1127    return "Busy(".$this->time.")"; 
    11181128  } 
    11191129}