<div dir="ltr"><div dir="ltr">On Tue, Feb 28, 2023 at 9:48 AM Kingsley Tart <<a href="mailto:kingsley@dns99.co.uk" target="_blank">kingsley@dns99.co.uk</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
We've recently hit an issue with Asterisk 18.8.0 where a call comes in<br>
via SIP (using pjsip) but it can take 5 seconds before starting to<br>
execute the dialplan.<br>
<br>
This was intermittent, but frequent (eg approx half of the calls).<br>
<br>
We have verbose logging on, but I didn't see any errors.<br>
<br>
Running asterisk -r -vvvv and then watching SIP traffic in another<br>
window showed the INVITE coming in, then a good 5 seconds before<br>
dialplan execution started showing within the Asterisk console.<br>
<br>
We've never seen this before, but it affected 6 our of 8 of our<br>
Asterisk servers. They're running in debian 11 VMS, with the VMs<br>
running under KVM on the host OS which is also debian 11.<br>
<br>
Any suggestions where to look next? We've been running Asterisk for<br>
years but never seen this issue before.<br>
<br>
FWIW, the match= lines for the SIP proxies sending to Asterisk are<br>
configured by IPv4 address, not host name.<br></blockquote><div><br></div><div>Is the local hostname configured in /etc/hosts and not reliant on an outside DNS server? Are you using ICE or STUN at all?</div></div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Project Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>