Sorry, should have included that. Asterisk 16.2.1 Mark. On Thu, 4 Apr 2019 at 14:56, Joshua C. Colp <jcolp at digium.com> wrote:> On Thu, Apr 4, 2019, at 10:53 AM, Mark Farmer wrote: > > As I understand it, delays like this are almost always caused by slow > > or failing DNS lookups. Running a packet capture on all interfaces > > filtering on port 53 shows no DNS traffic leaving the server. I have > > ensured that there is a DNS record for the server & that it can resolve > > it. I've also added records to my hosts file and checked using 'genet > > ahosts hostname' but still the issue remains. > > > > So how do I figure out what is going wrong please? This is preventing > > me from moving from chan_sip to chan_pjsip. > > What version of Asterisk? That will change the answer as 13 uses the > built-in PJSIP DNS resolver, while 16 uses our own implementation. > > -- > Joshua C. Colp > Digium - A Sangoma Company | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & 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-- Mark Farmer farmorg at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190404/f082bee0/attachment.html>
On Thu, Apr 4, 2019, at 11:03 AM, Mark Farmer wrote:> Sorry, should have included that. > > Asterisk 16.2.1And what res_resolver module is loaded and in use? Depending on the module it may not be using /etc/hosts. You can also increase debug (debug to console in logger.conf and core set debug 9) and the resolver will tell you what it is trying to do. -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Seems to be res_resolver_unbound.so Reading the documentation now but any hints greatly appreciated! Mark. On Thu, 4 Apr 2019 at 15:07, Joshua C. Colp <jcolp at digium.com> wrote:> On Thu, Apr 4, 2019, at 11:03 AM, Mark Farmer wrote: > > Sorry, should have included that. > > > > Asterisk 16.2.1 > > And what res_resolver module is loaded and in use? Depending on the module > it may not be using /etc/hosts. You can also increase debug (debug to > console in logger.conf and core set debug 9) and the resolver will tell you > what it is trying to do. > > -- > Joshua C. Colp > Digium - A Sangoma Company | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & 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-- Mark Farmer farmorg at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190404/79f4bc94/attachment.html>