Hello Joshua,

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.

Thanks again

Marek

------- Original Message -------
On Tuesday, November 7th, 2023 at 16:28, Joshua C. Colp <jc...@sangoma.com> 
wrote:

> On Tue, Nov 7, 2023 at 11:20 AM Marek Greško <marek.gre...@protonmail.com> 
> wrote:
>
>> Hello,
>>
>> 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:
>
> 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.
>
> Are you in that scenario? If so you CAN disable SRV records on the identify 
> by setting "srv_lookups" to "no".
> --
>
> Joshua C. Colp
> Asterisk Project Lead
> Sangoma Technologies
> Check us out at www.sangoma.com and www.asterisk.org
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to