Share

OpenSIPS/OpenSER-a versatile SIP Server

Tracker: Feature Requests

5 Path problems in osipsconsole - ID: 2795297
Last Update: Comment added ( iulia_bublea )

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]";


ASeques ( sacoo ) - 2009-05-22 10:05

5

Closed

None

Iulia Bublea

tools

None

Public


Comments ( 2 )

Date: 2009-06-30 13:24
Sender: iulia_bublea

Thanks for the patch you have uploaded.

Iulia


Date: 2009-06-29 12:33
Sender: sacoo

I uploaded a small fix, I wrote three variables with share, etc and libs
path so you don't have to go trough the whole file changing stuff.


Attached File ( 1 )

Filename Description Download
opensips_path_fix.patch Put all the path variables in the same place Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-06-30 13:24 iulia_bublea
allow_comments 1 2009-06-30 13:24 iulia_bublea
close_date - 2009-06-30 13:24 iulia_bublea
File Added 332782: opensips_path_fix.patch 2009-06-29 12:32 sacoo
assigned_to nobody 2009-05-22 10:15 bogdan_iancu