[Home]

Summary:ASTERISK-26247: Change system clock lost ip peers
Reporter:wushumasters (wushumasters)Labels:
Date Opened:2016-07-27 19:42:46Date Closed:2016-07-27 19:56:27
Priority:MinorRegression?
Status:Closed/CompleteComponents:. I did not set the category correctly.
Versions:13.10.0 Frequency of
Occurrence
Related
Issues:
Environment:Debian 8 64bitsAttachments:
Description:Hello,

I dont known if this is a bug, but when i change my clock and put the date/ time to future, asterisk lost the info on astdb of peer

Before change the date/hour to future:
/SIP/Registry/1111111111                          : 192.168.0.108:57295:3600:1111111111:sip:1111111111@xxxxxxx:57295;rinstance=a3b1edd86cf0e8f3;transport=UDP
/SIP/Registry/1140637407                          : 192.168.0.108:33945:3600:1140637407:sip:1140637407@xxxxxx:33945;rinstance=b81ee452cc74df18;transport=UDP

After change the date/hour to future:
/SIP/Registry/1111111111                          : 192.168.0.108:57295:3600:1111111111:sip:1111111111@191.23.122.76:57295;rinstance=a3b1edd86cf0e8f3;transport=UDP

The information of peer 1140637497 disappeared

Sorry my english
Thanks
Comments:By: Asterisk Team (asteriskteam) 2016-07-27 19:42:46.671-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2016-07-27 19:56:27.452-0500

This isn't a bug. Asterisk stores when a contact is no longer valid (when a device registers it tells us how long it is valid for) and by changing the date/time of the system you are taking it past that time, removing it.