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.
Loading
Please register or sign in to comment