[OpenSIPS-Users] unauthorized (401)

Aqs Younas aqsyounas at gmail.com
Thu Jul 17 09:29:51 CEST 2014


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.

mysql> select * from subscriber;
+----+----------+---------------+----------+---------------+----------------------------------+----------------------------------+------+

| id | username | domain        | password | email_address | ha1
                       | ha1b                             | rpid |
+----+----------+---------------+----------+---------------+----------------------------------+----------------------------------+------+

|  1 | 1000     | 192.170.70.29 | 12345    |               |
d59df94dbda4290385f6f85ddeac3aca | 854442095be5a00fa4306b3d74d14f93 |
NULL |
+----+----------+---------------+----------+---------------+----------------------------------+----------------------------------+------+

mysql> select * from domain;
+----+---------------+---------------------+
| id | domain        | last_modified       |
+----+---------------+---------------------+
|  1 | 192.170.70.29 | 2014-07-17 11:35:24 |

+----+---------------+---------------------+

opensips is running at

udp        0      0 192.170.70.29:5060      0.0.0.0:*
         1778/opensips

And my x-lite phone is running at 192.170.70.3.

when i try to register my x-lite phone with opensips it gives this error

"Try server returned ..unauthorized (401)

syslog file gives.

Jul 17 12:06:12 kick ./opensips[1782]: [udp:1000 at 192.170.70.3:4995]:
Processing 'REGISTER'

why i am getting this error?Am i doing something wrong?

Please Help.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140717/a7597f65/attachment-0001.htm>


More information about the Users mailing list