[asterisk-bugs] [JIRA] (ASTERISK-26984) chan_pjsip TLS incorrectly tears down connection

Ross Beer (JIRA) noreply at issues.asterisk.org
Sun May 7 09:59:58 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ross Beer updated ASTERISK-26984:
---------------------------------

    Status: Waiting for Feedback  (was: Waiting for Feedback)

I believe the issue is that Asterisk terminates the active subscriptions when the phone registers. In doing so it also tears down the active TLS connection.

The debug would appear to show this. Rusty, I have sent a copy of the debug directly to you.

> chan_pjsip TLS incorrectly tears down connection
> ------------------------------------------------
>
>                 Key: ASTERISK-26984
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26984
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: GIT
>         Environment: Fedora 23
>            Reporter: Ross Beer
>            Assignee: Ross Beer
>         Attachments: Capture2.PNG, Capture.PNG
>
>
> chan_pjsip attempts to create sessions to closed TLS connections on incorrect ports. This leads to the eventual teardown of the connected session by Asterisk.
> The attached image shows successful communication on port 35430 and then attempted SYN packets to other ports such as 37848, 57750 etc. These packets will never reach the endpoint as these have already been closed. This can be seen in the 'TCP Retransmission' entries.
> Asterisk should either attempt to use the open connection to contact the endpoint or give up trying when timing out. However, at present, Asterisk closes the active connection making the endpoint go offline.
> The only reason asterisk would attempt to contact and endpoint would be if it is retaining information such as BLF subscriptions after an endpoint disconnects.
> The disconnect does not happen when using TCP, however, Asterisk still attempts connnections to closed ports.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list