[OpenSIPS-Users] Trying to register first sip account

yasiru welandawe modygw at yahoo.com
Tue Sep 27 10:17:58 CEST 2011


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.rehman22 at yahoo.com>
To: yasiru welandawe <modygw at yahoo.com>; OpenSIPS users mailling list <users at lists.opensips.org>; OpenSIPS users mailling list <users at 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 <modygw at yahoo.com>
To: OpenSIPS users mailling list <users at 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     | modygw at 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 at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110927/f59d5910/attachment-0001.htm>


More information about the Users mailing list