Changeset 4917

Show
Ignore:
Timestamp:
08/21/07 00:59:04 (6 years ago)
Author:
p_lindheimer
Message:

#2295 add AMPBADNUMBER amprotal.conf variable and detect Asterisk SVN-trunk as 1.6

Files:

Legend:

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

    r4874 r4917  
    5050  'CWINUSEBUSY'    => array('bool' , true), 
    5151  'FOPRUN'         => array('bool' , true), 
     52  'AMPBADNUMBER'   => array('bool' , true), 
    5253  'DEVEL'          => array('bool' , false), 
    5354  'DEVELRELOAD'    => array('bool' , false), 
     
    634635      } elseif (preg_match('/Asterisk SVN-branch-(\d+(\.\d+)*)-r(-?(\S*))/', $verinfo, $matches)) { 
    635636        return array('engine'=>'asterisk', 'version' => $matches[1].'.'.$matches[4], 'additional' => $matches[4]); 
     637      } elseif (preg_match('/Asterisk SVN-trunk-r(-?(\S*))/', $verinfo, $matches)) { 
     638        return array('engine'=>'asterisk', 'version' => '1.6', 'additional' => $matches[1]); 
    636639      } 
    637640