Changeset 1728

Show
Ignore:
Timestamp:
04/26/06 18:53:03 (7 years ago)
Author:
qldrob
Message:

Puff puff pant pant.. Check for asterisk 1.2 before installing.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/install_amp

    r1709 r1728  
    760760write_amportal_conf(AMP_CONF, $amp_conf); 
    761761 
     762// **** Check for func_callerid.so - this is only in asterisk 1.2 
     763 
     764outn("Checking for Asterisk 1.2.."); 
     765if (!file_exists($amp_conf["ASTMODDIR"]."/func_callerid.so")) { 
     766  fatal("Asterisk 1.2 is required for this version of freePBX"); 
     767} else { 
     768  out("OK"); 
     769} 
     770 
    762771// **** Connect to database 
    763772