<div>Problem is phone is not deletes it registration. Problem is in not consistent timer behavior  of some phones. Fully complies to RFC, but breakes middle logic.</div><br><div class="gmail_quote_attribution">On Sep 28 2019, at 12:26 am, Alexey Vasilyev <alexei.vasilyev@gmail.com> wrote:</div><blockquote><div><div>Hi Igor,</div><div><br></div><div>If the phone lost registration, it should also be deleted from mid_registrar. With nathelper, e.g. So next REGISTER should be forwarded, not consumed. But it would be really good solution to have feature like this <a href="https://link.getmailspring.com/link/657DF0DB-1157-4392-83A9-69C4FF026EF9@getmailspring.com/0?redirect=https%3A%2F%2Fgithub.com%2FOpenSIPS%2Fopensips%2Fissues%2F1769&recipient=dXNlcnNAbGlzdHMub3BlbnNpcHMub3Jn" title="https://github.com/OpenSIPS/opensips/issues/1769">https://github.com/OpenSIPS/opensips/issues/1769</a></div><div>In the case of UDP, may be it make sense to use simple mirroring mode with nathelper pings.</div><div><br></div><div><div><div><font style="font-size:12px"><font style="font-family:Helvetica">-----</font></font></div><div><font style="font-size:12px"><font style="font-family:Helvetica">Alexey Vasilyev</font></font></div><div><font style="font-size:12px"><font style="font-family:Helvetica"><a href="https://link.getmailspring.com/link/657DF0DB-1157-4392-83A9-69C4FF026EF9@getmailspring.com/1?redirect=mailto%3Aalexei.vasilyev%40gmail.com&recipient=dXNlcnNAbGlzdHMub3BlbnNpcHMub3Jn" title="mailto:alexei.vasilyev@gmail.com">alexei.vasilyev@gmail.com</a></font></font></div><div><br></div><br></div><br><div><blockquote><div>27 Sep 2019, в 22:58, Igor Olhovskiy [via OpenSIPS (Open SIP Server)] <<a href="https://link.getmailspring.com/link/657DF0DB-1157-4392-83A9-69C4FF026EF9@getmailspring.com/2?redirect=mailto%3Aml%2Bs1449251n7616299h3%40n2.nabble.com&recipient=dXNlcnNAbGlzdHMub3BlbnNpcHMub3Jn" title="mailto:ml+s1449251n7616299h3@n2.nabble.com">ml+s1449251n7616299h3@n2.nabble.com</a>> написал(а):</div><br><div><div><div><div><div>Enpoint B also have 3600 expiry time. So, 1000 + 2600 = 3600.</div></div><div><div>But you got the point.</div></div><div><br><div>Actually I faced more interesting issue a bit later, maybe actually it was the reason.</div></div><div>Only 1 phone involved.</div></div><div>Time 0       ->  Enpoint A -> mid_registrar -> upstream_registrar (expires 3600)</div><div><div>Time 1000 ->  Enpoint A -> mid_registrar (just consume registration)</div></div><div><div>Time 3600 -> NOTHING. upstream_registrar expires.</div></div><div><div>1000 sec GAP</div></div><div><div>Time 4600 -> Enpoint A -> mid_registrar -> upstream_registrar.</div><br></div><div>Yes, looks like non logic behaviour, but some of my Yealink endpoints sometimes just refreshes registration (maybe TCP network loss or so) in a middle of expires period and than - just wait for full expire time to re-register</div></div><br><div class="gmail_quote"><div class="gmail_attr"><div>пт, 27 сент. 2019 г. в 18:53, Liviu Chircu <<a href="x-msg://17/user/SendEmail.jtp?type=node&node=7616299&i=0" title="x-msg://17/user/SendEmail.jtp?type=node&node=7616299&i=0">[hidden email]</a>>:</div></div><blockquote><div>Hi, Igor!</div><br><div>Correct me if I'm wrong, but doesn't endpoint B think it's registered</div><div>for another 1000 seconds at step 4) in your example?</div><br><div>Anyway, logically speaking, on step 2), the mid-registrar should forward</div><div>the call to main reg, since there is no guarantee that any of the endpoints</div><div>will send a binding refresh register within the next 2600 seconds.  For all</div><div>it's worth, A could lose its connection and B could wait between</div><div>2601 to 3599 before re-registering, which would temporarily cause</div><div>registration</div><div>state to be incorrectly lost on the backend layer.</div><br><div>Let me set up a test for this scenario and I will come back to you with</div><div>my findings.</div><br><div>Regards,</div><br><div>Liviu Chircu</div><div>OpenSIPS Developer</div><div><a href="http://www.opensips-solutions.com/" title="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></div><br><div>On 27.09.2019 18:18, Igor Olhovskiy wrote:</div><div>> but Enpoint B still thinks it's registered at least 2599 seconds.</div><br><div>_______________________________________________</div><div>Users mailing list</div><div><a href="x-msg://17/user/SendEmail.jtp?type=node&node=7616299&i=1" title="x-msg://17/user/SendEmail.jtp?type=node&node=7616299&i=1">[hidden email]</a></div><div><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" title="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div></blockquote></div><br><br><div>--</div><div class="gmail_signature"><div><div>Best regards,</div><div>Igor</div></div></div><br><div>_______________________________________________</div><div>Users mailing list</div><div><a href="x-msg://17/user/SendEmail.jtp?type=node&node=7616299&i=2" title="x-msg://17/user/SendEmail.jtp?type=node&node=7616299&i=2">[hidden email]</a></div><div><a href="https://link.getmailspring.com/link/657DF0DB-1157-4392-83A9-69C4FF026EF9@getmailspring.com/3?redirect=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fusers&recipient=dXNlcnNAbGlzdHMub3BlbnNpcHMub3Jn" title="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div><br><br><div><div><span style="color:rgb(68, 68, 68)"><font style="font-size:12px"><font style="font-family:tahoma, geneva, helvetica, arial, sans-serif">If you reply to this email, your message will be added to the discussion below:</font></font></span></div><div><span style="color:rgb(68, 68, 68)"><font style="font-size:12px"><font style="font-family:tahoma, geneva, helvetica, arial, sans-serif"><a href="https://link.getmailspring.com/link/657DF0DB-1157-4392-83A9-69C4FF026EF9@getmailspring.com/4?redirect=http%3A%2F%2Fopensips-open-sip-server.1449251.n2.nabble.com%2Fmid-registrar-question-tp7616290p7616299.html&recipient=dXNlcnNAbGlzdHMub3BlbnNpcHMub3Jn" title="http://opensips-open-sip-server.1449251.n2.nabble.com/mid-registrar-question-tp7616290p7616299.html">http://opensips-open-sip-server.1449251.n2.nabble.com/mid-registrar-question-tp7616290p7616299.html</a></font></font></span></div></div><div><div><span style="color:rgb(102, 102, 102)"><font style="font-size:11px"><font style="font-family:tahoma, geneva, helvetica, arial, sans-serif">To start a new topic under OpenSIPS - Users, email </font></font></span><span style="color:rgb(102, 102, 102)"><font style="font-size:11px"><font style="font-family:tahoma, geneva, helvetica, arial, sans-serif"><a href="https://link.getmailspring.com/link/657DF0DB-1157-4392-83A9-69C4FF026EF9@getmailspring.com/5?redirect=mailto%3Aml%2Bs1449251n1449235h19%40n2.nabble.com&recipient=dXNlcnNAbGlzdHMub3BlbnNpcHMub3Jn" title="mailto:ml+s1449251n1449235h19@n2.nabble.com">ml+s1449251n1449235h19@n2.nabble.com</a></font></font></span></div><div><span style="color:rgb(102, 102, 102)"><font style="font-size:11px"><font style="font-family:tahoma, geneva, helvetica, arial, sans-serif">To unsubscribe from OpenSIPS - Users, </font></font></span><span style="color:rgb(102, 102, 102)"><font style="font-size:11px"><font style="font-family:tahoma, geneva, helvetica, arial, sans-serif"><a href="https://link.getmailspring.com/link/657DF0DB-1157-4392-83A9-69C4FF026EF9@getmailspring.com/6?redirect=http%3A%2F%2Fopensips-open-sip-server.1449251.n2.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dunsubscribe_by_code%26node%3D1449235%26code%3DYWxleGVpLnZhc2lseWV2QGdtYWlsLmNvbXwxNDQ5MjM1fC0xOTc3MDM4NDMy&recipient=dXNlcnNAbGlzdHMub3BlbnNpcHMub3Jn" title="http://opensips-open-sip-server.1449251.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1449235&code=YWxleGVpLnZhc2lseWV2QGdtYWlsLmNvbXwxNDQ5MjM1fC0xOTc3MDM4NDMy">click here</a></font></font></span><span style="color:rgb(102, 102, 102)"><font style="font-size:11px"><font style="font-family:tahoma, geneva, helvetica, arial, sans-serif">.</font></font></span></div><div><span style="color:rgb(102, 102, 102)"><font style="font-size:11px"><font style="font-family:tahoma, geneva, helvetica, arial, sans-serif"><font style="font-size:9px"><font style="font-family:serif"><a href="https://link.getmailspring.com/link/657DF0DB-1157-4392-83A9-69C4FF026EF9@getmailspring.com/7?redirect=http%3A%2F%2Fopensips-open-sip-server.1449251.n2.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dmacro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscribers%2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-send_instant_email%2521nabble%253Aemail.naml&recipient=dXNlcnNAbGlzdHMub3BlbnNpcHMub3Jn" title="http://opensips-open-sip-server.1449251.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml">NAML</a></font></font></font></font></span></div></div></div></blockquote></div><br></div><div>_______________________________________________</div><div>Users mailing list</div><div>Users@lists.opensips.org</div><div>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</div></div></blockquote>