Changeset 8172

Show
Ignore:
Timestamp:
08/25/09 21:35:09 (2 years ago)
Author:
p_lindheimer
Message:

closes #3126 adds talker detection options to meetme on 1.4+ systems

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/conferences/functions.inc.php

    r6939 r8172  
    109109            $roomoptions = str_replace('i','I',$roomoptions); 
    110110          } 
     111          if (version_compare($version, "1.4","lt")) { 
     112            $roomoptions = str_replace('o','',$roomoptions); 
     113            $roomoptions = str_replace('T','',$roomoptions); 
     114          } 
    111115          $roomuserpin = $room['userpin']; 
    112116          $roomadminpin = $room['adminpin']; 
  • modules/branches/2.6/conferences/module.xml

    r7924 r8172  
    22  <rawname>conferences</rawname> 
    33  <name>Conferences</name> 
    4   <version>2.6.0.1</version> 
     4  <version>2.6.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.6.0.2* #3126 
    1112    *2.6.0.1* tabindex init 
    1213    *2.6.0.0* #3392, localizations 
  • modules/branches/2.6/conferences/page.conferences.php

    r7792 r8172  
    187187    </td> 
    188188  </tr> 
     189 
     190<?php 
     191$engineinfo = engine_getinfo(); 
     192$astver =  $engineinfo['version']; 
     193if (version_compare($astver, '1.4', 'ge')) { 
     194?> 
     195  <tr> 
     196    <td><a href="#" class="info"><?php echo _("Talker Optimization:")?><span><?php echo _("Turns on talker optimization. With talker optimization, Asterisk treats talkers who 
     197aren’t speaking as being muted, meaning that no encoding is done on transmission 
     198and that received audio that is not registered as talking is omitted, causing no 
     199buildup in background noise.")?></span></a></td> 
     200    <td> 
     201      <select name="opt#o"> 
     202      <?php 
     203        $optselect = strpos($options, "o"); 
     204        echo '<option value=""' . ($optselect === false ? ' SELECTED' : '') . '>'._("No") . '</option>'; 
     205        echo '<option value="o"'. ($optselect !== false ? ' SELECTED' : '') . '>'._("Yes"). '</option>'; 
     206      ?>     
     207      </select>    
     208    </td> 
     209  </tr> 
     210 
     211 
     212  <tr> 
     213    <td><a href="#" class="info"><?php echo _("Talker Detection:")?><span><?php echo _("Sets talker detection. Asterisk will sends events on the Manager Interface identifying 
     214the channel that is talking. The talker will also be identified on the output of 
     215the meetme list CLI command.")?></span></a></td> 
     216    <td> 
     217      <select name="opt#T"> 
     218      <?php 
     219        $optselect = strpos($options, "T"); 
     220        echo '<option value=""' . ($optselect === false ? ' SELECTED' : '') . '>'._("No") . '</option>'; 
     221        echo '<option value="T"'. ($optselect !== false ? ' SELECTED' : '') . '>'._("Yes"). '</option>'; 
     222      ?>     
     223      </select>    
     224    </td> 
     225  </tr> 
     226<?php 
     227} 
     228?> 
    189229  <tr> 
    190230    <td><a href="#" class="info"><?php echo _("Quiet Mode:")?><span><?php echo _("Quiet mode (do not play enter/leave sounds)")?></span></a></td>