[OpenSIPS-Users] Changes in osipsconsole?

Iulia Bublea iulia at opensips.org
Thu Feb 5 19:43:21 CET 2009


Joan wrote:
> 2009/2/5 Iulia Bublea <iulia at opensips.org>:
>   
>> Joan wrote:
>>     
>>> 2009/2/3 Iulia Bublea <iulia at opensips.org>:
>>>
>>>       
>>>> Joan wrote:
>>>>
>>>>         
>>>>> Hello, I have seen that there are interesting changes in osipsconsole.
>>>>> There is the long expected drouting addition :)
>>>>> I would like to know what's the state of the changes, because in the
>>>>> last checkout I did (rev 5222), there was re-introduced a problem
>>>>> where you weren't able to connect to mysql unless you're using root
>>>>> with empty password ..
>>>>> I attach the part of the diff related.
>>>>>
>>>>>  ------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opensips.org
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>           
>>>> Hi Joan,
>>>>
>>>> Thanks for raising the db problem. It has just been fixed.
>>>>
>>>>         
>>> Digging a little in the svn I found that it was due to the splitting
>>> of osipsconsole an the regular tools, fine for me then, I'll deprecate
>>> the regular tools quite soon  ...
>>> There's another glitch, I'm using ubuntu, and after generating the
>>> packages I get osipsconsole installed into /usr/sbin/osipsconsole, the
>>> problem is that it is looking for the config within the the wrong
>>> path, it says:
>>>
>>> my $PATH_BIN = "/usr/sbin/";
>>> my $PATH_CTLRC = "/usr/etc/opensips/";
>>> my $PATH_ETC = "/usr/etc/opensips/";
>>>
>>> When it should be:
>>> my $PATH_BIN = "/usr/sbin/";
>>> my $PATH_CTLRC = "/etc/opensips/";
>>> my $PATH_ETC = "/etc/opensips/";
>>>
>>> With the second configuration it seems to work, I don't know how to
>>> change to make it depend on packaging type.
>>>
>>> Regards
>>>
>>>       
>>>> Regards,
>>>> Iulia
>>>>
>>>>
>>>>         
>>>       
>> Hi Joan,
>>
>> From the above I understand you are using the *.deb package for installing
>> osipsconsole?
>>
>> I also use Ubuntu and I compile and install it with make. For me it works
>> fine this way.
>>     
> I am using "make deb", so I get the .deb files I need to install the
> packages. (instead of installing directly via make all)
> The problem is that with the .deb installer, the config files are
> stored on /etc/ instead of /usr/etc, and osipsconsole is not aware of
> that, so It doesn't find the osipsconsolerc configuration file ..
>   
>> Regards,
>> Iulia
>>
>>
>>     
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>       
>>     
>
>   
Thanks for reporting this. I will have a look into the problem.

Iulia



More information about the Users mailing list