diff options
author | George Joseph <gjoseph@digium.com> | 2017-08-01 16:36:35 -0500 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2017-08-01 15:39:26 -0600 |
commit | 6edefc9480dac80895eec53f19343933b5bd531e (patch) | |
tree | dbe984e138bc1251344b06541183b3bfd818b24c /channels | |
parent | 8f51443a08e00335fbf83584d150edbac35c4a17 (diff) |
Revert "res_pjsip_session: Release media resources on session end quicker."
This reverts commit 6c374d863c420d2519a52fffba3de5f935a30cdb.
Change-Id: Ia89836005df66ef540885afd6f171886de0db442
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_pjsip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c index dd03b74ae..ebda6c7ee 100644 --- a/channels/chan_pjsip.c +++ b/channels/chan_pjsip.c @@ -2273,6 +2273,7 @@ static struct hangup_data *hangup_data_alloc(int cause, struct ast_channel *chan static void clear_session_and_channel(struct ast_sip_session *session, struct ast_channel *ast) { session->channel = NULL; + set_channel_on_rtp_instance(session, ""); ast_channel_tech_pvt_set(ast, NULL); } |