Changeset 12292

Show
Ignore:
Timestamp:
07/05/11 04:20:06 (2 years ago)
Author:
mickecarlsson
Message:

Closes #5259, make googlevoice work with FreePBX 2.9

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • contributed_modules/modules/googlevoice/functions.inc.php

    r12067 r12292  
    1919 */ 
    2020 
    21 require_once("functions.inc.php"); 
    22 require_once("extensions.class.php"); 
     21global $amp_conf; 
     22// Do we run FreePBX 2.8? 
     23if(file_exists($amp_conf['AMPWEBROOT']."/admin/extensions.class.php")) { 
     24  // Yes, then include these files 
     25  require_once("functions.inc.php"); 
     26  require_once("extensions.class.php"); 
     27  } else { 
     28        //We are on a FreePBX 2.9 system 
     29        require_once("libraries/extensions.class.php"); 
     30
    2331 
    2432class ext_senddtmf extends extension { 
  • contributed_modules/modules/googlevoice/module.xml

    r12067 r12292  
    1111  </description> 
    1212  <changelog> 
     13    *0.1.0* make the module work for FreePBX 2.9 
     14    *0.0.9* changed trunk name to the phonenum 
     15    *0.0.8* fixed routing/reload, delete routes, and overwriting trunks(?) 
     16    *0.0.7* added donation blurb 
     17    *0.0.6* improved outbound route 
     18    *0.0.5* fixed path on delGV action, and corrected trunk dial string 
     19    *0.0.4* added GPL declarations. 
     20    *0.0.3* trunk and route options added. 
     21    *0.0.2* TOS and jabber (jingle?) reload added. 
    1322    *0.0.1* Creation. 
    14     *0.0.2* TOS and jabber (jingle?) reload added. 
    15     *0.0.3* trunk and route options added. 
    16     *0.0.4* added GPL declarations. 
    17     *0.0.5* fixed path on delGV action, and corrected trunk dial string 
    18     *0.0.6* improved outbound route 
    19     *0.0.7* added donation blurb 
    20     *0.0.8* fixed routing/reload, delete routes, and overwriting trunks(?) 
    21     *0.0.9* changed trunk name to the phonenum 
    2223  </changelog> 
    2324  <depends> 
    24     <version>ge2.8</version> 
    2525    <engine>asterisk 1.8</engine> 
    2626    <module>core</module> 
     
    2929    <googlevoice>Google Voice</googlevoice> 
    3030  </menuitems> 
    31   <location>/freedoh/googlevoice-0.0.9.tgz</location> 
    32   <md5sum>666666666666666666666666666666</md5sum> 
     31  <location></location> 
     32  <md5sum></md5sum> 
    3333</module>