Changeset 14236

Show
Ignore:
Timestamp:
07/09/12 19:29:08 (11 months ago)
Author:
p_lindheimer
Message:

fixes #5916 set CONFBRDIGE_JOIN_SOUND and CONFBRIDGE_LEAVE_SOUND for pre-Asterisk 10 app_confbridge

Files:

Legend:

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

    r14050 r14236  
    213213        $ext->add($contextname, 'STARTMEETME', '', new ext_setvar('GROUP(meetme)','${MEETME_ROOMNUM}')); 
    214214        $ext->add($contextname, 'STARTMEETME', '', new ext_gotoif('$[${MAX_PARTICIPANTS} > 0 && ${GROUP_COUNT(${MEETME_ROOMNUM}@meetme)}>${MAX_PARTICIPANTS}]','MEETMEFULL,1')); 
     215        // No harm done if quietmode, these will just then be ignored 
     216        // 
     217        if ($amp_conf['ASTCONFAPP'] == 'app_confbridge' && !$ast_ge_10) { 
     218          $ext->add($contextname, 'STARTMEETME', '', new ext_set('CONFBRIDGE_JOIN_SOUND','beep')); 
     219          $ext->add($contextname, 'STARTMEETME', '', new ext_set('CONFBRIDGE_LEAVE_SOUND','beeperr')); 
     220        } 
    215221        if ($amp_conf['ASTCONFAPP'] == 'app_confbridge' && $ast_ge_10) { 
    216222          $ext->add($contextname, 'STARTMEETME', '', new ext_meetme('${MEETME_ROOMNUM}',',','${MENU_PROFILE}'));