Module: kamailio
Branch: 5.2
Commit: ead1feb83283dc9c4875f8d6afd57eea4359f64a
URL:
https://github.com/kamailio/kamailio/commit/ead1feb83283dc9c4875f8d6afd57ee…
Author: Hugh Waite <hughw273(a)gmail.com>
Committer: Hugh Waite <hughw273(a)gmail.com>
Date: 2019-01-09T10:18:53Z
tm: Add fixup for PVS in fixup_t_check_status
- Allows PVs including $avp(...) to be passed to t_check_status
---
Modified: src/modules/tm/tm.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ead1feb83283dc9c4875f8d6afd57ee…
Patch:
https://github.com/kamailio/kamailio/commit/ead1feb83283dc9c4875f8d6afd57ee…
---
diff --git a/src/modules/tm/tm.c b/src/modules/tm/tm.c
index 49db7d4507..c8afee9c4c 100644
--- a/src/modules/tm/tm.c
+++ b/src/modules/tm/tm.c
@@ -664,6 +664,9 @@ static int fixup_t_check_status(void** param, int param_no)
{
int ret;
+ ret = fix_param(FPARAM_PVS, param);
+ if (ret <= 0) return ret;
+
ret = fix_param(FPARAM_AVP, param);
if (ret <= 0) return ret;