<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div style="font-size: 10pt; "><span>Thanks Faisal,</span></div><div style="font-size: 10pt; "><span><br></span></div><div><span><font class="Apple-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="Apple-style-span" face="arial, helvetica, sans-serif"> "opensipsctl add <username>@<domain> <password>" command to add sip account to Opensips. </font></span></span></div><div><span><span style="font-size: 10pt; "><font class="Apple-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-size: 10pt; font-family: 'Courier New', courier, monaco, monospace,
sans-serif; "> </div><div style="font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; ">Best Regards,</div><div style="font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; ">--</div><div style="font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; ">Yasiru</div><div style="font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; "><br></div><div style="font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, 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> Faisal Rehman <faisal.rehman22@yahoo.com><br><b><span style="font-weight: bold;">To:</span></b> yasiru welandawe <modygw@yahoo.com>; OpenSIPS users mailling list <users@lists.opensips.org>;
OpenSIPS users mailling list <users@lists.opensips.org><br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, September 27, 2011 1:04 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users] Trying to register first sip account<br></font><br><div id="yiv657626271"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; "><div><span><font class="yiv657626271Apple-style-span" face="tahoma, 'new york', times, serif"><b>Hi Yasiru,</b></font></span></div><div><span><font class="yiv657626271Apple-style-span" face="tahoma, 'new york', times, serif"><br></font></span></div><div><font class="yiv657626271Apple-style-span" face="tahoma, 'new york', times, serif">Upon which port your opensips is running, if it is 5060 then try to give the domain/registrar in your softphone dialer as 192.168.102.24:5060 and try again. It
would be more better that you send the logs, so please try again and tail the /var/log/messages and resend it to me.</font></div><div><font class="yiv657626271Apple-style-span" face="tahoma, 'new york', times, serif"><br></font></div><div><font class="yiv657626271Apple-style-span" face="tahoma, 'new york', times, serif"> </font></div><div><font class="yiv657626271Apple-style-span" face="tahoma, 'new york', times, serif">With Best Regards,<br><br></font></div><div><font class="yiv657626271Apple-style-span" face="tahoma, 'new york', times, serif"><b>Faisal Rehman</b></font><br><div style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><div style="font-size: 12pt; font-family: times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> yasiru welandawe <modygw@yahoo.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> Tuesday, September 27, 2011 12:26 PM<br><b><span style="font-weight:bold;">Subject:</span></b> [OpenSIPS-Users] Trying to register first sip account<br></font><br><div id="yiv657626271"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: sans-serif; "><div style="font-size: 10pt; font-family: sans-serif; "><br></div><div><div style="font-size: 12pt; font-family: times, serif; ">Hi all,</div><div style="font-size: 12pt; font-family: times, serif; " class="yiv657626271yui_3_2_0_15_131710664663466"><br></div><div style="font-size: 12pt; font-family: times, serif; " class="yiv657626271yui_3_2_0_15_131710664663466">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; font-family: times, serif;
" class="yiv657626271yui_3_2_0_15_131710664663466"><br></div><div class="yiv657626271yui_3_2_0_15_131710664663466"><div class="yiv657626271yui_3_2_0_15_131710664663466"><font class="yiv657626271Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">mysql> select * from subscriber;</font></div><div class="yiv657626271yui_3_2_0_15_131710664663466"><font class="yiv657626271Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">+----+----------+----------------+----------+------------------+-----+------+------+</font></div><div class="yiv657626271yui_3_2_0_15_131710664663466"><font class="yiv657626271Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">| id | username | domain | password | email_address | ha1 | ha1b | rpid |</font></div><div class="yiv657626271yui_3_2_0_15_131710664663466"><font class="yiv657626271Apple-style-span"
face="'Courier New', courier, monaco, monospace, sans-serif">+----+----------+----------------+----------+------------------+-----+------+------+</font></div><div class="yiv657626271yui_3_2_0_15_131710664663466"><font class="yiv657626271Apple-style-span" face="'Courier New', courier, monaco,
monospace, sans-serif">| 1 | 1000 | 192.168.102.24 | 1000 | modygw@yahoo.com | | | |</font></div><div class="yiv657626271yui_3_2_0_15_131710664663466"><font class="yiv657626271Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">+----+----------+----------------+----------+------------------+-----+------+------+</font></div><div class="yiv657626271yui_3_2_0_15_131710664663466"><font class="yiv657626271Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">1 row in set (0.02 sec)</font></div><div style="font-size: 12pt; font-family: times, serif; "><br></div><div style="font-size: 12pt; font-family: times, serif; "><br></div><div style="font-size: 12pt; font-family: times, serif; ">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; font-family: times, serif; "><br></div><div style="font-size: 12pt; font-family: times, serif; "><br></div><div style="font-size: 12pt; font-family: times, serif; ">Thank you,</div><div style="font-size: 12pt; font-family: times, serif; ">--</div><div style="font-size: 12pt; font-family: times, serif; ">Yasiru</div><div style="font-size: 12pt; font-family: times, serif; "><br></div></div></div></div></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><br></div></div></div></div></div><br><br></div></div></div></body></html>