[asterisk-users] Local calls not possible when Internet connection down
Marek Greško
marek.gresko at protonmail.com
Tue Nov 7 00:33:08 CST 2023
Hello,
the corresponding conf is:
<Proxy_1_ group="Ext_1/Proxy_and_Registration">pbx.example.lan</Proxy_1_>
<Outbound_Proxy_1_ group="Ext_1/Proxy_and_Registration"/>
<Alternate_Proxy_1_ group="Ext_1/Proxy_and_Registration"/>
<Alternate_Outbound_Proxy_1_ group="Ext_1/Proxy_and_Registration"/>
<Use_Outbound_Proxy_1_ group="Ext_1/Proxy_and_Registration">No</Use_Outbound_Proxy_1_>
<Use_OB_Proxy_In_Dialog_1_ group="Ext_1/Proxy_and_Registration">Yes</Use_OB_Proxy_In_Dialog_1_>
<Register_1_ group="Ext_1/Proxy_and_Registration">Yes</Register_1_>
<Make_Call_Without_Reg_1_ group="Ext_1/Proxy_and_Registration">No</Make_Call_Without_Reg_1_>
<Register_Expires_1_ group="Ext_1/Proxy_and_Registration">3600</Register_Expires_1_>
<Ans_Call_Without_Reg_1_ group="Ext_1/Proxy_and_Registration">No</Ans_Call_Without_Reg_1_>
<Use_DNS_SRV_1_ group="Ext_1/Proxy_and_Registration">No</Use_DNS_SRV_1_>
<DNS_SRV_Auto_Prefix_1_ group="Ext_1/Proxy_and_Registration">No</DNS_SRV_Auto_Prefix_1_>
<Proxy_Fallback_Intvl_1_ group="Ext_1/Proxy_and_Registration">3600</Proxy_Fallback_Intvl_1_>
<Proxy_Redundancy_Method_1_ group="Ext_1/Proxy_and_Registration">Normal</Proxy_Redundancy_Method_1_>
<Dual_Registration_1_ group="Ext_1/Proxy_and_Registration">No</Dual_Registration_1_>
<Auto_Register_When_Failover_1_ group="Ext_1/Proxy_and_Registration">No</Auto_Register_When_Failover_1_>
Marek
------- Original Message -------
On Tuesday, November 7th, 2023 at 0:22, Łukasz Grzywański <lukasz.grzywanski at ccig.pl> wrote:
> Could you show the phone configurations - section "Proxy and Registration"
>
> On Mon, 6 Nov 2023 at 23:13, Marek Greško <marek.gresko at protonmail.com> wrote:
>
>> Hello,
>>
>> you are probably right. It should somehow be related to DNS. I just found out this in the storm of previous messages:
>>
>> WARNING[13945] taskprocessor.c: The 'dns_system_resolver_tp' task processor queue reached 500 scheduled tasks.
>>
>> 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.
>>
>> Thanks
>>
>> Marek
>>
>> ------- Original Message -------
>> On Monday, November 6th, 2023 at 19:52, Marek Greško <marek.gresko at protonmail.com> wrote:
>>
>>> Hello,
>>>
>>> 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.
>>>
>>> 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=63(CC_EV_SIG_REGISTER_FAILED),
>>> lid=0, par=0, par2=(nil))
>>>
>>> The phone is Cisco SPA525G2.
>>>
>>> Thanks.
>>>
>>> Marek
>>>
>>> ------- Original Message -------
>>> On Monday, November 6th, 2023 at 15:45, Joshua C. Colp <jcolp at sangoma.com> wrote:
>>>
>>>> On Mon, Nov 6, 2023 at 10:42 AM Marek Greško <marek.gresko at protonmail.com> wrote:
>>>>
>>>>> 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?
>>>>
>>>> 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?
>>>> --
>>>>
>>>> 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
>
> --
>
> Pozdrawiam,
>
> Łukasz Grzywański
> Voice Architect
>
> Mok Yok IT Sp. z o.o.
> ul. Rzeźnicza 32/33, 50-130 Wrocław, Polska
> tel. +48 717227200, fax +48 717227299
> mob.: +48 517255333, e-mail: lukasz.grzywanski at mokyokit.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20231107/72fe2ebc/attachment.html>
More information about the asterisk-users
mailing list