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

Function init_branch

modules/tm/t_funcs.h:180–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 _clean_branch(br, shm_free, destroy_avp_list)
179
180static inline void init_branch(struct ua_client *uac, unsigned int branch_idx,
181 unsigned int timer_set, struct cell *t)
182{
183 uac->request.my_T = t;
184 uac->request.branch = branch_idx;
185#ifdef EXTRA_DEBUG
186 uac->request.fr_timer.tg = TG_FR;
187 uac->request.retr_timer.tg = TG_RT;
188#endif
189 uac->request.fr_timer.set = timer_set;
190 uac->request.retr_timer.set = timer_set;
191 uac->local_cancel.fr_timer.set = timer_set;
192 uac->local_cancel.retr_timer.set = timer_set;
193 uac->local_cancel=uac->request;
194}
195
196void tm_shutdown();
197

Callers 2

check_and_alloc_branchFunction · 0.85
add_uacFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected