Ticket #2061 (closed defect: fixed)

Opened 13 months ago

Last modified 13 months ago

Unable to destroy certain PJSIP transports

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.8
Component: pjsip Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no


Once a pjsip transport is removed from the hash table, it cannot be manually destroyed.


  1. pjsip_transport_register() can move a transport from the hash table to tp_list. See ticket #1774.
  1. Calling pjsip_transport shutdown() to that transport will not destroy it since pjsip_transport_add_ref() and pjsip_transport_dec_ref() will have no effect, due to is_transport_valid() check.

Thanks to Joshua Colp for the patch.

Change History

comment:1 Changed 13 months ago by ming

  • Status changed from new to closed
  • Resolution set to fixed

In 5690:

Fixed #2061: Unable to destroy certain PJSIP transports

Note: See TracTickets for help on using tickets.