[asterisk-bugs] [JIRA] (ASTERISK-27148) pjsip tls connections drop when config changes
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Tue Jan 2 07:26:40 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241235#comment-241235 ]
Joshua Colp commented on ASTERISK-27148:
----------------------------------------
Using the provided configuration files I wasn't able to reproduce the dropping of the TLS connections but it did uncover two things which may contribute:
1. PJSIP doesn't support binding multiple TCP or TLS transports currently, so one is being ignored.
2. The working transports are not being ignored due to no changes, the code is incorrectly thinking that the configuration has changed and destroying/recreating them - this may be the cause of the connections dropping but I haven't been able to reproduce that specifically.
Since there are issues I'm opening this up.
> pjsip 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
> 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