<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>You could start first by reading about how SIP is designed to work here: </div><div><br></div><a href="http://www.tech-invite.com/Ti-sip-CF3665.html">http://www.tech-invite.com/Ti-sip-CF3665.html</a><div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>After you spend some time understand what SIP is and how it works, then you will likely ask pertinent questions and people might be able to really help you. Otherwise you will ask alien questions and even good answers wil not satisfy you because you do not know the concepts behind them.</div><div><br></div><div>--</div><div>Adrian</div><div><br></div></div></div><br class="Apple-interchange-newline"> </div><br><div><div>On Sep 25, 2009, at 1:52 PM, madhu mitha wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0"><tbody><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><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></i></b> wrote:<br><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; position: static; z-index: auto; "><br>From: Bogdan-Andrei Iancu <<a href="mailto: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 href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><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: <<a href="sip:2000@192.168.1.104">sip:2000@192.168.1.104</a>>;tag=24872646-f6e3-4d57-89c1-fc75e2e9c618<br>>>> To: <<a href="sip:2000@192.168.1.104">sip:2000@192.168.1.104</a>>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.4989<br>>>> Call-ID: 8ad183d2-9111-47b0-bf6d-a9cf7e5c1c82<br>>>> CSeq: 20315 REGISTER<br>>>> Contact: <<a href="sip:2000@192.168.1.104:5074">sip:2000@192.168.1.104:5074</a>>;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></tbody></table><br> <!--3--><hr size="1"> 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>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></body></html>