MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / which_cancel

Function which_cancel

modules/tm/t_cancel.c:51–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50
51void which_cancel( struct cell *t, branch_bm_t cancel_bm )
52{
53 int i;
54
55 for( i=t->first_branch ; i<t->nr_of_outgoings ; i++ ) {
56 if (should_cancel_branch(t, i))
57 BRANCH_BM_SET_IDX( cancel_bm, i);
58 }
59
60 LM_DBG("branches to cancel ["BRANCH_BM_SPECS"], range %d:%d\n",
61 BRANCH_BM_ARGS(cancel_bm),t->first_branch,t->nr_of_outgoings-1);
62
63}
64
65
66/* cancel branches scheduled for deletion */

Callers 7

_reply_lightFunction · 0.85
t_should_relay_responseFunction · 0.85
local_replyFunction · 0.85
t_cancel_transFunction · 0.85
w_t_cancel_branchFunction · 0.85
cancel_inviteFunction · 0.85
t_inject_branchFunction · 0.85

Calls 1

should_cancel_branchFunction · 0.85

Tested by

no test coverage detected