Selaa lähdekoodia

tm: t_replicate() can take avps & select as params

t_replicate(uri) can now take ser-style avps ($foo) and selects (@ruri)
as params (along PVs and normal strings).
Andrei Pelinescu-Onciul 15 vuotta sitten
vanhempi
commit
0a0a95c91f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      modules/tm/tm.c

+ 1 - 1
modules/tm/tm.c

@@ -293,7 +293,7 @@ static cmd_export_t cmds[]={
 	{T_RELAY_TO_SCTP,       w_t_relay_to_sctp_uri,    0, 0,
 			REQUEST_ROUTE|FAILURE_ROUTE},
 #endif
-	{"t_replicate",        w_t_replicate_uri,       1, fixup_spve_null,
+	{"t_replicate",        w_t_replicate_uri,       1, fixup_var_str_1,
 			REQUEST_ROUTE},
 	{"t_replicate",        w_t_replicate,           2, fixup_hostport2proxy,
 			REQUEST_ROUTE},