[OpenSIPS-Users] Trying to register first sip account

yasiru welandawe modygw at yahoo.com
Wed Sep 28 07:49:10 CEST 2011


Hey,

Thanks to all. I was add the sip account manually to the table. And I found that I should use  "opensipsctl add <username>@<domain> <password>" command to add sip account to Opensips. 
Now my soft phone has registered to the server successfully. Thanks much for the heads up :)

BTW I have another small question. I want to know that are the configuration files that I need to manager Opensips server. I already know about opensips.cfg and opensipsctl. What are else?



________________________________
From: Sam Govind <govoiper at gmail.com>
To: OpenSIPS users mailling list <users at lists.opensips.org>
Sent: Wednesday, September 28, 2011 10:46 AM
Subject: Re: [OpenSIPS-Users] Trying to register first sip account


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 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.
>_______________________________________________
>Users mailing list
>Users at lists.opensips.org
>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>

_______________________________________________
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/20110927/93d34820/attachment-0001.htm>


More information about the Users mailing list