<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">marek.gresko@protonmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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 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 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 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>