Changeset 4030

Show
Ignore:
Timestamp:
06/09/07 00:18:36 (6 years ago)
Author:
p_lindheimer
Message:

remove the depends on 2.2.2 requirement and add WaitExten? class in the module so that it works with versions before 2.2.2 - core version check appears to be broken for this

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.2/ivr/functions.inc.php

    r4022 r4030  
    159159            $ext->add($id, 's', '', new ext_background($announcement)); 
    160160          } 
     161          /* TODO: once depends functionality gets fixed in core this should be put back 
    161162          $ext->add($id, 's', '', new ext_waitexten()); 
     163          */ 
     164          $ext->add($id, 's', '', new extension('WaitExten()')); 
    162165          $ext->add($id, 'hang', '', new ext_playback('vm-goodbye')); 
    163166          $ext->add($id, 'hang', '', new ext_hangup('')); 
  • modules/branches/2.2/ivr/module.xml

    r4026 r4030  
    22  <rawname>ivr</rawname> 
    33  <name>IVR</name> 
    4   <version>2.5.14</version> 
     4  <version>2.5.15</version> 
    55  <type>setup</type> 
    66  <category>Inbound Call Control</category> 
     
    88    Creates Digital Receptionist (aka Auto-Attendant, aka Interactive Voice Response) menus. These can be used to send callers to different locations (eg, "Press 1 for sales") and/or allow direct-dialing of extension numbers.  
    99  </description> 
    10   <depends> 
    11     <version>2.2.2</version> 
    12   </depends>  
    1310  <changelog> 
     11    *2.5.15* add class to define waitexten and removed the dependency on 2.2.2 - since 2.2.2 dependency checking is broken 
    1412    *2.5.14* add waitexten to 2.2 
    1513    *2.5.13.1* make sure t ext getting put in (for some reason it wasn't always, this shoudl fix it)