[asterisk-bugs] [Asterisk-GUI 0014242]: Incorrect PATH for *BSD
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jan 14 16:58:42 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14242
======================================================================
Reported By: GAMER
Assigned To: rbrindley
======================================================================
Project: Asterisk-GUI
Issue ID: 14242
Category: General
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2009-01-14 13:17 CST
Last Modified: 2009-01-14 16:58 CST
======================================================================
Summary: Incorrect PATH for *BSD
Description:
Please change incorrect PATH from /var/log to /usr/local/share in some
files for FreeBSD.
======================================================================
----------------------------------------------------------------------
(0097834) awk (manager) - 2009-01-14 16:58
http://bugs.digium.com/view.php?id=14242#c97834
----------------------------------------------------------------------
GAMER,
if you look at the code:
u.new_action('append', 'post_mappings' , 'uploads',
'/var/lib/asterisk/sounds/imageupdate' ) ;
^^ This line is in an if statement only executed if the PLATFORM is an
AsteriskAppliance50 (AA50) which does (and will never) run BSD.
sessionData.directories.astvarlibdir =
ASTERISK_CONF.getProperty('astvarlibdir') || '/var/lib/asterisk/' ;
sessionData.directories.AGIBIN =
ASTERISK_CONF.getProperty('astagidir') || '/var/lib/asterisk/agi-bin/' ;
^^ These two lines have to be hardcoded as they are the defaults if the
getPropery() func fails.
// ASTGUI.systemCmdWithOutput( "ls /var/lib/asterisk/" , function(a){
^^ This line is a comment and not even executed.
Is there an actual issue with your system? If so, please report what is
happening and we'll try to resolve your issue. If not, please test the code
before filing a bug report.
Issue History
Date Modified Username Field Change
======================================================================
2009-01-14 16:58 awk Note Added: 0097834
======================================================================
More information about the asterisk-bugs
mailing list