Changeset 10645

Show
Ignore:
Timestamp:
12/01/10 07:07:35 (2 years ago)
Author:
mbrevda
Message:

re #4566
Merged revisions 10630 via svnmerge from
http://www.freepbx.org/v2/svn/modules/branches/2.9

................

r10630 | p_lindheimer | 2010-11-29 23:44:46 +0200 (Mon, 29 Nov 2010) | 32 lines


Merged revisions 10510-10516,10518-10547,10549-10611,10613-10629 via svnmerge from
http://svn.freepbx.org/modules/branches/2.8


................

r10514 | p_lindheimer | 2010-11-02 10:56:16 -0700 (Tue, 02 Nov 2010) | 1 line


fixes # 4617 validate the featurecode input when not default even if disabled to keep bad values from entering the db

................

r10529 | p_lindheimer | 2010-11-03 10:46:15 -0700 (Wed, 03 Nov 2010) | 1 line


change syntax from HINT: to hint: to be consistent with what appears to be case sensitive 1.8, the commonly used 1.4 patch is case insensitive so this will continue to work there

................

r10531 | p_lindheimer | 2010-11-05 08:35:13 -0700 (Fri, 05 Nov 2010) | 1 line


remove Undefined offset warning

................

r10620 | p_lindheimer | 2010-11-27 10:14:08 -0800 (Sat, 27 Nov 2010) | 1 line


rename TARGET_FLP4nn to TARGET_FLP_nnn

................

r10629 | p_lindheimer | 2010-11-29 10:10:43 -0800 (Mon, 29 Nov 2010) | 9 lines


Merged revisions 10628 via svnmerge from
http://svn.freepbx.org/modules/branches/2.7


........

r10628 | p_lindheimer | 2010-11-29 10:07:38 -0800 (Mon, 29 Nov 2010) | 1 line


fixes # 4660 add admin code to meetme_additional.conf to get around Asterisk bug introduced in https://issues.asterisk.org/view.php?id=17908 though we probably should already have been putting it in anyhow

........

................

................

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/bootstrap-2.9

    • Property svnmerge-integrated changed from /modules/branches/2.9:1-10624 /modules/branches/2.8:1-10509 to /modules/branches/2.8:1-10509 /modules/branches/2.9:1-10644
  • modules/branches/bootstrap-2.9/conferences/functions.inc.php

    r10152 r10645  
    88    return "meetme_additional.conf"; 
    99  } 
    10  function addMeetme($room, $pin) { 
    11    $this->_meetmes[$room] = $pin
     10  function addMeetme($room, $userpin, $adminpin='') { 
     11    $this->_meetmes[$room] = $userpin.($adminpin != '' ? ','.$adminpin : '')
    1212  } 
    1313  // return the output that goes in the file 
     
    214214           
    215215          // add meetme config 
    216          $conferences_conf->addMeetme($room['exten'],$room['userpin']); 
     216          $conferences_conf->addMeetme($room['exten'],$room['userpin'],$room['adminpin']); 
    217217        } 
    218218      } 
  • modules/branches/bootstrap-2.9/conferences/module.xml

    r9927 r10645  
    22  <rawname>conferences</rawname> 
    33  <name>Conferences</name> 
    4   <version>2.8.0.1</version> 
     4  <version>2.8.0.2</version> 
    55  <publisher>FreePBX</publisher> 
    66  <license>GPLv2+</license> 
     
    99  <description>Allow creation of conference rooms (meet-me) where multiple people can talk together.</description> 
    1010  <changelog> 
     11    *2.8.0.2* #4660 
    1112    *2.8.0.1* #4309 
    1213    *2.8.0.0* #3331 max participants option 
  • modules/branches/bootstrap-2.9/core/functions.inc.php

    r10637 r10645  
    16431643 
    16441644          $context = 'sub-flp-'.$tid; 
    1645           $target = 'TARGET_FLP4'.$tid; 
     1645          $target = 'TARGET_FLP_'.$tid; 
    16461646          $exten = 's'; 
    16471647          foreach ($patterns as $pattern) { 
  • modules/branches/bootstrap-2.9/featurecodeadmin/module.xml

    r10608 r10645  
    1212    <featurecodeadmin>Feature Codes</featurecodeadmin> 
    1313  </menuitems> 
    14   <location>release/2.8/featurecodeadmin-2.8.0.0.tgz</location> 
     14  <location>release/2.8/featurecodeadmin-2.8.0.1.tgz</location> 
    1515  <changelog> 
    16     *2.9.0.0* #4653 Generate Feature Code Destinations 
     16    *2.9.0.0* #4617, #4653 Generate Feature Code Destinations 
    1717    *2.8.0.0* published 2.8 version 
    1818    *2.7.0.0* localizations 
     
    3737    <version>2.5.0alpha1</version> 
    3838  </depends> 
    39   <md5sum>531628f1d9f7e4d09cf4c54bbe40c545</md5sum> 
     39  <md5sum>39a0f68a9846da446dcb81d1c75a11cb</md5sum> 
    4040</module> 
  • modules/branches/bootstrap-2.9/featurecodeadmin/page.featurecodeadmin.php

    r7792 r10645  
    220220        var featureid = theFld.name.substring(7); 
    221221        // check that every non default has a custom code 
    222         if (!theForm.elements['usedefault_' + featureid].checked && theForm.elements['ena#' + featureid].value == 1) { 
     222        if (!theForm.elements['usedefault_' + featureid].checked) { 
    223223          defaultEmptyOK = false; 
    224224          if (!isDialDigits(theFld.value)) 
  • modules/branches/bootstrap-2.9/queues/agi-bin/queue_devstate.agi

    r10626 r10645  
    8383        if (ereg('(\\d+)',$item1)) { 
    8484          preg_match_all ("/(\\d+)/is", $item1,$matches); 
    85           if ($matches[1][0] != '') { 
     85          if (isset($matches[1][0]) && $matches[1][0] != '') { 
    8686            $queues[]=$matches[1][0]; 
    8787            $inqueue=$matches[1][0]; 
  • modules/branches/bootstrap-2.9/queues/functions.inc.php

    r10637 r10645  
    148148            $name = $users[$matches[1]]; 
    149149            str_replace(',','\,',$name); 
    150             $output .= "member=$member,$name,HINT:".$matches[1]."@ext-local\n"; 
     150            $output .= "member=$member,$name,hint:".$matches[1]."@ext-local\n"; 
    151151          } else { 
    152152            $output .= "member=".$member."\n"; 
     
    564564 
    565565      if ($amp_conf['USEQUEUESTATE']) { 
    566         $ext->add($context, $exten, '', new ext_execif('$[${DB_EXISTS(AMPUSER/${CALLBACKNUM}/cidname)} = 1]', 'AddQueueMember', '${ARG1},Local/${CALLBACKNUM}@from-queue/n,${DB(QPENALTY/${ARG1}/agents/${CALLBACKNUM})},,${DB(AMPUSER/${CALLBACKNUM}/cidname)},HINT:${CALLBACKNUM}@ext-local')); 
     566        $ext->add($context, $exten, '', new ext_execif('$[${DB_EXISTS(AMPUSER/${CALLBACKNUM}/cidname)} = 1]', 'AddQueueMember', '${ARG1},Local/${CALLBACKNUM}@from-queue/n,${DB(QPENALTY/${ARG1}/agents/${CALLBACKNUM})},,${DB(AMPUSER/${CALLBACKNUM}/cidname)},hint:${CALLBACKNUM}@ext-local')); 
    567567        $ext->add($context, $exten, '', new ext_execif('$[${DB_EXISTS(AMPUSER/${CALLBACKNUM}/cidname)} = 0]', 'AddQueueMember', '${ARG1},Local/${CALLBACKNUM}@from-queue/n,${DB(QPENALTY/${ARG1}/agents/${CALLBACKNUM})}')); 
    568568      } else if ($ast_ge_14_25) { 
     
    10571057  $ext->add($id, $c, '', new ext_gotoif('$["${DB(QPENALTY/${QUEUENO}/dynmemberonly)}" = "yes" & ${DB_EXISTS(QPENALTY/${QUEUENO}/agents/${CALLBACKNUM})} != 1]', 'invalid')); 
    10581058  if ($amp_conf['USEQUEUESTATE']) { 
    1059     $ext->add($id, $c, '', new ext_addqueuemember('${QUEUENO}','Local/${CALLBACKNUM}@from-queue/n,${DB(QPENALTY/${QUEUENO}/agents/${CALLBACKNUM})},,${DB(AMPUSER/${CALLBACKNUM}/cidname)},HINT:${CALLBACKNUM}@ext-local')); 
     1059    $ext->add($id, $c, '', new ext_addqueuemember('${QUEUENO}','Local/${CALLBACKNUM}@from-queue/n,${DB(QPENALTY/${QUEUENO}/agents/${CALLBACKNUM})},,${DB(AMPUSER/${CALLBACKNUM}/cidname)},hint:${CALLBACKNUM}@ext-local')); 
    10601060  } else if ($ast_ge_14_25) { 
    10611061    $ext->add($id, $c, '', new ext_addqueuemember('${QUEUENO}','Local/${CALLBACKNUM}@from-queue/n,${DB(QPENALTY/${QUEUENO}/agents/${CALLBACKNUM})},,${DB(AMPUSER/${CALLBACKNUM}/cidname)},${DB(DEVICE/${REALCALLERIDNUM}/dial)}'));