Changeset 4291

Show
Ignore:
Timestamp:
07/01/07 07:16:51 (1 year ago)
Author:
p_lindheimer
Message:

#2041: fixlocalprefix had typo, also removed hardcoded paths in several agi scripts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.3/core/agi-bin/directory

    r4275 r4291  
    2525 */ 
    2626 
    27 define("AGIBIN_DIR", dirname(__FILE__)); 
     27// TODO: These are all hardcoded, means we are going to have to parse! 
     28//       or maybe retrieve_conf can special handle them at cp time. 
     29// 
     30 
    2831define("DIRECTORY_FILE", "/etc/asterisk/voicemail.conf"); 
    2932 
     
    6265define("D_STAR",42); 
    6366 
    64 include(AGIBIN_DIR."/phpagi.php"); 
     67include("phpagi.php"); 
    6568 
    6669function output(&$var) { 
  • modules/branches/2.3/core/agi-bin/fixlocalprefix

    r4275 r4291  
    2020 * If you modify it, you must change it to write only, in the agi-bin directory, 
    2121 * to keep it from getting changed. 
    22  */ 
    2322 
    2423 
     
    7776*/ 
    7877 
    79 define("AGIBIN_DIR", "/var/lib/asterisk/agi-bin"); 
     78// TODO: Hardcoded path, this needs removing (means we need to parse amprotal.conf or change where these are stored! 
     79//       or maybe retrieve_conf can special handle them at install time. 
     80// 
    8081define("LOCALPREFIX_FILE", "/etc/asterisk/localprefixes.conf"); 
    8182 
    82 include(AGIBIN_DIR."/phpagi.php"); 
     83include("phpagi.php"); 
    8384 
    8485function parse_conf($filename, &$conf, &$section) { 
  • modules/branches/2.3/core/agi-bin/list-item-remove.php

    r4275 r4291  
    2020 */ 
    2121 
    22 define("AGIBIN_DIR", dirname(__FILE__)); 
    23  
    24 include(AGIBIN_DIR."/phpagi.php"); 
     22include("phpagi.php"); 
    2523 
    2624$agi = new AGI; 
  • modules/branches/2.3/core/agi-bin/recordingcheck

    r4275 r4291  
    2525 */ 
    2626 
    27 define("AGIBIN_DIR", "/var/lib/asterisk/agi-bin"); 
    2827 
    29 include(AGIBIN_DIR."/phpagi.php"); 
     28include("phpagi.php"); 
    3029 
    3130 
  • modules/branches/2.3/core/module.xml

    r4280 r4291  
    44        <category>Basic</category> 
    55        <name>Core</name> 
    6         <version>2.3.0beta1.4</version> 
     6        <version>2.3.0beta1.5</version> 
    77        <candisable>no</candisable> 
    88        <changelog> 
     9                *2.3.0beta1.5* #2041, fix typo introduced in 2.3.0beta1.4 resultingin fixlocalprefix breaking 
    910                *2.3.0beta1.4* #1522 DeadAGI back to AGI, fixed Trunk Dial Rules tooltip, added wanrnings comments to agi-bin scripts 
    1011                *2.3.0beta1.3* #1633 proper display after deleting, #1747 add South Africa to indications.conf, #2024 can't edit exten with directdid set 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads