Changeset 10226 for freepbx/branches
- Timestamp:
- 08/24/10 18:08:16 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.8/amp_conf/htdocs/recordings/includes/common.php
r9663 r10226 110 110 global $ASTERISKCDR_DBNAME; 111 111 112 global $ASTERISK_CALLMONITOR_PATH;113 global $ast_spool_dir;114 115 112 global $ARI_DISABLED_MODULES; 116 113 … … 168 165 $amp_dbhost = isset($amp_conf["AMPDBHOST"]) ? $amp_conf["AMPDBHOST"] : $LEGACY_AMP_DBHOST; 169 166 $amp_dbname = isset($amp_conf["AMPDBNAME"]) ? $amp_conf["AMPDBNAME"] : $LEGACY_AMP_DBNAME; 170 171 $ast_spool_dir = isset($amp_conf["ASTSPOOLDIR"]) ? $amp_conf["ASTSPOOLDIR"] : $ASTERISK_CALLMONITOR_PATH;172 167 173 168 $asteriskcdr_dbengine = $ASTERISKCDR_DBENGINE; freepbx/branches/2.8/amp_conf/htdocs/recordings/modules/callmonitor.module
r10037 r10226 103 103 function display($args) { 104 104 105 global $ ast_spool_dir;105 global $ASTERISK_CALLMONITOR_PATH; 106 106 global $CALLMONITOR_ALLOW_DELETE; 107 107 global $AJAX_PAGE_REFRESH_ENABLE; 108 108 109 109 $display = new DisplaySearch(); 110 110 111 // get the search string 111 112 $m = getArgument($args,'m'); … … 131 132 132 133 // get the call monitor recording files 133 $paths = explode(';',$ast_spool_dir);134 $paths = split(';',$ASTERISK_CALLMONITOR_PATH); 134 135 foreach($paths as $key => $path) { 135 136 if (!is_dir($path)) { … … 137 138 } 138 139 } 139 $recordings = $this->getRecordings($ ast_spool_dir,$data);140 $recordings = $this->getRecordings($ASTERISK_CALLMONITOR_PATH,$data); 140 141 141 142 // build controls
