Changeset 10285 for freepbx/trunk
- Timestamp:
- 09/15/10 20:13:59 (3 years ago)
- Files:
-
- freepbx/trunk (modified) (1 prop)
- freepbx/trunk/amp_conf/htdocs/admin/views/freepbx_admin.php (modified) (1 diff)
- freepbx/trunk/amp_conf/htdocs/recordings/includes/callme.php (modified) (1 diff)
- freepbx/trunk/amp_conf/htdocs/recordings/includes/common.php (modified) (2 diffs)
- freepbx/trunk/amp_conf/htdocs/recordings/modules/callmonitor.module (modified) (3 diffs)
- freepbx/trunk/amp_conf/htdocs/recordings/modules/settings.module (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk
- Property svnmerge-integrated changed from /freepbx/branches/2.8:1-10162 to /freepbx/branches/2.8:1-10284
freepbx/trunk/amp_conf/htdocs/admin/views/freepbx_admin.php
r10212 r10285 188 188 <option value="en_US" <?php echo ($_COOKIE['lang']=="en_US" ? "selected" : "") ?> >English</option> 189 189 <option value="bg_BG" <?php echo ($_COOKIE['lang']=="bg_BG" ? "selected" : "") ?> >Bulgarian</option> 190 <option value="zh_CN" <?php echo ($_COOKIE['lang']=="zh_CN" ? "selected" : "") ?> >Chinese</option> 190 191 <option value="de_DE" <?php echo ($_COOKIE['lang']=="de_DE" ? "selected" : "") ?> >Deutsch</option> 191 192 <option value="es_ES" <?php echo ($_COOKIE['lang']=="es_ES" ? "selected" : "") ?> >Español</option> freepbx/trunk/amp_conf/htdocs/recordings/includes/callme.php
r9663 r10285 94 94 $priority = "1"; 95 95 $callerid = "VMAIL/$from"; 96 $variable = "MSG=$new_path |MBOX=$from";96 $variable = "MSG=$new_path,MBOX=$from"; 97 97 /* Arguments to Originate: channel, extension, context, priority, timeout, callerid, variable, account, application, data */ 98 98 $status = $astman->Originate($channel, $extension, $context, $priority, NULL, $callerid, $variable, NULL, NULL, NULL); freepbx/trunk/amp_conf/htdocs/recordings/includes/common.php
r9663 r10285 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/trunk/amp_conf/htdocs/recordings/modules/callmonitor.module
r10122 r10285 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 freepbx/trunk/amp_conf/htdocs/recordings/modules/settings.module
r10122 r10285 1350 1350 global $asterisk_manager_interface; 1351 1351 1352 $response = $asterisk_manager_interface->Command("Action: Command\r\nCommand: Reload app_voicemail.so\r\n\r\n");1352 $response = $asterisk_manager_interface->Command("Action: Command\r\nCommand: module reload app_voicemail.so\r\n\r\n"); 1353 1353 } 1354 1354
