Changeset 9999

Show
Ignore:
Timestamp:
06/29/10 16:49:29 (2 years ago)
Author:
p_lindheimer
Message:

fixes #4389 dahdi compatibility mode broken, 1.4 still has legacy zap applications even when in DAHDI mode so can't count on those

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.8/amp_conf/htdocs/admin/functions.inc.php

    r9831 r9999  
    13621362     
    13631363  if (version_compare($version, '1.4', 'ge') && $amp_conf['AMPENGINE'] == 'asterisk') {    
    1364     if (isset($astman) && $astman->connected()) { 
     1364    if ($amp_conf['ZAP2DAHDICOMPAT']) { 
     1365      $ast_with_dahdi = true; 
     1366      $chan_dahdi_loaded = true; 
     1367      return true; 
     1368    } else if (isset($astman) && $astman->connected()) { 
    13651369      // earlier revisions of 1.4 ahd dadhi loaded but still running as zap, so if ZapScan is present, we assume 
    13661370      // that is the mode it is running in.