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

Function pv_get_bavp_list

modules/tm/tm.c:2330–2346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2328
2329
2330static struct usr_avp** pv_get_bavp_list(void)
2331{
2332 struct cell* t;
2333
2334 if (route_type!=BRANCH_ROUTE && route_type!=ONREPLY_ROUTE
2335 && route_type!=FAILURE_ROUTE) {
2336 return NULL;
2337 }
2338 /* get the transaction */
2339 t = get_t();
2340 if ( t==0 || t==T_UNDEFINED ) {
2341 return NULL;
2342 }
2343
2344 /* setting the avp head */
2345 return &TM_BRANCH(t,_tm_branch_index).user_avps;
2346}
2347
2348int pv_get_tm_fr_timeout(struct sip_msg *msg, pv_param_t *param,
2349 pv_value_t *ret)

Callers 2

pv_get_tm_branch_avpFunction · 0.85
pv_set_tm_branch_avpFunction · 0.85

Calls 1

get_tFunction · 0.85

Tested by

no test coverage detected