Changeset 10380

Show
Ignore:
Timestamp:
10/08/10 14:30:23 (3 years ago)
Author:
p_lindheimer
Message:

turn off events with astman, not being used, and use cache mode for generate_hints

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/bin/generate_hints.php

    r9043 r10380  
    1616  $amp_conf = parse_amportal_conf("/etc/amportal.conf"); 
    1717 
    18  $astman         = new AGI_AsteriskManager(); 
     18  $astman = new AGI_AsteriskManager(null, array('cachemode' => true)); 
    1919 
    2020  $astmanagerhost = (isset($amp_conf['ASTMANAGERHOST']) && trim($amp_conf['ASTMANAGERHOST']) != '')?$amp_conf['ASTMANAGERHOST']:'127.0.0.1'; 
     
    2626    exit; 
    2727  } 
     28  $astman->Events('off'); 
    2829  $ast_with_dahdi = ast_with_dahdi(); 
    2930 
  • freepbx/trunk/amp_conf/bin/retrieve_conf

    r10252 r10380  
    455455} 
    456456out(_("OK")); 
     457$astman->Events('off'); 
    457458 
    458459//include common functions