Hi Rodrigo,
"opensipsctl online" simply shows the registration cache (who registered
and for how long), but without actively checking if the registered
device is still alive.
It simply shows the who's registered based on the received REGISTER
requests. The list is realtime updated based on these REGISTERs.
But if a device registers for 60 minutes and it drops form network after
30 minutes, the device will still be shown as online after 40 mins (up
to 60 mins, when the registration will expire).
Best regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 28.08.2015 17:19, Rodrigo Pimenta Carvalho wrote:
Hi Bogdan.
Thank you for the reply.
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.
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?
I need to know how long does it take to get an update online peers
list, by means of the 'opensipsctl online' command, after someone
becoming offline.
Best regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
------------------------------------------------------------------------
*De:* Bogdan-Andrei Iancu <bog...@opensips.org>
*Enviado:* sexta-feira, 28 de agosto de 2015 11:00
*Para:* OpenSIPS users mailling list; Rodrigo Pimenta Carvalho
*Assunto:* Re: [OpenSIPS-Users] Register timeout question.
Hi Rodrigo,
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.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 28.08.2015 16:27, Rodrigo Pimenta Carvalho wrote:
Hi.
Let´s suppose there are some peers online in my OpenSIPS.
For my project, whether a peer (UAC) become offline, my OpenSIPS must
detect it in 10 seconds.
Is there a way to detect it by means of some kind of SIP Register
timeout configuration? How to configure OpenSIPS for this objective?
Any hint will be very helpful!
Best regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users