]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip: Add patch to allow all transports to be destroyed.
authorJoshua Colp <jcolp@digium.com>
Fri, 10 Nov 2017 13:06:38 +0000 (13:06 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 14 Nov 2017 10:31:09 +0000 (06:31 -0400)
commit191190a9821e99aaedac9c8e0e4929179329f771
tree06960d76f351e18f5ba410efa06151ba60136725
parentb8d1c8787e1cb329d294508a7d3f5d13da76216c
pjsip: Add patch to allow all transports to be destroyed.

If a transport is created with the same transport type, source
IP address, and source port as one that already exists the old
transport is moved into a linked list called "tp_list".

If this old transport is later shutdown it will not be destroyed
as the process checks whether the transport is valid or not. This
check does not look at the "tp_list" when making the determination
causing the transport to not be destroyed.

This change updates the logic to query not just the main storage
method for transports but also the "tp_list".

Upstream issue https://trac.pjsip.org/repos/ticket/2061

ASTERISK-27411

Change-Id: Ic5c2bb60226df0ef1c8851359ed8d4cd64469429
third-party/pjproject/patches/0100-sip_transport-Destroy-transports-not-in-hash.patch [new file with mode: 0644]