Changeset 7754

Show
Ignore:
Timestamp:
05/26/09 19:11:23 (3 years ago)
Author:
p_lindheimer
Message:

fixes #3693 change ZAP to DAHDI in trunk tech when generating config in ZAP2DAHDI compatibility mode

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/core/functions.inc.php

    r7753 r7754  
    12761276      foreach($globals as $global) { 
    12771277        $value = $global['value']; 
    1278         if ($chan_dahdi && substr($value, 0, 4) === 'ZAP/') { 
    1279           $value = 'DAHDI/' . substr($value, 4); 
    1280         } 
    12811278        $ext->addGlobal($global['variable'],$value); 
    12821279 
     
    13641361        if ($tech == 'IAX') { 
    13651362          $tech = 'IAX2'; 
     1363        } elseif ($tech == 'ZAP' && $chan_dahdi) { 
     1364          $tech = 'DAHDI'; 
    13661365        } 
    13671366        if ($tech == 'CUSTOM') {