Skip to content

Commit

Permalink
Relax the dialog state machine - allow PRACK after dialog is established
Browse files Browse the repository at this point in the history
There are some weird UDP scenarios where the PRACK may land on the server after the ACK. Rejecting the PRACK at dialog level leads to infinit looping (if used with TH). Better be more flexible and ignore PRACKs after ACK.
  • Loading branch information
bogdan-iancu committed Dec 23, 2016
1 parent cd37c03 commit 8442dd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/dialog/dlg_hash.c
Expand Up @@ -1004,6 +1004,7 @@ void next_state_dlg(struct dlg_cell *dlg, int event, int dir, int *old_state,
switch (dlg->state) {
case DLG_STATE_EARLY:
case DLG_STATE_CONFIRMED_NA:
case DLG_STATE_CONFIRMED:
break;
default:
log_next_state_dlg(event, dlg);
Expand Down

0 comments on commit 8442dd1

Please sign in to comment.