<div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Hello Joshua,</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">thanks for suggestion. I just found out the same solution several minutes ago. I also obtained the maintenance window, so I diasbled outgoing DNS and SIP. But I was not successful reproducing the bad state. So I ceased futher debugging attempts and set srv_lookups to no. We will see once the next massive internet outage out of my control happens, whether it helped.<br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Thanks again</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Marek</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></div><div class="protonmail_quote">
------- Original Message -------<br>
On Tuesday, November 7th, 2023 at 16:28, Joshua C. Colp <jcolp@sangoma.com> wrote:<br><br>
<blockquote class="protonmail_quote" type="cite">
<div dir="ltr"><div dir="ltr">On Tue, Nov 7, 2023 at 11:20 AM Marek Greško <<a href="mailto:marek.gresko@protonmail.com" rel="noreferrer nofollow noopener" target="_blank">marek.gresko@protonmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Hello,<br>
<br>
well I do not ask those who only guess, but those who know what is asterisk expected to do when internet connectivity goes down. I did not had a chance to make internet not to work yet, since it is needed. But inspecting dns logs I found out that there started to be resolving for _sip._tcp and _sip._udp records for the provider's server. So apparently making hosts record make asterisk happy when everything works, but when there is a communication problem then it falls back to searching for srv records. At least it seems to be so for now. Moreover I found out this old thread:<br></blockquote><div><br></div><div>The expectation is that Asterisk continues to work. That being said there is one case (specifically using realtime with an identify section that references a hostname) that can cause this specific behavior where PJSIP will block.</div><div><br></div><div>Are you in that scenario? If so you CAN disable SRV records on the identify by setting "srv_lookups" to "no".</div></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div class="gmail_signature" dir="ltr"><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 Project 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 target="_blank" href="http://www.sangoma.com" rel="noreferrer nofollow noopener">www.sangoma.com</a> and <a target="_blank" href="http://www.asterisk.org" rel="noreferrer nofollow noopener">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>
</blockquote><br>
</div>