Module: kamailio Branch: master Commit: 98290ddadf18497d38d254d226930e2e58f30b2c URL: https://github.com/kamailio/kamailio/commit/98290ddadf18497d38d254d226930e2e58f30b2c
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-05-30T09:36:45+02:00 tm: propagate cancel_b_flags on rpc tm.cancel --- Modified: src/modules/tm/t_cancel.c --- Diff: https://github.com/kamailio/kamailio/commit/98290ddadf18497d38d254d226930e2e58f30b2c.diff Patch: https://github.com/kamailio/kamailio/commit/98290ddadf18497d38d254d226930e2e58f30b2c.patch --- diff --git a/src/modules/tm/t_cancel.c b/src/modules/tm/t_cancel.c index aa276358d97..58ec4af3c3f 100644 --- a/src/modules/tm/t_cancel.c +++ b/src/modules/tm/t_cancel.c @@ -444,8 +444,9 @@ void rpc_cancel(rpc_t *rpc, void *c) prepare_to_cancel(trans, &cancel_data.cancel_bitmap, 0); /* tell tm to cancel the call */ DBG("Now calling cancel_uacs\n"); - i = cancel_uacs(trans, &cancel_data, F_CANCEL_LOCAL); /* don't fake 487s, - just wait for timeout */ + /* F_CANCEL_LOCAL: don't fake 487s, just wait for timeout */ + i = cancel_uacs(trans, &cancel_data, + F_CANCEL_LOCAL | cfg_get(tm, tm_cfg, cancel_b_flags)); /* t_lookup_callid REF`d the transaction for us, we must UNREF here! */ UNREF(trans); _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
