<div dir="ltr"><div>Could you show the phone configurations - section "Proxy and Registration" <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 6 Nov 2023 at 23:13, Marek Greško <<a href="mailto:marek.gresko@protonmail.com">marek.gresko@protonmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-family:Arial,sans-serif;font-size:14px"><span>Hello,</span></div><div style="font-family:Arial,sans-serif;font-size:14px"><span><br></span></div><div style="font-family:Arial,sans-serif;font-size:14px"><span>you are probably right. It should somehow be related to DNS. I just found out this in the storm of previous messages:<br></span></div><div style="font-family:Arial,sans-serif;font-size:14px"><span><br></span></div><div style="font-family:Arial,sans-serif;font-size:14px"><span>WARNING[13945] taskprocessor.c: The 'dns_system_resolver_tp' task processor queue reached 500 scheduled tasks.</span><br><span></span></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)">But I am not sure why this is happening. I have sip providers hostname in /etc/hosts file to prevent such situations. Should I reconfigure it not to use hosts file but rather some RPZ on DNS server? Does asterisk ignore hosts file? Or does it try to do some srv lookups? But in either case, why does this influence local calls? Local domain should really be resolvable.<br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)">Thanks</div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)">Marek</div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div>
------- Original Message -------<br>
On Monday, November 6th, 2023 at 19:52, Marek Greško <<a href="mailto:marek.gresko@protonmail.com" target="_blank">marek.gresko@protonmail.com</a>> wrote:<br><br>
<blockquote type="cite">
<div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)">Hello,</div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)">sure I have local DNS server and public resolving should not be needed for phone registrations. Running pjsip show endpojnt show the endpoints as not in use.</div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)">When looking into logs I see only <span>res_pjsip_outbound_registration.c: No response </span><br><span>received from</span> sip provider. Nothing else.</div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)">In phone log I see:</div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span>CC_eventProc(event=63(CC_EV_SIG_REGISTER_FAILED),</span><br><span> lid=0, par=0, par2=(nil))</span></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)">The phone is Cisco SPA525G2.</div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)">Thanks.</div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)">Marek</div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></div><div>
------- Original Message -------<br>
On Monday, November 6th, 2023 at 15:45, Joshua C. Colp <<a href="mailto:jcolp@sangoma.com" target="_blank">jcolp@sangoma.com</a>> wrote:<br><br>
<blockquote type="cite">
<div dir="ltr"><div>On Mon, Nov 6, 2023 at 10:42 AM Marek Greško <<a rel="noreferrer nofollow noopener" href="mailto:marek.gresko@protonmail.com" target="_blank">marek.gresko@protonmail.com</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"><div style="font-family:Arial,sans-serif;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255)">It looks like all phones get unregistered, but I am not aware of the cause. Why are get not registered when there is a connectivity between them and asterisk?</div></blockquote><div><br></div><div>Are the REGISTER requests reaching Asterisk (do they show up in a packet capture, do they show up in "pjsip set logger on")? It needs to be further isolated. How are the phones configured to reach Asterisk? If using a hostname, are they still able to resolve it?</div></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><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 rel="noreferrer nofollow noopener" href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a rel="noreferrer nofollow noopener" href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>
</blockquote><br>
</div>
</blockquote><br>
</div>-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><br>Pozdrawiam,<br><br>Łukasz Grzywański<br>Voice Architect<br><br>Mok Yok IT Sp. z o.o.<br>ul. Rzeźnicza 32/33, 50-130 Wrocław, Polska<br>tel. +48 717227200, fax +48 717227299<br>mob.: +48 517255333, e-mail: <a href="mailto:lukasz.grzywanski@mokyokit.com" target="_blank">lukasz.grzywanski@mokyokit.com</a></div>