[asterisk-bugs] [JIRA] (ASTERISK-27148) res_pjsip: Transports recreated wrongly, tls connections drop when config changes
Leo Mirell (JIRA)
noreply at issues.asterisk.org
Fri Nov 5 02:14:51 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-27148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256772#comment-256772 ]
Leo Mirell commented on ASTERISK-27148:
---------------------------------------
Hi,
I'm having the same problem and have been for a long time.
I've installed the latest version of asterisk 16.21.1 with pjsip 2.10.
When a do a core reload or pjsip reload all tls encrypted phones get unregistered and lose ability to receive incoming calls, but udp phones are not affected at all..
I can reproduce the problem anytime.
In order to have my phones reconnect, I'll either need to wait a while for the phones to reregister, or restart asterisk.
I've worked around this issue for a while by using asterisk realtime, but when configuring or editing trunks which need to register to sip providers, as far as I'm aware, I need to keep those configurations in pjsip.conf and cannot use realtime.
In this case, I have no choice but to reload pjsip , which then knocks out my phones.
Thanks,
Any help would be greatly appreciated.
Leo
> res_pjsip: Transports recreated wrongly, tls connections drop when config changes
> ---------------------------------------------------------------------------------
>
> Key: ASTERISK-27148
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27148
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip
> Affects Versions: 13.17.0
> Environment: freepbx 14.0.1.1
> pjsip 2.6
> asterisk 13.17
> Reporter: Tony Guadagno
> Severity: Major
> Labels: pjsip
> Attachments: core reload after touch.txt, core reload before touch.txt
>
>
> hi, i am having an issue i hope you can help me with. I am running freepbx 14.0.1.1 with asterisk 13.17 and pjsip 2.6. most of my endpoints are connected pjsip sip-tls and srtp and they drop connection when config changes are applied.
> . when i first installed the system, things were great, but about 2 weeks ago, the system started dropping all tls connections when i applied config changes. initially, i thought this was a freepbx issue, but after much investigation, i am sure now, it is not. i can simply and reliable reproduce the issue this way.
> initially, i run asterisk -rx 'core reload'....asterisk reloads and there is no issue with endpoints BUT if there are any config changes in /etc/asterisk and i do a core reload, all sip-tls connected endpoints drop. none of the sip/udp connected endpoints are affected.
> to take the test one step further, i tried running touch /etc/asterisk/*...i made NO changes to the file contents, just touched them and ran a core reload and connections dropped.
> https://community.asterisk.org/t/touching-etc-asterisk-config-files-causes-pjsip-sip-tls-endpoints-to-drop/71433
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list