Changeset 5508
- Timestamp:
- 12/15/07 22:07:33 (1 year ago)
- Files:
-
- modules/branches/2.4/parking/functions.inc.php (modified) (2 diffs)
- modules/branches/2.4/parking/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4/parking/functions.inc.php
r5486 r5508 31 31 global $asterisk_conf; 32 32 global $parking_conf; 33 global $version; 34 33 35 switch($engine) { 34 36 case "asterisk": … … 94 96 // 95 97 $ext->add($contextname, "t", '', new ext_goto($goto)); 98 99 // Asterisk 1.4 requires hints to be generated for parking 100 // 101 if (version_compare($version, "1.4", "ge")) { 102 $parkhints = 'park-hints'; 103 $ext->addInclude('from-internal-additional', $parkhints); // Add the include from from-internal 104 for ($slot = $parkpos1; $slot <= $parkpos2; $slot++) { 105 $ext->addHint($parkhints, $slot, "park:$slot@$parkingcontext"); 106 $ext->add($parkhints, $slot, '', new ext_parkedcall($slot)); 107 } 108 } 96 109 } 97 110 break; modules/branches/2.4/parking/module.xml
r5487 r5508 2 2 <rawname>parking</rawname> 3 3 <name>Parking Lot</name> 4 <version>2.4.0. 1</version>4 <version>2.4.0.2</version> 5 5 <type>setup</type> 6 6 <category>Internal Options & Configuration</category> … … 11 11 </menuitems> 12 12 <changelog> 13 *2.4.0.2* create hints for Asterisk 1.4 and above 13 14 *2.4.0.1* add parking_conf class, support PARKINGPATCH config 14 15 *2.4.0* Destination registry, it translation
