[sr-dev] git:4.3:2823f0b0: tm: use svpe fixup for t replicate uri param

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 23 16:31:39 CET 2015


Module: kamailio
Branch: 4.3
Commit: 2823f0b09ff9d91ff52475abdf58bb030dee3773
URL: https://github.com/kamailio/kamailio/commit/2823f0b09ff9d91ff52475abdf58bb030dee3773

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-11-23T16:26:08+01:00

tm: use svpe fixup for t replicate uri param

- the function expects it for getting the value

(cherry picked from commit ea0b4e50f62f8a461b737882c383f17767851d3d)

---

Modified: modules/tm/tm.c

---

Diff:  https://github.com/kamailio/kamailio/commit/2823f0b09ff9d91ff52475abdf58bb030dee3773.diff
Patch: https://github.com/kamailio/kamailio/commit/2823f0b09ff9d91ff52475abdf58bb030dee3773.patch

---

diff --git a/modules/tm/tm.c b/modules/tm/tm.c
index 0293a1c..ecca92e 100644
--- a/modules/tm/tm.c
+++ b/modules/tm/tm.c
@@ -319,7 +319,7 @@ static cmd_export_t cmds[]={
 #endif
 	{"t_replicate",        w_t_replicate_uri,       0, 0,
 			REQUEST_ROUTE},
-	{"t_replicate",        w_t_replicate_uri,       1, fixup_var_str_1,
+	{"t_replicate",        w_t_replicate_uri,       1, fixup_spve_null,
 			REQUEST_ROUTE},
 	{"t_replicate",        w_t_replicate,           2, fixup_hostport2proxy,
 			REQUEST_ROUTE},




More information about the sr-dev mailing list