Skip to content

Commit

Permalink
If we were in active state do not clea ssrc values
Browse files Browse the repository at this point in the history
  • Loading branch information
z-dule committed Aug 7, 2024
1 parent 87a7c26 commit 6b820e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ccall/ccall.c
Original file line number Diff line number Diff line change
Expand Up @@ -929,8 +929,10 @@ static void ecall_media_estab_handler(struct icall *icall, const char *userid,
}

if (CCALL_STATE_CONNSENT != ccall->state) {
enum ccall_state old_state = ccall->state;
set_state(ccall, CCALL_STATE_ACTIVE);
userlist_incall_clear(ccall->userl, true, false);
userlist_incall_clear(ccall->userl, true,
old_state == CCALL_STATE_ACTIVE);
}
else {
info("ccall(%p): refusing to go to CCALL_STATE_ACTIVE "
Expand Down

0 comments on commit 6b820e4

Please sign in to comment.