<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Bogdan.</p>
<p><br>
</p>
<p>Thank you for the reply.</p>
<p><br>
</p>
<p>What about the line command 'opensipsctl online'? This command shows me who is online, so it has some way to detect who is and who is not online in a moment.</p>
<p><br>
</p>
<p>How this command can figure out who is currently online? If some peer UAC become offline, does such command return an updated list immediately, or does it take some seconds to start returning an update list? If it take some seconds, does it depend on the
periodicity of SIP Register messages from such UAC?</p>
<p><br>
</p>
<p>I need to know how long does it take to get an update online peers list, by means of the '<span style="font-size: 12pt;">opensipsctl online' command, after someone becoming offline.</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Best regards.</span></p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De:</b> Bogdan-Andrei Iancu <bogdan@opensips.org><br>
<b>Enviado:</b> sexta-feira, 28 de agosto de 2015 11:00<br>
<b>Para:</b> OpenSIPS users mailling list; Rodrigo Pimenta Carvalho<br>
<b>Assunto:</b> Re: [OpenSIPS-Users] Register timeout question.</font>
<div> </div>
</div>
<div><tt>Hi Rodrigo,<br>
<br>
Currently there is no way for OpenSIPS to check the status of the active registrations. But we have an internal PR with such feature - doing SIP pinging to the registered contacts and if no answer, to auto unregister the contact. Most probably it will be uploaded
on 2.2 branch in the next week.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 28.08.2015 16:27, Rodrigo Pimenta Carvalho wrote:<br>
</div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<p>Hi.</p>
<p><br>
</p>
<p>Letīs suppose there are some peers online in my OpenSIPS.</p>
<p>For my project, whether a peer (UAC) become offline, my OpenSIPS must detect it in 10 seconds.</p>
<p>Is there a way to detect it by means of some kind of SIP Register timeout configuration? How to configure OpenSIPS for this objective?</p>
<p><br>
</p>
<p>Any hint will be very helpful!</p>
<p><br>
</p>
<p>Best regards.</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</body>
</html>