[sr-dev] git:master:c740e2f3: tm: Add fixup for PVS in fixup_t_check_status

Hugh Waite hugh.waite at newvoicemedia.com
Tue Jan 8 18:04:11 CET 2019

Module: kamailio
Branch: master
Commit: c740e2f3da746c2f8c6f488fa926dc5d348ea43a
URL: https://github.com/kamailio/kamailio/commit/c740e2f3da746c2f8c6f488fa926dc5d348ea43a

Author: Hugh Waite <hugh.waite at newvoicemedia.com>
Committer: Hugh Waite <hugh.waite at newvoicemedia.com>
Date: 2019-01-04T16:02:09Z

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/c740e2f3da746c2f8c6f488fa926dc5d348ea43a.diff
Patch: https://github.com/kamailio/kamailio/commit/c740e2f3da746c2f8c6f488fa926dc5d348ea43a.patch


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;

More information about the sr-dev mailing list