Re: Local calls not possible when Internet connection down
John Harragin <[email protected]> Wed, 8 Nov 2023 09:53:23 -0500
| Newsgroups | gmane.comp.telephony.pbx.asterisk.user |
|---|---|
| Message-ID | <CAEB6hR7hKkv4HvdgJpKU0U5riCSgtt_N4vuP38Cbk5xP3s-G1A@mail.gmail.com> |
--===============4456481315611399066== Content-Type: multipart/alternative; boundary="000000000000618f710609a54020" --000000000000618f710609a54020 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Are the phones and the server in the same subnet? You might making note of the IPs and just simply try pinging everything with the uplink disconnected. Also, if you are using domain names for registration, it is possible a dns server must be reachable. If you are using database for any of your call processing, an unreachable dns server can also be the cause of trouble. For some reason, even if you are using IP addressing, Mysql will try to resolve a connection and can hang (there is a mysql parameter to not resolve addresses). On Wed, Nov 8, 2023 at 8:46=E2=80=AFAM Marek Gre=C5=A1ko <marek.gresko@prot= onmail.com> wrote: > Hello, > > it did not seem the call hung. It seemed it never started. There was no > dialplan execution on the asterisk side. It looked like phones were > unregistered. Same shows the log posted previously. > > Marek > > > > > > Sent with Proton Mail secure email. > > ------- Original Message ------- > On Wednesday, November 8th, 2023 at 1:21, John Harragin < > [email protected]> wrote: > > > > Marek, > > > > See if calls hang in the system if you encounter another outage > > core show channels > > > > ...if so, > > core set verbose 3 > > and see what instructions subsequent calls hang on. > > > > > > > > On Mon, Nov 6, 2023 at 4:44=E2=80=AFPM Marek Gre=C5=A1ko marek.gresko@p= rotonmail.com > wrote: > > > > > Hello, > > > > > > sure I have local DNS server and public resolving should not be neede= d > for phone registrations. Running pjsip show endpojnt show the endpoints a= s > not in use. > > > > > > When looking into logs I see only res_pjsip_outbound_registration.c: > No response > > > received from sip provider. Nothing else. > > > > > > In phone log I see: > > > CC_eventProc(event=3D63(CC_EV_SIG_REGISTER_FAILED), > > > lid=3D0, par=3D0, par2=3D(nil)) > > > > > > The phone is Cisco SPA525G2. > > > > > > Thanks. > > > > > > Marek > > > > > > ------- Original Message ------- > > > On Monday, November 6th, 2023 at 15:45, Joshua C. Colp > [email protected] wrote: > > > > > > On Mon, Nov 6, 2023 at 10:42=E2=80=AFAM Marek Gre=C5=A1ko > [email protected] wrote: > > > > > > > It looks like all phones get unregistered, but I am not aware of th= e > cause. Why are get not registered when there is a connectivity between th= em > and asterisk? > > > > > > 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 usi= ng > a hostname, are they still able to resolve it? > > > > > > -- > > > Joshua C. Colp > > > Asterisk Project Lead > > > Sangoma Technologies > > > Check us out at www.sangoma.com and 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 > > > > > > -- > > _____________________________________________________________________ > > -- 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 > > -- > _____________________________________________________________________ > -- 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 --000000000000618f710609a54020 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Are the phones and the server in the same subnet? You= might making note of the IPs and just simply try pinging everything with t= he uplink disconnected. Also, if you are using domain names for registratio= n, it is possible a dns server must be reachable.=C2=A0</div><div><br></div= ><div>If you are using database for any of your call processing, an unreach= able dns server can also be the cause of trouble. For some reason, even if = you are using IP addressing, Mysql will try to resolve a connection and can= hang (there is a mysql parameter to not resolve addresses).</div></div><br= ><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, N= ov 8, 2023 at 8:46=E2=80=AFAM Marek Gre=C5=A1ko <<a href=3D"mailto:marek= [email protected]">[email protected]</a>> wrote:<br></div= ><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border= -left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br> <br> it did not seem the call hung. It seemed it never started. There was no dia= lplan execution on the asterisk side. It looked like phones were unregister= ed. Same shows the log posted previously.<br> <br> Marek<br> <br> <br> <br> <br> <br> Sent with Proton Mail secure email.<br> <br> ------- Original Message -------<br> On Wednesday, November 8th, 2023 at 1:21, John Harragin <<a href=3D"mail= to:[email protected]" target=3D"_blank">[email protected]</a>>= wrote:<br> <br> <br> > Marek,<br> > <br> > See if calls hang in the system if you encounter another outage<br> > core show channels<br> > <br> > ...if so,<br> > core set verbose 3<br> > and see what instructions subsequent calls hang on.<br> > <br> > <br> > <br> > On Mon, Nov 6, 2023 at 4:44=E2=80=AFPM Marek Gre=C5=A1ko <a href=3D"ma= ilto:[email protected]" target=3D"_blank">marek.gresko@protonmail= .com</a> wrote:<br> > <br> > > Hello,<br> > > <br> > > sure I have local DNS server and public resolving should not be n= eeded for phone registrations. Running pjsip show endpojnt show the endpoin= ts as not in use.<br> > > <br> > > When looking into logs I see only res_pjsip_outbound_registration= .c: No response<br> > > received from sip provider. Nothing else.<br> > > <br> > > In phone log I see:<br> > > CC_eventProc(event=3D63(CC_EV_SIG_REGISTER_FAILED),<br> > > lid=3D0, par=3D0, par2=3D(nil))<br> > > <br> > > The phone is Cisco SPA525G2.<br> > > <br> > > Thanks.<br> > > <br> > > Marek<br> > > <br> > > ------- Original Message -------<br> > > On Monday, November 6th, 2023 at 15:45, Joshua C. Colp <a href=3D= "mailto:[email protected]" target=3D"_blank">[email protected]</a> wrote:<b= r> > > <br> > > On Mon, Nov 6, 2023 at 10:42=E2=80=AFAM Marek Gre=C5=A1ko <a href= =3D"mailto:[email protected]" target=3D"_blank">marek.gresko@prot= onmail.com</a> wrote:<br> > > <br> > > > It looks like all phones get unregistered, but I am not awar= e of the cause. Why are get not registered when there is a connectivity bet= ween them and asterisk?<br> > > <br> > > Are the REGISTER requests reaching Asterisk (do they show up in a= packet capture, do they show up in "pjsip set logger on")? It ne= eds to be further isolated. How are the phones configured to reach Asterisk= ? If using a hostname, are they still able to resolve it?<br> > > <br> > > --<br> > > Joshua C. Colp<br> > > Asterisk Project Lead<br> > > Sangoma Technologies<br> > > Check us out at <a href=3D"http://www.sangoma.com" rel=3D"norefer= rer" target=3D"_blank">www.sangoma.com</a> and <a href=3D"http://www.asteri= sk.org" rel=3D"noreferrer" target=3D"_blank">www.asterisk.org</a><br> > > <br> > > --<br> > > _________________________________________________________________= ____<br> > > -- Bandwidth and Colocation Provided by <a href=3D"http://www.api= -digital.com" rel=3D"noreferrer" target=3D"_blank">http://www.api-digital.c= om</a> --<br> > > <br> > > Check out the new Asterisk community forum at: <a href=3D"https:/= /community.asterisk.org/" rel=3D"noreferrer" target=3D"_blank">https://comm= unity.asterisk.org/</a><br> > > <br> > > New to Asterisk? Start here:<br> > > <a href=3D"https://wiki.asterisk.org/wiki/display/AST/Getting+Sta= rted" rel=3D"noreferrer" target=3D"_blank">https://wiki.asterisk.org/wiki/d= isplay/AST/Getting+Started</a><br> > > <br> > > asterisk-users mailing list<br> > > To UNSUBSCRIBE or update options visit:<br> > > <a href=3D"http://lists.digium.com/mailman/listinfo/asterisk-user= s" rel=3D"noreferrer" target=3D"_blank">http://lists.digium.com/mailman/lis= tinfo/asterisk-users</a><br> > <br> > <br> > --<br> > _____________________________________________________________________<= br> > -- Bandwidth and Colocation Provided by <a href=3D"http://www.api-digi= tal.com" rel=3D"noreferrer" target=3D"_blank">http://www.api-digital.com</a= > --<br> > <br> > Check out the new Asterisk community forum at: <a href=3D"https://comm= unity.asterisk.org/" rel=3D"noreferrer" target=3D"_blank">https://community= .asterisk.org/</a><br> > <br> > New to Asterisk? Start here:<br> > <a href=3D"https://wiki.asterisk.org/wiki/display/AST/Getting+Started"= rel=3D"noreferrer" target=3D"_blank">https://wiki.asterisk.org/wiki/displa= y/AST/Getting+Started</a><br> > <br> > asterisk-users mailing list<br> > To UNSUBSCRIBE or update options visit:<br> > <a href=3D"http://lists.digium.com/mailman/listinfo/asterisk-users" re= l=3D"noreferrer" target=3D"_blank">http://lists.digium.com/mailman/listinfo= /asterisk-users</a><br> <br> -- <br> _____________________________________________________________________<br> -- Bandwidth and Colocation Provided by <a href=3D"http://www.api-digital.c= om" rel=3D"noreferrer" target=3D"_blank">http://www.api-digital.com</a> --<= br> <br> Check out the new Asterisk community forum at: <a href=3D"https://community= .asterisk.org/" rel=3D"noreferrer" target=3D"_blank">https://community.aste= risk.org/</a><br> <br> New to Asterisk? Start here:<br> =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://wiki.asterisk.org/wiki/display/AST/= Getting+Started" rel=3D"noreferrer" target=3D"_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> =C2=A0 =C2=A0<a href=3D"http://lists.digium.com/mailman/listinfo/asterisk-u= sers" rel=3D"noreferrer" target=3D"_blank">http://lists.digium.com/mailman/= listinfo/asterisk-users</a></blockquote></div> --000000000000618f710609a54020-- --===============4456481315611399066== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fXwotLSBCYW5kd2lkdGggYW5kIENvbG9jYXRpb24gUHJvdmlkZWQgYnkg aHR0cDovL3d3dy5hcGktZGlnaXRhbC5jb20gLS0KCkNoZWNrIG91dCB0aGUgbmV3IEFzdGVyaXNr IGNvbW11bml0eSBmb3J1bSBhdDogaHR0cHM6Ly9jb21tdW5pdHkuYXN0ZXJpc2sub3JnLwoKTmV3 IHRvIEFzdGVyaXNrPyBTdGFydCBoZXJlOgogICAgICBodHRwczovL3dpa2kuYXN0ZXJpc2sub3Jn L3dpa2kvZGlzcGxheS9BU1QvR2V0dGluZytTdGFydGVkCgphc3Rlcmlzay11c2VycyBtYWlsaW5n IGxpc3QKVG8gVU5TVUJTQ1JJQkUgb3IgdXBkYXRlIG9wdGlvbnMgdmlzaXQ6CiAgIGh0dHA6Ly9s aXN0cy5kaWdpdW0uY29tL21haWxtYW4vbGlzdGluZm8vYXN0ZXJpc2stdXNlcnM= --===============4456481315611399066==--