[sr-dev] git:master:ea0b4e50: tm: use svpe fixup for t replicate uri param

Daniel-Constantin Mierla miconda at gmail.com
Thu Nov 19 13:59:32 CET 2015


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-11-19T13:58:33+01:00

tm: use svpe fixup for t replicate uri param

- the function expects it for getting the value

---

Modified: modules/tm/tm.c

---

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