[asterisk-users] PJSIP Delay in Dialing

Joshua C. Colp jcolp at digium.com
Thu Apr 4 08:56:20 CDT 2019

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

More information about the asterisk-users mailing list