<div dir="ltr"><pre>I had successfully install  Opensips and configured mysql DB with it. Now Opensips up and running. I add sip account to mysql DB as follows.<br><br>mysql&gt; select * from subscriber;<br>+----+----------+---------------+----------+---------------+----------------------------------+----------------------------------+------+<br>
| id | username | domain        | password | email_address | ha1                              | ha1b                             | rpid |<br>+----+----------+---------------+----------+---------------+----------------------------------+----------------------------------+------+<br>
|  1 | 1000     | 192.170.70.29 | 12345    |               | d59df94dbda4290385f6f85ddeac3aca | 854442095be5a00fa4306b3d74d14f93 | NULL |<br>+----+----------+---------------+----------+---------------+----------------------------------+----------------------------------+------+<br>
<br></pre><pre>mysql&gt; select * from domain;<br>+----+---------------+---------------------+<br>| id | domain        | last_modified       |<br>+----+---------------+---------------------+<br>|  1 | 192.170.70.29 | 2014-07-17 11:35:24 |<br>
+----+---------------+---------------------+<br><br>opensips is running at <br><br>udp        0      0 <a href="http://192.170.70.29:5060">192.170.70.29:5060</a>      0.0.0.0:*                           1778/opensips   <br>
<br></pre><pre>And my x-lite phone is running at 192.170.70.3.<br><br>when i try to register my x-lite phone with opensips it gives this error<br></pre><pre>&quot;Try server returned ..unauthorized (401)<br></pre><pre>syslog file gives.<br>
<br>Jul 17 12:06:12 kick ./opensips[1782]: [<a href="http://udp:1000@192.170.70.3:4995">udp:1000@192.170.70.3:4995</a>]: Processing &#39;REGISTER&#39;<br><br></pre><pre>why i am getting this error?Am i doing something wrong?<br>
<br></pre><pre>Please Help.<br><br></pre><pre>Thanks<br></pre></div>