Re: 5s delays before executing the dialplan

"Joshua C. Colp" <[email protected]>
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <CAM0A2Z3r9EwZj2d9Jj2M57rCv2f-xz-qWAb1zjZ7WMunRtFikA@mail.gmail.com>
On Wed, Mar 1, 2023 at 6:49 PM Kingsley Tart <[email protected]> wrote:

> On Tue, 2023-02-28 at 09:50 -0400, Joshua C. Colp wrote:
>
> Is the local hostname configured in /etc/hosts and not reliant on an
> outside DNS server? Are you using ICE or STUN at all?
>
>
> Hi,
>
> thanks for responding.
>
> No ICE or STUN.
>
> Some of the servers have entries for themselves in /etc/hosts and some
> rely on external DNS. That is not by design, it's just how it happened and
> I shall sort that out.
>
> I can't figure out how whether the delays were on only the ones without
> /etc/hosts entries, but I can be sure that some without those entries
> definitely did experience those delays.
>
> Does 5 seconds match some sort of DNS timeout within Asterisk that could
> have been the cause?
>

Within Asterisk, no. It uses system level stuff to do the DNS resolution,
that has its own timeouts that Asterisk doesn't control.

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.