<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 17, 2020 at 10:29 AM IanG <<a href="mailto:ian.gilmour.x@gmail.com">ian.gilmour.x@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>From:
<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Configuration_res_pjsip_outbound_registration#Asterisk16Configuration_res_pjsip_outbound_registration-registration_max_retries" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Configuration_res_pjsip_outbound_registration#Asterisk16Configuration_res_pjsip_outbound_registration-registration_max_retries</a></p>
    <h5 id="gmail-m_5371828225578531409Asterisk16Configuration_res_pjsip_outbound_registration-max_retries">max_retries</h5>
    <p>This sets the maximum number of registration attempts that are
      made before stopping any further attempts.<b><br>
        If set to 0 then upon failure no further attempts are made.</b></p></div></blockquote><div> </div></div><div>The best option is to set this to a sufficient value that covers your situation. It doesn't currently allow infinite to stop situations where an upstream ITSP would be continually hit with traffic. Giving it some thought I think there's at least one area where it may possibly be improved, which is for timeouts/no responses. In that case you probably haven't hit a remote server so continued attempts would seem fine.</div><div><br></div><div>I'd need more information on this particular case to know whether that would have resolved it though.<br></div><div><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div></div>