Sam,<br><br>I suggest to you to use the default script enabling only the mysql backend, this script makes exactly what you want, process Register requests form users, and route calls between the registered users.<br><br>Take a look in the webinar [1], this webinar explain the default script, and says what you need to do to get mysql enabled. To properly understand the tutorial it's mandatory to have a SIP Protocol background, if you don't I recommend to watch the webinars [2], and [3] first.<br>
<br>With the default script you will need to create users in the Subscriber table, and you will get the user Register status in the Location table.<br><br>[1] - <a href="http://www.opensips.org/html/docs/video/webinar005/">http://www.opensips.org/html/docs/video/webinar005/</a><br>
[2] - <a href="http://www.opensips.org/html/docs/video/webinar004/">http://www.opensips.org/html/docs/video/webinar004/</a><br>[3] - <a href="http://www.opensips.org/html/docs/video/webinar002/">http://www.opensips.org/html/docs/video/webinar002/</a><br>
<br>Best regards,<br><br clear="all">Antonio Anderson Souza<br>Voice Technology<br><a href="http://www.antonioams.com">http://www.antonioams.com</a><br>
<br><br><div class="gmail_quote">On Tue, Apr 20, 2010 at 1:00 PM, samoh <span dir="ltr"><<a href="mailto:dahmani.samy@gmail.com">dahmani.samy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi everybody,<br>
<br>
I am a bit lost in my project with OpenSIPS, it's been 20 days since I<br>
started and I don't have understood yet how to add a source code in my<br>
opensips.cfg, how to use avp and in what part of Configuration File<br>
(opensips.cfg) ?.<br>
<br>
Are there a good tutorial where this point is explain well or can I have a<br>
good example ?<br>
<br>
I installed OpenSIPS with Mysql and I want to register the users who are<br>
registered ( id, ip address, source port) in a new table and refresh it to<br>
have just the users who are online.<br>
<br>
How can I do this?<br>
<br>
Best regards.<br>
Thanks, specialy to Bogdan.<br>
<br>
Sam.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://n2.nabble.com/how-to-retrieve-the-users-who-are-registered-tp4931953p4931953.html" target="_blank">http://n2.nabble.com/how-to-retrieve-the-users-who-are-registered-tp4931953p4931953.html</a><br>
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</font></blockquote></div><br>