Changeset 9254

Show
Ignore:
Timestamp:
03/16/10 21:19:14 (2 years ago)
Author:
p_lindheimer
Message:

Auto Check-in of any outstanding patches

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.8/callforward/uninstall.php

    r7470 r9254  
    2020// is this global...? what if we include this files 
    2121// from a function...? 
     22 
    2223global $astman; 
     24 
     25// Unconditional Call Forwarding 
     26$fcc = new featurecode('callforward', 'cfon'); 
     27$fcc->delete(); 
     28unset($fcc); 
     29 
     30$fcc = new featurecode('callforward', 'cfoff'); 
     31$fcc->delete(); 
     32unset($fcc); 
     33 
     34$fcc = new featurecode('callforward', 'cfoff_any'); 
     35$fcc->delete(); 
     36unset($fcc); 
     37 
     38// Call Forward on Busy 
     39$fcc = new featurecode('callforward', 'cfbon'); 
     40$fcc->delete(); 
     41unset($fcc); 
     42 
     43$fcc = new featurecode('callforward', 'cfboff'); 
     44$fcc->delete(); 
     45unset($fcc); 
     46 
     47$fcc = new featurecode('callforward', 'cfboff_any'); 
     48$fcc->delete(); 
     49unset($fcc); 
     50 
     51// Call Forward on No Answer/Unavailable (i.e. phone not registered) 
     52$fcc = new featurecode('callforward', 'cfuon'); 
     53$fcc->delete(); 
     54unset($fcc); 
     55 
     56$fcc = new featurecode('callforward', 'cfuoff'); 
     57$fcc->delete(); 
     58unset($fcc); 
     59 
     60$fcc = new featurecode('callforward', 'cf_toggle'); 
     61$fcc->delete(); 
     62unset($fcc); 
    2363 
    2464// remove all Call Forward options in effect on extensions 
     
    3070  fatal("Cannot connect to Asterisk Manager with ".$amp_conf["AMPMGRUSER"]."/".$amp_conf["AMPMGRPASS"]); 
    3171} 
    32  
    3372?>