Module: kamailio
Branch: 5.1
Commit: 440ba8f9b37c61a6f631a5a8a0552a2215128fad
URL:
https://github.com/kamailio/kamailio/commit/440ba8f9b37c61a6f631a5a8a0552a2…
Author: Hugh Waite <hughw273(a)gmail.com>
Committer: Hugh Waite <hughw273(a)gmail.com>
Date: 2019-01-09T10:19:19Z
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/440ba8f9b37c61a6f631a5a8a0552a2…
Patch:
https://github.com/kamailio/kamailio/commit/440ba8f9b37c61a6f631a5a8a0552a2…
---
diff --git a/src/modules/tm/tm.c b/src/modules/tm/tm.c
index da569ad832..14860635a8 100644
--- a/src/modules/tm/tm.c
+++ b/src/modules/tm/tm.c
@@ -662,6 +662,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;