[OpenSER-Users] OpenSER: Table "subscriber", only one new user can be added?

Ovidiu Sas osas at voipembedded.com
Thu Jan 17 22:13:55 CET 2008


Hmm ... this serweb tables seems to be creating a lot of confusion.

We should modify the default openserctlrc to not ask for serweb tables install.
This is as simple as setting:
INSTALL_SERWEB_TABLES=no

If the serweb tables are installed, the you need to set:
HAS_SERWEB=yes

If you don't install serweb tables, then you need to have
HAS_SERWEB=no (the default value).

By having INSTALL_SERWEB_TABLES=no in the default openserctl will
avoid a lot of trouble for new users.  Who ever want's to install the
serweb tables, will need to deal with it.
But by letting a new user to choose to install the table or not to
install is not good, because most of the time they will choose to
install it and then they will run into this issue.


Regards,
Ovidiu Sas

On Jan 17, 2008 4:03 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> El Jueves, 17 de Enero de 2008, KevinKinnan escribió:
> > Only one new entry can be added in the "subscriber" table. Or, "Duplicate
> > entry '' for key 3" error responses.
> >
> > Is there any way to create more than one user in this table?
>
> The problem is that the "phplib" column is a UNIQUE key so you must make it
> unique for each entry. But when creating a user with "openserctl" it set this
> field as NULL (or maybe it's configurable).
>
> So since I don't know what "phplib" column is (I suppose for "SerWeb") what I
> do is deleting that key.
>
>
> --
> Iñaki Baz Castillo
>
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list