As described before in the upgrade procedures, the module is enabled by
default in kamailio proxy and all the templates have been already updated
to use this new logic. Before proceeding with the upgrade, it is essential
that the customtt/patchtt files you have in place are updated to this new format.
Here just some few examples of what has been changed in the proxy templates:
-
variables $fu, $fU, $fd, $fn, $ft have been substituted by $x_fu, $x_fU, $x_fd, $x_fn, $x_ft
-
variables $tu, $tU, $td, $tn, $tt have been substituted by $x_tu, $x_tU, $x_td, $x_tn, $x_tt
-
variables $rr, $rs have been substituted by $x_rr, $x_rs
-
variables $ua have been substituted by $x_hdr(User-Agent)
-
variables $ai have been substituted by $x_hdr(P-Asserted-Identity)
-
variables $pU, $pd have been substituted by $x_hdr(P-Preferred-Identity)
-
variables $re have been substituted by $x_hdr(Remote-Party-ID)
-
variables $di have been substituted by $x_hdr(Diversion)
-
variables $ct have been substituted by $x_hdr(Contact)
-
$hdr("name") has been substituted by $x_hdr("name")
-
is_present_hf("name") has been sustituted by $x_hdr(name)!= $null
-
remove_hf("name") has been substituted by pv_remove_header("name") function or $(x_hdr(name)[*]) = $null
-
append_hf("name: value\r\n") has been substituted by pv_append_header("name", "value") / pv_modify_header("name", "value") functions or $(x_hdr(name)[*]) = value
-
t_check_status(code) has been substituted by $T_reply_code == code
-
save("location") has been updated in save("location", "0x00", "$x_tu")
-
sd_lookup("speed_dial") has been updated in sd_lookup("speed_dial", $x_fu)
-
added pv_collect_headers() and pv_reset_headers() functions in the dedicated ROUTE_COLLECT_HDR route
-
added pv_apply_headers() function in the dedicated ROUTE_APPLY_HDR route
-
added pv_reset_headers() function in the following routing sections