Show
Ignore:
Timestamp:
04/07/10 13:16:23 (3 years ago)
Author:
p_lindheimer
Message:

Merged revisions 9418-9447,9449-9459 via svnmerge from
http://svn.freepbx.org/modules/branches/2.7

........

r9420 | p_lindheimer | 2010-03-27 14:49:12 -0700 (Sat, 27 Mar 2010) | 1 line


remove unused install.sql

........

r9421 | p_lindheimer | 2010-03-27 14:49:38 -0700 (Sat, 27 Mar 2010) | 1 line


Module Publish Script: cidlookup 2.7.0.2

........

r9442 | p_lindheimer | 2010-04-05 11:40:45 -0700 (Mon, 05 Apr 2010) | 1 line


don't put dynmember info in queues_additional.conf, it is meaningless and may break the app, please confirm this fixes the issue before closing and publishing re #4187

........

r9457 | p_lindheimer | 2010-04-07 10:03:38 -0700 (Wed, 07 Apr 2010) | 1 line


Auto Check-in of any outstanding patches

........

r9458 | p_lindheimer | 2010-04-07 10:04:08 -0700 (Wed, 07 Apr 2010) | 1 line


Module Publish Script: core 2.7.0.5

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.8

    • Property svnmerge-integrated changed from /modules/branches/2.7:1-9417,9448 to /modules/branches/2.7:1-9459
  • modules/branches/2.8/queues/functions.inc.php

    r9396 r9460  
    884884    $results['queuewait']     = $config['queuewait']; 
    885885    $results['use_queue_context'] = $config['use_queue_context']; 
     886 
     887    // TODO: why the str_replace? 
     888    // 
     889    if ($astman) { 
     890      $account=str_replace("'",'',$account); 
     891      //get dynamic members priority from astDB 
     892      $get=$astman->database_show('QPENALTY/'.$account.'/agents'); 
     893      if($get){ 
     894        foreach($get as $key => $value){ 
     895          $key=explode('/',$key); 
     896          $mem[$key[4]]=$value; 
     897        } 
     898        foreach($mem as $mem => $pnlty){ 
     899          $dynmem[]=$mem.','.$pnlty; 
     900        } 
     901        $results['dynmembers']=implode("\n",$dynmem); 
     902      } else { 
     903        $results['dynmembers']=''; 
     904      } 
     905      $results['dynmemberonly'] = $astman->database_get('QPENALTY/'.$account,'dynmemberonly'); 
     906    } else { 
     907      fatal("Cannot connect to Asterisk Manager with ".$amp_conf["AMPMGRUSER"]."/".$amp_conf["AMPMGRPASS"]); 
     908    } 
    886909  } 
    887910 
     
    902925    } 
    903926  } 
    904   // TODO: why the str_replace? 
    905   // 
    906   if ($astman) { 
    907     $account=str_replace("'",'',$account); 
    908     //get dynamic members priority from astDB 
    909     $get=$astman->database_show('QPENALTY/'.$account.'/agents'); 
    910     if($get){ 
    911       foreach($get as $key => $value){ 
    912         $key=explode('/',$key); 
    913         $mem[$key[4]]=$value; 
    914       } 
    915       foreach($mem as $mem => $pnlty){ 
    916         $dynmem[]=$mem.','.$pnlty; 
    917       } 
    918       $results['dynmembers']=implode("\n",$dynmem); 
    919     } else { 
    920       $results['dynmembers']=''; 
    921      } 
    922     $results['dynmemberonly'] = $astman->database_get('QPENALTY/'.$account,'dynmemberonly'); 
    923   } else { 
    924     fatal("Cannot connect to Asterisk Manager with ".$amp_conf["AMPMGRUSER"]."/".$amp_conf["AMPMGRPASS"]); 
    925   } 
    926927  return $results; 
    927928} 
  • modules/branches/2.8/queues/module.xml

    r9396 r9460  
    22  <rawname>queues</rawname> 
    33  <name>Queues</name> 
    4   <version>2.7.0.3</version> 
     4  <version>2.7.0.4</version> 
    55  <publisher>FreePBX</publisher> 
    66  <license>GPLv2+</license> 
     
    1111  </description> 
    1212  <changelog> 
     13    *2.7.0.4* #4187 
    1314    *2.7.0.3* #4165 
    1415    *2.7.0.2* #4120 again fixed typo in variable name