Thanks Faisal,

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 :)
 
Best Regards,
--
Yasiru


________________________________
From: Faisal Rehman <faisal.rehma...@yahoo.com>
To: yasiru welandawe <mod...@yahoo.com>; OpenSIPS users mailling list 
<users@lists.opensips.org>; OpenSIPS users mailling list 
<users@lists.opensips.org>
Sent: Tuesday, September 27, 2011 1:04 PM
Subject: Re: [OpenSIPS-Users] Trying to register first sip account


Hi Yasiru,

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.

 
With Best Regards,


Faisal Rehman


________________________________
From: yasiru welandawe <mod...@yahoo.com>
To: OpenSIPS users mailling list <users@lists.opensips.org>
Sent: Tuesday, September 27, 2011 12:26 PM
Subject: [OpenSIPS-Users] Trying to register first sip account




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

Reply via email to