diff --git a/modules/tm/tm.c b/modules/tm/tm.c index b1baabed999..87f7c1377e8 100644 --- a/modules/tm/tm.c +++ b/modules/tm/tm.c @@ -1995,7 +1995,8 @@ int pv_get_tm_branch_avp(struct sip_msg *msg, pv_param_t *param, val->ri = avp_value.n; val->flags |= PV_VAL_INT|PV_TYPE_INT; } - } + } else + pv_get_null(msg, param, val); goto success;