Skip to content
Snippets Groups Projects
Commit 217c3a39 authored by Yalu Zhang's avatar Yalu Zhang
Browse files

Fix a bug that RTP/RTCP ports are not closed for non-answered incoming calls

In ast_sip_session_terminate(), reset both active and pending media to prevent
non-freed resources after a call. Otherwise RTP/RTCP ports won't be closed after
the call in some call scenarios, e.g. a non-answered incoming call. In that case,
there are no active media sessions before the swapping.
parent 95b434d0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment