[asterisk-bugs] [JIRA] (ASTERISK-27147) Either asterisk or pjproject isn't re-using tcp connections (again)

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Thu Aug 10 11:30:08 CDT 2017


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

Richard Mudgett commented on ASTERISK-27147:
--------------------------------------------

[~rossbeer] Yes the subscription will persist because it is supposed to persist even across Asterisk restarts.  Yes any subsequent notify will fail until the endpoint re-registers because there is no valid contact address.  These are two separate things.  It would be bad to cancel any subscriptions because of a temporary unreachable condition.

> Either asterisk or pjproject isn't re-using tcp connections (again)
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-27147
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27147
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.17.0, 14.6.0, GIT
>            Reporter: George Joseph
>            Assignee: Richard Mudgett
>         Attachments: client_pjsip.conf, client_pjsip_wizard.conf, server_pjsip.conf, server_pjsip_wizard.conf
>
>
> Last year we submitted patches to pjproject to fix not re-using tcp connections.  It looks like it's broke again.
> Asterisk A and B have a "trunk" between them.  A registers to B.
> After A registers, there is 1 open TCP connection between them.
> B sends a call to A.
> Instead of re-using the existing connection, B establishes a new cconnection back to A.
> Now there are 2 tcp connections open.
> If A were behind a firewall that didn't allow inbound new connections, there'd be an issue.



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



More information about the asterisk-bugs mailing list