]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_session: Release media resources on session end quicker.
authorJoshua Colp <jcolp@digium.com>
Sat, 5 Aug 2017 11:36:49 +0000 (11:36 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 8 Aug 2017 00:53:24 +0000 (00:53 +0000)
commit9685a704a6d7a73cccd78f517b168d8a71d82e56
tree59955ea88f007c383d0c35477bc6abf7c56c0c5f
parent2014a695f735d14456b5631bec9e2a32a8226609
res_pjsip_session: Release media resources on session end quicker.

A change was made long ago where the session was kept around
until the underlying INVITE session had been destroyed. This
had the side effect of also keeping the underlying media resources
around for this time as well.

This change ensures that when we are told to terminate the
session we immediately release any media sessions associated
with it.

ASTERISK-27110

Change-Id: I643e431d5c3bf05cda220c1d39e824a505a29b82
res/res_pjsip_session.c