Changeset 7566 for contributed_modules/modules/routepermissions
- Timestamp:
- 03/31/09 10:29:37 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
contributed_modules/modules/routepermissions/functions.inc.php
r7563 r7566 41 41 rp_applyhooks(); 42 42 $currentcomponent->addprocessfunc('rp_configprocess', 5); 43 } 44 } 45 46 // This MUST be "TheNameOfTheModule_hookGet_config" to be called when a reload (yellow bar) is clicked. 47 function routepermissions_hookGet_config($engine) { 48 global $ext; 49 global $version; 50 switch($engine) { 51 case "asterisk": 52 $context="macro-dialout-trunk"; 53 $ext->splice($context, 's', 1 ,new ext_agi('checkperms.agi')); 54 $ext->add($context, 'barred', '', new ext_noop('Route administratively banned for this user.')); 55 break; 43 56 } 44 57 }
