]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_session: Release media resources on session end quicker.
authorJoshua Colp <jcolp@digium.com>
Wed, 26 Jul 2017 16:39:32 +0000 (16:39 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 5 Aug 2017 11:39:55 +0000 (11:39 +0000)
commit0de7312facc79df9132c38959298ecfdce31628a
treebd38a2ef172110a8372fe0ce70941db6bc83aa16
parent6dd12aaacd4a0e6926962cabb62ef0926d079a4f
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 know the session is ending we
release the media resources immediately.

ASTERISK-27110

Change-Id: I643e431d5c3bf05cda220c1d39e824a505a29b82
res/res_pjsip_session.c