Le 22/07/2021 à 18:32, Carlos Chavez a écrit :> I started noticing a few days ago that whenever I dial any number > or extension there is a delay of 5 to 10 seconds before Asterisk > reacts. I see nothing on the CLI for that time and then the call goes > through. I have checked my network to make sure there is nothing > slowing down packets between the phones and the server. > > Any settings I should check on the Asterisk side? This is > happening with all phones (several brands). >Hi, I've seen this problem several times when there is no DNS resolution of Asterisk's hostname. Try to add your hostname to /etc/hosts and check if it's better. Regards, Jean
Hi there, I can confirm that this is indeed the problem. If you follow the advise below you will be sorted. From my mobile phone On 23 Jul 2021, 8:44 am, at 8:44 am, Jean Aunis <jean.aunis at prescom.fr> wrote:>Le 22/07/2021 à 18:32, Carlos Chavez a écrit : >> I started noticing a few days ago that whenever I dial any number > >> or extension there is a delay of 5 to 10 seconds before Asterisk >> reacts. I see nothing on the CLI for that time and then the call >goes >> through. I have checked my network to make sure there is nothing >> slowing down packets between the phones and the server. >> >> Any settings I should check on the Asterisk side? This is >> happening with all phones (several brands). >> >Hi, > >I've seen this problem several times when there is no DNS resolution of > >Asterisk's hostname. > >Try to add your hostname to /etc/hosts and check if it's better. > >Regards, > >Jean > > > >-- >_____________________________________________________________________ >-- 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210723/930b60ba/attachment.html>
Thank you. The server is running dnsmasq locally for DNS resolution and all queries resolve properly. I just added the hostname to /etc/hosts and restarted but the delay persists. On 7/23/2021 1:41 AM, Jean Aunis wrote:> Le 22/07/2021 à 18:32, Carlos Chavez a écrit : >> I started noticing a few days ago that whenever I dial any number >> or extension there is a delay of 5 to 10 seconds before Asterisk >> reacts. I see nothing on the CLI for that time and then the call >> goes through. I have checked my network to make sure there is >> nothing slowing down packets between the phones and the server. >> >> Any settings I should check on the Asterisk side? This is >> happening with all phones (several brands). >> > Hi, > > I've seen this problem several times when there is no DNS resolution > of Asterisk's hostname. > > Try to add your hostname to /etc/hosts and check if it's better. > > Regards, > > Jean > > >-- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez +52 (55)8116-9161