Changeset 7627
- Timestamp:
- 05/02/09 13:15:16 (1 year ago)
- Files:
-
- modules/branches/2.5/queues/functions.inc.php (modified) (3 diffs)
- modules/branches/2.5/queues/module.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/queues/functions.inc.php
r7281 r7627 42 42 // 43 43 $ver12 = version_compare($ast_version, '1.4', 'lt'); 44 $ver16 = version_compare($ast_version, '1.6', 'ge'); 44 45 45 46 // legacy but in case someone was using this we will leave it … … 100 101 case 'ringinuse': 101 102 break; 103 case 'announce-position': 104 if ($ver16) { 105 $output .= $keyword."=".$data."\n"; 106 } 107 break; 102 108 case 'retry': 103 109 if ($data == 'none') { … … 404 410 array($account,'announce-frequency',($_REQUEST['announcefreq'])?$_REQUEST['announcefreq']:'0',0), 405 411 array($account,'announce-holdtime',($_REQUEST['announceholdtime'])?$_REQUEST['announceholdtime']:'no',0), 412 array($account,'announce-position',($_REQUEST['announceposition'])?$_REQUEST['announceposition']:'no',0), 406 413 array($account,'queue-youarenext',($_REQUEST['announceposition']=='no')?'silence/1':'queue-youarenext',0), //if no, play no sound 407 414 array($account,'queue-thereare',($_REQUEST['announceposition']=='no')?'silence/1':'queue-thereare',0), //if no, play no sound modules/branches/2.5/queues/module.xml
r7397 r7627 9 9 </description> 10 10 <changelog> 11 *2.5.4.7* #3618 11 12 *2.5.4.6* localization updates 12 13 *2.5.4.5* #3400, #3380, various translations
