Skip to content

Commit

Permalink
call_center: passthrough re-INVITEs
Browse files Browse the repository at this point in the history
(cherry picked from commit f971fa1)
  • Loading branch information
razvancrainea committed Oct 25, 2023
1 parent b15fd01 commit dd9e07d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/call_center/call_center.c
Original file line number Diff line number Diff line change
Expand Up @@ -900,8 +900,12 @@ 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 );
cc_call_state = CC_CALL_NONE;
return 0;
if (event != B2B_RE_INVITE_CB) {
cc_call_state = CC_CALL_NONE;
return 0;
} else {
return 1;
}
}

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

0 comments on commit dd9e07d

Please sign in to comment.