[asterisk-bugs] [JIRA] (ASTERISK-27148) pjsip tls connections drop when config changes

George Joseph (JIRA) noreply at issues.asterisk.org
Fri Jul 21 11:11:57 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237768#comment-237768 ] 

George Joseph commented on ASTERISK-27148:
------------------------------------------

I've been trying to reproduce this and can't seem to.

In stock asterisk, "core reload" doesn't touch any pjsip modules but even if I do "module reload res_pjsip", it won't actually do anything unless one of the objects defined in pjsip.conf is actually changed.  Just touching the file does nothing.  I even tested changing my tls transport (defined with allow_reload=yes) and reloading and in progress tls/srtp calls did NOT drop.  They shouldn't anyway because when we reload a tcp/tls transport, we're only reloading the listener socket, not the sockets in use.

I'm going to try and follow up with the FreePBX team to see if they do something special on a "core reload".


> 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: pjproject/pjsip
>    Affects Versions: 13.17.0
>         Environment: freepbx 14.0.1.1
> pjsip 2.6
> asterisk 13.17
>            Reporter: Tony Guadagno
>         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