[OpenSIPS-Users] Trying to register first sip account

Max Mühlbronner mm at 42com.com
Tue Sep 27 11:51:14 CEST 2011


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     | modygw at yahoo.com |     | 
>      |      |
> +----+----------+----------------+----------+------------------+-----+------+------+
> 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 list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
42com Telecommunication GmbH
Straße der Pariser Kommune 12-16 / D-10243 Berlin

E-mail: mm at 42com.com
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110927/94e35c06/attachment.htm>


More information about the Users mailing list