[OpenSIPS-Users] Register timeout question.

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Aug 31 11:04:05 CEST 2015


Hi Rodrigo,

I meant 40 mins from the registration time (out for the overall 60). And 
yes, yous suspicion is correct.

As said, the "opensipsctl online" only shows the registered contacts, 
without actually checking their current status.

The patch I mentioned will be available in the next days in OpenSIPs 2.2 
devel.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 28.08.2015 20:09, Rodrigo Pimenta Carvalho wrote:
>
> Hi Bogdan.
>
>
> Thank you again.
>
>
> Do you mean 40 or 30 mins? If the registration is for 60' and the 
> network break down after 30', so I suspect that the registration will 
> remain online only for more 30'.  Not 40'. Am I correct?
>
>
> As I need to know as soon as possible, by means of the SIP Registrar, 
> whether a device became offline, I  think that the command 
> 'opensipsctl online' will be really useful, if each device register 
> for 10 seconds for example.
>
>
> What do you think about this approach? Comment, please.
>
>
> If the approach is unappropriated, I will take a look in that internal 
> PR you have said.
>
>
> Regards.
>
>
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Software
> Ph: +55 35 3471 9200 RAMAL 979
>
>
> ------------------------------------------------------------------------
> *De:* Bogdan-Andrei Iancu <bogdan at opensips.org>
> *Enviado:* sexta-feira, 28 de agosto de 2015 12:33
> *Para:* Rodrigo Pimenta Carvalho; OpenSIPS users mailling list
> *Assunto:* Re: [OpenSIPS-Users] Register timeout question.
> 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 <bogdan at 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 at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150831/ad68cc2a/attachment.htm>


More information about the Users mailing list