Hi,
I have Asterisk 16.x with a trunk configured with a hostname in PJSIP AOR.
The registration is not required for this trunk.
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.
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'.
The only way to revive the trunk is to restart Asterisk. Even 'pjsip
reload' doesn't solve the problem.
Is it the 'by design' Asterisk behavior or I have missed something?

Thank you.
-- 
_____________________________________________________________________
-- 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