Hi Andy,

The users table is created when you install OpenSIPS. The sip users are inserted in the table called "subscriber". I think that the term "user" used in the old/not-updated docs was actually about an OCP user (admin), not a sip user.

By the way : did you try adding sip users ? In case you didn't please try and let me know if it's working or not.

Regards,
Alex
On 4/5/2010 19:36, Andy Thomas wrote:

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:a...@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@lists.opensips.org  <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Alex Ionescu
www.voice-system.ro <http://www.voice-system.ro>

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


--
Alex Ionescu
www.voice-system.ro

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

Reply via email to