<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I have Asterisk 16.x with a trunk configured with a hostname in PJSIP AOR.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The registration is not required for this trunk.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I paid attention that Asterisk performs DNS resolving of the hostname that is configured in the AOR 'contact' parameter only upon the Asterisk start only.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thus, if Asterisk is started when the DNS server is unreachable due to the Internet connection failure then the 'contact' will be not resolvable forever even when the Internet connection is returned. As a result of that, the 'qualify' procedure is not performed and the trunk status is 'Unavail'.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The only way to revive the trunk is to restart Asterisk. Even 'pjsip reload' doesn't solve the problem.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Is it the 'by design' Asterisk behavior or I have missed something?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you.</span></div></div></div>