<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Well, I am not sure if this is possible but want to know if the server can add in it's 200/OK response msg , the list of online users with content-type as text?!<br>Or can the client communicate with the server using "MESSAGE" request?.. <br>The latter would be better so that the client can ask the server about new registrations by sending messages anytime..!.. <br>Thanks!<br><br>--- On <b>Fri, 25/9/09, Bogdan-Andrei Iancu <i><bogdan@voice-system.ro></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Bogdan-Andrei Iancu <bogdan@voice-system.ro><br>Subject: Re: [OpenSIPS-Users] List of online users<br>To: "OpenSIPS users mailling list" <users@lists.opensips.org><br>Date: Friday, 25 September, 2009, 4:58 PM<br><br><div class="plainMail">As Stanisław asked
you, how do you want to send back this information to <br>the client?<br><br><br>Regards,<br>Bogdan<br><br>smadhoo6 wrote:<br>> Orite.. So is it possible to show the other registered users ?<br>> Thanks!<br>><br>> Bogdan-Andrei Iancu wrote:<br>> <br>>> It contains all the contacts of *that* user (the one who registers), not <br>>> from all the subscribers.<br>>><br>>> Regards,<br>>> Bogdan<br>>><br>>> madhu mitha wrote:<br>>> <br>>>> Is it so?.. The contact header seems to show only the URI of the <br>>>> sender who wants to register.. And not those of others who are <br>>>> registered with that domain.. Lik this..<br>>>><br>>>> SIP/2.0 200 OK<br>>>> Via: SIP/2.0/UDP <br>>>> 192.168.1.104:5074;rport=5074;branch=z9hG4bKPj408df03d-4ebe-404f-b7a0-4001bb5fa661<br>>>> From:
<sip:2000@192.168.1.104>;tag=24872646-f6e3-4d57-89c1-fc75e2e9c618<br>>>> To: <sip:2000@192.168.1.104>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.4989<br>>>> Call-ID: 8ad183d2-9111-47b0-bf6d-a9cf7e5c1c82<br>>>> CSeq: 20315 REGISTER<br>>>> Contact: <sip:2000@192.168.1.104:5074>;expires=300<br>>>> Server: OpenSIPS (1.5.0-notls (i386/linux))<br>>>> Content-Length: 0<br>>>><br>>>> What should I do?<br>>>> Thanks for the prompt reply!..<br>>>><br>>>><br>>>><br>>>> --- On *Fri, 25/9/09, Bogdan-Andrei Iancu /<<a ymailto="mailto:bogdan@voice-system.ro" href="/mc/compose?to=bogdan@voice-system.ro">bogdan@voice-system.ro</a>>/* <br>>>> wrote:<br>>>><br>>>><br>>>> From: Bogdan-Andrei Iancu <<a ymailto="mailto:bogdan@voice-system.ro"
href="/mc/compose?to=bogdan@voice-system.ro">bogdan@voice-system.ro</a>><br>>>> Subject: Re: [OpenSIPS-Users] List of online users<br>>>> To: "OpenSIPS users mailling list" <<a ymailto="mailto:users@lists.opensips.org" href="/mc/compose?to=users@lists.opensips.org">users@lists.opensips.org</a>><br>>>> Date: Friday, 25 September, 2009, 3:16 PM<br>>>><br>>>> Hi,<br>>>><br>>>> but any registrar (including opensips), automatically sends back<br>>>> in the<br>>>> 200OK of a REGISTER request all the registered contacts (in the<br>>>> Contact<br>>>> hdr of the reply). Do you need something more?<br>>>><br>>>>
Regards,<br>>>> Bogdan<br>>>><br>>>> madhu mitha wrote:<br>>>> > Is there any method to send the list of online registered users<br>>>> to a<br>>>> > SIP-phone/client as soon as a user registers with the opensips<br>>>> > server?.. What changes should be made in the config script?. Cuz<br>>>> I'm<br>>>> > given to understand that functions like ul_dump or ul show or<br>>>> the MI<br>>>> > command "online" cannot be exported to be used in scripts.. I'm<br>>>> using<br>>>> > Opensips 1.5..0 (no-tls) on Fedora without
mysql.. Thanks in<br>>>> advance.. :)<br>>>> ><br>>>> ><br>>>> ><br>>>> <br>>>> ------------------------------------------------------------------------<br>>>> > From cricket scores to your friends. Try the Yahoo! India Homepage!<br>>>> ><br>>>> <<a href="http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew" target="_blank">http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew</a>><br>>>> ><br>>>> <br>>>> ------------------------------------------------------------------------<br>>>> ><br>>>> >
_______________________________________________<br>>>> > Users mailing list<br>>>> > <a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a> </mc/compose?to=<a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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>>>> > <br>>>><br>>>><br>>>> _______________________________________________<br>>>> Users mailing list<br>>>> <a ymailto="mailto:Users@lists.opensips.org"
href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a> </mc/compose?to=<a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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>>>><br>>>><br>>>> ------------------------------------------------------------------------<br>>>> From cricket scores to your friends. Try the Yahoo! India Homepage! <br>>>> <<a href="http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew" target="_blank">http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew</a>><br>>>> ------------------------------------------------------------------------<br>>>><br>>>>
_______________________________________________<br>>>> Users mailing list<br>>>> <a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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>>>> <br>>>> <br>>> _______________________________________________<br>>> Users mailing list<br>>> <a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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>>><br>>><br>>>
<br>><br>> <br><br><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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></div></blockquote></td></tr></table><br>
<!--3--><hr size=1></hr> From cricket scores to your friends. Try the <a href="http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew" target="_blank">Yahoo! India Homepage!</a>