| 2328 | |
| 2329 | |
| 2330 | static 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 | |
| 2348 | int pv_get_tm_fr_timeout(struct sip_msg *msg, pv_param_t *param, |
| 2349 | pv_value_t *ret) |
no test coverage detected