[OpenSIPS-Devel] [ opensips-Feature Requests-2795297 ] Path problems in osipsconsole

SourceForge.net noreply at sourceforge.net
Fri May 22 12:05:05 CEST 2009


Feature Requests item #2795297, was opened at 2009-05-22 12:05
Message generated for change (Tracker Item Submitted) made by sacoo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2795297&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tools
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: ASeques (sacoo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Path problems in osipsconsole

Initial Comment:
I am using the 1.5.1 version on a debian platform compiled by "make deb".
Everything is working as expected except for osipsconsole.
There should be a proper path detection, because it currently causes lots of trouble.

Currently i see this variables poiting to fixed paths to /usr/local/ , there might be more that I already changed.
The optimal solution would be having a definition at the start of the document $INSTALL_PATH or similar that could be set on compile/install time.

140:my $MYLIBDIR = "/usr/local/lib/opensips/opensipsctl";
145:my $DATA_DIR = "/usr/local/share/opensips";
146:my $DBTEXT_PATH = "/usr/local/share/opensips/dbtext/opensips";
150:    $DB_PATH = "/usr/local/etc/opensips/db_berkeley";
531:    $ETCDIR="/usr/local/etc/opensips";
928:                if ( -x "/usr/local/bin/".$_[0] ) {
929:                        $TOOLPATH = "/usr/local/bin/$_[0]";


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2795297&group_id=232389



More information about the Devel mailing list