Changeset 5029

Show
Ignore:
Timestamp:
09/12/07 17:41:50 (6 years ago)
Author:
p_lindheimer
Message:

changed Agent Timeout of 0 seconds which makes no sense to Unlmited which is the result and fixed so that it could be set to this as it was defaulting to the 15 second default

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.3/queues/functions.inc.php

    r4976 r5029  
    184184    array($account,'leavewhenempty',($_REQUEST['leavewhenempty'])?$_REQUEST['leavewhenempty']:'no',0), 
    185185    array($account,'strategy',($_REQUEST['strategy'])?$_REQUEST['strategy']:'ringall',0), 
    186     array($account,'timeout',($_REQUEST['timeout'])?$_REQUEST['timeout']:'15',0), 
     186    array($account,'timeout',(isset($_REQUEST['timeout']))?$_REQUEST['timeout']:'15',0), 
    187187    array($account,'retry',($_REQUEST['retry'])?$_REQUEST['retry']:'5',0), 
    188188    array($account,'wrapuptime',($_REQUEST['wrapuptime'])?$_REQUEST['wrapuptime']:'0',0), 
  • modules/branches/2.3/queues/module.xml

    r4977 r5029  
    22  <rawname>queues</rawname> 
    33  <name>Queues</name> 
    4   <version>2.2.13.2</version> 
     4  <version>2.2.13.3</version> 
    55  <type>setup</type> 
    66  <category>Inbound Call Control</category> 
     
    99  </description> 
    1010  <changelog> 
     11    *2.2.13.3* Agent Timeout 0 makes results in default, but should be Unlimited fixed 
    1112    *2.2.13.2* #2313 fix error introduced by #2172, Agent Announce not being saved 
    1213    *2.2.13.1* #2172 deprecated use of |, #2193 hard coded moh path 
  • modules/branches/2.3/queues/page.queues.php

    r4907 r5029  
    330330  </tr> 
    331331  <tr> 
    332     <td><a href="#" class="info"><?php echo _("agent timeout:")?><span><?php echo _("The number of seconds an agents phone can ring before we consider it a timeout.")?></span></a></td> 
     332    <td><a href="#" class="info"><?php echo _("agent timeout:")?><span><?php echo _("The number of seconds an agent's phone can ring before we consider it a timeout. Unlimited or other timeout values may still be limited by system ringtime or individual extension defaults.")?></span></a></td> 
    333333    <td> 
    334334      <select name="timeout"/> 
    335335      <?php 
    336336        $default = (isset($timeout) ? $timeout : 15); 
    337         for ($i=0; $i <= 60; $i++) { 
     337        echo '<option value="0" '.(0 == $default ? 'SELECTED' : '').'>'."Unlimited".'</option>'; 
     338        for ($i=1; $i <= 60; $i++) { 
    338339          echo '<option value="'.$i.'" '.($i == $default ? 'SELECTED' : '').'>'.queues_timeString($i,true).'</option>'; 
    339340        }