Also check you "domain" table as well the same entry in the posted table.
On Tue, Sep 27, 2011 at 2:51 PM, Max Mühlbronner <[email protected]> wrote: > Hi, > > it is probably related to the calculate_ha1 modparam in opensips.cfg > (default is 0) . > > The database entry you showed to us, had no ha1/ha1b entries and if > calculate_ha1 is set to 0 the authentification will not work because there > is only a clear-text password in the db. > > > Best Regards > > Max M. > > > Am 27.09.2011 09:26, schrieb yasiru welandawe: > > > Hi all, > > I had successfully install Opensips 1.7.0 and configured mysql DB with > it. Now Opensips up and running. I add sip account to mysql DB as follows. > > mysql> select * from subscriber; > > +----+----------+----------------+----------+------------------+-----+------+------+ > | id | username | domain | password | email_address | ha1 | ha1b > | rpid | > > +----+----------+----------------+----------+------------------+-----+------+------+ > | 1 | 1000 | 192.168.102.24 | 1000 | [email protected] | | > | | > > +----+----------+----------------+----------+------------------+-----+------+------+ > 1 row in set (0.02 sec) > > > But it gives "SIP/2.0 401 Unauthorized." when I try to register my soft > phone with this account. Can someone help me. > > > Thank you, > -- > Yasiru > > > > _______________________________________________ > Users mailing > [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > -- > 42com Telecommunication GmbH > Straße der Pariser Kommune 12-16 / D-10243 Berlin > > E-mail: [email protected] > Homepage: www.42com.com > > Firmenangaben/Company information: > > Handelsregister/Commercial register: Amtsgericht Berlin HRB 99071 B > Umsatzsteuer-ID/VAT-ID: DE223812306, Geschäftsführer/CEO: Thomas Reinig, > Alexander Reinig > > > Diese E-Mail enthält Informationen von 42com Telecommunication GmbH. Diese > sind möglicherweise vertraulich und ausschließlich für den Adressaten > bestimmt. Sollten Sie diese elektronische Nachricht irrtümlicherweise > erhalten haben, so informieren Sie uns bitte unverzüglich telefonisch oder > per E-Mail. > > This message is intended only for the use of the individual or entity to > which it is addressed. If you have received this message in error, please > delete the message and notify us immediately. > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
