[OpenSIPS-Users] about OpenSIPS console

Gavin Henry gavin.henry at gmail.com
Fri May 15 20:38:12 CEST 2009


Hi,

I would like to see 'use strict' and 'use warnings' uncommented though! ;-)

It's a hefty script that can be turned into separate modules and libs
etc for easy maintenance. I've done a lot of Perl and it's not pretty.

For example, half of the script is setting variables and millions of
ifs (maybe a C coder writing Perl?).  Why not have Tiny::Config or
similar in there. Since there are already modules from CPAN needed,
why not use more and not reinvent the wheel?

I can provide more input later if of interest and some code.

Feel free to ignore me though as it all works and that's the point!

Cheers.

On 15/05/2009, Iulia Bublea <iulia at opensips.org> wrote:
> Hello,
>
> ?????????? ?????? wrote:
>> Hello,
>>
>> What is the advantage of console ?
>>
> The console's advantage is that it facilitates OpensSIPS provisioning.
> You start the application and you get a prompt where you can run the
> available commands. There is the possibility of command history and also
> embedded help. Osipsconsole has merged all the files needed by
> opensipsctl in a single file which offers more portability. Due to this
> it can remotely provision OpenSIPS. It also adds the possibility of
> xmlrpc support and it is able to use different DB backends via the Perl
> Libaries.
>> Why old console (opensipsctl) still exist in 1.5.1 version ?
>>
> It just takes time to replace it completely.
>> /eberx at sip:/usr/local/src/opensips-1.5.1-notls/modules$ sudo find /
>> -name osipsconsole
>> /usr/local/src/opensips-1.5.1-notls/scripts/osipsconsole
>> */sbin/osipsconsole*
>> eberx at sip:/usr/local/src/opensips-1.5.1-notls/modules$ sudo find / -name
>> opensipsctl
>> /lib/opensips/opensipsctl
>> /usr/local/src/opensips-1.5.1-notls/scripts/opensipsctl
>> /*//sbin/opensipsctl/
>>
>> *If I want to use osipsconsole then I need to install perl and perl
>> modules ?
>>
>>     * DBI
>>     * DBD::mysql
>>     * DBD::Pg
>>     * DBD::Oracle
>>     * BerkeleyDB
>>     * Frontier::RPC2
>>
>>
> http://www.opensips.org/Resources/Install#toc2 - here is a link with the
> console's installation guide
>
>> If I'm using mysql backend then I should install DBI, DBD:mysql and
>> Frontier:RPC2. No need DBD::pg, DBD::Oracle and BerkeleyDB.  Is it ?
>>
> Yes, just DBI, DBD:mysql and Frontier:RPC2
>
>> If I wrong please drive me right way. Thank you.
>>
>> And sorry for my poor english.
>>
>> Sincerely,
>> Tseveendorj
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
> If there are any more issues don't hesitate to write.
>
> Regards,
> Iulia
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 
Sent from my mobile device

http://www.suretecsystems.com/services/openldap/



More information about the Users mailing list