[OpenSIPS-Users] Trying to register first sip account

Sam Govind govoiper at gmail.com
Wed Sep 28 07:16:17 CEST 2011


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 <mm at 42com.com> 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     | 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 listUsers at lists.opensips.orghttp://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.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110928/a2814d33/attachment.htm>


More information about the Users mailing list