Skip to content

Commit

Permalink
Revert "call_center: passthrough re-INVITEs"
Browse files Browse the repository at this point in the history
This reverts commit 61a86a9.
  • Loading branch information
razvancrainea committed Oct 25, 2023
1 parent 61a86a9 commit c86df75
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions modules/call_center/call_center.c
Original file line number Diff line number Diff line change
Expand Up @@ -900,12 +900,8 @@ int b2bl_callback_customer(b2bl_cb_params_t *params, unsigned int event)
* events, just in the BYEs from media/agent side */
if (event!=B2B_BYE_CB) {
lock_set_release( data->call_locks, call->lock_idx );
if (event != B2B_RE_INVITE_CB) {
cc_call_state = CC_CALL_NONE;
return 0;
} else {
return 1;
}
cc_call_state = CC_CALL_NONE;
return 0;
}

/* right-side leg of call sent BYE */
Expand Down

0 comments on commit c86df75

Please sign in to comment.