[OpenSIPS-Users] Opensips-cp 4.0

Andy Thomas andy at andythomas.co.uk
Mon Apr 5 18:36:51 CEST 2010


Ive already done that step for admin access

It's the user's table which needs to be configured so that opensips-cp can
then add users

 

 

 

From: Alex Ionescu [mailto:alex at opensips.org] 
Sent: 05 April 2010 3:37 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Opensips-cp 4.0

 

Hi,

I think you've read an old documentation. This is what you must do :

* For the admin tool you must add a table. 

 

    Follow these steps:

            

            1. install the ocp_admin_privileges table schema
ocp_admin_privileges.mysql/ocp_admin_privileges.pgsql

            (config/tools/admin/add_admin/ocp_admin_privileges.mysql)

        mysql -Dopensips -p < ocp_admin_privileges.mysql

                or

        psql -h host_name -U postgres_username -d opensips <
ocp_admin_privileges.pgsql

            

            2. For being able to login create an admin account with the
following username and password: admin/admin. Add it into the database:

            INSERT INTO ocp_admin_privileges
(username,password,ha1,available_tools,permissions) values
('admin','admin',md5('admin:admin'),'all','all');                 


This is from http://opensips-cp.sourceforge.net (see Documentation ->
Install Guide)

Regards,
Alex
On 4/5/2010 16:30, Andy Thomas wrote: 

 

Im trying to install opensips-cp 4 according to the install document.

 

Everything is fine until I reach this point-

 

 

  * For the add_user module : you must add one table to the OpenSIPS
database .

Follow these steps:

Install the table.mysql or table.pgsql.

You will find them them :

         opensips-cp/config/tools/admin/add_admin/table.mysql

                or

        opensips-cp/config/tools/admin/add_admin/table.pgsql

        This is where the admins are being stored data.

 

I have looked everywhere for the file,

opensips-cp/config/tools/admin/add_admin/table.mysql  doesn't exist in the
tarball!

 

 

 

Regards

Andy T

 
 
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
  






-- 
Alex Ionescu
www.voice-system.ro 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100405/c12df813/attachment.htm 


More information about the Users mailing list