<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span>Hey,</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span>Thanks to all. </span><span class="Apple-style-span" style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; "><font class="yiv949140292Apple-style-span" size="2">I was add the sip account manually to the table. And I found that I should use </font><span style="font-size: 10pt; "><font class="yiv949140292Apple-style-span" face="arial, helvetica, sans-serif"> "opensipsctl add <username>@<domain> <password>" command to add sip account to Opensips. </font></span></span></div><div style="font-family: 'Courier
New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><span><span style="font-size: 10pt; "><font class="yiv949140292Apple-style-span" face="arial, helvetica, sans-serif">Now my soft phone has registered to the server successfully. Thanks much for the heads up :)</font></span></span></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><span><span style="font-size: 10pt; "><font class="yiv949140292Apple-style-span" face="arial, helvetica, sans-serif"><br></font></span></span></div><div style="font-size: 10pt; ">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?</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div
style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Sam Govind <govoiper@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> OpenSIPS users mailling list <users@lists.opensips.org><br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 28, 2011 10:46 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users] Trying to register first sip account<br></font><br><div id="yiv959557141">Also check you "domain" table as well the same entry in the posted table. <br><br><div class="yiv959557141gmail_quote">On Tue, Sep 27, 2011 at 2:51 PM, Max Mühlbronner <span dir="ltr"><<a rel="nofollow" ymailto="mailto:mm@42com.com" target="_blank" href="mailto:mm@42com.com">mm@42com.com</a>></span>
wrote:<br>
<blockquote class="yiv959557141gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
Hi,<br>
<br>
it is probably related to the calculate_ha1 modparam in opensips.cfg
(default is 0) .<br>
<br>
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.<br>
<br>
<br>
Best Regards<br>
<br>
Max M.<br>
<br>
<br>
Am <a rel="nofollow">27.09.2011 09</a>:26, schrieb yasiru welandawe:
<blockquote type="cite"><div><div class="yiv959557141h5">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: 'lucida console', sans-serif; ">
<div style="font-size:10pt;"><br>
</div>
<div>
<div style="font-size:12pt;">Hi all,</div>
<div style="font-size:12pt;"><br>
</div>
<div style="font-size:12pt;">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.</div>
<div style="font-size:12pt;"><br>
</div>
<div>
<div><font face="'Courier New', courier,
monaco, monospace, sans-serif">mysql> select * from
subscriber;</font></div>
<div><font face="'Courier New', courier,
monaco, monospace, sans-serif">+----+----------+----------------+----------+------------------+-----+------+------+</font></div>
<div><font face="'Courier New', courier,
monaco, monospace, sans-serif">| id | username | domain
| password | email_address | ha1 | ha1b |
rpid |</font></div>
<div><font face="'Courier New', courier,
monaco, monospace, sans-serif">+----+----------+----------------+----------+------------------+-----+------+------+</font></div>
<div><font face="'Courier New', courier,
monaco, monospace, sans-serif">| 1 | 1000 |
192.168.102.24 | 1000 | <a rel="nofollow" ymailto="mailto:modygw@yahoo.com" target="_blank" href="mailto:modygw@yahoo.com">modygw@yahoo.com</a> | |
| |</font></div>
<div><font face="'Courier New', courier,
monaco, monospace, sans-serif">+----+----------+----------------+----------+------------------+-----+------+------+</font></div>
<div><font face="'Courier New', courier,
monaco, monospace, sans-serif">1 row in set (0.02 sec)</font></div>
<div style="font-size:12pt;"><br>
</div>
<div style="font-size:12pt;"><br>
</div>
<div style="font-size:12pt;">But it gives "SIP/2.0 401
Unauthorized." when I try to register my soft phone with
this account. Can someone help me.</div>
<div style="font-size:12pt;"><br>
</div>
<div style="font-size:12pt;"><br>
</div>
<div style="font-size:12pt;">Thank you,</div>
<div style="font-size:12pt;">--</div>
<div style="font-size:12pt;">Yasiru</div>
<div style="font-size:12pt;"><br>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><div class="yiv959557141im"><pre>_______________________________________________
Users mailing list
<a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a rel="nofollow" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</div></blockquote>
<br>
<br>
<pre>--
42com Telecommunication GmbH
Straße der Pariser Kommune 12-16 / D-10243 Berlin
E-mail: <a rel="nofollow" ymailto="mailto:mm@42com.com" target="_blank" href="mailto:mm@42com.com">mm@42com.com</a>
Homepage: <a rel="nofollow" target="_blank" href="http://www.42com.com">www.42com.com</a>
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.</pre>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>
</div><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br></div></div></div></body></html>