Changeset 5512
- Timestamp:
- 12/16/07 13:22:04 (6 years ago)
- Files:
-
- modules/branches/2.4/core/functions.inc.php (modified) (5 diffs)
- modules/branches/2.4/framework/module.xml (modified) (2 diffs)
- modules/branches/2.4/parking/functions.inc.php (modified) (1 diff)
- modules/branches/2.4/publish.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4/core/functions.inc.php
r5511 r5512 2 2 3 3 class core_conf { 4 $_sip_general = array():5 $_iax_general = array():6 $_featuremap = array():7 $_applicationmap = array():8 4 // return an array of filenames to write 5 // files named like pinset_N 9 6 function get_filename() { 10 7 $files = array( … … 14 11 'iax_registrations.conf', 15 12 'zapata_additional.conf', 16 'sip_general_additional.conf',17 'iax_general_additional.conf',18 'features_applicationmap_additional.conf',19 'features_featuremap_additional.conf',20 13 ); 21 /*22 14 if (isset($this->_sip_general) && is_array($this->_sip_general)) { 23 15 $files[] = 'sip_general_additional.conf'; … … 26 18 $files[] = 'iax_general_additional.conf'; 27 19 } 28 */29 20 return $files; 30 21 } … … 56 47 return $this->generate_zapata_additional($version); 57 48 break; 58 case 'features_applicationmap_additional.conf':59 return $this->generate_applicationmap_additional($version);60 break;61 case 'features_featuremap_additional.conf':62 return $this->generate_featuremap_additional($version);63 break;64 49 } 65 50 } … … 89 74 if (isset($this->_iax_general) && is_array($this->_iax_general)) { 90 75 foreach ($this->_iax_general as $values) { 91 $output .= $values['key']."=".$values['value']."\n";92 }93 }94 return $output;95 }96 97 function addFeatureMap($key, $value) {98 $this->_featuremap[] = array('key' => $key, 'value' => $value);99 }100 101 function generate_featuremap_additional($ast_version) {102 $output = '';103 104 if (isset($this->_featuremap) && is_array($this->_featuremap)) {105 foreach ($this->_featuremap as $values) {106 $output .= $values['key']."=".$values['value']."\n";107 }108 }109 return $output;110 }111 112 function addApplicationMap($key, $value) {113 $this->_applicationmap[] = array('key' => $key, 'value' => $value);114 }115 116 function generate_application_additional($ast_version) {117 $output = '';118 119 if (isset($this->_applicationmap) && is_array($this->_applicationmap)) {120 foreach ($this->_applicationmap as $values) {121 76 $output .= $values['key']."=".$values['value']."\n"; 122 77 } modules/branches/2.4/framework/module.xml
r5511 r5512 2 2 <rawname>framework</rawname> 3 3 <name>FreePBX Framework</name> 4 <version>2.4.0beta1. 2</version>4 <version>2.4.0beta1.1</version> 5 5 <candisable>no</candisable> 6 6 <canuninstall>no</canuninstall> 7 7 <changelog> 8 *2.4.0beta1.2* republish to correct publishing problem some files not getting included9 8 *2.4.0beta1.1* #2544 (Asterisk 11543) create #include files or Asterisk will fail, #2554 extenssion class addtions 10 9 *2.4.0beta1.0* #2477, #2517, #2319, #2523, #2475, #1858, #2419, #2484, #2334, #2134, #2431, #2453, Extension/Destination Registry support/APIs … … 45 44 <type>setup</type> 46 45 <category>Basic</category> 47 <location>release/2.4/framework-2.4.0beta1. 2.tgz</location>48 <md5sum> 2f31beb503793e6fed396813100f6a61</md5sum>46 <location>release/2.4/framework-2.4.0beta1.1.tgz</location> 47 <md5sum>42133a095591f5eb2c2e04523907a7f9</md5sum> 49 48 </module> modules/branches/2.4/parking/functions.inc.php
r5511 r5512 106 106 $ext->add($parkhints, $slot, '', new ext_parkedcall($slot)); 107 107 } 108 } else {109 $parking_conf->addSetting('parkhints','yes');110 108 } 111 109 } modules/branches/2.4/publish.pl
r5511 r5512 8 8 $checkphp = 1; 9 9 $rver = "2.4"; 10 $fwbranch = " branches/2.4";10 $fwbranch = "trunk"; 11 11 $framework = "framework"; 12 12
