id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,backport_to_milestone,backported 1797,Failed re-invite/update caused by a bug in provisional media clean up,ming,bennylp,"Consider this scenario: 1. send re-Invite with video 2. get 491 resp 3. send ACK 4. send re-Invite with video Currently, the second re-Invite will fail due to the bug in provisional media cleanup. Clean up provisional media upon: - failed (non-2xx) responses, or - 2xx responses but no/invalid answer Additionally, the ticket will fix media_prov_clean_up() to clear call->med_prov_cnt, so that pjsua_call_media_is_changing() can behave correctly. ",defect,closed,normal,release-2.4,pjsua-lib,trunk,fixed,,,,0