[asterisk-users] 5s delays before executing the dialplan

Joshua C. Colp jcolp at sangoma.com
Wed Mar 1 17:08:46 CST 2023


On Wed, Mar 1, 2023 at 6:49 PM Kingsley Tart <kingsley at dns99.co.uk> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230301/f6365236/attachment.html>


More information about the asterisk-users mailing list